similar to: [matz@ruby-lang.org: Re: Performance of CGI::Cookie / SimpleDelegator fix]

Displaying 20 results from an estimated 400 matches similar to: "[matz@ruby-lang.org: Re: Performance of CGI::Cookie / SimpleDelegator fix]"

2011 Oct 19
0
Fukuoka Ruby Night
Ruby event on November 3, 2011 at MacKenzie Room, Stanford University. Program will include, 1) keynote speeches by Yukihiro “Matz” Matsumoto and Derek Collison, CTO, VMware Inc. and 2)Silicon Valley Ruby Innovator Award Competition, a preliminary competition for the 2012 Fukuoka Ruby Award. Please check the details from the following link and register for the event.
2006 Mar 27
6
Fwd: Tricky block args
We in the JRuby project are working to get Rails to work successfully. However, the array-indexed block parameter is not something currently supported in JRuby: x = {} [1,2].each {|x[:foo]|} This is not used extensively in the Rails code, but it''s used enough to cause things to break in JRuby. We have been modifying the above to use a temporary local variable, but obviously
2010 Nov 14
1
RCurl and cookies in POST requests
Hello. I know that it's usually possible to write cookies to a cookie file by removing the curl handle and doing a gc() call. I can do this with getURL(), but I just can't obtain the same results with postForm(). If I use: curlHandle <- getCurlHandle(cookiefile=FILE, cookiejar=FILE) and then do: getURL(http://example.com/script.cgi, curl=curlHandle) rm(curlHandle) gc() it's
2008 May 13
9
A Very Simple Question
On 5/13/2008 10:27 AM, Yukihiro Ishii wrote: > Hi Rusers! > > I am ashed of asking such a simple question. > > X<-matrix(rnorm(24), 4) > X0<-apply(X,2,mean) > > What I want is a matrix which consists of colums such as X[,1]--X0[1]. > > X-X0 doesn't work. > > Perhaps apply function? scale(X, scale=FALSE) ?scale > Thanks in advance. > >
2005 Feb 12
0
RubyTorrent 0.3 (beta)
I''m happy to announce RubyTorrent 0.3, which I''ve decided is good enough to be called a beta. :) >From http://rubytorrent.rubyforge.org/: RubyTorrent is a pure-Ruby BitTorrent peer library and toolset. You can use it to download or serve files over BitTorrent from any Ruby program. RubyTorrent is released under the GNU GPL. Note that RubyTorrent doesn''t include a
2006 Dec 15
3
Partial mock when a complex return value is required
Hi I''ve come up with a problem using RSpec on a model class in my rails app. I wanted to test that some data was being cached for some calculations, so rather than do state-based testing I tried to specify that the method that fetches the data should NOT be called when I call the calculate method. However in doing so I have to simulate the return value, which is about 27
2003 Aug 19
3
On the Use of the nnet Library
Dear List, I am trying to solve a problem by the neural network method(library: nnet). The problem is to express Weight in terms of Age , Sex and Height for twenty people. The data frame consists of 20 observations with four variables: Sex, Age, Height and Weight. Sex is treated as a factor, Age and Weight are variables normalized to unity, as usual. I wanted to construct a neural network, and so
2005 Aug 31
0
Cases as Variables in Principal Component Analysis?
Dear R users, I have a data set of 25 cases with 150-160 explanatory variables(the number of which depends on what I choose from 200 odd digitalized spectrum strength numbers) and one dependent variable(a sensory test result). My natural choice is to work on a principal component analysis using the explanatory variables, thus enabling to characterize and describe the data space, and make a
2006 Apr 05
1
Correlation of coefficients?
Hi R users! One thing I cannot understand with R is the frequently appearing " Correlation of coefficients". I do not find a through going explanation of this concept either on the help pages of R or on the internet. A Google search has shown many examples of R/S-Plus outputs but no explanations of meaning. I am afraid this turns out to be a silly and unworthy question. Would anyone be
2004 Oct 25
1
Rails 0.8: Just shy of 100 additions, changes, tweaks, and fixes!
It''s been fifty days since our last confession, so it''s no wonder that this outpouring is by far the biggest yet in Rails history. It''s absolutely packed with goodies ranging from a whole new framework for sending email to the smallest new alias for an existing method. In total we''re just shy of 100 additions, changes, tweaks, and fixes. This is also
2016 Aug 31
1
A bug in the R Mersenne Twister (RNG) code?
On 30 August 2016 at 18:29, Duncan Murdoch wrote: | I don't see evidence of a bug. There have been several versions of the | MT; we may be using a different version than you are. Ours is the | 1999/10/28 version; the web page you cite uses one from 2002. | | Perhaps the newer version fixes some problems, and then it would be | worth considering a change. But changing the default RNG
2012 Nov 29
0
The last call for Fukuoka Ruby Competition! - Matz's videos are available!
This is a reminder that Fukuoka Ruby award competition entry deadline is TODAY(11/29) at 12:00am!(11/30 5pm, Japan time). If you have developed Ruby programs within the past 12 months, please be encouraged to apply for this opportunity. Again, details are below... *2013 Fukuoka Ruby Award Competition* *Entry Deadline: November 30, 2012 at 5 PM Japan Time (GMT+9)* *Grand Prize: 1 Million Yen!
2005 Feb 07
0
Trying to Seed Maybe Bug?
Hi, trying to get rubytorrent to act as a seeder. I''m instantiation the RubyTorrent::Bittorrent with a pre-created MetaInfo object... bt = RubyTorrent::BitTorrent.new(dtorrent.metainfo) bt.on_event(self, :tracker_connected) { |s, url| puts "[tracker] connected to tracker #{url}" } I will attack the test file (just some random strings in a file) and the torrent that was
2005 Jan 25
2
Testing preRelease 0.3
Hi all, I?ve updated my local repository with version from 05/01/26 0:00 CET My test - torrent is very active, so Azureus gets an average download of 40kb/s after a few seconds running, and up to 90kb/s after two minutes. Rubytorrent has not even 1 piece after fifteen minutes. It gets connected to 12 or 15 peers but the download ratio is always below 2kb/s. From my point of view there is a
2005 Apr 20
2
RSS downloader
Hi, I am current writing a ruby application that does something similar the RSSFeed plugin for azureus (see http://azureus.sourceforge.net/plugin_details.php?plugin=rssfeed). in ruby. The plan is to use it drive rubytorrent to do the actual downloading. Does anyone know of a similar project written in ruby ? This is my first project in ruby, I have been programming in C and C++ for a number
2005 Feb 07
4
[patch] MetaInfo.from_stream
This patch fixes a typo in MetaInfo.from_stream. Alexander. -------------- next part -------------- Index: rubytorrent/metainfo.rb =================================================================== RCS file: /var/cvs/rubytorrent/rubytorrent/rubytorrent/metainfo.rb,v retrieving revision 1.8 diff -u -r1.8 metainfo.rb --- rubytorrent/metainfo.rb 7 Feb 2005 19:52:53 -0000 1.8 +++
2005 Jan 10
2
rubytorrent
hello, we are interested in using rubytorrent as a project in a hackfest we''re organizing, and I would like to know if you have any idea of stuff that needs to be done, or something like it. Thanks, --lf
2005 Jan 19
3
rubytorrent problem on windows xp
Hi everyone Is rubytorrent work on windows XP. I have problem for using it. Here my Configuration OS: Windows XP Ruby Version: 1.8.2 Already Install Azureus and ABC torrent. I manage to set Azerus behave as tracker that listen to IP 127.0.0.1 and seeding file from "\ekobudi\bittorrent\host0". After that I copy torrent file from"\ekobudi\bittorent\host0" to"
2007 Aug 25
1
Made a tracker for rubytorrent
Hi, I noticed the website said "there isn''t a tracker yet, but plans are in the works". I also noticed the mailinglist said that two years ago, so I wrote one myself. I''m still testing/finishing it, but it should be done in about a day. It uses why the lucky stiffs excellent camping microframework. How would you like me to release it? I''d like to see it
2005 Jun 25
0
rubytorrent future plans
Hi all, I''m going to do my best to spend some time on RubyTorrent over the next week or so. Here''s what I plan to accomplish: 1. gem packaging 2. Slight API changes: move to Net::BitTorrent rather than RubyTorrent; remove the requirement for ''self'' being passed to on_event (not very Rubyish IMO); etc. 3. Add UDP tracker support. 4. ri documentation I