similar to: Ruby threads?

Displaying 20 results from an estimated 1000 matches similar to: "Ruby threads?"

2006 May 30
4
Rails / ActionPack thread safety
Hi all, Both the rails book (1st Ed) and the docs on the rails site (*and* the Mongrel FAQ) tell me that rails (& ActionPack /ActiveRecord) is not threadsafe. Since I need lots of worker threads in the app I''m working on (details at the end of this mail) this poses quite a problem for me. Is the lack of thread safety a conscious design decision (kind of understandable for rails
2006 Aug 06
3
Bug or feature: WEBrick threading (vs script/console thread)
I don''t know whether this is a bug or feature, and I don''t know whether this belongs to Gmailer (http://rubyforge.org/projects/gmailutils) in specific or Rails/Ruby in general. I have an instance method in an ActiveRecord model, that upon a web request using WEBrick, spawns off a thread, in which it invokes Gmailer to perform some processing. What fails is that simply
2007 Jun 05
3
Mongrel/Apache mod_deflate question
Hi Folks, We''re moving from a single lighttpd-hosted Rails box to a Apache/ mongrel cluster. In lighttpd, mod_compress had a very nice feature: if there''s a static file, it would compress it in a user-specified compress folder. If the file hasn''t changed, it would just serve out the compress file; if the file has changed, it would recompress it and serve it out.
2005 Jul 08
8
Integrating script.aculo.us into existing javascript codebase
Hi, I''m new to this mailing list, so first off, a big THANK YOU for the script.aculo.us and prototype.js libraries. I''m trying to integrate script.aculo.us into an existing pretty large Javascript codebase (see http://openrecord.org). I''m running into a problem with prototype.js and the existing codebase''s use of for/in loops over an Array.
2013 May 17
2
zigzag confidence interval in a plot
Dear All, When I plot the values and linear regression line for one data set, it is fine. But for another one I see zigzags, when I plot the confidence interval >cd Depth CHAOsep12RNA 9,94 804 25,06 1476,833333 40,04 1540,561404 50,11 1575,166667 52,46 349,222222 54,92 1941,5 57,29 1053,507042 60,11 1535,1 70,04 2244,963303 79,97 1954,507042 100,31 2679,140625 >
2007 May 30
2
(no subject)
Need some help with IAX trunking. I've got six systems: AsteriskM (main) ___________________|____________________ | | | | | Asterisk1 Asterisk2 Asterisk3 Asterisk4 Asterisk5 AsteriskM has two Sangoma A102 2 Port T1 cards in it, the other Asterisk boxes are using ztdummy for timing, they are all using IAX trunking. My calls come in
2015 Mar 29
2
[LLVMdev] How to Cross Compile libcompiler_rt Static Library?
I need to correct myself. It is possible to cross compile it on Windows, but not using the provided build systems. On Sun, Mar 29, 2015 at 12:52 PM, Daniel Dilts <diltsman at gmail.com> wrote: > I asked about this same question in the past (month or three ago). It is > not possible to cross compile compiler-rt on Windows. If you want to cross > compile you should use the make
2015 Mar 12
3
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
2015-03-12 10:49 GMT-05:00 Jonathan Roelofs <jonathan at codesourcery.com>: > You need to build a sysroot from the lib and include directories in > ~/research/musl-1.1.6 combined with the same folders from > /usr/local/arm-2009q, then use `--sysroot` instead of the `-I`s and `-L's. I copied everything from the lib in musl-1.1.6 to
2007 Jul 05
6
Rails, background threads, ActiveRecord
Let''s start out without ActiveRecord, just to make the case. So, I have a calculation that will take a while to run in my Rails app. One doesn''t really want to just hold a HTTP connection open until it''s done, for a variety of obvious reasons. Even though everyone says "Rails isn''t thread safe", I can''t think of any reason this would be a
2008 Sep 28
1
Kernel Estimate for the Intensity Function
To anyone who can help me: I found that the function "smooth.ppp" in the package "spatstat" provides the kernel estimate for the intensity function of a "two-dimensional" point process with marks. Does anyone know that which package can do this for simply a "one- dimensional" point process with marks? I've been searching all over the R site but still
2010 Apr 20
2
shift and pop equivalent in R
Dear All, I am wondering is there any shift (or pop or push or unshift) equivalent in R? For example, shift(x) # should return x[1], and x becomes x[-1] Thanks a lot. Best Regards, Xie Chao
2008 Jun 10
4
adding results from threads to a collection and returning it
Forgive me if this has been addressed somewhere, but I have searched and can''t come up with anything. I am basically trying to distribute several web page scraping tasks among different threads, and have the results from each added to an Array which is ultimately returned by the backgroundrb worker. Here is an example of what I''m trying to do in a worker method: pages =
2016 Oct 04
29
The security id structure is invalid
I recently upgraded Samba on my DC from a working 4.3 installation to 4.5.0. Once done, I followed the instructions here: https://wiki.samba.org/index.php/Updating_Samba#Fixing_replPropertyMetaData_Attributes and ran: samba-tool dbcheck --cross-ncs --fix --yes After that, I can no longer access the shares on this machine. I get the "Security ID structure is invalid" error above. In
2006 Jun 06
5
[OT] O''Reilly Cookbooks
Hi, Has anyone gotten the "roughcuts" of the Ruby and Rails cookbooks? If you have the Pragmattic Rails Cookbook is the O''Reilly worth it? Also can you download PDF''s of their "roughcuts". The website is kind of vague, it just mentions online access (whatever that means). Thanks in advance.
2001 Oct 19
4
Exclude
Hi Folks, I'm running rsync between an NT client and a Solaris 7 Server (Ver 2.4.6). I'd like to be able to exclude the following directory: /opt/IBMHTTPDLOG/archivelogs but retrieve /opt/IBMHTTPDLOG My setup is: rsync -av -p -e rsync@server1.cna.com:/opt/IBMHTTPDLOG/ F:/opt/IBMHTTDLOG (client) rsync --daemon --exclude-from=/etc/rsync.exclude (server) What I get is
2010 Aug 03
2
How to extract ICC value from irr package?
Hi, all There are 62 samples in my data and I tested 3 times for each one, then I want to use ICC(intraclass correlation) from irr package to test the consistency among the tests. *combatexpdata_p[1:62] is the first text results and combatexpdata_p[63:124] * is the second one and *combatexpdata_p[125:186]* is the third. Here is the result:
2015 Mar 29
2
[LLVMdev] How to Cross Compile libcompiler_rt Static Library?
2015-03-29 3:33 GMT-05:00 Ed Schouten <ed at 80386.nl>: > I am cross-compiling compiler-rt for my specific use-case. That said, > I'm cross-compiling from x86-64 to x86-64, but for a different ABI. > This is what I use: > > > https://github.com/NuxiNL/cloudlibc/wiki/Building-runtime-libraries#user-content-compiler-rt > > -DCMAKE_CROSSCOMPILING=True > > As
2006 Jun 06
4
Avaya 4624 Ip phone
Hi guys, I installed asterisk and it's working really well. For now I`m using soft phones IAX and SIP but now I want to use the regular IP phone, what I have now is Avaya 4624 and I didn't find a firmware for SIP for this particular phone I believe now is working with H.323, can please someone advice me if exist firmware for this phone to register SIP or IAX2 with my asterisk box, and to
2004 Oct 21
1
Question about calling C function from R
Hi,all I wrote a C function and now I want to plug in this in R. I know how to do this in Unix version R by typing something like "R CMD SHLIB foo.c" to compile this C code. Then I can load it by using dyn.load. But I don't know how to do it in a windows version R. Anyone can help me out here? I really appreciate. Thanks a lot! Chao
2010 Apr 13
4
Online resize of guest disks without reboot/shutdown ?
Hello all, I just notice the new feature in the latest version 4 release. Any one know how to do this ? I have tried lvextend the partition size in dom0, but domU doesn''t see the change. I also need to reboot to make domU reread the block size. Any idea? Best regards, Chao-Rui _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com