Hi Yehuda and all, I started burbling away and haven't done any intros. That's a bit rude of me! I've been using Ruby for almost seven years. In large part it is Ruby's lispiness that sucked me in---after having used lisp at uni. For that time I've mostly been lurking, but feel like I...
I am running into an issue where I have a script that takes two command line arguments and reads from stdin. It seems that gets is not getting to stdin because it is hitting ARGV first (http://www.ruby-doc.org/core/classes/Kernel.html#M005996 ). Is there a way around this so that I ca...
On Sun, May 04, 2008 at 12:21:13PM +0200, Manlio Perillo wrote: > The next week I will present a talk about my WSGI module for Nginx at > Pycon Due - http://www.pycon.it/ (an Italian conference dedicated to > Python), and I would like to talk about the history of Nginx. > > Igor, can ...
Just Another Victim of the Ambient Morality wrote: > Are all built-in objects thread safe? For example, if I have an array > and one thread is constant appending to it while another thread is shifting > elements off of it and there's no synchronization going on, can the array > object...
Hi, I just installed Rails, and I was wondering what is this file? /lib/ubygems.rb ? Here is a copy of it: https://github.com/rubygems/rubygems/blob/master/l... Is this a bug/type (ubygems rather than what it should be, ubygems) or is it supposed to be that way? If so, what does it do...
Hi everybody. I'd like to announce that 3.2.11, 3.1.10, 3.0.19, and 2.3.15 have been released. These releases contain two **extremely critical security fixes** so please update **IMMEDIATELY**. You can read about the security fixes by following these links: * [CVE-2013-0155](https://g...
Japanese follows; $BF|K\8l$O$"$H$G(B Hello all -- We are pleased to announce the release of Ruby 2.0.0-rc1, the first release candidate of Ruby 2.0.0. * http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc1.tar.bz2 SIZE: 10822768 bytes MD5: 24cebdda11e01ff4889ac983cd7dc02c SHA256: 4033...
I'll try the newer fcgiwrap when I get back home in a couple hours. For now, in case this is helpful info: I'm getting a 403 Forbidden on the stdout of the terminal where I ran the fcgiwrap. At the same time I get *11 upstream closed prematurely FastCGI stdout while reading response h...
While I'm not part of the Ruby core team I'd personally would like to see a slightly more convincing reason. What exactly is it that you aim to solve besides just fixing bugs? The latter can be done without commit access using the Github fork and I'm sure there are other ways as well....
# Ruby Implementers Meeting 日本語訳は英語文の後に表記してありますのでご覧ください。 Hi everyone! I'd like to announce a Ruby Implementer's Meeting. ## WHY The purpose of this meeting is to help facilitate communication between different Ruby implementer teams. The meeting agenda can be found here: https://bugs....
Issue #3525 has been updated by Yusuke Endoh. Status changed from Open to Rejected Hi, 2010/7/3 Jan Lelis <[email protected]>: > the new flat_map method does not return flatted enumerables: > > irb(main):072:0> [[1,2],2,3].flat_map{|e|e} > => [1, 2, 2, 3] > irb(main):071:0> [[1,2]...
Hello guys ! I'm new in Ruby....Hope you can help because i'm trying a lot and just can't see where is the problem.. I have this xml, and not only this, i want just for any xml file that i might put : <?xml version="1.0"?> <records> <company> <id>p1</id> <name>Skoda</name> <price>1000...
On Jan 31, 2008, at 8:21 AM, Mario Flores wrote: > I was wondering if there were anyway to return the controller name > in my > view. Any help would be appreciated. Thanks! Views have a pointer to the controller, but I always setup a couple of convenience variables in ApplicationContr...
> I bet if you switched to production mode it would work. What I think > is happening is: > > - request calls Tracker.go > - Rails unloads loaded classes (since we're in dev mode) > - You threads continue to run trying to use classes that rails has > unloaded. Chaos ensues. > > Fred B...
Sequel is a lightweight database access toolkit for Ruby. * Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. * Sequel includes a comprehensive ORM layer for mapping records to Ruby objects and handling associated recor...
Thank you andrew for the help! I am using mac os x 10.8 (mountain lion). I have installed ruby, and I do know how to get to the terminal. I have no problem using the datamosh command correctly, but this is the simplest part i think ( datamosh file.avi) I am confused on how to successf...
Each of the database adapters is responsible for determining how to handle a boolean column in a way that makes sense for their specific backend. In the case of PostgreSQL and OpenBase this is trivial, since these database backends have a boolean type column built-in. For MySQL - as h...
Sequel is a lightweight database access toolkit for Ruby. * Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. * Sequel includes a comprehensive ORM layer for mapping records to Ruby objects and handling associated recor...
Very basic configuration, strictly for serving static files. I've got the error_log setting configured to "info" to get more information as to what's happening with connections, etc. While monitoring the error log and loading a single static html file through my web browser, I noticed...
Hello... yum install ruby-devel solved it for me when installing rails [waldyd@waldyd Homework 2]$ sudo gem install rails -V GET http://rubygems.org/latest_specs.4.8.gz 302 Found GET http://production.s3.rubygems.org/latest_specs.4.8.gz 304 Not Modified GET http://rubygems.org/specs.4...
I'm trying to use Net::HTTP::Proxy to proxy HTTPS traffic and I've got the following code: proxy = Net::HTTP::Proxy(proxy_uri.host, proxy_uri.port) http = proxy.start(uri.host) if uri.scheme == 'https' http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE end resp = http.ge...
Il 17/04/2012 13:34, Andrea Dallera ha scritto: > L' opzione c) cosa sarebbe esattamente? Per chi lavoreresti? Che sicurezza in grado di darti? Perdi pi tempo a scrivere software o a cercare clienti? Perch se volevo fare il commerciale non mi serviva imparare a scrivere codice. attual...
Hello... yum install ruby-devel solved it for me when installing rails [waldyd@waldyd Homework 2]$ sudo gem install rails -V GET http://rubygems.org/latest_specs.4.8.gz 302 Found GET http://production.s3.rubygems.org/latest_specs.4.8.gz 304 Not Modified GET http://rubygems.org/specs.4...
Hi All, I decided to write some blog entries on my pet project for running Ruby 1.9.2 and Ruby on Rails 3.0.5 on Windows Server 2008 EE. I figured I might as well post while I create, and if anyone wants to stop by and see how it works out, you are more than welcome to do so. I'm prim...
Sequel is a lightweight database access toolkit for Ruby. * Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. * Sequel includes a comprehensive ORM layer for mapping records to Ruby objects and handling associated recor...
Hi, I'm trying to print out some xml and don't know what I'm doing. I'm getting this <to_s/> tag in the output. Where is it coming from and how do I get rid of it. Here's my test code. Any help appreciated. CODE: require "builder" class Fruit attr_accessor :name end fruit = Fruit.new(...
Hi. I created Bitmap Marking GC for Ruby2.0. Source code: https://github.com/authorNari/ruby/tree/bitmap_marking Patch: https://github.com/authorNari/patch_bag/blob/maste... In following environment, this patch works 'make check' and 'make TESTS="--gc-stress" test-all'. $ ruby -v ruby...
Re: Array#slice's boundary special case.why? Posted by 7stud -- (7stud ) on 2011-04-14 18:22 You're in luck. Gary Wright recently posted the definitive word on that phenomenon: Gary Wright wrote in post #990065: > On Mar 30, 2011, at 2:08 PM, 7stud -- wrote: >>> >>> s[3,0] is "", inst...
Hi, Today, I talked with NaHi about enhancing const_missing to enable autoload-like feature with nested modules. But autoload itself has fundamental flaw under multi-thread environment. I should have remove autoload when I added threads to the language (threads came a few months after...
Hi everyone! I've pushed a release candidate for Rails 3.2.7. Please try it out! If you find any bugs present in the 3.2.7 release candidate that where not present in the 3.2.6 release, please report them to the Rails Core mailing list at here: https://groups.google.com/group/rubyonra...