Displaying 20 results from an estimated 2000 matches similar to: "off topic: running non-ruby programs through command line"
2006 Aug 11
5
Why does no one like render_component?
Maybe I''m missing the point?
Lets take for example albums of pictures. If I have a scaffold for
each, and I''m showing an album, what if I want to list all of the
pictures that are in the album?
Surely, I''d want to call the List action in the picture controller.
render_component would do this perfectly. But we''re told not to use
render_component. So
2006 Aug 08
11
Newb question- method not working
I know this shouldn''t be in the view but to test the code it is.
Anyway if I do just session[user] I get back the user id (the id from
the user table)
which is good.
However this code does not work.
<% a = session[:user] %>
<% uname = User.find(:first, :conditions => id = a) %>
<%= @uname %>
TIA
Stuart
2006 Aug 09
3
select with country names
Hi,
I need to create a list of coutries in a driop down.
I''m aware of a function ''country_options_for_select'' however this jsut
seems to output a string of all countires.
How can I get this list in a drop down?
Thanks
scott
--
Posted via http://www.ruby-forum.com/.
2006 Aug 17
3
How to save output "render :action=>:any_action" to a file?
I need to save the output of my rails app to a file. i.e. instead of
rendering a page when using "render :action=>:any_action" i want the
output to be saved to a file.
Anyone got any ideas?
Thanks
Chris
--
Posted via http://www.ruby-forum.com/.
2006 Aug 10
6
passing hash from controller to view and pluralization?
hi,
i have 2 tables (counties and towns). counties has_many towns and towns
belong_to counties.
now my question:
i thought i would need to do is say @counties = Counties.find(:all).
should that not return to me all counties in the counties table WITH all
towns associated with each county?
in my view i was getting error when doing this
if(counties.has_towns?)
saying undefined has_towns
2012 May 21
3
Installing Zimbra on CentOS 6.2
I need someone to help me: which version of Zimbra I can install on
CentOS 6.2 with 32bits? I tried to do it with ver. 7.2 64 bits and I
couldn't...
--
Lic. Alexander Leyva Fonseca
Especialista en Ciencias Inform?ticas
DSIT (Centro de Investigaciones Sider?rgicas)
ACINOX-Nicaro
Jabber: aleyva at mail.dsit.cu
Telfs: 51-6396, 51-6827, 51-6849, 51-6580
Ext. 101
Fax: 51-7276
"Libertad es
2010 Mar 06
6
[LLVMdev] [PATCH]: MSVC build enhancements
Attached are two patches with MSVC build enchancements.
They are quite trivial, but were necessary to correctly link LLVM
libraries with Mesa3D on Windows.
Jose
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-to-build-against-static-MSVC-runtime.patch
Type: text/x-patch
Size: 2055 bytes
Desc: not available
URL:
2009 Aug 15
2
[LLVMdev] Patch: Initialize target info for LLVM-C.
Hi,
Using a JIT engine on LLVM-C currently fails on SVN because the
LLVMInitialize???Info is never called.
The attached patch fixes this.
BTW, would it be possible to include a simple LLVM-C test case, like
http://npcontemplation.blogspot.com/2008/06/secret-of-llvm-c-bindings.html,
into the test suite, and build/test regularly to prevent regressions
like this?
Jose
-------------- next part
2011 Dec 06
2
[LLVMdev] [llvm-commits] Vectors of Pointers and Vector-GEP
Hi,
I just wanted to let you know that I committed the pointer-vector patch.
Thanks,
Nadav
-----Original Message-----
From: David A. Greene [mailto:greened at obbligato.org]
Sent: Tuesday, December 06, 2011 00:10
To: Jose Fonseca
Cc: David A. Greene; Rotem, Nadav; LLVM Developers Mailing List
Subject: Re: [LLVMdev] [llvm-commits] Vectors of Pointers and Vector-GEP
Jose Fonseca <jfonseca
2011 Dec 05
0
[LLVMdev] [llvm-commits] Vectors of Pointers and Vector-GEP
Jose Fonseca <jfonseca at vmware.com> writes:
> I was referring to gathering a vector of sparse 32bit words, all
> relative from a base scalar pointer in a 64bit address space, where
> the offsets are in a 32bit integer vector. My other reply gave a more
> detailed and concrete example.
Yep, I saw that. I think LLVM IR should support it directly.
> Anyway, from
2011 Dec 05
3
[LLVMdev] [llvm-commits] Vectors of Pointers and Vector-GEP
----- Original Message -----
> Jose Fonseca <jfonseca at vmware.com> writes:
>
> > ----- Original Message -----
> >> "Rotem, Nadav" <nadav.rotem at intel.com> writes:
> >>
> >> > David,
> >> >
> >> > Thanks for the support! I sent a detailed email with the overall
> >> > plan. But just to
2004 Apr 26
4
Yet Another LDAP Question
Hi All,
I know this must have been discussed around here a million times, but I really
didn't find this info anywhere else and I'm on a deadline here.
I already have an FC1 server with a working LDAP directory in production. The
same server runs a Samba PDC, but not with LDAP functionality yet.
All I need to know right now is if I have to include some standard user and
group
2009 Aug 18
0
[LLVMdev] Patch: Initialize target info for LLVM-C.
Applied as r79307, thanks
On Sat, Aug 15, 2009 at 8:57 AM, José Fonseca<jose.r.fonseca at gmail.com> wrote:
> Hi,
>
> Using a JIT engine on LLVM-C currently fails on SVN because the
> LLVMInitialize???Info is never called.
>
> The attached patch fixes this.
>
> BTW, would it be possible to include a simple LLVM-C test case, like
>
2012 Apr 14
0
[LLVMdev] [llvm-commits] Vectors of Pointers and Vector-GEP
On Tue, 6 Dec 2011 09:19:43 +0200
"Rotem, Nadav" <nadav.rotem at intel.com> wrote:
> Hi,
>
> I just wanted to let you know that I committed the pointer-vector
> patch.
Nadav,
I just committed a change to BBVectorizer to allow it to generate these
(and also vector selects) [>= r154735]. If you have cases where you
think these should be generated, and they're
2009 Aug 21
1
[LLVMdev] Patch: Initialize target info for LLVM-C.
Does the 2.5 release version also fail for this reason? I'm trying to
JIT (through LLVM-C) from code generated by my compiler, and it's
segfaulting... I'd like to know if this is the problem or if something
else is going wrong.
On Mon, Aug 17, 2009 at 10:06 PM, Daniel Dunbar<daniel at zuster.org> wrote:
> Applied as r79307, thanks
>
> On Sat, Aug 15, 2009 at 8:57 AM,
2011 Mar 30
1
[LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
On 03/24/2011 03:30 PM, Jakob Stoklund Olesen wrote:
>
> On Mar 24, 2011, at 7:23 AM, José Fonseca wrote:
>>>>
>>> I normally use 403.gcc, but if you don't have SPEC sources, these
>>> tests in the nightly test suite take a while to compile:
>>>
>>> MultiSource/Applications/ClamAV
>>> MultiSource/Applications/JM/ldecod
2010 Jun 02
1
Problems installing data package on Windows
Dear all,
I'm having difficulties installing a package on Windows. It has only R
data files, no code. I've built it on a Linux platform and installed it
there without problems. When I tried installing the .tar.gz on Windows,
via install.packages, I got the following errors:
Error in gzfile(file, "r") : unable to open connection
In addition: Warning message:
1: In
2013 Mar 04
1
Choosing nlme or lme4?
Hi List,
I’ m analysing the selectivity of
resting site use by forest carnivores through mixed modelling techniques and I
wonder which will be the best r package to deal with several aspects simultaneously:
- binomial
variable response;
- possible
spatial and/or temporal correlation;
I have tried nlme (lme function) and
lme4 (lmer function) packages, however I realize that the
2011 Jun 15
2
[LLVMdev] Haswell New Instructions
Jose Fonseca <jfonseca at vmware.com> writes:
> The important thing IMO, is to not represent the gather operation as
> an instruction which takes a vector of pointers, because that's too
> restrictive for architectures with 64bits pointers.
How is it restrictive?
> What one most frequently wants to do in those architectures is to specify a
> 64bit scalar base pointer
2005 Mar 29
1
wins problem - 2nd and last time post
Hello list
I am having the following problem with samba wins server:
1. my servers record are desapearing from wins database. this
servers(computers) are never turned off, and once or twice a week the wins
records just vanish and I have to restart the server to register itself again
with wins.
2. when I install a new workstation I do so in a subnet A where is my support
team. Then I send