|
 |
Dave Birch wrote:
> Josh, thanks VERY much for the response. I'm going to digest it and
> will let you know once I've got it working
No. Better to go for a solution without the security hole. It should be
possible, but ask on the Rails list instead.
>
> Have a good weekend.
>
Dave Birch
|
|
10 |
1,745 |
|
 |
On Jan 15, 2010, at 3:45 PM, Chuck Remes wrote:
>
> On Jan 15, 2010, at 12:28 PM, brabuhr@gmail.com wrote:
>
>> Jan 13, 2010, Chuck Remes:
>>> Jan 13, 2010, brabuhr@gmail.com:
>>>> Jan 13, 2010, Chuck Remes:
>>>>> Jan 12, 2010, Luis Lavena:
>>>>>> Jan 12, 2010, Chuck Remes:
Chuck Remes
|
|
11 |
221 |
|
 |
El Viernes, 15 de Enero de 2010, Walton Hoops escribi=C3=B3:
> submit a bug! http://github.com/rdp/os
I was to submit a report but Roger has already improved it :)=20
=2D-=20
I=C3=B1aki Baz Castillo <ibc@aliax.net>
=?utf-8?q?I=C3=B1aki_Baz_Castillo?=
|
|
21 |
241 |
|
 |
On Jan 14, 9:11 pm, Eric Christopherson <echristopher...@gmail.com>
wrote:
>
> <echristopher...@gmail.com> wrote:
> > Since people are talking about the mysql gem, I thought I'd ask how
> > you can build it under MinGW. I can't seem to make any combination of
> > extconf switches work.
>
...
Eric Christopherson
|
|
1 |
275 |
|
 |
Thomas Sawyer wrote:
> The OS gem looks promising.
>
> My question is why isn't something like this a standard part of Ruby?
One word: Skynet.
--
Posted via http://www.ruby-forum.com/.
Paul Mckibbin
|
|
5 |
259 |
|
 |
Gary Wright wrote:
> I see it is time for the Floating Point 101 thread again.
> Lots of discussion in the archives (about once per month I think, maybe more often).
Actually, I believe that the last two(!) threads are still running.
So, we have now gotten to the point where the *exact...
THAKUR PRASHANT SINGH
|
|
5 |
250 |
|
 |
On 15.01.2010 17:46, Hubert Martin-deidier wrote:
> Robert Klemme wrote:
>> This one irritates me: by using base64 encoding you should be fine,
>> shouldn't you?
>
> I also agree with you, I can even say that I completly agree with you.
> I quicky look at source code of XMLRPC protol but I'm...
Hubert Martin-deidier
|
|
4 |
806 |
|
 |
On Sat, 16 Jan 2010, Nolly Mejia wrote:
> Matthew K. Williams wrote:
>> On Sat, 16 Jan 2010, Nolly Mejia wrote:
>>
>>>> http://www.marnen.org
>>> Please enter number 1 :
>>> Please enter number 2 :
>>> Answer : 5
>>>
Nolly Mejia
|
|
4 |
260 |
|
 |
Josh Cheek wrote:
> Hi, couldn't find any explanation of nested functions (other than an
> acknowledgment of their existence) in Programming Ruby or the Ruby
> Programming Language, so thought I'd see what people here could tell me.
>
> I'm having a difficult time understanding what is going...
Josh Cheek
|
|
1 |
323 |
|
 |
El S=E1bado, 16 de Enero de 2010, Seebs escribi=F3:
> On 2010-01-15, I=F1aki Baz Castillo <ibc@aliax.net> wrote:
> > Hi, how could I know if $stderr has been redirected to /dev/null?
>=20
> You couldn't.
>=20
> Consider a wrapper:
>=20
> exec 5>/dev/null
> ruby foo.rb 2>&5
=?utf-8?q?I=C3=B1aki_Baz_Castillo?=
|
|
6 |
244 |
|
 |
Aldric Giacomoni wrote:
> ~~~~ ListBrowser README ~~~~
>
> I was working on a parser for a very specific tree structure, and was
> frustrated
> that there wasn't a simple way to parse it in irb. "What??", I thought.
> "I have
> to use my brain?! God forbid!".
Right. As I was saying..
Aldric Giacomoni
|
|
1 |
240 |
|
 |
I tested Ruby-processing and I saw good 3D samples made thanks to
OpenGL.
But I did'nt find people using it to do something.
I just found some samples using free-context, but it's not 3D.
Does someone use Ruby-Processing to made something greater than a 15
seconds technical demo ?
--...
Marc-antoine Kruzik
|
|
21 |
259 |
|
 |
Excerpts from Luis Lavena's message of Thu Jan 14 14:45:10 +0100 2010:
> On Jan 14, 6:16*am, Phillip Gawlowski <p...@thimian.com> wrote:
> > On 14.01.2010 09:56, Marc Weber wrote:
> >
> > > So what's happening here?
> >
> > Gems are hosted on gemcutter.org by now, not RubyGems.
> >
>
>...
Marc Weber
|
|
3 |
216 |
|
 |
Marnen Laibow-Koser wrote:
>
> Once you have 2 users -- or 1 user doing multiple simultaneous things --
> you have potential concurrency issues. SQLite is not a suitable
> database in that case. Fortunately, there are enough decent database
> abstraction layers for Ruby (ActiveRecord,...
Zach Bartels
|
|
16 |
239 |
|
 |
If it's an RSA key you can construct it from its parameters.
require 'openssl'
module OpenSSL
module PKey
class RSA
# Construct an RSA key from parameters.
# Input: a large number n
# an exponent
MrBanabas@googlemail.com
|
|
4 |
215 |
|
 |
Angel Marques wrote:
> Hi..anybody has trying use ruby for flash (using hotruby or other
> stuff), where can I search more info how install and work with it?
I discovered HotRuby a few hours ago.
There are two samples on their website :
http://hotruby.yukoba.jp/test-web/pinball.html...
Angel Marques
|
|
2 |
232 |
|
 |
Since people are talking about the mysql gem, I thought I'd ask how
you can build it under MinGW. I can't seem to make any combination of
extconf switches work.
I have the standard Windows mysql-5.1.42-win32 installed in
/usr/local/mysql. Do I need some MinGW-specific version? (I've tried...
Dale Ackerman
|
|
2 |
228 |
|
 |
Phillip Gawlowski wrote:
> On 15.01.2010 04:46, Jean Nibee wrote:
>
> How about this?
> http://rdoc.info/projects/archiloque/rest-client
>
> You should be able to use PUT and DELETE if you dig deep enough into
> rest-clients sources.
>
> N.B.: I haven't used rest-client.
Jean Nibee
|
|
2 |
246 |
|
 |
>> If there are any other features you'd like, let me know.
>
> Does it do OS.mac? yet? If not, that would be nice, particularly for
> JRuby/Swing apps where certain UI stuff is done differently for Mac OS.
Great idea.
-r
--
Posted via http://www.ruby-forum.com/.
Roger Pack
|
|
4 |
250 |
|
 |
Hello Kurtis,
2010/1/15 Kurtis Rainbolt-greene <thinkwritemute@gmail.com>:
> So I've got this idea for a linux CLI program, and one of the things I
> want the program to do is notify Users of an event via the terminal.
>
> Is there something out there I can use to do this? I was thinking of...
Kurtis Rainbolt-greene
|
|
5 |
260 |
|
 |
jagadeesh@jagadeesh-laptop ~/TODO/mysql $ rake db:create:all
(in /home/jagadeesh/TODO/mysql)
Couldn't create database for {"encoding"=>"utf8", "username"=>"root",
"adapter"=>"mysql", "database"=>"todo_production", "pool"=>5,
"host"=>"localhost", "password"=>"xxx", "socket"=>"/var/run/mysqld/...
Jagadeesh
|
|
0 |
244 |
|
 |
Hi Dale,
Follow the above link to view solution. Luis has showed me that I
installed the incompatible MySQL version.
Nam.
Dale Ackerman wrote:
> I am having the same issue with sudo gem install mysql I also have the
> same issue with the sqlite3-ruby gem build... Should there be...
Nam gi Vu
|
|
3 |
230 |
|
 |
M. Norton wrote:
> I did finally figure it out so I will document the answer here in case
> it helps someone else.
>
> Somewhere along the line with installing ruby, rails, and other gems,
> the local ri cache was created and owned by root. I'm not entirely
> sure why, but that explained the...
M. Norton
|
|
3 |
217 |
|
 |
On 2010-01-12, BlueHandTalking <jet@whidbey.com> wrote:
> I thought it was based on Ruby, and Rails is written in
> Ruby that it fit into the category of being about Ruby?
There are rails-related questions that are Ruby questions, but not all
that many.
Lemme give you an example. Say you...
BlueHandTalking
|
15th December 2010 22:48
by Seebs
|
12 |
226 |
|
 |
On 2010-01-12, BlueHandTalking <jet@whidbey.com> wrote:
> If you have a class 'Thing'
>
> does name of instance variable have to be:
>
> @thing = Thing.new
>
> or is
>
> @widget = Thing.new
BlueHandTalking
|
15th December 2010 22:48
by Seebs
|
4 |
213 |
|
 |
2010/1/14 Brian Candler <b.candler@pobox.com>:
> Robert Klemme wrote:
>> For me there is actually something weird about Ruby's escape handling
>> - but it's something else: in some circumstances Ruby allows you to
>> *omit* a backslash which is meant to be convenient (I believe) but
>> which...
Sriram Varahan
|
|
14 |
212 |
|
 |
On Thu, Jan 14, 2010 at 12:50 PM, Robert Klemme
<shortcutter@googlemail.com> wrote:
> 2010/1/13 Jes=FAs Gabriel y Gal=E1n <jgabrielygalan@gmail.com>:
>> On Wed, Jan 13, 2010 at 6:33 PM, Justin Coyne <digger250@gmail.com> wrot=
e:
>>> Looks like I've solved my own problem the \Z in ruby doesn't...
Justin Coyne
|
|
5 |
243 |
|
 |
I've tracked it down:
This example
require 'rb-inotify'
notifier = INotify::Notifier.new
begin
io = notifier.to_io
nr = 1
Marc Weber
|
|
1 |
217 |
|
 |
2010/1/14 Marcelo Cavaco <marcelocavaco@veloxmail.com.br>:
> hi everybody,
>
> please help...
>
> i have a file (Documenta=C3=A7=C3=A3o.txt) with this structure:
>
> my_data << =
to_a
> my_data << .to_a
Marcelo Cavaco
|
|
1 |
215 |
|
 |
Thanks Jacob!
Excelent explanation!
I think that Background do exactly what I want. :D
--
Posted via http://www.ruby-forum.com/.
Jonatas Paganini
|
|
2 |
273 |
|
 |
On 14.01.2010 22:36, aidy wrote:
> Apologies for being an idiot
Don't you worry. :)
I've noticed that all other key/value pairs have a space around the =>,
and the last one didn't. So, your typo was drowned in the noise, as it were.
--
aidy
|
|
3 |
239 |
|
 |
After recovering some vaguely remembered math, and trying not to look to
closely at any code
on the net, here is my solution.
The reference data for testing, from Project Gutenberg, has been
truncated for
this posting. The program will report "Incorrect" for more than a couple
of hundred...
Daniel Moore
|
|
5 |
205 |
|
 |
On Sat, Jan 9, 2010 at 9:01 PM, Nathan Oyama <nate@culip.net> wrote:
> 0.step(0.5,0.1) { |i| p i }
>
> while Aaron wrote:
>
> (0..0.5).step(0.1) do |f|
> =A0p f
> end
>
> Which one is recommended in terms of the editing style?
Nathan Oyama
|
|
11 |
198 |
|
 |
>>
>> I'm talking about a development box, not a production one. I was
>> thinking that maybe ruby1.9 is a snapshot and therefore sometimes
>> wouldn't work. So I installed ruby1.9.1. Am I correct?
Ruby1.9 is an old release of ruby1.9.0, and is the only one available
on Ubuntu releases...
Ruby Newbee
|
|
6 |
204 |
|
 |
One of the things that seems to be mostly missing from this discussion
(which after all started out with dealing with a difference between
Ruby 1.8 and 1.9, is that since Ruby class definitions are executable,
you can move the overhead to class definition time with code like
class Foo
def...
R. Kumar
|
|
11 |
188 |
|
 |
On Wed, 13 Jan 2010 11:11:34 +0900
Jeff <cohen.jeff@gmail.com> wrote:
> On Jan 12, 9:48=C2=A0am, Gregory Brown <gregory.t.br...@gmail.com> wrote:
> > On Tue, Jan 12, 2010 at 10:33 AM, Jeff <cohen.j...@gmail.com> wrote:
> > > But I haven't seen anyone else need to do this in their modules/
>...
Jeff
|
|
5 |
227 |
|
 |
El Mi=E9rcoles, 13 de Enero de 2010, Aaron Turner escribi=F3:
> > Is there a way to detect it in Ruby using TCPSocket? if there some
> > attribute of the socket object that changes whe such ACK+FIN arrives?
> > (however I've tried most of the TCPSocket methods and found nothing).
>=20
>...
=?utf-8?q?I=C3=B1aki_Baz_Castillo?=
|
|
7 |
254 |
|
 |
On Jan 12, 1:19 pm, Brian Candler <b.cand...@pobox.com> wrote:
> I believe your lambda is bound to the @who in the scope where it was
> defined, you can't dynamically rebind it.
Nope:
>cat tmp.rb
@who = "main"
proc = ->{ p @who }
proc
Phrogz
|
15th December 2010 22:48
by Phrogz
|
5 |
200 |
|
 |
2010/1/13 Brian Candler <b.candler@pobox.com>:
> Robert Klemme wrote:
>> I would do
>>
>> $stdin.each do |line|
>> =A0 line.chomp!
>> =A0 puts "I got #{line} !!"
>> end
>>
>> because that is the more Ruby typical idiom for iterating all lines.
Aldric Giacomoni
|
|
7 |
208 |
|
 |
Luc Heinrich wrote:
> On 13 janv. 2010, at 16:53, Daniel Berger wrote:
>
> > Now I need to figure out how to create an FFI::MemoryPointer without
> > necessarily knowing the size of the first argument.
>
> The one bit you are missing here is that krb5_context is not a struct. It=
's a...
Daniel Berger
|
|
6 |
178 |
|
 |
tony Tiankoon wrote:
> If from the command ,to make sure that
> there is not any exit command in the windows batch script.
Yes, that's basically what you'll need to get it back from telnet.
However, if the server has sshd running then it's possible to execute a
command remotely and get the...
Liu Nuaadupu
|
|
1 |
201 |
|
 |
Anandh
=A0
Apply an XSLT with Ruby On Rails.=20
Please refer
http://snippets.dzone.com/posts/show/4615
=A0
http://www.xml.com/pub/a/2007/01/17/making-xml-in-a-rails-app-xml-builder.h=
tml
=A0
thanks
Deepak Vohra
|
|
0 |
458 |
|
 |
On 13.01.2010 20:44, Nick Brown wrote:
> Alternatively, what is the best solution for authenticating to Windows
> domains from unix Rack servers? We have found that Apache+Samba does not
> play well with our domain, but we could potentially move the domain
> stuff to the webapp-level if that...
Nick Brown
|
|
1 |
219 |
|
 |
Marnen Laibow-Koser wrote:
> Would this be ambitiouslemon, by any chance?
No.It's called HelioHost.
> If you need free Rails hosting, I recommend Heroku.
Thanks for the recommendation, I haven't heard of it. :)
--
Posted via http://www.ruby-forum.com/.
Anton Pirogovski
|
|
7 |
204 |
|
 |
On Tue, Jan 12, 2010 at 2:24 PM, I=F1aki Baz Castillo <ibc@aliax.net> wrote=
:
> El Martes, 12 de Enero de 2010, Gregory Brown escribi=F3:
> I think my laptop has no system bell or I dissabled it long time ago :)
That would explain it.
I guess I'm in the weird minority that likes to feel...
Gregory Brown
|
|
11 |
202 |
|
 |
On 12/1/2010 9:35 AM, Marnen Laibow-Koser wrote:
> Mohit Sindhwani wrote:
>
>> On 12/1/2010 1:34 AM, Ruby Student wrote:
>>
>>> nice people, like yourself. I thought this was an "innocent" question!
>>>
>>> You know, one of the biggest problem I find with the majorities of the
>>> GUI...
(
1
2
)
Ruby Student
|
|
36 |
412 |
|
 |
> No, I disagree that the code is 'wrong' (that's why I used the quotes).
Yes, the code is 'wrong' because it does not correctly produce the
Fibonacci series.
> It's a benchmark. Its sole purpose in life is to be run a number of
> times, and to have its execution time measured. If fib()...
jzakiya
|
15th December 2010 22:48
by jzakiya
|
4 |
202 |
|
 |
On Jan 11, 2010, at 5:05 PM, comp.lang.ruby wrote:
>=20
> Thanks a lot for the suggestion. However, std_error is redirecting
> fine and I have noticed that when I omit the redirection characters in
> the open command, the ouput is outputted to stdout, as I expect. I am
> happy to switch to...
comp.lang.ruby
|
|
4 |
225 |
|
 |
W. James wrote:
> Ralph Shnelvar wrote:
>
>>
>> Isn't a Windows pathname with surrounding double quotes a valid
>> pathname?!?!?
>
...
> If you enter
> dir foo*
Ralph Shnelvar
|
|
7 |
208 |
|
 |
On 11.01.2010 21:42, Aryk Grosz wrote:
> I'm having trouble understanding why this is:
>
> module A
> module B
> end
> end
>
> A.module_eval "B" -> A::B
> A.module_eval do B end -> ERROR!
Aryk Grosz
|
|
1 |
205 |
|
 |
Ohh ..
M sorry .. :)
Brian Candler wrote:
> Hemant Bhargava wrote:
>> I have defined a module and running a simple get request to it as like
>>
>> def test_access_pages_admin
>> get "employees"
>> assert_response :success
Hemant Bhargava
|
|
3 |
197 |
|
 |
El Martes, 12 de Enero de 2010, Brian Candler escribi=C3=B3:
> When I run this code, substituting a 'www.google.com' and port 80, I see
> the socket in TIME_WAIT state if I go to another terminal.
>=20
> This is with
> ruby 1.8.6 (2007-09-24 patchlevel 111)
> built from source, running...
=?utf-8?q?I=C3=B1aki_Baz_Castillo?=
|
|
7 |
205 |
|
 |
Hi Anandh,
I've cross-posted my reply to nokogiri-talk, which is where followup
questions are probably best sent.
On Tue, Jan 12, 2010 at 6:44 AM, Anandh Kumar
<anandhthiyagarajan@gmail.com>wrote:
> Hi everybody
>
Anandh Kumar
|
|
2 |
500 |
|
 |
Walton Hoops wrote:
> On 1/8/2010 8:15 AM, Michael Hughesdon wrote:
>>> tell me what ruby-web.exe is and where I can get an installer from?
>>>
>>> Thanks.
>>>
>> After a little more searching...ruby web was a foundation built to
>> better support ruby on the web. It appears to have been...
Michael Hughesdon
|
|
3 |
206 |
|
 |
El Lunes, 11 de Enero de 2010, Gary Wright escribi=F3:
> On Jan 10, 2010, at 8:00 PM, I=F1aki Baz Castillo wrote:
> > I got the mixed strings using a name pipe (created with "mkfifo" comman=
d)
> > and shared by two different Ruby programs (a writer and a reader).
>=20
> A named pipe and a...
=?utf-8?q?I=C3=B1aki_Baz_Castillo?=
|
|
29 |
209 |
|
 |
On Mon, Jan 11, 2010 at 15:02, tuti plain <hypermeister@yahoo.com> wrote:
> Hi all,
>
> I am testing a script using the built-in debugger (running 1.8.6 -
> windows - one click installer version). =A0I want to set a breakpoint on =
a
> particular method. =A0The problem is, my first line is
>...
tuti plain
|
|
1 |
193 |
|
 |
On this topic, does the ActiveMerchant gem cover the recent PayPal 'X' spli=
t
payments options?
Does such an upgrade to PayPal api allow better options supporting
subscriptions?
MarkT
--
=E3=83=81=E3=82=A7=E3=83=83=E3=82=AF=E3=82=A2=E3=82=A6=E3=83=88=E3=81=8C=E3=
=80=81Jingle =E3=81=A0!
Rajinder Yadav
|
15th December 2010 22:48
by Mark T
|
4 |
203 |
|
 |
The Los Angeles Ruby Conference is being held February 20th in Burbank, CA
at the Holiday Inn Media Center. For more information visit the conference
web-site at http://budurl.com/larc.
This is the second year we have held the conference. Here are the videos
from last year...
Coby Randquist
|
|
0 |
236 |
|
 |
At 2010-01-11 07:57AM, "Robert Klemme" wrote:
> 2010/1/11 Stefano Crocco <stefano.crocco@alice.it>:
> > =A0/^{4},{4}$/
> >
> > Note that your string can contain newlines, you must replace ^ and $ with=
> \A
> > and \Z respectively.
>
> I believe this should rather be \z because \Z...
Chris Lervag
|
|
7 |
208 |
|
 |
Hi, folks
I met a problem with xml. I can't write to the file directly, here is my
code:
f = File.open(FILE_NAME)
xml = REXML::Document.new(f)
xml.root.each_element do |xml|
xml.each_element do |node|
#if the node name equal to Properties
Milo Luo
|
|
0 |
747 |