search for: smedbergs

Displaying 20 results from an estimated 21 matches for "smedbergs".

Did you mean: smedberg
2007 Dec 03
2
[LLVMdev] LLVM footprint
...Note that because this is a sharedlib I had to configure LLVM with - --enable-pic --enable-optimize, but I used no other configure options... should I have? Are there features that can be disabled to reduce footprint? - --BDS - -- Benjamin Smedberg Platform Guru Mozilla Corporation benjamin at smedbergs.us http://benjamin.smedbergs.us/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHVGDHSSwGp5sTYNkRAuLDAJ46kA/lCEyGInTpAtVmsxqdxnjKTACfeU/A jUUXDH3bmUY5jpDrufLf+UQ= =YnWY -----END PGP SIGNATURE-----
2006 Apr 28
2
Active Record save doesn''t save! (more detail - is this a bug?)
I got it to work by changing scheduled_end_date= nil to self.scheduled_end_date= nil. I believe these statements should be equivilent. I don''t know Ruby/Rails well enough to know when, if or why that should matter. Can someone educate me please? I want to believe this framework is ready for production work, but silently dropping data is a very big problem. I expect that I''ve
2007 Dec 01
1
[LLVMdev] Runtime JIT: passing function pointers as values?
...JIT directly as a value, rather than referencing the function by a symbolic name? That is, a class analagous to "ConstantInt" but for pointers: "ConstantPtr::get(MyFunctionType, &MyCPPFunction)" - --BDS - -- Benjamin Smedberg Platform Guru Mozilla Corporation benjamin at smedbergs.us http://benjamin.smedbergs.us/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHUX5zSSwGp5sTYNkRAmA8AJ0VDsrIlzpJNE+zUg6sH9VsD2GZ5wCgjVOS xkMrt2mAL1sX8iUUhcRAz9o= =R/IP -----END PGP SIGNATURE-----
2007 Dec 01
2
[LLVMdev] pointer-sized integer type
Benjamin, > It seems that LLVM bytecode doesn't have a builtin type for "pointer-sized > integer". You should use TargetData to provide a size of pointer. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2007 Dec 02
0
[LLVMdev] pointer-sized integer type
...gure out the size of a pointer and use the equivalent integer type. I mean, is it possible to create architecture-independent LLVM assembly/bytecode that has an "integer that's the same size as a pointer"? - --BDS - -- Benjamin Smedberg Platform Guru Mozilla Corporation benjamin at smedbergs.us http://benjamin.smedbergs.us/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHUgmsSSwGp5sTYNkRAu9DAJ9Y7zEkJieYwLXu+IuBsyAQmWhEAwCePdMt KUztxE51Y7H/1Qa9H6t+Xf0= =+w6x -----END PGP SIGNATURE-----
2007 Dec 03
1
[LLVMdev] LLVM footprint
...ion, but if Mozilla decides to use te LLVM JIT for some of our Mozilla2 projects we'll definitely be contributing to reduce the footprint as much as possible, as well as the MSVC thiscall support I mentioned before. - --BDS - -- Benjamin Smedberg Platform Guru Mozilla Corporation benjamin at smedbergs.us http://benjamin.smedbergs.us/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHVHOiSSwGp5sTYNkRAlntAJ4halntb60Dva5V2IIyIrAD3UWOgACgnUoW x0NMLmP8fDgBmk5uNK9Mo00= =u8aN -----END PGP SIGNATURE-----
2008 Feb 27
0
[LLVMdev] LLVM test fails with "gnu/stubs-32.h: No such file or directory"
...buntu. I'm not sure whether this should be rectified in Ubuntu or LLVM. You don't have i386 and x86-64 devel packages installed. Ask your package manager what package provies stubs-64.h... or --disable-multilib - --BDS - -- Benjamin Smedberg Platform Guru Mozilla Corporation benjamin at smedbergs.us http://benjamin.smedbergs.us/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHxM1DSSwGp5sTYNkRArvnAKCM97BS4xNVPiA3AWLvsveumrJ1kgCfTo9T I+yBqj71gmIyzkNJObXsOCs= =QMeu -----END PGP SIGNATURE-----
2008 Feb 26
3
[LLVMdev] LLVM test fails with "gnu/stubs-32.h: No such file or directory"
Subject says it all. Looking in /usr/include/gnu, I find stubs-64.h and stubs.h, but no stubs-32.h. This is probably related to my machine running a 64-bit install of Ubuntu. I'm not sure whether this should be rectified in Ubuntu or LLVM. Regards, Jo
2006 Apr 28
7
Active Record save doesn''t save! (or throw an exception)
PLEASE help me - this is making me insane. Can anyone suggest any reasons for this behavior? It occured previously, then went away and is now back. In Task.rb (where task is an active record subclass) def clear_schedule puts "clearing schedule for task" scheduled_end_date= nil #reset the scheduled end date save halt.
2007 Dec 04
2
[LLVMdev] Memory allocation (or deallocation) model?
...e the function is JITted, will all those types/instructions/functions still be allocated in memory? ** If so, is there a way to explicitly free them? * Can I "delete executionEngine" to free up all the memory? - --BDS - -- Benjamin Smedberg Platform Guru Mozilla Corporation benjamin at smedbergs.us http://benjamin.smedbergs.us/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHVKRfSSwGp5sTYNkRAg5KAKCkaYvIqD9ERW8d6HXVNUoSY3jcUwCfcLYX TSO793MS0OzgxSEOKURY1/M= =pjhx -----END PGP SIGNATURE-----
2007 Dec 03
0
[LLVMdev] LLVM footprint
On Mon, 3 Dec 2007, Benjamin Smedberg wrote: > What is the expected footprint of a tool using the LLVM JIT? Right now it's ~1.5 to 2M for one platform, at least on darwin. > I have created a simple project that uses the LLVM C++ API to JIT calls > to XPCOM method signature... it works well, but the component DLL is > very large (Linux x86-74, 5.8MB optimized and stripped). Is
2007 Dec 01
0
[LLVMdev] thiscall on MSVC
...ot;this" in %ECX. Is there a workaround for this? Or how hard would it be to add a separate "thiscall" convention which maps to "ccc" on GCC-like targets and the custom MSVC target on MSVC-x86? - --BDS - -- Benjamin Smedberg Platform Guru Mozilla Corporation benjamin at smedbergs.us http://benjamin.smedbergs.us/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHUX89SSwGp5sTYNkRAr1BAJ9mvl5TX3htJKvKv0fgRnLYmLDqfACg2kVz QYsxHM/HjaX2QpL8MUYm8U0= =C8PQ -----END PGP SIGNATURE-----
2007 Dec 01
0
[LLVMdev] pointer-sized integer type
...39;t have a builtin type for "pointer-sized integer". Is there a way to emulate a pointer-size integer type in bytecode without knowing the target processor word size? How hard would it be to add such a type? - --BDS - -- Benjamin Smedberg Platform Guru Mozilla Corporation benjamin at smedbergs.us http://benjamin.smedbergs.us/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHUX+XSSwGp5sTYNkRAt4SAJ9POuNxwTaLx4o+hxyWLf9t4V69jQCgidC0 5RVoFXrcLfLkv5UDs3puOXQ= =lsIi -----END PGP SIGNATURE-----
2008 Feb 22
2
[LLVMdev] Calling functions
Hello! I'm trying LLVM for generating code and I found something I cannot figure out or find in the documentation: I'm doing something like this to call "sin" from std: std::vector<const Type*> params; params.push_back( Type::FloatTy ); FunctionType *FT = FunctionType::get( Type::FloatTy, params, false); Function *F = new Function( FT, Function::ExternalLinkage,
2008 Feb 25
0
[LLVMdev] Calling functions
----- Mensaje original ---- De: Benjamin Smedberg <benjamin at smedbergs.us> Para: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu> Enviado: viernes, 22 de febrero, 2008 22:36:40 Asunto: Re: [LLVMdev] Calling functions -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Álvaro Castro wrote: | Hello! | | | I'm trying LLVM for generat...
2006 Mar 24
10
Running Rails tasks by schedule, instead of an HTTP request.
Hi there I''m considering Rails for a new web-application planned to be built from scratch. The application has an extensive web front, and in fact most of the application is interfaced through that front and engaged through clients'' HTTP requests (i.e. the conventional way web-applications and "dynamic web-sites" work). However, some essential parts are supposed to
2006 Mar 16
5
TimeZone, TZInfo, daylight savings, and composed_of
Does anyone know the best way to track time zone information. There doesn''t seem to be much documentation on this. So far it seems like a simple db field like create table accounts ( id int unsigned not null auto_increment, name varchar(50) not null, time_zone varchar(50) not null, ... primary key (id) ) and a class like class Account < AR ...
2005 Dec 28
6
coverage does not work
Hi, I''ve installed coverage (gem install coverage) and try to run tests with -rcoverage option on, but following error occurs: ruby: No such file to load -- coverage (LoadError) I try: ruby -rcoverage mytest.rb 1. I have rubygems in evn var RUBYOPT 2. Gem seems to be installed properly (I can read doc via gems, the files exist in the ../gem/... dirs) Does anyone know what is the
2007 Dec 04
0
[LLVMdev] Memory allocation (or deallocation) model?
On Mon, 3 Dec 2007, Benjamin Smedberg wrote: > I've been reading the headers and > http://llvm.org/releases/2.1/docs/ProgrammersManual.html and I'm still > confused about a pretty fundamental point... who is expected to clean up > various objects when we're finished with them, and when? Ok, different objects have different life times. The important ones are: (most)
2005 Dec 31
6
I don''t even know how to ask the question (4 lines of code)
I create a hash using this line of code @x = Account.find(:all) I then want to go through each element in turn and add a key value pair to the end of it. I thought this would work, but it does not. @x.each do |a| a.merge({"balance"=>50} I used merge because I thought ''a'' would be a hash (how do you find out the type of an object?) I then guess it was