[#401849] If statement — Masoud Ahmadi <lists@...>

Will anyone be able to point out what I am doing wrong.

15 messages 2012/12/02

[#401987] Trying to get "translator" to work — JD KF <lists@...>

So, basically, I'm trying to get the below code to work properly for

12 messages 2012/12/06

[#402012] Need help to select some listbox item in different listbox together — Jonathan Masato <lists@...>

Hello,

10 messages 2012/12/07

[#402045] if n belongs to set a and m belongs to set b repeat some steps, How? — "zubair a." <lists@...>

We can do so in java and similar languages like:

11 messages 2012/12/08

[#402078] Time.new(2001, 12, 3).to_i returns wrong value — Robert Buck <lists@...>

I am doing something that not many do, I am writing a database driver

9 messages 2012/12/09

[#402145] How I can create/extract a variable/hash into the current binding in Ruby? — Ramon de C Valle <rcvalle@...>

Hi,

12 messages 2012/12/12

[#402205] Wondering About Flatiron School — "Kevin Y." <lists@...>

Hi everyone!,

35 messages 2012/12/15
[#402207] Re: Wondering About Flatiron School — Chad Perrin <code@...> 2012/12/15

On Sat, Dec 15, 2012 at 11:51:08AM +0900, Kevin Y. wrote:

[#402214] Ruby quick reference arranged in ASCII sequence? — Old Grantonian <lists@...>

As a ruby beginner, I would be grateful for any links to a ruby

17 messages 2012/12/15

[#402226] print - and strip text between tags using Nokogiri — Paul Mena <lists@...>

I'm a Ruby Newbie trying to write a program to process thousands of HTML

13 messages 2012/12/15

[#402332] Perl to Ruby: regex captures to assignment. — "Derrick B." <lists@...>

Hello all,

37 messages 2012/12/19
[#402342] Re: Perl to Ruby: regex captures to assignment. — "Derrick B." <lists@...> 2012/12/20

First of all, thanks for the fast responses!

[#402352] Re: Perl to Ruby: regex captures to assignment. — Robert Klemme <shortcutter@...> 2012/12/20

On Thu, Dec 20, 2012 at 1:38 AM, Derrick B. <lists@ruby-forum.com> wrote:

[#402357] Re: Perl to Ruby: regex captures to assignment. — "Derrick B." <lists@...> 2012/12/20

Robert Klemme wrote in post #1089733:

[#402359] trying to strip characters from a line — Paul Mena <lists@...>

I'm reading a table from a MySQL database and then processing it row by

18 messages 2012/12/20

[#402394] simple division: -9 / 5 = -2 what? — "Derrick B." <lists@...>

$ irb

13 messages 2012/12/22

[#402412] POLS and string-handling — Paul Magnussen <lists@...>

Hi,

14 messages 2012/12/22

[#402460] "Open" dialog of Windows — "Damián M. González" <lists@...>

Hi guys, been researching about pop up the "open" file dialog of

11 messages 2012/12/24

[#402466] How do I install Ruby on my Ubuntu 12.10 partition. — Kaye Ng <lists@...>

I already have Ruby installed on my Windows 7 partition.

23 messages 2012/12/25

[#402510] Ruby Association Certified Ruby Programmer — Sean Westfall <lists@...>

How well respected is this certification in the industry: Ruby

27 messages 2012/12/27
[#402528] Re: Ruby Association Certified Ruby Programmer — Peter Hickman <peterhickman386@...> 2012/12/27

On 27 December 2012 01:28, Sean Westfall <lists@ruby-forum.com> wrote:

[#402555] numeric? — Brandon Weaver <keystonelemur@...>

I've found a bit of an annoyance trying to find out if a number is numeric

20 messages 2012/12/27

[#402580] Ruby Koans regarding Hashes. — "Derrick B." <lists@...>

I am trying to understand this, so let me know how I do. :) I know

18 messages 2012/12/28

[#402609] can't open new ruby program under "new" context menu — "Lee V." <lists@...>

I'm stuck on the new version at trying to do something very simple.

10 messages 2012/12/28

[#402642] require "test/unit" — "Mattias A." <lists@...>

Hi,

17 messages 2012/12/29
[#402667] Re: require "test/unit" — "Mattias A." <lists@...> 2012/12/31

Hi Dami=C3=A1n M. Gonz=C3=A1lez!

[#402747] Re: require "test/unit" — "Derrick B." <lists@...> 2013/01/04

Mattias A. wrote in post #1090700:

[#402749] Re: require "test/unit" — sto.mar@... 2013/01/04

Am 04.01.2013 19:48, schrieb Derrick B.:

Re: can't open new ruby program under "new" context menu

From: "Damián M. González" <lists@...>
Date: 2012-12-31 08:44:38 UTC
List: ruby-talk #402666
Lee V. wrote in post #1090674:
> Thank you! I downloaded Intype and everything makes sense now. =C2=A0I =
can
> write multi line programs, save them, and view the result in ruby now!
> =C2=A0Well, there's a little problem, actually. =C2=A0When I go to open=
 the file,
> the ruby screen will appear for a fraction of a second and then close.
> =C2=A0It did this for 3 out of the 4 programs I saved. =C2=A0Is this a =
glitch that
> has an easy fix?

Is not a trouble, see.. most of the programms will run and shut it down =

by themself, that's why you see a window popping up and closing =

instantly. If you want to see some prints or any result you have to =

sleep the programm, from time to time, to see what's happening, like =

this

puts "Hello there.."
sleep(3)
puts "How are you?.."
sleep(2)
puts "Sorry I'm bussy! Goodbye!"
sleep(1)

 ..sleep is a method, don't be afraid to use the documentation. Other =

way is execute it from the console, what you want to do 99% of the time, =

I've told you that before. WindowsKey + R, type "cmd", press Enter, =

there you have to put:

ruby 'C:/RubyPrograms/MyFirstProgram/source_code.rb'

 ..play with that. You're next step is to be familiarized with cmd, will =

help you a lot. Instead of put the full path you can do this in cmd

pwd
#=3D>C:\Users\You
cd ../
#=3D>C:\Users
cd ../
#=3D>C:
cd RubyPrograms
#=3D>C:\RubyPrograms
cd MyFirstProgram
#=3D>C:\RubyPrograms\MyFirstProgram
ruby source_code.rb

 ..the effect is the same that if you put the full path, you'll be more =

confortably in the last way with time...

>By the way, if you don't mind me asking, what is your
> job title? I =C2=A0want to learn programming so I can get a job in it, =
but
> aside from a job with the word programmer in the title, I don't know
> what kind of jobs are out there. =C2=A0Basically, what can I do with th=
is for
> a job?

 Good question, my title is: none. You don't need a word for the =

beautifull things you can create, you don't need a paper to be a good =

programmer, nobody can say that you are a bad programmer if you make =

complex and big programms and if you know that you are. I'm a starter =

like you, just with a year more of studies than you, I've read Pine's =

book too. I've beeing in RubyConf of my country this year, there I meet =

very smart and nice people, you can learn a lot from those places. I =

work alone, this days I'm making my first payed programm to an =

enterprise, where I work too that has nothing to do with programming, =

I've presented a proyect to bring order to the enterprise, that today is =

a messy, so its like an especific programm. That is a way: work alone; =

the other is in a software development enterprise like Neo, haha! look =

that's a good comparison, first way you'll be a nocturnal Neo ^^, =

sencond way you'll be a morning Neo with good jackets and all those =

stuff lol ^^. Seriously, I don't know how it is working for a boss in =

programming, meaby another has to respond that.

-- =

Posted via http://www.ruby-forum.com/.=

In This Thread