Displaying 20 results from an estimated 6000 matches similar to: "Independent thread use in Rails app"
2004 Oct 16
1
181 and current Linus
klibc appears to build ok, some of the apps fail
gcc -Wp,-MD,.fstype.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc
-iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386
-I../include/bits32 -I../include -I../linux/include -I../linux/include2
-W -Wall -c -o fstype.o fstype.c
fstype.c: In function `romfs_image':
2004 Oct 16
1
0.184 -- gcc: warning: `-x c' after last input file has no effect
What do I need to do to fix this?
[jonsmirl@smirl klibc-0.184]$ make
make[1]: Entering directory `/home/dri/klibc-0.184/klibc'
gcc -Wp,-MT,syscalls.nrs,-MD,./.syscalls.nrs.d -mregparm=3 -DREGPARM=3
-march=i386 -Os -g -falign-functions=0 -falign-jumps=0 -falign-loops=0
-nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=32
-I../include/arch/i386 -I../include/bits32 -I../include
2004 Oct 19
1
times.h and building ash
I get this with current linus bk now and klibc 187
[jonsmirl@smirl ash]$ make
sh mknodes.sh nodetypes nodes.c.pat .
gcc -Wp,-MD,.cd.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc
-iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386
-I../include/bits32 -I../include -I../linux/include -I../linux/include2
-I../linux/include
2006 Apr 27
6
Why not mod_ruby?
Hi!
I''ve understood that the mod_ruby apache module is not recommended for
running Ruby on Rails applications. But I haven''t found any information
as to why that is so. Please enlighten me. And could you point me to the
(currently) prefered production environment. (That can handle both RoR
and PHP sites).
Thank you and best regards
Hans-Eric Gr?nlund
--
Posted via
2006 Jan 31
2
New free IBM DB2 with few restrictions
This will give you something to run on when Oracle refuses to renew
the MySQL InnoDB license next year.....
Linux and Windows versions
You can run DB2 Express-C on up to 2 dual-core CPU servers, with up to
4 GB of memory, any storage system setup and with no restrictions on
database size or any other artificial restrictions.
Business partners may choose to register for free redistribution of
2004 Feb 07
1
double define of __BIT_TYPES_DEFINED__
/klibc/klibc/include/bits32/bitsize/stdint.h:8: error: redefinition of `int8_t'
/klibc/linux/include/linux/types.h:109: error: `int8_t' previously declared here
The copy in stdint.h is not protected by:
#ifndef __BIT_TYPES_DEFINED__
#define __BIT_TYPES_DEFINED__
#endif /* !(__BIT_TYPES_DEFINED__) */
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
2006 May 12
5
How is Actionpack is not thread-safe? @@allow_concurrency?
Hi,
I found many references on the Web to the fact
that "Rails is not thread-safe".
However, I have not found an explanation _why_ it isn''t?
What happens if multiple requests are handled concurrently
by ActionPack?
Assuming that the code I execute in my controller methods
is thread safe, is this ok?
If not -- what happens?
The following makes it sound like the issue is
2006 Jan 17
2
file_column plugin and instance variables
To make file_column work I have to copy my local variable back to an
instance variables like this:
<% for product in @products
@product = product %>
<div class="catalogentry">
<%= image_tag url_for_file_column(''product'', ''image_url'') %></p>
This is needed because file_column specifically looks for the instance
2006 Apr 26
5
remote ruby
I''m building a collection of desktop app''s and want to use ruby, and
Active Record in particular, as an intermediary layer to my
databases. I''m not sure how to connect my development environment,
Runtime Revolution, to Ruby and Active Record.
One option is to just set up a RonR environment and have my app''s
make calls that return regular text results
2006 Jan 12
2
ActionController#send_file
Looking at the code for ActionController#send_file I see that it is
using ruby to send the file contents. Linux supports a sendfile() OS
call. The implementation of Linux sendfile() is extremely fast and
very CPU efficient, far faster than what can be done in user space.
Does Windows support a sendfile() equivalent call? I haven''t been
working with ruby long enough to know how it handles
2005 Dec 16
11
mysql mem-tables vs. memcached
Could someone please elaborate on the technical differences and practical
impact of whether choosing memory-based tables in MySQL or using memcached.
I got this far on my own:
It seems that MySQL uses the NDB engine for transaction-safe memory access
in a cluster. the memory storage engine seems to be faster but not
synchronizable by any means in a cluster. memcached seems to be ultimately
fast
2004 Jan 24
2
mmap and getpagesize
The man page for mmap() says the size needs to be a multiple of getpagesize().
So in my code I call getpagesize() and adjust my lengths accordingly. klibc
doesn't have getpagesize() implemented. Is it safe to call mmap() with arbritary
lengths and assume the mmap will round up for you? Does this work on glibc too?
If so, I can just eliminate my getpagesize() code.
It turns out for VM86
2006 Feb 06
1
belongs_to versus references
I was just reading through the Rails book and I got to the part about
belongs_to versus references. Shouldn''t references be allowed as a
synonym to belongs_to?
Looking at this from a schema in the model view point, belongs to
corresponds to a foreign key with the cascade on delete option.
References is just a normal forgeign key with no cascade option.
--
Jon Smirl
jonsmirl@gmail.com
2004 Jan 26
1
README paths to ftp and CVS
ftp should be:
ftp://ftp.zytor.com/pub/linux/klibc/
instead of:
ftp://ftp.zytor.com/pub/linux/libs/klibc/
CVS says:
http://www.zytor.com/cvsweb.cgi/klibc/
but that's broken.
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
2004 Jan 26
1
need a few additions
I have my VBIOS reset program working on klibc now. I think I have tracked down
and fixed all of the problems I was having. So to make this official I need a
few minor klibc additions:
1) fix inb/w/l to return the right variable.
2) implement getpagesize()
3) add support for vm86 - one function and one header file.
Later, if you're interested, we could modify the vm86 function to call the
2004 Feb 15
1
Macros for wait() status
Can I get the macros for interpreting wait() exit status?
wait(&status);
if (__WIFEXITED(status) && (__WEXITSTATUS(status) == 0)) { //need klibc fix
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
2004 Feb 21
1
sighandler_t signal(int signum, sighandler_t handler);
sighandler_t signal(int signum, sighandler_t handler);
it's in the headers ok but the function seems to be missing. I seem to recall
this working in older versions.
linking...
/home/mesa/boot/v86bios/main.c:411: undefined reference to `signal'
main.o(.text+0x613): /home/mesa/boot/v86bios/main.c:412: undefined reference to
`signal'
=====
Jon Smirl
jonsmirl@yahoo.com
2004 Feb 21
1
REGPARM_OPT
This is enabled in v114 for arch/i386. The comments read like you meant to leave
it disabled by default.
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
2004 Apr 12
1
libsysfs and klibc
libsysfs is using a few things not in klibc. udev is getting around this by
having a private copy of libsysfs with a few modifications to make it work on
klibc. What's the easiest path for getting the master libsysfs copy working on
klibc?
libsysfs needs two calls:
setmntent, getmntent
These are used to locate the mount point of /sys
It also uses errno so I get link errors for
2004 Sep 14
1
v173 and current 2.6 Linus BK on x86
v173 doesn't build on current 2.6 Linus BK on x86
Complaints about undeclared __le64, __le32, __be64, __be32, __be16
What am I doing wrong?
In file included from ../linux/include/asm/byteorder.h:57,
from ../klibc/include/endian.h:9,
from ../klibc/include/netinet/in.h:13,
from ../klibc/include/arpa/inet.h:11,
from