Displaying 20 results from an estimated 300 matches similar to: "Matrix manipulation"
2006 Aug 03
6
create or update -
Hi everyone,
I''m looking for a shortcut to finding and updating or creating record
depending on the results of the find.
So, is there a shorter way to do it than this?
@stuff = Stuff.find_by_foo_and_bar("yay","hooray")
if @stuff: Stuff.update(@stuff.id, {:foo => "boo", :bar => "hoo"})
else Stuff.create({:foo => "boo",
2017 Jul 17
3
A bug related with undef value when bootstrap MemorySSA.cpp
It seems MemorySSA.cpp is the only real code where we found the
problem happening. Is it possible to change the source of
MemorySSA.cpp to hide the problem and buy some time for now? Now we
use an empty generic_def_path_iterator with Optional<ListIndex> N
being initialized by None as the end of range. Can we initialize the
Optional var with a special value instead of None?
2017 Jul 17
2
A bug related with undef value when bootstrap MemorySSA.cpp
Hello, some of the patches had conflicts with LLVM head, so I updated them.
If you experienced patch failure before then you can try it again.
I compiled your code (1.c) with LLVM r308173 with the 5 patches applied,
and it generated assembly like this. Now it contains store to c(%rip).
It tries to store a(%rip) + b(%rip) to c(%rip). I wish this translation is
now correct.
```
73 .globl hoo
2017 Jul 17
3
A bug related with undef value when bootstrap MemorySSA.cpp
Hi,
On Mon, Jul 17, 2017 at 1:56 PM, Daniel Berlin via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
>
> On Mon, Jul 17, 2017 at 1:53 PM, Wei Mi <wmi at google.com> wrote:
>>
>> It seems MemorySSA.cpp is the only real code where we found the
>> problem happening.
>
>
> This is doubtful, ¸FWIW :)
>
>>
>> Is it possible to change the
2017 Jul 18
4
A bug related with undef value when bootstrap MemorySSA.cpp
On Mon, Jul 17, 2017 at 5:11 PM, Wei Mi <wmi at google.com> wrote:
> On Mon, Jul 17, 2017 at 2:09 PM, Sanjoy Das
> <sanjoy at playingwithpointers.com> wrote:
>> Hi,
>>
>> On Mon, Jul 17, 2017 at 1:56 PM, Daniel Berlin via llvm-dev
>> <llvm-dev at lists.llvm.org> wrote:
>>>
>>>
>>> On Mon, Jul 17, 2017 at 1:53 PM, Wei Mi
2017 Jul 17
3
A bug related with undef value when bootstrap MemorySSA.cpp
On Mon, Jul 17, 2017 at 11:18 AM, Sanjoy Das via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi,
>
> On Mon, Jul 17, 2017 at 10:32 AM, Xinliang David Li <davidxl at google.com>
> wrote:
> > The issue blocks another optimization patch and Wei has spent huge
> amount of
> > effort isolating the the bootstrap failure to this same problem. I agree
> >
2006 Mar 16
4
New one on me: How to UN-transfer
I'm using a Snom 320 in a CAP position and the receptionist wants to do
blind transfers. OK, no problem so far. Now she has asked me how to
UN-transfer a call, as in, she transfers a call and wants to hook the call
back before it connects (she wanted to tell the caller additional
information for example)
I don't think that this is possible as once my dialplan starts using Dial()
2011 Dec 08
2
[LLVMdev] Implementing devirtualization
We've got the following test case:
class A {
public:
int x;
A(int x) : x(x) {}
int hoo() {return 4;}
virtual int foo() {return x;}
virtual int goo() {return foo()+10;}
virtual int operator+(A &a) {
return x + a.x;
}
};
class B : public A {
public:
B(int x) : A(x) {}
int hoo() {return 2;}
virtual int foo() {return A::foo()*2;}
};
int main() {
A* a = new A(1);
2010 Oct 04
2
Recursion error after upgrade to R_2.11.1 [Sec=Unclassified]
Hi all,
After an upgrade from R_2.10.1 to R_2.11.1 I am now getting the following error:
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
This occurs in the initialize method of S4 classes where I was initialising attributes eg:
.Object[['realtimeState']] <- list()
I can avoid this new error by altering the code to do:
.Object$realtimeState <-
2017 Jul 18
2
A bug related with undef value when bootstrap MemorySSA.cpp
On 07/18/2017 06:03 PM, David Majnemer via llvm-dev wrote:
> I doubt it is possible for us to try and make any fix which is
> predicated on eagerly treating undef in a particular way, refinement
> will always cause these problems to come about...
>
> Given what I've seen in LLVM (and what I've learned from other
> compilers), we probably have two choices:
> 1.
2006 Aug 02
4
College course on Ruby on Rails
Hello all,
I am very happy to announce that registration for my new course entitled
"Ruby on Rails Development" at my college is now open. We are offering this
course as part of our LAMP certificate which is designed for working
professionals who want to upgrade their skills.
I think that it is a sign of Rails'' growing maturity that I was able to
propose this and work it
2011 Dec 08
0
[LLVMdev] Implementing devirtualization
On Thu, Dec 8, 2011 at 9:56 AM, Vitor Luis Menezes <vitor at utexas.edu> wrote:
> Hello all,
>
> Our compilers class has been using LLVM, and a partner and I decided to
> implement devirtualization of virtual C++ calls in LLVM as a class project.
> We quickly realized that existing debug metadata generated by Clang didn't
> give us enough info to (precisely) implement
2005 Apr 19
1
controlling the x axis of boxplots
v 2.0.1 (sooooh old!) on Win2k
I think I know the answer to this but I can hope ...
I have data for continuous variables (measures of residents) by a
categorical variable in range (1,22), the units in which they live.
I want to plot these data with a pair of boxplots one above another
with same x-axis (1,22) using par(mfrow=c(2,1)) and then plotting
first for the women then for the men.
2016 Aug 11
3
EPEL packages for CentOS 7 i686 AltArch distro
I have begun building the EPEL packages for the CentOS 7 i686 AltArch
distribution.
You can watch the progress here:
http://buildlogs.centos.org/c7-epel/
Should have most of the packages built in the next couple days.
Thanks,
Johnny Hughes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc:
2004 Aug 16
4
Polycom SoundPoint IP 500/600 XML minibrowser
Has anyone been able to get the minibrowser on the Polycom SoundPoint IP
500/600 phones working? If so could you share the relevant sections of
your config with me?
2018 Sep 12
2
eventlog functionality
On Wed, Sep 12, 2018 at 09:30:19AM -0700, Ray Klassen via samba wrote:
>
> and from the what the hell department. I did it. Comparing
>
> https://docs.microsoft.com/en-us/windows/desktop/api/lmshare/ns-lmshare-_session_info_1
>
>
> and
>
> https://docs.microsoft.com/en-us/windows/desktop/api/lmshare/ns-lmshare-_session_info_10
>
> and
>
>
2011 Dec 09
0
[LLVMdev] Implementing devirtualization
On Thu, Dec 8, 2011 at 2:11 PM, Vitor Luis Menezes <vitor at utexas.edu> wrote:
> We've got the following test case:
>
>
> class A {
> public:
> int x;
> A(int x) : x(x) {}
> int hoo() {return 4;}
> virtual int foo() {return x;}
> virtual int goo() {return foo()+10;}
> virtual int operator+(A &a) {
> return x + a.x;
> }
> };
2007 Apr 28
2
Tables & Databinding
Hiya,
I''ve recently been looking at removing the dependency in our CRM/CMS
on MSIE XML Databinding so that it''ll run properly in Firefox..
The solution I''ve created uses the prototype.js lib so I thought I
might share my efforts here if that''s ok? It''s still _very_ early
days but there''s the beginnings of a writeup here:
2006 Feb 23
9
Linksys WIP300 WiFi Phone
Whoo hoo! I just received my WIP300 from voipsupply. I have to let it
charge before I can play with it.
A few quick comments:
- I started a Wiki page at voip-info to post issues, firmware news, etc.
I really like the wealth of info on the GXP-2000 page, so I wanted to
start something similar for this phone.
http://www.voip-info.org/wiki/index.php?page=Linksys%20WIP300
- My kit
2011 Dec 08
4
[LLVMdev] Implementing devirtualization
Hello all,
Our compilers class has been using LLVM, and a partner and I decided to
implement devirtualization of virtual C++ calls in LLVM as a class project.
We quickly realized that existing debug metadata generated by Clang didn't
give us enough info to (precisely) implement this, and as such have already
begun modifying Clang to insert such metadata. However, for
devirtualization we also