similar to: Returning last value

Displaying 20 results from an estimated 100 matches similar to: "Returning last value"

2010 Nov 11
5
ActiveRecord query
I have these sql code in postgresql "SELECT * from convenios where id NOT IN (SELECT convenio_id from solicituds where usuario_id=?" but don''t find a way of used it in rails except find_by_sql. There is a another way?? class Usuario < ActiveRecord::Base belongs_to :persona has_many :solicituds, :dependent => :destroy has_many :convenios, :through =>
2007 Aug 16
2
[LLVMdev] Changing basic blocks
On Wed, 15 Aug 2007, [ISO-8859-1] Em�lio Wuerges wrote: > -- > int total = BB->size(); > std::vector<MachineInstr*> positionmap(total); > for (int i = 0; i< total; ++i) > positionmap.push_back(BB->remove(BB->begin())); > for(int i = 0; i< total; ++i) > BB->push_back(positionmap[i]); > -- This doesn't do what you think. This line:
2009 Feb 03
1
Translation pt-br "WIKI - FrontPage"
O que ? CentOS? CentOS Enterprise Linux ? uma distribui??o baseada no Red Hat Enterprise Linux. CentOS Cada vers?o ? suportada por 7 anos (por meio de atualiza??es de seguran?a). CentOS Uma nova vers?o ? liberada a cada 2 anos, e cada vers?o CentOS ? actualizado regularmente (a cada 6 meses) para suportar os hardware mais novos. Isso resulta em uma rede segura, de baixa manuten??o, confi?vel e
2007 Aug 17
0
[LLVMdev] Changing basic blocks
Yup, You are right. That exploded. I missed some lines in between. there was a .reserve(total) in the actual code. But, there is some side effect I still could not find. 2007/8/16, Chris Lattner <sabre at nondot.org>: > > On Wed, 15 Aug 2007, [ISO-8859-1] Emílio Wuerges wrote: > > -- > > int total = BB->size(); > > std::vector<MachineInstr*>
2012 Feb 17
5
undefined method `key?' for nil:NilClass PaperClip
Hello, I have a problem with the paperclip, I put on my GemFile gem "paperclip", "~> 2.6.0" I create a migrate class FileUpload < ActiveRecord::Migration def up change_table :projects do |t| t.has_attached_file :image end end def down drop_attached_file :projects, :image end end on my model I put class Project < ActiveRecord::Base
2007 Aug 10
2
[LLVMdev] Changing basic blocks
For adding the nop: TII->insertNoop(*BB, BB->end()); 2007/8/9, Chris Lattner <sabre at nondot.org>: > > On Thu, 9 Aug 2007, [ISO-8859-1] Emílio Wuerges wrote: > > I too believe it should not be complicated. > > But I was not being able to do it. > > Finally, after some thinking (and tinkering), this worked like a charm: > > > > MachineInstr* mi =
2007 Aug 09
4
[LLVMdev] Changing basic blocks
Hi Tanya and everybody, Ty for your support. I too believe it should not be complicated. But I was not being able to do it. For instance, I tried to run this code below: BB->push_back(&(BB->front())); BB->pop_front(); But it did not work (kinda obvious why). Nor this: BB->push_back(BB->begin()); BB->pop_front(); But also did not work. It seams the same
2005 Oct 31
1
Build R package with shared library
Hello to all, I am try to build a package, I do the follow commands: "R CMD check pack", "R CMD pack build" and run OK, no errors. I put my shared library in package subdirectory R, src, but it is not put a shared library ".so" in directory "/usr/lib/R/library/pack/lib". Below is my code : dyn.load("pack.so",PACKAGE="pack") argc<-2
2011 Jan 31
1
Nginx on DomU
Hi, My name is Erick and this is my first email on forum. My infraestructure is: Intranet with 2 pcs.. 1 dhcp for general use and net access (192.168.0.130) 1 static ip for Xen Dom0 (192.168.0.100) on 192.168.0.100 i have one DomU with ip 192.168.0.50 on 192.168.0.130 i use putty to connect to 192.168.0.50 (this work) i have nginx installed on 192.168.0.50! If i use "links browser"
2004 Jun 16
2
is.integer() (PR#6984)
Hello! I'm not sure if is it a BUG or not... I'm using R 1.9.0, and I used the command below: > is.integer(9) [1] FALSE R manual contains this words about the is.integer() function: "is.integer returns TRUE or FALSE depending on whether its argument is of integer type or not." What's the problem? Am I wrong about the BUG report? Thank you very much. M?rcio de
2004 Jun 08
1
Differential Equations
Hello! I would like to know if R can solve Differential Equations... I don't think so because, in my point, I see R like a Statistical System, not a Math System. Am I wrong? Thank you very much. M??rcio de Medeiros Ribeiro Graduando em Ci??ncia da Computa????o Departamento de Tecnologia da Informa????o - TCI Universidade Federal de Alagoas - UFAL Macei?? - Alagoas - Brasil Projeto CoCADa
2007 Aug 08
2
[LLVMdev] Changing basic blocks
Hello guys, I plan to do some pre register allocation optimizations. I already know my way around LLVM but I could use some more experience. I need a way to reorder instructions inside MachineBasicBlocks or MachineFunctions. I've been searching for it but I have not found an example in the code yet. Can someone point me where I should look for? ty, -- Emilio Wuerges LAPS - Laboratorio
2005 Dec 29
1
Problems with calloc function.
Hi all, I have a C code in Linux, it has 7 pointers and compile e run OK, but when I run in R happens problems with calloc function, it returns NULL. ############################################### > int *temp1,*temp2,*temp3,*temp4; temp1 = (int *)calloc(col,sizeof(int)); if(temp1 == NULL){ printf("\n\n No Memory1!"); exit(1); } temp2 = (int *)calloc(col,sizeof(int));
2007 Aug 08
0
[LLVMdev] Changing basic blocks
> I need a way to reorder instructions inside MachineBasicBlocks or > MachineFunctions. > I've been searching for it but I have not found an example in the code yet. For MachineBasicBlocks, check out this doc: http://llvm.org/doxygen/classllvm_1_1MachineBasicBlock.html I believe its basically the same as basic blocks in that you can manipulate the instruction list. Otherwise, you
2007 Aug 09
0
[LLVMdev] Changing basic blocks
On Thu, 9 Aug 2007, [ISO-8859-1] Em�lio Wuerges wrote: > I too believe it should not be complicated. > But I was not being able to do it. > Finally, after some thinking (and tinkering), this worked like a charm: > > MachineInstr* mi = BB->remove(BB->begin()); > BB->push_back(mi); > > But, is there a better way to do it? This is a good way to do a single
2008 May 19
3
[LLVMdev] LLVM on small MCUs?
Anyone else interested in an AVR backend? If so, for what members of the AVR family? If we do a port, likely it'll support only the ATmegas. John
2008 May 19
0
[LLVMdev] LLVM on small MCUs?
I have a client who might well make use of an AVR32 port, but I suspect that machine is very different than the one you are currently examining. shap On Mon, 2008-05-19 at 12:38 -0600, John Regehr wrote: > Anyone else interested in an AVR backend? > > If so, for what members of the AVR family? If we do a port, likely it'll > support only the ATmegas. > > John >
2001 Jul 16
2
Config file
i'm having problems creating confgi file someone can send me your config in mail body or how is head of config file because i'm receiving the follow message when i type wine wineserver: /$HOME/.wine/config is not a valid registry file wine client error:(nil): recvmsg: Connection reset by peer
2005 Apr 27
2
Question about R initial message
Dear R: First of all, nothing is wrong! I just had a question about the following" "Natural language support but running in an English locale" What does than mean, please? Thanks in Advance R 2.1.0 Windows Laura Holt mailto: lauraholt_983 at hotmail.com
2005 Aug 16
4
Image from bytes streams
Hello! I'm trying to get an array of bytes from graphic images generated by R. Here, you can see my Java code: -------------------------------------------------------------------------------------------------------------------------- Process p = Runtime.getRuntime().exec("C:/Arquivos de programas/R/rw1090/bin/Rterm.exe --no-save"); DataOutputStream output = new