Displaying 20 results from an estimated 99 matches for "contortion".
Did you mean:
contortions
2012 Mar 07
2
dot products
Hello,
I need to take a dot product of each row of a dataframe and a vector.
The number of columns will be dynamic. The way I've been doing it so
far is contorted. Is there a better way?
dotproduct <- function(dataf, v2) {
apply(t(t(as.matrix(a)) * v2),1,sum) #contorted!
}
df = data.frame(a=c(1,2,3),b=c(4,5,6))
vec = c(4,5)
dotproduct(df, vec)
thanks,
2000 Sep 08
0
What a contortion of the GPL.
At 19:49 07/09/00 -0700, A.J. Rossini wrote:
>
>I've had some "interesting" emails with Frank a while back (years?)
>over this. He's got some valid points, and some amusing points...
>
>He's also recently realized the extent and importance that licenses
>have in the real world.
>
>However, the port is fairly major (I know a few people who will
2007 Nov 13
5
Can I run puppetmasterd behind NAT (or Reverse Proxy)
Hi there
I would like to setup my puppetmasterd behind my ADSL modem and manage
the nodes on the hosting sites. I can imagine opening ports to the
puppetmasterd server will work. Am I right?
On the other hand an ideal configuration for me would be a Reverse
Proxy setup, so I don''t have to touch the ADSL router. Has anyone
setup a puppetmasterd behind a reverse proxy?
Any pointers,
2009 Feb 18
2
[LLVMdev] Parametric polymorphism
...he variable is instantiated. However, abstract data types
are not necessarily invalid for codegen; it depends on how the
types are used. More on this below...
> Still, there are a large number of potential foibles here. For
> instance, passing an argument can require platform-specific
> contortions to conform to the platform ABI...
Are those contortions done by the native code generator back-end,
or are they done when the C compiler generates llvm IR? I'm
assuming it's done by the back-end, because it would be bad
if the C compiler had to generate different IR for every platform....
2005 Oct 04
2
Question regarding behavior of virt_to_bus ....
...k like in a normal 32-bit
i386 world, and not in xenified world.
Am I doing something stupid, or is there some technicality of memory
subsystem that I don''t get. Ofcourse, if I just use pci_alloc_consistent
(for a small buffer), everything works fine, since there is no bootmem
related contortion involved.
I will highly appreciate any input on this.
--Himanshu
-------------------------------------------------------------------------
Himanshu Raj
PhD Student, GaTech (www.cc.gatech.edu/~rhim)
I prefer to receive attachments in an open, non-proprietary format.
-------------------------------...
2010 Oct 26
0
[LLVMdev] LLVMdev Digest, Vol 76, Issue 43
On 10/26/10 3:11 AM, Duncan Sands wrote:
> Hi Torok,
>
>>>> Well...strictly as LLVM IR I find externally visible incorrect
>>>> behavior unlikely, it's just a "different definition". For C and
>>>> C++, I'd be looking at more complicated variations of
>>>>
>>>> int main()
>>>> {
>>>>
2005 Dec 30
5
rssh: root privilege escalation flaw
...hey have full shell access), then they can use
rssh_chroot_helper to chroot to arbitrary locations in the file system,
and thereby gain root access.
Workaround
----------
By careful configuration of file system mounts, it is possible to
avoid this problem; but doing so requires a fair amount of contortion
which will be difficult to re-engineer after an existing installation
has already been configured. The exploit requires the user to be able
to write executables in the directory they are chrooting to, and
create hard links to SUID binaries within that directory structure, so
by preventing either o...
2010 Oct 26
3
[LLVMdev] LLVMdev Digest, Vol 76, Issue 43
Hi Torok,
>>> Well...strictly as LLVM IR I find externally visible incorrect
>>> behavior unlikely, it's just a "different definition". For C and
>>> C++, I'd be looking at more complicated variations of
>>>
>>> int main()
>>> {
>>> volatile int i = 1;
>>> return 0;
>>> }
>>>
2009 Feb 18
0
[LLVMdev] Parametric polymorphism
On 2009-02-18, at 14:53, DeLesley Hutchins wrote:
> On 2009-02-18, at 08:06, Gordon Henriksen wrote:
>
>> Still, there are a large number of potential foibles here. For
>> instance, passing an argument can require platform-specific
>> contortions to conform to the platform ABI...
>
> Are those contortions done by the native code generator back-end, or
> are they done when the C compiler generates llvm IR? I'm assuming
> it's done by the back-end, because it would be bad if the C compiler
> had to generate diff...
2009 Mar 26
1
netconsole for pxelinux
Hi,
I'm in the position that a network console would occasionally be very
useful for me to control pxelinux. Has the possibility of adding it
(next to VGA and serial) been ever discussed? I understand that it
may sound somewhat contorted, but it could also serve instead of a
TFTP PUT for extracting hardware info, for example...
How hard would it be to add (considering gPXE as well)?
--
2006 Mar 15
1
/dev/console not getting created...
...4 by extension).
Anyway, the problem is that for some reason /dev/console is not
getting created. We get completely through the installation, in what
looks like a successful manner, but when we reboot at the point init
would come up with see nothing at all, and there it sits. I went
through many contortions including including using bash as init and
then starting init manually with strace turned on. This all lead to
the conclusion that for some reason init was not getting a console. I
happened to look in the dev directory between a normal minimal install
of CentOS 4 and our "minimal install&qu...
2006 Dec 20
1
[LLVMdev] llvm build not respecting DESTDIR?
Reid Spencer wrote:
>> If not, does it make
>> sense to package the two in the two packages?
>> Macports is a source-based
>> packaging system, so it would seem odd to have to temporarily install
>> llvm-gcc to build llvm, but then install llvm-gcc in a separate package.
>>
>
> That issue goes away with llvm-gcc4. You would simply build llvm and
2007 Aug 17
2
[LLVMdev] Extending AsmPrinter
...; problem isn't basic_ostream _per_se_. There are two issues we're
> worried about:
The problem is basic_ostream and the design of the whole iostreams
library. Use of virtual base classes makes every virtual method
particularly expensive, for example.
> 1. The static constructor contortions in place to handle the extremely
> unlikely case of a static object constructor writing to one of the
> standard streams.
I also dislike this strongly, but it isn't really related.
> 2. Slowness of std::cout and friends due to their reliance on FILE *
> buffering and resu...
2017 Sep 02
3
Problem with upsmon?
I have a Gentoo linux (OpenRC) desktop connected to a UPS, the brand is
Vultech, but lsusb gives me this:
Bus 003 Device 006: ID 0925:1234 Lakeview Research
and I found an article about this hardware here, someone had it working
with the richcomm_usb driver:
http://verahill.blogspot.it/2012/12/kstar-australia-1500-va-ups-on-debian.html
So, I installed nut and configured my UPS to work with the
2007 Aug 17
0
[LLVMdev] Extending AsmPrinter
...ng FILE*'s
> directly.
Ah. Basically operator<< for FILE*. I don't see a lot of benefit to
redefining operator<< for every type just to avoid ostreams. The
problem isn't basic_ostream _per_se_. There are two issues we're
worried about:
1. The static constructor contortions in place to handle the extremely
unlikely case of a static object constructor writing to one of the
standard streams.
2. Slowness of std::cout and friends due to their reliance on FILE * buffering
and resulting excessive virtual function calls.
I just implemented "standard"...
2001 Jul 31
4
nlme: bug in getCovariateFormula (PR#1038)
I found that predict.gnls failed with a wierd error message about a
non-numeric argument to a binary vector in one of three nearly identical
uses.
Error in Inh/Ki : non-numeric argument to binary operator
(Inh and Ki are arguments to the function used in the formula for the
object whose predictions were requested).
It turns out that the problem is in getCovariateFormula().
The final line in
2006 Dec 08
0
[LLVMdev] llvm build not respecting DESTDIR?
Hi Erick,
On Thu, 2006-12-07 at 23:31 -0800, Erick Tryzelaar wrote:
> Hello,
>
> I'm updating the macports build of llvm, and I'm running into an issue
> trying to stage llvm into a temporary directory. It builds fine, but
> when I try to install it into a temporary location, it insists on
> installing into the final location.
Okay.
> The only reference I saw
2007 Aug 17
2
[LLVMdev] Extending AsmPrinter
On Fri, 17 Aug 2007, David Greene wrote:
>> Posix is pretty available, what system doesn't have them?
>
> Windows, for one. If POSIX is ok, it's better in my mind to just directly
Windows has POSIX calls.
> use open, write and friends, which is what I do now. Going the cstdio
> route should only be done for portability reasons to support non-POSIX
> systems.
I
2006 Aug 01
3
Validation on ActiveRecord destruction
Rails has many built in validation methods to ensure that an
ActiveRecord instance cannot be created or updated under certain
situations (typically caused by invalid data). However, I can find no
methods to govern whether an ActiveRecord instance can be destroyed.
Essentially, I wish an error to be raised when a user tries to delete an
ActiveRecord without first adhering to a certain set of
2007 Aug 17
0
[LLVMdev] Extending AsmPrinter
...d
> particularly expensive, for example.
I don't know about "particularly." The performance loss of virtual functions
is mostly due to lack of inlining. Once that's gone, a pointer adjustment
here or these isn't going to matter much.
> > 1. The static constructor contortions in place to handle the extremely
> > unlikely case of a static object constructor writing to one of the
> > standard streams.
>
> I also dislike this strongly, but it isn't really related.
Isn't this the motivation behind "#include <iostreams> is hereby FO...