apeiros_ changed the topic of #ruby to: programming language || ruby-lang.org || Paste >3 lines of text in http://pastie.org || Rails is in #rubyonrails
Kamijou_Touma has quit [Quit: yawn]
looopy has joined #ruby
sohocoke has quit [Quit: Computer has gone to sleep.]
otters has joined #ruby
classix has joined #ruby
chson has quit [Remote host closed the connection]
billiamii has joined #ruby
werdnativ has joined #ruby
tomku has quit [Quit: WeeChat 0.3.7]
kenichi has quit [Remote host closed the connection]
nowthatsamatt_ has joined #ruby
nowthatsamatt_ has left #ruby [#ruby]
charliesome has joined #ruby
mikeric has quit [Quit: mikeric]
iocor has quit [Quit: Computer has gone to sleep.]
td123 has joined #ruby
Bosma has quit [Quit: leaving]
ken_barber has quit [Remote host closed the connection]
billiamii has quit [Ping timeout: 246 seconds]
CheeToS has quit [Ping timeout: 245 seconds]
sbanwart has quit [Ping timeout: 248 seconds]
harukomoto has quit [Ping timeout: 244 seconds]
fubada has quit [Remote host closed the connection]
Ttech is now known as friendly_potatoe
Solnse has quit []
zz_Azure is now known as Azure
igotnolegs has joined #ruby
friendly_potatoe is now known as friendly_potato
havenn has joined #ruby
c0rn has joined #ruby
harukomoto has joined #ruby
kaspernj_ has joined #ruby
cj3kim has joined #ruby
chimkan_ has quit [Quit: chimkan_]
kaspernj has quit [Ping timeout: 244 seconds]
savage- has joined #ruby
akem has quit [Quit: Forget progress by proxy. Land on your own moon.]
akem has joined #ruby
cousine has quit [Remote host closed the connection]
CheeToS has joined #ruby
yankov has joined #ruby
Foxandxss has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
kaspernj_ has quit [Ping timeout: 260 seconds]
khakimov has joined #ruby
tomku has joined #ruby
mnaser has joined #ruby
b1rkh0ff has quit [Ping timeout: 244 seconds]
zastaph has quit []
akem has quit [Quit: Forget progress by proxy. Land on your own moon.]
mengu has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
tayy has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
classix has quit [Ping timeout: 252 seconds]
phipes has joined #ruby
ramblex has quit [Quit: ramblex]
xiaotian has quit [Quit: Computer has gone to sleep.]
<frishi> hi guys, I read that Ruby allows a constant's value to be changed during the program's execution. What could be the reason to allow this?
akem has joined #ruby
choffstein has joined #ruby
<Manhose> frishi: that question is probably best suited for #rubyonrails
<frishi> lol.
<frishi> maybe even #google
<frishi> who would've known
kyktommy has joined #ruby
chimkan has joined #ruby
pastjean has quit [Remote host closed the connection]
BrokenCog has joined #ruby
<samuelkadolph> Because you can change almost anything in ruby. No reason you can't change a constant.
mikeric has joined #ruby
sohocoke has joined #ruby
AlbireoX`Laptop has joined #ruby
bbttxu has joined #ruby
kyktommy has quit [Quit: Linkinus - http://linkinus.com]
<graspee> if you change it, it's not a constant
vitor-br has quit [Ping timeout: 246 seconds]
friendly_potato is now known as Ttech
Hanmac1 has joined #ruby
c0rn has quit [Ping timeout: 248 seconds]
Hanmac has quit [Ping timeout: 252 seconds]
c0rn has joined #ruby
banghouse has quit [Remote host closed the connection]
fangwen has joined #ruby
fayimora has quit [Read error: Connection reset by peer]
fayimora has joined #ruby
bbttxu has quit [Quit: bbttxu]
<frishi> thanks graspee
andrewhl has quit [Quit: andrewhl]
yannis has quit [Read error: Operation timed out]
yannis has joined #ruby
kil0byte has joined #ruby
hmmmm has left #ruby ["Leaving"]
tomb_ has quit [Quit: Computer has gone to sleep.]
BrianE has joined #ruby
RegEchse has quit [Quit: <3 WeeChat (v0.3.8-rc2)]
looopy has quit [Remote host closed the connection]
r0bby_ has quit [Ping timeout: 246 seconds]
savage- has quit [Remote host closed the connection]
r0bby_ has joined #ruby
harukomoto has quit [Ping timeout: 244 seconds]
kaspernj has joined #ruby
cantonic has joined #ruby
giftfrosch has quit [Quit: giftfrosch]
looopy has joined #ruby
sohocoke has quit [Quit: Computer has gone to sleep.]
classix has joined #ruby
emmanuelux has quit [Ping timeout: 264 seconds]
Targen has joined #ruby
kaneda_ has quit [Read error: Connection reset by peer]
kaneda_ has joined #ruby
mikeycgto has quit [Ping timeout: 246 seconds]
andrewhl has joined #ruby
Zolrath has joined #ruby
emmanuelux has joined #ruby
dankest has quit [Quit: Leaving...]
Pirat has joined #ruby
<Pirat> hi, anyone here to talk with? ;)
Gavilan has joined #ruby
fgwaegeawgfwa has quit [Ping timeout: 244 seconds]
sohocoke has joined #ruby
r0bby_ is now known as robbyoconnor
TobsCore has joined #ruby
mikeric has quit [Quit: mikeric]
bbttxu has joined #ruby
deryldoucette has quit [Quit: Time To Go, So Sad!]
deryldoucette has joined #ruby
yannis has quit [Quit: yannis]
_numbers has joined #ruby
zinjacoder has joined #ruby
<_numbers> is there a ruby equivalent of php's compact() function? e.g. compact(:a, :b) # => { a: a, b: b }
<_numbers> where a and b are actual local variables already in scope
perryh_away is now known as perryh
<defendguin> if using a postgres db and PGconn.connect and then doing con.exec(some insert query) how can i get the id of the object that was just created?
bbttxu has quit [Quit: bbttxu]
<Manhose> defendguin: there's a query for that
<Manhose> I can't remember it
ereslibre_laptop has quit [Remote host closed the connection]
<Manhose> google postgresql last inserted id
BrianE has quit [Quit: Linkinus - http://linkinus.com]
<defendguin> hmmm curval on the sequence i guess i was hoping to avoid another round trip to the server
pastjean has joined #ruby
Gekz has joined #ruby
Gekz has joined #ruby
pastjean has quit [Read error: Operation timed out]
<defendguin> i guess it will have to do
<werdnativ> importers.detect { |x| x.find( template_name ) }
<werdnativ> Is there an idiomatic way to have this return the result of the find method (first detected one that doesn't return nil), instead of the item x?
<werdnativ> i.e.: importers.detect { |x| x.find(template_name) }.find(template_name) # pref. without running find twice?
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
dankest has joined #ruby
<defendguin> Manhose: apparently you can just add RETURNING column_name to the end of your insert statement
gift has quit [Ping timeout: 276 seconds]
Pirat has quit [Quit: Leaving.]
<Manhose> good, defendguin
<Manhose> quick question
<Manhose> if I POST to /users/1/library/123
<Manhose> where can I find the 123?
<Manhose> server tells me there are no routes like that
<defendguin> post the results of rake routes
<Manhose> I know, this isn't very kosher, but is there a way?
<Manhose> defendguin: there is no POST with :id at the end
<Manhose> oops
<defendguin> hmmm
<Manhose> this is ruby
<defendguin> there should be a get
<Manhose> not #rubyonrails
<Manhose> wrong channel
<Manhose> defendguin: yep, there is a get
urlwolf has quit [Ping timeout: 246 seconds]
<defendguin> why are you trying to post to that url?
<Manhose> This is for adding a book to the user's library
quesada has joined #ruby
<defendguin> i imagine you would need to post to /lib/123 or whatever
<defendguin> or create a new route in your routes file
<Manhose> let me ask on #rubyonrails
CheeToS has quit [Ping timeout: 252 seconds]
<defendguin> go for it
<Manhose> thanks, btw
ereslibre has joined #ruby
ereslibre has quit [Changing host]
ereslibre has joined #ruby
dankest has quit [Quit: Linkinus - http://linkinus.com]
sohocoke has quit [Quit: Computer has gone to sleep.]
seanstickle has quit [Quit: Nihil sub sole novum]
gift has joined #ruby
mikeycgto has joined #ruby
mikeycgto has quit [Changing host]
mikeycgto has joined #ruby
defendguin1 has joined #ruby
td123 has quit [Read error: Connection reset by peer]
defendguin has quit [Ping timeout: 252 seconds]
dhaskew_ has joined #ruby
dhaskew has quit [Read error: Connection reset by peer]
dhaskew_ is now known as dhaskew
dhaskew_ has joined #ruby
dhaskew has quit [Read error: Connection reset by peer]
dhaskew_ is now known as dhaskew
dhaskew_ has joined #ruby
dhaskew has quit [Read error: Connection reset by peer]
dhaskew_ is now known as dhaskew
zinjacoder has quit [Remote host closed the connection]
nlc has quit [Ping timeout: 260 seconds]
isson has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
radic_ is now known as radic
tewecske has quit [Quit: Leaving.]
isson has left #ruby ["전 이만 갑니다."]
balazs has joined #ruby
balazs has quit [Client Quit]
_numbers has left #ruby [#ruby]
niklasb has quit [Ping timeout: 244 seconds]
c0rn has quit []
andrewhl has quit [Quit: andrewhl]
marknyc has joined #ruby
andrewhl has joined #ruby
azm has joined #ruby
azm has quit [Changing host]
azm has joined #ruby
liluo has joined #ruby
azm has quit [Ping timeout: 245 seconds]
fayimora has quit [Read error: Connection reset by peer]
fayimora has joined #ruby
fangwen has quit [Quit: Page closed]
dbgster has joined #ruby
<digitalcakestudi> how could I delete a hash value in a multidimensional hash where if all I have is the symbol ? for example say I know I want to delete any instance of :important from params, but say :important is nested in :post would I have have to loop over params to find :important before I could delete it?
cantonic has quit [Ping timeout: 256 seconds]
mikepack has quit [Remote host closed the connection]
xnm has quit [Ping timeout: 245 seconds]
<heftig> digitalcakestudi: yes.
krusty_ar has joined #ruby
<digitalcakestudi> yes? I would have to loop?
<graspee> yes you would have to loop
<digitalcakestudi> so then I guess that would involve checking the key and comparing it
freakazoid0223 has joined #ruby
walbert has quit []
LtHummus has quit [Quit: leaving]
rippa has joined #ruby
looopy has quit [Remote host closed the connection]
c0rn has joined #ruby
c0rn has quit [Client Quit]
dnyy has quit [Remote host closed the connection]
liluo has quit [Remote host closed the connection]
balazs has joined #ruby
tomb_ has joined #ruby
<balazs> hi. compiled a new ruby as root with "rvm install 1.9.3". any way to install that into a common dir so that all users automatically see it ?
<graspee> i'm sure by manually moving files you could do it
<graspee> the rvm way is to restrict everything to just you though
<graspee> iirc
<graspee> it would probably be easier to download the ruby source package and ./configure make make install that
c0rn has joined #ruby
<bnagy> balazs: rvm 'system' installs are usually nothing but pain
<balazs> I'l ltry that
<bnagy> wait
<balazs> anything you try is pain
<bnagy> if you've done it all you need to make sure is that all user shells pick up the path and shell changes
<balazs> when it comes to installing RoR
<bnagy> which is your etc files for whatever shell you use
<balazs> will the libraries be in the right place ?
<bnagy> when you install rvm as root it installs ito usr local I think
dnyy has joined #ruby
<bnagy> basically the system install is the same, but you need users to have the changed shell and path, and users won't be able to install gems without sudo
<bnagy> although I always found it was more reliable to sudo bash; gem install ,,,; exit
alanp has quit [Remote host closed the connection]
<bnagy> I hate rvm system installs like poison now :<
<graspee> i hate rvm!
<graspee> full shtopz!
<balazs> I only have one user in the system. I just want to make sure that gems will be found
<bnagy> if you only have one user then just use a source install or rbenv as that user
<balazs> basically I have a fresh ubuntu 12.04 install and want to get rails 3.2.3 and ruby 1.9.3
<bnagy> gems etc will work - 1.9.3 includes rubygems anyway
s0ber has quit [Ping timeout: 256 seconds]
<bnagy> if you're going to use more than one version I recommend rbenv, if you only ever want to use one you could try just a source install
mxweas_ has joined #ruby
<bnagy> apt-get install and a system rvm install are probably the two worst options imho
alanp has joined #ruby
charlies_ has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
<graspee> i recommend source install
<graspee> because watching ruby be made is cool
<graspee> but then i'm a very easily-amused person
<bnagy> well rbenv _is_ a source istall, also :)
<graspee> but i dont' trust it!
charlies_ is now known as charliesome
digitalcakestudi has quit [Quit: Leaving.]
fayimora has quit [Read error: Connection reset by peer]
<balazs> compile time then :)
macmartine has quit [Quit: macmartine]
<bnagy> balazs: first do 'rvm implode' as root and then open a new shell :/
<balazs> I just reverted to the previous snapshot in virtualbox
<bnagy> ok, or that
<balazs> no rvm or ruby installed yet
<bnagy> (virtualbox??)
<balazs> why ?
<bnagy> it's like the worst available virtualisation environment
<graspee> i like virtualbox
<graspee> i've never had a problem with it except for this one problem i had
<aetaric> thatwould be having a problem with it
<graspee> that was the joke
<balazs> vbox works for me as opposed to vmware
thecreators has joined #ruby
<aetaric> bad joke was bad
<bnagy> what's your host OS?
<graspee> it's a ruby channel, comedy is extra
tk___ has joined #ruby
<balazs> ubuntu 12.04
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
<graspee> FAT PANGOLIN
<aetaric> as for vmware, love them actually
<bnagy> yeah vmware on linux is a nightmare. KVM is awesome though
<aetaric> or XEN
<aetaric> not exactly user friendly though
<bnagy> no, and no performance benefit
<bnagy> which makes it a shit choice, overall :)
<balazs> woohoo. I've gots ruby 1.9.3
<aetaric> how is xen a bad choice? it's used by thousands of hosting companies
alanp_ has joined #ruby
<graspee> if someone likes something it's fine
<bnagy> *shrug* I dunno, maybe it has good management software or something
s0ber has joined #ruby
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
<bnagy> but if I wanted to blat a broken dom-0 over the hardware I'd use ESX
dbgster has quit [Quit: dbgster]
<balazs> how do you guys suggest installing rails once I have ruby ?
<aetaric> i do like esx over xen >.>
<bnagy> balazs: on someone else's hardware
<aetaric> XD
<bnagy> balazs: with the warning that it can apparently be a bit idle, #rubyonrails is for rails stuff
<bnagy> but there are a ton of rails install guides on the interwebs
alanp__ has joined #ruby
<balazs> that's the problem, they're all different :)
<aetaric> personally, i use rvm to install ruby. and them rvm use number and then gem install rails
<bnagy> afaik (which is really very little) it's all gems and system libs, there aren't that many options
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<aetaric> also i use #rails for rails dev
alanp has quit [Ping timeout: 250 seconds]
alanp_ has quit [Read error: Operation timed out]
rippa has quit [Ping timeout: 246 seconds]
mil- has joined #ruby
fayimora has joined #ruby
tomb__ has joined #ruby
<balazs> fuck. I tried running gem and it said that I don't have yaml and to reinstall ruby
tomb_ has quit [Ping timeout: 245 seconds]
jjjj has joined #ruby
Targen has quit [Quit: No Ping reply in 180 seconds.]
Targen has joined #ruby
<bnagy> that's from the rbenv site - it has the link you need for yaml
fayimora has quit [Client Quit]
<bnagy> wget, tar xvf configure make make install afaik
<bnagy> then make clean and retry ruby, should go
marknyc has quit []
chimkan has left #ruby [#ruby]
brngardner has joined #ruby
test34 has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
alanp has joined #ruby
alanp__ has quit [Read error: Operation timed out]
<balazs> ugh... ERROR: Loading command: update (LoadError) cannot load such file -- zlib
manizzle has quit [Ping timeout: 245 seconds]
<bnagy> that's normal rails stuff
<bnagy> there are a million guides about all the system libs you need
<bnagy> although you wouldn't be getting far without zlib headersrs in gener, I think
<bnagy> I hate typing with 1 second lag :(
<horseman> bnagy: sup nag
<balazs> who's your ISP ?
<bnagy> balazs: Nepal Telecom, but I terminate an openvpn in singapore :(
<bnagy> horseman: morning.
<balazs> why are you on the internet in Nepal ? go hiking !
<bnagy> it's monsoon season now, too many landslides
<bnagy> trekking season starts again in ~sep
<horseman> bnagy: he's a nerd
<horseman> err balazs
<horseman> :P
<balazs> I do have zlib installed. wtf....
<bnagy> balazs: it will want zlib-dev or whatever the headers package is called
<bnagy> srsly, just do 'rails install guide ubuntu' in google
<bnagy> there will be a big line of packages you need to apt-get
<balazs> or is using 1.9.1 lame ?
<bnagy> 1.9.1? wtf? You said you got 1.9.3
<graspee> well it could hinder getting help
alanp_ has joined #ruby
<balazs> 1.9.1 comes in a package ?
<graspee> if you have a problem with something people will assume you are using 1.9.3
<balazs> I assume things are ironed out with it
<bnagy> balazs: your ruby is fine (I assume), you just need system packages
<bnagy> which you would need anyway
alanp has quit [Read error: Operation timed out]
<graspee> 1.9.1 is about three years 4 months old
<bnagy> basically what's happening is that you have either native gems, that want to try and compile a C extension, or gems that wrap C libs, and for that they need the headers
<bnagy> for ruby to 'work' you don't need those gems and those packages, but rails uses a ton of stuff
<bnagy> which is why you need build-essential zlib1g-dev blah blah blah
Rita-girl has joined #ruby
<balazs> I've got zlib1g-dev
ZifreCL has quit [Ping timeout: 276 seconds]
Rita-girl has quit [Client Quit]
jgrevich has quit [Read error: Connection reset by peer]
<balazs> shoulld I use rvm ? at one palce they suggest "rvm pkg install zlib"
ryanf has joined #ruby
<bnagy> no
<deryl> thats only if your distribution's zlib1g is not able to be sued for some reason
<deryl> err used
macmartine has joined #ruby
<bnagy> just look at the apt-get line
<bnagy> that is the list of stuff you may need
<deryl> in as many cases as possible you should be using the distribution's packages. thats why we tell you the apt-get lines in 'rvm requirements'
<deryl> you use rvm pkg install when the distrib's packages are not working for you for some reason, or are too old and non pkg-upgradable to use with current rubies
jjjj has quit [Quit: Leaving.]
<bnagy> and when you're using rvm in the first place, which you're not (anymore)
<deryl> our instructions assume that is the case
<deryl> right
alanp has joined #ruby
<deryl> (what bnagy said)
alanp_ has quit [Read error: Connection reset by peer]
alanp_ has joined #ruby
<balazs> I'll start from a fresh install tomorrow
<balazs> installed a bunch of packages, but "gem update" is still crying about zlib
alanp has quit [Read error: Operation timed out]
jgrevich has joined #ruby
choffstein has quit [Remote host closed the connection]
horseman has quit [Read error: Connection reset by peer]
<balazs> thanks for the help guys
<bnagy> balazs: ugh, it might want to be reconfigured (ruby)
<bnagy> basically it's better to apt-get ll the things, then install ruby
<balazs> configure && make
<balazs> makes sense
<balazs> then I'll run a: make clean && ./configure && make
odinswand has quit [Quit: Lost terminal]
mikeycgto has quit [Remote host closed the connection]
ryanf has quit [Ping timeout: 244 seconds]
horseman has joined #ruby
dhaskew has quit [Quit: dhaskew]
manizzle has joined #ruby
thecreators has quit [Quit: thecreators]
bambanx has joined #ruby
cha1tanya has joined #ruby
cha1tanya has quit [Changing host]
cha1tanya has joined #ruby
mikepack has joined #ruby
emmanuelux has quit [Remote host closed the connection]
<bambanx> hi
nirakara has joined #ruby
<graspee> hello
mxweas_ has quit [Quit: Computer has gone to sleep.]
<bambanx> sup graspee
<bambanx> graspee, you know about if you can do apps for android using ruby?
<bambanx> i see this project http://ruboto.org/ but i dunno how is it
<graspee> i don't know anything abuot that sorry
Urthwhyte is now known as Urth|Away
alanp_ has quit [Read error: Operation timed out]
ryanf has joined #ruby
alanp has joined #ruby
krz has joined #ruby
<bambanx> hi ryanf
fixl has joined #ruby
amalvagomes has quit [Quit: amalvagomes]
<offby1> bambanx: http://www.rubymotion.com/ looks to be a way to mae iOS apps with ruby
<bambanx> ty offby1
macmartine has quit [Quit: macmartine]
blast_hardcheese has quit [Ping timeout: 245 seconds]
mpereira has quit [Ping timeout: 244 seconds]
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
FOSSrookie has joined #ruby
wallerdev has joined #ruby
blast_hardcheese has joined #ruby
<FOSSrookie> I am not a programmer but I am interested in learning. From this interest I need to pick a language to program. I have run across perl, python, and ruby and I would like to know why ruby would be a better choice of the interpreted languages. Any input is much appreciated.
<bnagy> write 2-3 simple programs in each
<bnagy> see which one you like
<graspee> i think either python or ruby would be a better choice for a beginner than perl though
<FOSSrookie> So, perl may be taking too much to chew for a beginner?
<bnagy> I think perl is a terrible choice for anyone except neckbeards who fear change, but that's just opinion
<graspee> i think neckbeards is a pretty disparaging term
<bnagy> well, I didn't mean to be disparaging - as you can tell I have a very high opinion of perl and people who choose to continue to use it :)
<FOSSrookie> Will learning either ruby or python be good stepping stones to something like perl or any other language?
<graspee> i couldn't tell that at all actually
<bnagy> FOSSrookie: all the 'stepping stones to perl' lead downwards.
hamfz_ has joined #ruby
<bnagy> the languages you choose to learn depend on why you want to program
<FOSSrookie> bnagy: Why is it they lead downwards? Please clarify.
<bnagy> if you want to get a job, choose python | ruby and javascript
<graspee> i think it creates such a negative atmosphere when people in a language channel bash other languages
<bnagy> if you love the pure breathtaking beauty of algrtihms choose lisp or clojure or haskell or something
[Tritium] has left #ruby [#ruby]
<bnagy> if you want to write games or drivers choose C or C++
<bnagy> if you want to pretend you're back in 1985 choose perl or bash :)
<balazs> don't knock perl !
<FOSSrookie> bnagy: So, what I have decrypted from your last was that you think it is out of date?
mnaser has quit [Quit: Computer has gone to sleep.]
<balazs> it kind of is. doesn't have the integrated environments, like ruby
horseman has quit [Ping timeout: 265 seconds]
<FOSSrookie> balazs: Do you want to add something?
<balazs> to what ?
<bnagy> perl is very useful for holding every major linux distro together, and I am happy it exists.
<bnagy> I just don't want to read it anymore :)
<FOSSrookie> balazs: You said not to knock perl, I thought you were defending it for a reason.
<bnagy> I did years of perl, cause back then there were no better options for that style of scripting
<balazs> yeah, you can install it and use it. unlike ruby and rails
<FOSSrookie> bnagy: Does that mean you think it is somewhat archaic?
billiamii has joined #ruby
<FOSSrookie> balazs: So, do you program ruby?
<bnagy> FOSSrookie: what would possibly give you that impression? I thought I was being super subtle
scb has quit [Ping timeout: 245 seconds]
<FOSSrookie> bnagy: I just want to make sure.
<balazs> FOSSrookie: I'm abandoning perl now; at least to produce websites. used to work with mod_perl a lot
wvms has quit [Read error: Connection reset by peer]
wvms has joined #ruby
brngardner has quit [Remote host closed the connection]
<bnagy> everything is relative. When you first start with perl after doing ansi C and asm, you'e all like "Holy mother of string manipulation!! I AM A TINY GOD!"
<FOSSrookie> balazs: But from your previous statement it would seem that you were unhappy with ruby and rails.
<bnagy> then 2 months later you look at your script and say "What on EARTH does this even do and how does it work??"
<FOSSrookie> balazs: If so, can you clarify why?
<fflush> Perl and Catalyst rock :)
<balazs> it's been a week and I still couldnt get a clean install
<bnagy> balazs: c'mon, man, rails people can set it up, it can't be THAT hard
<balazs> try reading any RoR books and half of the examples will be broken
sohocoke has joined #ruby
<bnagy> balazs: did you look at the other options, btw?
<FOSSrookie> Would you guys generally agree then that the major response against perl in favor of something like ruby or perl would be the archaic scripting?
<bnagy> you dn't _have_ to use rails to build websites with ruby
<FOSSrookie> ruby or python I mean.
<bnagy> FOSSrookie: ask about perl in #perl
<balazs> I'll give you $200 for a clean RoR install from a stock Ubuntu distro and works with all examples from my book
sohocoke has quit [Client Quit]
<FOSSrookie> bnagy: If I ask about perl in perl I am only going to get "hey, program in perl!" I will save ruby for #perl.
sohocoke has joined #ruby
sohocoke has quit [Client Quit]
liluo has joined #ruby
<bnagy> FOSSrookie: and why would you expect #ruby to be any more balanced about the merits of perl?
sohocoke has joined #ruby
krusty_ar has quit [Read error: Connection reset by peer]
<FOSSrookie> bnagy: I want to know why I should choose ruby over the others. I am really looking for some arguments. I was hoping to find someone who programmed in both and could give me a good contrast/comparison.
<bnagy> FOSSrookie: you should use python. I only use ruby because I have a self-hate complex and like going with the second best option
<balazs> bnagy: I'd use perl on rails in a heartbeat
<bnagy> balazs: that's a bizarre thing to say - it's rails that's the issue, not ruby :)
krusty_ar has joined #ruby
<bnagy> balazs: seriously, though, check ramaze, sinatra and maybe goliath - you might like them better
sohocoke has quit [Client Quit]
<bnagy> FOSSrookie: seriously, there is no logical reason to choose perl as your first scripting language. It's old and bad.
<bnagy> they keep making it better, but it will always be perl
<balazs> bnagy: I'll do work for a small company. I don't want to use obscure stuff
<FOSSrookie> bnagy: Could you tell me why you think ruby is second best to python?
<graspee> he's just joking
mikepack has quit [Remote host closed the connection]
<bnagy> FOSSrookie: ruby -> IN MY OPINION <- has a more consistently OO model than python and I find it much more expressive
sohocoke has joined #ruby
<balazs> perl OO is a joke
<bnagy> python has more mindshare and arguably more libs
sohocoke has quit [Client Quit]
<balazs> but rails has more mindshare than django. or does python have a web framework more popular ?
sohocoke has joined #ruby
<bnagy> I don't know about web stuff, really :/
<bnagy> we hatess it preciouss
<graspee> web stuff is not really relevant to someone learning to program i wouldn't have thought
<balazs> I guess it depends on what you want to do with your programming skillz
sohocoke has quit [Client Quit]
srnty has quit [Ping timeout: 245 seconds]
<FOSSrookie> balazs: Right now I am only doing research on some strengths and weaknesses. I am definitely not seeing web page production in my future, there is always stuff like joomla, wordpress, and drupal for stuff like that. I am showing interest in text (or string) computations.
harukomoto has joined #ruby
<bnagy> all of those languages have strong string manipulation
<balazs> but only perl suggests so in its name :)
Manhose has quit [Ping timeout: 245 seconds]
<bnagy> I thought it stood for patholoigically eclectic rubbish lister?
manizzle has quit [Ping timeout: 260 seconds]
<bambanx> hey bnagy
<bnagy> FOSSrookie: I don't believe anyone can tell you which is the 'best' language for you. Do some exercises in ruby and python and see which you like better
<bambanx> hi
<bnagy> FOSSrookie: http://learncodethehardway.org/ has python ruby and many others
srnty has joined #ruby
<balazs> you have to be somewhat sufficient in a language before you can pass judgment on it
<bnagy> morning bambanx
<bambanx> bnagy, here is night :P
manizzle has joined #ruby
<bambanx> bnagy, where u from bnagy ?
<FOSSrookie> This will show how ignorant I am but is OO really that important?
<bnagy> bambanx: 2012-05-27 11:35:30 +0545 good luck working that out ;)
Morkel has joined #ruby
<bambanx> :P
<bnagy> FOSSrookie: hard question.
<bnagy> a strong OO model can push you to patterns that aren't totally comfortable, but overall it makes code easier to write, read and debug ( that's opinion, again )
davidpk has quit [Read error: Connection reset by peer]
<bnagy> I know a lot of C programmers who think it's silly, though
<bnagy> actually 'a lot' would be hyperbole
andrewhl has quit [Quit: andrewhl]
alanp has quit [Ping timeout: 250 seconds]
<balazs> do they also think that garbage collection is silly ?
harukomoto has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
MrGando has joined #ruby
<FOSSrookie> balazs: Is garbage collection related to OO?
<balazs> no. it's something that C doesn't do
<bnagy> balazs: actually we had soeone on here the other day saying exactly that :)
<FOSSrookie> balazs: Oh, I am learning though.
<bnagy> they have a point, kind of
<bnagy> I think they're still trying to shoehorn an optional GC onto C++ aren't they?
<balazs> what did they argue ?
nirakara has quit [Quit: This computer has gone to sleep]
<bnagy> that a language with GC could never be as fast as C++
hamfz_ has quit [Ping timeout: 246 seconds]
<bnagy> I don't agree with that bit
<balazs> for 1% performance, I'll gladly have GC
<bnagy> at least not for multicore systems with 99% of the workloads out there
<bnagy> MRI with GIL, yeah it probably is a performance issue, but meh
werdnativ_ has joined #ruby
harukomoto has joined #ruby
<balazs> you can write modules in C for perl
<bnagy> you can always disable it, if you know what you're doing :)
<balazs> if you're concerned about performance that much
<FOSSrookie> Does ruby have anything to like cpan?
<graspee> yes
<graspee> gems
<bnagy> FOSSrookie: yes, the gem infrastructure
<bnagy> and it's awesome
werdnativ has quit [Ping timeout: 250 seconds]
werdnativ_ is now known as werdnativ
<FOSSrookie> How deep in comparison to something like cpan?
<Hanmac1> _br_ add '.' to $: is the worst todo ... require_relative does not exist without reason
<bnagy> can't answer that, haven't used cpan for many years, but gem is great
alanp has joined #ruby
<balazs> what do you even mean by "deep" ?
Hanmac1 is now known as Hanmac
<balazs> perl has modules for everything
<FOSSrookie> balazs: Like, does the gem infrastructure have as many.
<balazs> idk about gem
Morkel has quit [Quit: Morkel]
<FOSSrookie> balazs: "idk"?
<balazs> i don't know
<bnagy> FOSSrookie: also, there is a quality quantity thing. python has more modules available than ruby, but tons of them are complete crap
<bnagy> not that ruby is immune to that, either
<FOSSrookie> bnagy: That is a good point!
manizzle has quit [Ping timeout: 260 seconds]
chimkan_ has joined #ruby
chimkan_ has quit [Client Quit]
sepp2k has joined #ruby
<bnagy> FOSSrookie: if you're seriously consider those three languages, as you say, why have you asked 85 questions about perl and none about python, btw?
<bnagy> frankly I am surprised that someone who has never programmed before would have even heard of perl, let alone cpan :>
kil0byte has quit []
<graspee> probably he did research, or he's talking to perl people at the same time as in here
MrGando has quit [Quit: Bye]
<FOSSrookie> bnagy: I just had perl on the mind. Mainly because I did hear that it was good with text. I am always happy to talk about python.
<FOSSrookie> graspee: I have been doing some research.
<graspee> that's good
<graspee> it's always good to go into a conversation knowing the basics
<bnagy> perl is good with strings the same way pedobear is a good babysitter
<graspee> we get it. you don't like perl
<FOSSrookie> This is part of research too, so, keep it up. This is helpfull!
horseman has joined #ruby
nirakara has joined #ruby
<balazs> FOSSrookie: your time would be better spent by learning the actual language
<bnagy> FOSSrookie: s/research/trolling
<horseman> bnagy: is he saying mean things
tewecske has joined #ruby
<FOSSrookie> balazs: How am I trolling?
<horseman> FOSSrookie: r u a meanie
<bnagy> horseman: no, I just suspect I'm trolling #perl by proxy :)
<FOSSrookie> I meant that for bnagy actually.
<FOSSrookie> not balazs.
<horseman> FOSSrookie: LOL that's embarrassing!
defendguin1 has quit [Quit: Leaving.]
<horseman> FOSSrookie: if i were you i'd go spend some time away from comp now until the pang of embarrassment wears off otherwise you might say something else silly in your confused state
nirakara has quit [Ping timeout: 244 seconds]
<bambanx> bnagy, can look this pls
<FOSSrookie> horseman: It is very late here actually and I do not know how I became the culprit so I should take a break.
<bnagy> I am opening a lot of files in a row, and trying not to fill up my RAMdisk, but the files don't unlock for a little bit of time once I'm done with them
<bnagy> right now I am spinning up a Thread and leaving it in a loop until it sucessfully deletes the file it's working on
<bnagy> but it seems a bit gross :/ trouble is everything else I can think of it more gross
<bambanx> bnagy, if i load a file using this files = Dir.glob('C:/Users/bambanx/Documents/rubyapps/trader/typeid.txt')
<bambanx> the thing this file is bigger it have a lot of data
FOSSrookie has quit [Read error: Connection reset by peer]
<balazs> adios
<bnagy> you don't need glob if you have the exact filename
<bambanx> bnagy, any way for work with this file more faster? i mean some like pre load or some
<bnagy> balazs: cya
<bambanx> lol fossrookie i think is piss off?
<bambanx> or my english really suck
<bnagy> pissed off. piss off means to leave
<bambanx> ok
balazs has quit [Read error: Operation timed out]
<bnagy> bambanx: well storing databses in text files is always a performance issue
<bambanx> so bnagy this file text is static dont change
<bnagy> basically you can read the whole thing into memory, which is what you're doing
<krz> with URI. is there a way to get just the name. not foobar.com. just foobar?
<bnagy> or if the record is fixed length (which I don't think yours are) you can seek
<horseman> bnagy: what wsa FOSSrookie saying to annoy u
<bnagy> horseman: nothing, really?
<bambanx> maybe is emo
<bambanx> :P
<horseman> bnagy: then why did u say he was trolling
<graspee> i think he was treated badly
<bnagy> horseman: because he originally said 'I can't code, I want to compare perl ruby and python'
<krz> anyone?
<bnagy> and then asked eleventy billion questions just about perl
<bnagy> krz: dunno sorry, try the doc for URI. File has basename or similar...
harukomoto has quit [Ping timeout: 252 seconds]
jenrzzz-mac has joined #ruby
<bambanx> krz
<bambanx> maybe you can use a regex for cut the name
yankov has quit [Quit: yankov]
<bambanx> :)
<krz> URI.parse('http://a.foobar.com').host.split('.').last(2).first works but is ugly
<bambanx> i am sure bnagy can say you a better code for this
<bambanx> he is the master yoda of ruby
<graspee> more like the emperor
<bambanx> men
<bambanx> anc chop ?
<bambanx> .chop ?
<bambanx> can be used in this example?
<bambanx> ( opening a book)
<bnagy> krz: looks ok to me?
<bnagy> oh you want just the subdomain?
<krz> i just want foobar
<bnagy> [-2] might work instead of last(2).first
<krz> URI.parse('http://a.foobar.com').host.split('.')[-2] also seems to work
<bnagy> I'll admit it's not all that pretty, but I dunno if this is a common task
<bambanx> "Test".chop Tes
MrGando has joined #ruby
<bambanx> krz, try using chop too
<bnagy> I definitely think URI.parse is the way to go, though
<bambanx> bnagy, i am using this to separate my file :col_sep=>' '
<bambanx> but how i can do for it separate spaces just one time?
harukomoto has joined #ruby
<bambanx> only the first
<bnagy> bambanx: I said before, I don't endorse shoehorning CSV onto random file formats
gtuckerkellogg has joined #ruby
<bnagy> and if you have any control over this 'database' it has been Done Wrong
<bambanx> bnagy, why?
mohits has quit [Ping timeout: 246 seconds]
<bnagy> because it's (apparently) a big textfile, and that's dumb?
<bambanx> it have 30.000 lines
<bambanx> aprox
<bnagy> ok I take it back, it's not dumb
<bnagy> it's insane
<bambanx> just take a few seconds read it
<bambanx> is not bad for me
<bambanx> my problem is this :col_sep its parse all my spaces i need just one , the first
yankov has joined #ruby
<bnagy> don't use CSV
<bnagy> build a Hash
MrGando has quit [Quit: Bye]
<bambanx> i dunno what u mean
alek_b has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
<bambanx> but i am thinking on write this file and put a ","
<bambanx> within my first space
<bnagy> if you're going to recreate it then use YAML or Marsal.dump or something
CheeToS has joined #ruby
<bnagy> this file is a simple id->something hash, right?
<bambanx> yeah
<bambanx> typyid name
<bambanx> two columns
quesada is now known as urlwolf
<bambanx> brb
<bnagy> File.foreach(fname)[2..-1].each.with_object({}) {|line, hsh| k,v=line.split(' ');hsh[k]=v}
<bnagy> or something
yxhuvud has joined #ruby
cha1tanya has quit [Quit: Leaving]
schovi has joined #ruby
prtksxna has quit [Remote host closed the connection]
foofoobar has joined #ruby
mneorr has joined #ruby
mneorr has quit [Remote host closed the connection]
tewecske has quit [Read error: Operation timed out]
horseman has quit [Read error: Connection reset by peer]
mxweas_ has joined #ruby
horseman has joined #ruby
<Hanmac> ged?
ryanf has quit [Ping timeout: 248 seconds]
igotnolegs has quit [Quit: Computer has gone to sleep.]
<bambanx> ty bnagy i will try now
<bnagy> bambanx: it's buggy
<bambanx> oh ok
<bnagy> File.readlines(fname) I think should work
<bambanx> ok
qos has joined #ruby
<Hanmac> bnagy no foreach is better then readlines ...
<bnagy> Hanmac: but I think it will return an Enumerator and the [] will fail
<Hanmac> you want to skip the first line right?
<bnagy> yeah
<bnagy> you can open a handle and then call readline on it once, then use foreach I guess
<bnagy> lazier
<bnagy> but longer :)
areil has joined #ruby
<horseman> assuming u can dl that on your 56K
<bnagy> this had better be funny
<Hanmac> bnagy: File.foreach("test.rb").with_index.each_with_object({}) {|(l,i),hsh| k,v=l.split(' ');hsh[k]=v if i > 0}
<bnagy> Hanmac: ohh, that's nice
kaneda_ has quit [Ping timeout: 245 seconds]
<horseman> bnagy: was it funny
<bnagy> you can just do with_index.with_object - that's a cute trick
kaneda_ has joined #ruby
<horseman> bnagy: Yeah, good point
<bnagy> horseman: I gave up after it scanned about quarter of the way
<horseman> bnagy: ah too bad
<bambanx> grrrr how i can fix this File.open("typeid2.txt", "r").readlines.sub(' ',',')
<Hanmac> bambanx maybe my line suit you more
<bambanx> Hanmac, i wanna change the first space of each line for : ,
<bnagy> bambanx: you've got to start doing some work for yourself, man
<bambanx> i am doing bro bnagy
<bnagy> the eror messgae you'll get from that code is perfectly clear
<Hanmac> File.open("typeid2.txt", "r"){|f| f.each_line.map {|l| l.sub(' ',',') }}
Jackneill has joined #ruby
<bambanx> bnagy, i am in ruby a few days bro is not easy for me
<bambanx> this days i learn alot with yours help
<bambanx> thanks
mxweas_ has quit [Quit: Computer has gone to sleep.]
bluOxigen has joined #ruby
<bambanx> Hanmac, thansk for the code, i run it and dont return any error but for any reason is not doing any change on my file
<Hanmac> it only returns an array, noone says you need a change of the file itself
mxweas_ has joined #ruby
<bambanx> ok
tomzx has quit [Ping timeout: 246 seconds]
Shoobdidoo has joined #ruby
<Hanmac> File.open("typeid2.txt","w"){|out| File.open("typeid2.txt", "r"){|fin| fin.each_line.map {|l| l.sub(' ',',') }}.each{|l| out.write(l)}}
<_br_> Hanmac: Why is that so bad? Could you please explain?
firstworldchild has joined #ruby
firstworldchild is now known as fwchld
<fwchld> evenin!
<Hanmac> _br_ because your line does not work on 1.9.2+ ...
<bambanx> hi fwchld
<fwchld> how r u bambanx
<bambanx> fwchld, like the ass
<bambanx> and u?
<fwchld> hah ok - not too bad.. chillin. some lame show about canadians hunting for saskwatch is on tv...
jgrevich has quit [Quit: jgrevich]
<bambanx> nice fwchld and they find one?
<fwchld> i really hope so - or else they're going to look so dumb. they've got all this sweet gear … but no saskwatch
<bambanx> :)
<fwchld> :D
mohits has joined #ruby
defendguin has joined #ruby
b1rkh0ff has joined #ruby
indian has joined #ruby
altious has joined #ruby
<bambanx> Hanmac, i dont understand why is not working the code just delete all of my file, looks pls this structure have my file http://pastie.org/3975428
<bnagy> bambanx: don't try to parse that as CSV, for the 5th time
<bnagy> hanmac already pasted a lvely one-liner to read that into a Hash (although you need to skip 2 lines not 1)
<bambanx> just now i know i am parsing as csv
AlbireoX`Laptop has quit [Remote host closed the connection]
<Hanmac> bambanx ... the problem is that the char in the lines is not an " " its an "\t"
<bambanx> bnagy, i used this File.open("typeid2.txt","w"){|out| File.open("typeid2.txt", "r"){|fin| fin.each_line.map {|l| l.sub(' ',',') }}.each{|l| out.write(l)}}
<bambanx> lol why Hanmac i dont see on my file
advorak has joined #ruby
horseman has quit [Read error: Connection reset by peer]
<Hanmac> but i could see it in my editor
<bambanx> i replaced " " for "\t" and just delete all content i dunno wtf
<bnagy> h=File.foreach("test.rb").with_index.with_object({}) {|(l,i),hsh| k,v=l.split(' ');hsh[k]=v if i > 1}
horseman has joined #ruby
<Hanmac> h=File.foreach("typeid2.txt").with_index.with_object({}) {|(l,i),hsh| k,v=l.split("\t");hsh[k]=v if i > 1}
fwchld is now known as firstworldchild
<bambanx> this code supose change my file to hash and is more easy for work with it? using keys and values?
firstworldchild is now known as fwchld
horseman has quit [Read error: Connection reset by peer]
lkba has joined #ruby
<bambanx> my editor is freeze xD
<bnagy> yes
<bambanx> bnagy, Hanmac thanks guys
ph^ has joined #ruby
<bnagy> oh, it's tabs, not spaces? I see.
<_br_> Hanmac: That is not correct. I just now tried 1.9.2 and 1.9.3 and both work fine with it.
<Hanmac> _br_ and what happend if the interpreter is not in the dir of the files?
horseman has joined #ruby
<_br_> Hanmac: fair enough, but saying that it doesn't work is not right.
bluOxigen has quit [Ping timeout: 244 seconds]
<bambanx> i am very happy now run very fast
jenrzzz-mac has quit [Ping timeout: 252 seconds]
<pcboy___> Hey guys. Why Hash.clear is not called Hash.clear! ? Same for array.
yankov has quit [Quit: yankov]
<bambanx> guys ruby always read the code to the top to botton ? i mean first line of code , second ..... ?
<Hanmac> bambanx if you not use reverse_each, yeah
mohits has quit [Ping timeout: 245 seconds]
<bambanx> ok
<bnagy> pcboy___: because it's obvious from the name of the method that it's destructive
<bambanx> bnagy, what you mean with destructive?
<Hanmac> pcboy___ and an ! is only used if an non-! method exist too
<Hanmac> bambanx: it means that it changes the object itself
<bambanx> oh
<pcboy___> mh yeah, we can say that's obvious. It's just that I thought that a good ruby coding style implies to put ! when something is destructive.
<pcboy___> But by the way a !-method doesn't imply the existence of a non-! method.
mohits has joined #ruby
webusnix has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<bambanx> gn guys time to sleep works on 4 hours , thanks for all bnagy Hanmac seeya
bambanx has quit [Quit: Saliendo]
<_br_> pcboy___: I agree totally with the coding style, but since ruby is more timtowtdi I think its a hot mess anyway.
defendguin has quit [Quit: Leaving.]
brianpWins has joined #ruby
brianpWins has quit [Client Quit]
billiamii has quit [Ping timeout: 246 seconds]
cha1tanya has joined #ruby
advorak has quit [Quit: This computer has gone to sleep]
adambeynon has joined #ruby
rushed has joined #ruby
visof has joined #ruby
ananthakumaran has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
mxweas_ has quit [Quit: Computer has gone to sleep.]
<shevy> pcboy___ it's just a convention
<shevy> pcboy___ I for instance happily use methods ending in ? even when they do not return a boolean value
<shevy> the ! methods seem not too useful to me though
<shevy> it usually mostly just seems to save typing some characters
<shevy> x = x.strip
<shevy> vs
<shevy> x.strip!
<Hanmac> information: some ! methods returns nil if they do nothing
ananthakumaran1 has joined #ruby
ananthakumaran has quit [Read error: Connection reset by peer]
ping-pong has quit [Ping timeout: 265 seconds]
ukwiz has joined #ruby
<pcboy___> shevy: The convention is not saying that the predicate methods should return a boolean value but truthy/falsey values. You can return an object/nil that's ok.
ddv has joined #ruby
robbyoconnor has quit [Ping timeout: 256 seconds]
<horseman> just as long as it's used for its truthiness rather than for its value
<pcboy___> It depends. You can return a related information. It happens in the standard library.
akem has quit [Ping timeout: 240 seconds]
<shevy> cool
<shevy> going to use that as example :)
fwchld has quit [Quit: fwchld]
ponty has joined #ruby
Urth|Away is now known as Urthwhyte
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
CheeToS has quit [Ping timeout: 240 seconds]
mdw has joined #ruby
<ponty> hi. i d like to do "asdf ? "a" : "b"" then i get an error undefined local variable. do i always have to do it this way : (asdf rescue nil) ? "a" : "b" . or is there a better way?
bosphorus has joined #ruby
indian has quit [Read error: Connection reset by peer]
stepnem has quit [Ping timeout: 252 seconds]
<shevy> ponty can you give example values for a and b?
<shevy> I usually see the ternary operator used in assignments only though
<shevy> x = 5 < 4 ? 'hi' : 'go away'
<shevy> # => "go away"
<Hanmac> shevy: he used asdf but he did not asign it
deobald__ has joined #ruby
<ponty> shevy: a and b are just the strings a and b
<ponty> shevy: asdf is the problem. this should be a local variable and if it doesn't exist b should be the output
<shevy> aha
stepnem has joined #ruby
azm has joined #ruby
Shoobdidoo has quit [Quit: Verlassend]
sohocoke has joined #ruby
<Hanmac> ponty i think its the wrong way
<Hanmac> rescue nil is always bad
<horseman> Mon_Ouie: haha does this upset you:
<ponty> Hanmac: i thought so. whats the right way to do it?
<Hanmac> asdf = nil before
mdw has quit [Remote host closed the connection]
araujo has quit [Quit: Leaving]
jbw has quit [Ping timeout: 246 seconds]
<shevy> :D
<Mon_Ouie> horseman: Nope
<Hanmac> ponty: asdf = 3 if false; p asdf
<Hanmac> what do you think happends? asdf is not undefined
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
<ponty> Hanmac: i use rails. sometimes a local variable is passed to a partial sometimes not
n1x has joined #ruby
<Hanmac> "i use rails" i think thats your problem :P
<Mon_Ouie> Unless you're doing tricks with eval, a local variable is either always or never defined — not sometimes
pygospa has quit [Ping timeout: 244 seconds]
pygospa has joined #ruby
orealis has quit [Read error: Connection reset by peer]
<shevy> hehe
<shevy> better than the chewbacca defense
<shevy> "I use rails" :D
<Hanmac> shevy: i think one of the funniest things i saw is when people learn rails first and then ruby ... because hey thought everything that works in rails should work on normal ruby too
<shevy> yeah
<shevy> it's sad though, rails can garner a lot more attention, even up to the point where people could exist within rails entirely and use that as a "new" language
jbw has joined #ruby
ipoval has quit [Read error: Connection reset by peer]
ipoval has joined #ruby
<_br_> shevy: At least it brings more people to use Ruby
<Hanmac> yeah and then they fail
<horseman> _br_: wrong kind of people :)
<horseman> i.e ex-PHPers
<Urthwhyte> It's very hard to not learn Ruby via Rails
<Urthwhyte> all you'd really be missing is ActiveSupport
<shevy> _br_ well, if they kind of exist mostly in the rails community, I think a problem could be that there are two different communities and a potential fragmentation
<Urthwhyte> reading Rails+Sinatra codebases is how I learned ruby, coming from Python
<shevy> there are things that are created within the rails community which seem confusing to me
abstrusenick has joined #ruby
<Urthwhyte> like?
<shevy> the whole { key: value} new notation for instance, seems heavily inspired by rails
<shevy> Urthwhyte, another example is bundler :)
<shevy> I can't stand it!
<Urthwhyte> Resolving dependencies by hand is so much fun!
<Urthwhyte> and the {key: value} notation is inspired by virtually every other language
TheHunter_1039 has quit [Quit: TheHunter_1039]
<Mon_Ouie> I don't see how it'd be harder to learn Ruby without using Rails
<Hanmac> Urthwhyte: i do gem install and the dependencies are solved on its own without bundler
<_br_> shevy: Fragmentation? Well, I don't think so. It like saying I like this car, but not the red one it causes fragmentation.
<shevy> but it has another engine
<shevy> and a lot of hipsters are in that car
<shevy> I want the car with the pretty girls instead :(
jenrzzz-mac has joined #ruby
<shevy> then one day those hipsters drive with the pretty girls ...
Foxandxss has joined #ruby
<shevy> then I am going to kill those hipsters
<graspee> wtf is a hipster anyway
<_br_> horseman: Give the ex-PHP people a chance. Reading PHP bugreports is already hard enough for them probably.
<Mon_Ouie> Using a car analogy is like comparing your experience with driving a car and riding a motorcycle
<Urthwhyte> I don't even know the last time I used Ruby for a non-web project
<shevy> graspee, I am not sure. something a bit like a fashion-aware nerd
platzhirsch1 has joined #ruby
<_br_> shevy: whats wrong with bundler?
<graspee> you used it three times in 5 lines i thought you would be sure
<_br_> Mon_Ouie: well rails is just a fancy DSL imo
<Hanmac> shevy: i think a hipster is something like a apple fan boy ?
<platzhirsch1> array.index(x) returns nil, although the object x is inside the array. x is the object of a self defined class, has this something to do with override the equality operator (==)?
<shevy> _br_ example one: I start irb. I do require 'bundler'. I get: NoMethodError: undefined method `root' for Bundler:Module
<Urthwhyte> require 'bundler/setup'
<Urthwhyte> No different than having to remember 'net/http'
<shevy> fair enough
<Mon_Ouie> Anyway, using Rubygems to deal with dependencies isn't the same as dealing with them manually
<_br_> Well, there are so many things out there which have potential to make you scream. My favorite is rvm these days.
<Urthwhyte> use rbenv
<_br_> Urthwhyte: Thanks its good advice, already doing that for some projects
Shoobdidoo has joined #ruby
<platzhirsch1> what equality do objects of classes use normally? It seems not to be the assigned memory adress
<Mon_Ouie> What do you mean, by "what equality"?
Urthwhyte is now known as Urth|Away
<platzhirsch1> Mon_Ouie: nevermind, Ruby Doc says on Basic Object that they are only equal if obj and other are the same object
<platzhirsch1> that's what I meant
<Mon_Ouie> Object#== is identity equality, usually overridden to define equality by value when it make sense
<platzhirsch1> Having an object of a self defined class the string representation is something like #<Class_Name:hexadecimal_value>
<platzhirsch1> the objects I compare have the same hexadecimal_value so I thought they are the SAME object after all
<platzhirsch1> but == returns false
<Mon_Ouie> Are you sure you didn't misread?
binaryplease has joined #ruby
<platzhirsch1> double checked it, no. Guess the error is elsewhere
<Mon_Ouie> That value normally is (object_id << 1)
<Hanmac> ri Array.index: "Returns the index of the first object in self such that the object is == to obj."
<Hanmac> but i think its not true :/
deobald__ has quit [Ping timeout: 260 seconds]
Shoobdidoo has quit [Quit: Verlassend]
<platzhirsch1> Mon_Ouie: found the error, compared an object with an array containing the object
azm has quit [Ping timeout: 265 seconds]
<platzhirsch1> I forgot to append to_s and didn't see it while doing my obfuscated printf debugging
<platzhirsch1> that makes me wonder whether I will switch to an IDE with better debugging support this summer
<Mon_Ouie> Did you check Pry?
<platzhirsch1> I do now
<platzhirsch1> looks hacky
<platzhirsch1> I use primarily Eclipse for Java besides Vim + ruby, I think that's the only alternative for now
berserkr has joined #ruby
<Hanmac> you could use eclipse for ruby too .. but i dont know how good the debuging is
<platzhirsch1> I will try out, but not now. I currently enjoy the black box magic
mdw has joined #ruby
<Hanmac> i use eclipse for my ruby bindings ...
<graspee> geany is great for ruby, i find
phipes has quit [Read error: Connection reset by peer]
yannis has joined #ruby
phipes has joined #ruby
<shevy> isn't the default highlighting geany uses crappy for .rb files?
<graspee> no
<graspee> and has a side pane with a view of all your objects and methods and so forth
<graspee> and you can fold the text in the main window on methods and classes
c0rn has quit []
mdw has quit [Remote host closed the connection]
petercs has joined #ruby
werdnativ has quit [Quit: werdnativ]
petercs has quit [Ping timeout: 248 seconds]
nirakara has joined #ruby
zastaph has joined #ruby
visof has quit [Ping timeout: 246 seconds]
serroba has joined #ruby
oddraisin has joined #ruby
pac1 has joined #ruby
<msch> hey, got an unusual request. i need to install a gem that depends on both the mysql and pg gems, but in fact only depends on the mysql gem (and since i don't have pg on the server, the pg gem can't be installed)
<msch> i managed to install the gem with --ignore-dependencies, but in the bin wrapper it still complains that it can't find the pg gem. is there a way around that? i'd hate to install libpg, just to install the pg gem just to have this one gem run
ping-pong has joined #ruby
<graspee> why? is it really big or something?
<shevy> it installs ponies as a side effect
<graspee> how is that a bad thing?
<shevy> they must eat and also have leftovers graspee
<graspee> don't be silly. they are virtual ponies
<shevy> I see you know ponies
<graspee> i do
<graspee> i like them big, black and female
petercs has joined #ruby
nfk has joined #ruby
<msch> graspee: nope, but libpg pulls in lots of other dependencies so i'd like to keep stuff small
Faris has joined #ruby
<graspee> i'd just do it anyway, personally, and maybe contact the person who put this unneeded pg dep in and ask them to take it out
krz has quit [Quit: krz]
iocor has joined #ruby
<msch> graspee: ok i'm doing that. just hate dependencies :)
<graspee> think of it as free programs!
<Hanmac> graspee the pg gem itself is stupid too, but i did not reach the author yet
<shevy> he is shamefully hiding because of his stupidity perhaps
RegEchse has joined #ruby
davidcelis has quit [Read error: Connection reset by peer]
davidcelis has joined #ruby
caveat-_ is now known as caveat-
caveat- has quit [Quit: leaving]
caveat- has joined #ruby
noganex has quit [Ping timeout: 248 seconds]
noganex has joined #ruby
bosphorus has quit [Remote host closed the connection]
yannis has quit [Read error: Connection timed out]
shadowcat_ has joined #ruby
ddv has quit [Quit: *poof*]
<musee> do any of you guys use any particular ncurses libraries?
<Hanmac> ncurses is so 90'
<musee> wat u rekommend
<Hanmac> i use wx
<musee> that's not console based is it?
<Hanmac> no
<musee> yeah, this app has to be console based :|
<shevy> musee, problem with ncurses is that it is no fun to use it
<musee> no fun to use or no fun to develop in?
azm has joined #ruby
azm has quit [Changing host]
azm has joined #ruby
<shevy> using it can be fine
<musee> x_x right now, all I'm doing is printing an array of strings
<shevy> writing for ncurses stinks however
<shevy> well that can be done in a simple .rb script too :P
<musee> oh, I mean, that /is/ what I'm doing right now
<musee> but i need the functionality to select one line and work with the information in that part of the array
<musee> (it's an array of hashes)
<graspee> what do you mean by select one line?
<graspee> you want to read what is written in the console by another program?
sbanwart has joined #ruby
<musee> would stdlib's curses library be sufficient though?
<shevy> curses is simpler IMO
<graspee> for what?
<shevy> it is also ugly though
binaryplease has quit [Ping timeout: 246 seconds]
jwbuurlage has joined #ruby
<shevy> musee, here is the hello world in curses: http://pastie.org/3976213
<musee> graspee: in ruby, there's an object that has an array of hashes, that's parsed and compiled from a json string. I'm not dealing with another application other than contacting a server for that json string
jenrzzz-mac has quit [Quit: jenrzzz-mac]
<shevy> I really think this manual managing of things suck
<graspee> why do you need curses though?
<shevy> 25 lines just to display hello world....
<musee> graspee: to select one of the hashes in that array, and work with that informatoin to do other things?
<musee> :|
<graspee> i'm not sure what you're doing
<musee> see the lower left terminal?
<musee> select one, and perform an action with the information in that hash
<musee> >_>
<graspee> so you want to read the data from the characters that another program has printed into a terminal?
<musee> ...
<shevy> we tricked you
<shevy> musee, graspee is just an advanced bot written in ruby ;)
<musee> -_-
<graspee> what?
deobald__ has joined #ruby
<graspee> i'm trying to help and you're just making ascii faces at me
<musee> I've explained it though.
<shevy> musee but I can assure you, writing in *curses is no fun at all
<shevy> just try it for a few hours
<graspee> you haven't explained why you need curses
<graspee> curses isn't to do with hashes and arrays
<graspee> it's for drawing on the screen in text mode
<musee> I've gotten that impression from before, but what would you recommend using for that ^ functionality?
companio- has quit [Quit: Poweroff]
<musee> graspee: have you used wicd-curses?
<graspee> no
<shevy> not sure. have you had a look at the highline gem yet?
<graspee> i've used ncurses
<musee> I'm basically wanting what wicd-curses does
companion_ has joined #ruby
<musee> shevy: i haven't looked at highline other than working with passwords, but sure I'll take a closer look
schaerli has joined #ruby
<graspee> wicd-curses doesn't seem to have much to do with ncurses which is what you asked if anyone knew about
<graspee> you can't blame me for being confused
<musee> there is wicd-cli, wicd-curses, and wicd-gtk, all interact with the same data differently. I'm just needing some form of GUI in the console, similar to wicd-curses.
<graspee> yah but all wicd-curses has to do with curses is that is uses curses to output stuff
<musee> and interact.
<graspee> it's got nothing to do with ncurses the library
<graspee> except that it uses it
<musee> oh? then what does "clicking enter" and "scrolling up" entries in wicd-curses come from?
<Mon_Ouie> Using ncurses? …
<musee> ^
<Mon_Ouie> That's what *he* said
arturaz has joined #ruby
<musee> shevy: hmm, the menu class looks like what I want. thanks :)
<arturaz> Ruby in production sucks... Welcome to world of no live samplers/profilers!
binaryplease has joined #ruby
pac1 has quit [Remote host closed the connection]
deobald__ has quit [Ping timeout: 260 seconds]
<graspee> if you said you wanted to print a menu on the screen rather than see the lower left terminal?
<graspee> 12:30 < musee> select one, and perform an action with the information in that
<graspee> hash
<graspee> i would have been able to help you
foofoobar has quit [Quit: bb]
<shevy> musee you mean of highline?
<musee> yeah, i think so
serroba has quit [Quit: This computer has gone to sleep]
jwbuurlage has quit [Quit: jwbuurlage]
cousine has joined #ruby
ramblex has joined #ruby
adambeynon has quit [*.net *.split]
b1rkh0ff has quit [*.net *.split]
dnyy has quit [*.net *.split]
Gavilan has quit [*.net *.split]
williamcotton has quit [*.net *.split]
Beoran__ has quit [*.net *.split]
zeromodulus has quit [*.net *.split]
voodoofish has quit [*.net *.split]
ciopte7 has quit [*.net *.split]
rasbonics has quit [*.net *.split]
ianbishop has quit [*.net *.split]
Shamgar has quit [*.net *.split]
idoru has quit [*.net *.split]
Corey has quit [*.net *.split]
_marvin has quit [*.net *.split]
statix has quit [*.net *.split]
ben_alman has quit [*.net *.split]
psino has quit [*.net *.split]
museun has quit [*.net *.split]
jhunter has quit [*.net *.split]
thorncp has quit [*.net *.split]
warebec|hat has quit [*.net *.split]
nuba has quit [*.net *.split]
randym has quit [*.net *.split]
patricksroberts has quit [*.net *.split]
notbrent has quit [*.net *.split]
dv_ has quit [*.net *.split]
Icehawk78 has quit [*.net *.split]
alindeman has quit [*.net *.split]
stroem has quit [*.net *.split]
rlankfo_ has quit [*.net *.split]
zeroXten has quit [*.net *.split]
niv has quit [*.net *.split]
al-ol_ has quit [*.net *.split]
RubyPanther has quit [*.net *.split]
daed has quit [*.net *.split]
Urth|Away has quit [*.net *.split]
mahlon has quit [*.net *.split]
iaj has quit [*.net *.split]
limed has quit [*.net *.split]
pingveno has quit [*.net *.split]
warebec|hat has joined #ruby
nirakara has quit [Quit: This computer has gone to sleep]
nuba has joined #ruby
b1rkh0ff has joined #ruby
Facefox has quit [Ping timeout: 244 seconds]
companio- has joined #ruby
companion_ has quit [Read error: Connection reset by peer]
Gavilan has joined #ruby
pastjean has joined #ruby
zeromodulus has joined #ruby
Facefox has joined #ruby
eurek has joined #ruby
nirakara has joined #ruby
qwert has joined #ruby
binaryplease has quit [Quit: WeeChat 0.3.7]
yannis has joined #ruby
qwert has quit [Client Quit]
zinjacoder has joined #ruby
piotr_ has joined #ruby
nirakara has quit [Quit: This computer has gone to sleep]
<graspee> if ever there was an error message where you think "why can't you just fix it?!" it is: no .<digit> floating literal anymore; put 0 before dot (SyntaxError)
binaryplease has joined #ruby
ben_alman has joined #ruby
psino has joined #ruby
alindeman has joined #ruby
Corey has joined #ruby
idoru has joined #ruby
adambeynon has joined #ruby
dnyy has joined #ruby
williamcotton has joined #ruby
Beoran__ has joined #ruby
voodoofish has joined #ruby
ianbishop has joined #ruby
_marvin has joined #ruby
Shamgar has joined #ruby
rasbonics has joined #ruby
ciopte7 has joined #ruby
statix has joined #ruby
museun has joined #ruby
jhunter has joined #ruby
thorncp has joined #ruby
patricksroberts has joined #ruby
Urth|Away has joined #ruby
Icehawk78 has joined #ruby
rlankfo_ has joined #ruby
RubyPanther has joined #ruby
mahlon has joined #ruby
al-ol_ has joined #ruby
zeroXten has joined #ruby
dv_ has joined #ruby
notbrent has joined #ruby
pingveno has joined #ruby
niv has joined #ruby
daed has joined #ruby
limed has joined #ruby
stroem has joined #ruby
randym has joined #ruby
iaj has joined #ruby
Corey is now known as Guest95441
alindeman is now known as Guest51736
charliesome has quit [Ping timeout: 244 seconds]
<shevy> nice error graspee
companio- has quit [Quit: Poweroff]
<shevy> I will try to find a "No coding without pants." (PervertAlertError) error message today
companion_ has joined #ruby
thecreators has joined #ruby
looopy has joined #ruby
Faris has quit [Ping timeout: 260 seconds]
amacgregor_osx has joined #ruby
mengu has joined #ruby
kirun has joined #ruby
fr0gprince_mac has joined #ruby
eurek has quit [Read error: Connection reset by peer]
altious has quit [Quit: Leaving]
bosphorus has joined #ruby
ping-pong has quit [Ping timeout: 252 seconds]
`brendan has joined #ruby
test34 has joined #ruby
ping-pong has joined #ruby
bashdy has joined #ruby
fixl has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
cordoval has joined #ruby
<platzhirsch1> Do I have to use .index() on arrays to check whether an element is present?
shadowcat_ has quit [Read error: Connection reset by peer]
<Mon_Ouie> No, you can use Enumerable#include?
fbernier has joined #ruby
<canton7> or, depending on the array contents, you might be able to attempt to fetch the item, and check for nil being returned
shadowcat_ has joined #ruby
<platzhirsch1> include, perfect thanks I always to forget looking into the docs of the included modules
yonggu has left #ruby [#ruby]
<shevy> platzhirsch1 .include? is kinda available everywhere, you can ask a string whether it include? a substring too
<platzhirsch1> shevy: jep, I didn't looked into the Enumerable doc :)
zastaph has quit []
Ben__ has joined #ruby
<Mon_Ouie> Strings aren't Enumerable in 1.9 though
robbyoconnor has joined #ruby
yonggu has joined #ruby
companion_ has quit [Quit: Poweroff]
cordoval has left #ruby [#ruby]
yannis has quit [Ping timeout: 245 seconds]
benyarb has quit [Ping timeout: 245 seconds]
companion_ has joined #ruby
pygospa has quit [Disconnected by services]
pygospa has joined #ruby
broadcast has joined #ruby
looopy has quit [Remote host closed the connection]
jwbuurlage has joined #ruby
Morkel has joined #ruby
Morkel has quit [Client Quit]
mengu has quit [Remote host closed the connection]
silky__ has quit [Ping timeout: 246 seconds]
abstrusenick has quit [Remote host closed the connection]
nixmaniack has joined #ruby
abstrusenick has joined #ruby
<S1kx> no proper xmpp servers out there written in ruby :(
yonggu has quit [Remote host closed the connection]
jwbuurlage has quit [Quit: jwbuurlage]
yonggu has joined #ruby
muneeb has joined #ruby
n1x has quit [Ping timeout: 245 seconds]
shevy2 has joined #ruby
nixmaniack has quit [Ping timeout: 256 seconds]
muneeb has left #ruby [#ruby]
Foxandxss has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
cousine has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 260 seconds]
shadowcat_ has quit [Quit: shadowcat_]
<shevy2> S1kx time to go back to the roots... write one! :)
silky__ has joined #ruby
jjj has joined #ruby
<S1kx> yeah maybe as bachelor thesis :)
fgwaegeawgfwa has joined #ruby
Gavilan has quit [Ping timeout: 245 seconds]
seanstickle has joined #ruby
<shevy2> hehe
shevy2 is now known as shevy
bashdy has quit [Quit: bashdy]
binaryplease has quit [Quit: WeeChat 0.3.7]
vjt has joined #ruby
jjj has quit [Quit: Lost terminal]
ddv has joined #ruby
td123 has joined #ruby
steampunkey has joined #ruby
<steampunkey> you know when using rails' ActiveRecord how you can have a series of method calls, where each returns an object, and only when you try to dereference the thing is the resulting SQL statement executed, and result returned? how do you do that?
sepp2k has quit [Read error: Connection reset by peer]
<seanstickle> steampunkey: look up "fluent interface"
pac1 has joined #ruby
<seanstickle> Also "method chaining"
bluOxigen has joined #ruby
<seanstickle> Which is the core notion behind a fluent interface
mengu has joined #ruby
<seanstickle> Very handy
TheHunter_1039 has joined #ruby
yankov has joined #ruby
<steampunkey> seanstickle: thanks for the definitions (and naming), but i'm really interested in implementation
ph^ has quit [Remote host closed the connection]
test34- has joined #ruby
test34- has quit [Changing host]
test34- has joined #ruby
<steampunkey> do where methods return objects similar (or derived from) strings?
<seanstickle> If you're interested in the implementation, read some wikipedia articles on method chaining
<seanstickle> It's trivial stuff
test34 has quit [Ping timeout: 250 seconds]
<shevy> never heard the term "fluent interface" so far
<seanstickle> shevy: oh, it's lovely!
<seanstickle> I bet shevy2 has heard of it
arturaz has quit [Ping timeout: 260 seconds]
<steampunkey> it's like you don't understand what i'm asking
<steampunkey> i'm aware of what it is, and i know how it's done - all but evaluation at the end. the example on the wikipedia assumes a terminal method that returns (well, prints) a string. obviously, ActiveRecord doesn't use one
<steampunkey> my assumption is that AcriveRecord quacks like a string. am i correct?
<seanstickle> No.
<seanstickle> You are quite wrong.
deobald__ has joined #ruby
<steampunkey> seanstickle: go on.
niklasb has joined #ruby
<seanstickle> steampunkey: it's an ActiveRelation
<seanstickle> The source is online and pretty easy to read.
<seanstickle> Recommended.
choffstein has joined #ruby
ping-pong has quit [Ping timeout: 245 seconds]
<steampunkey> seanstickle: oh. sry. obviously, quacks like a record, not a string.
<seanstickle> What's a record?
<shevy> a dead duck
<seanstickle> Ha
<shevy> steampunkey, I guess the chained methods must return something that can be used for the next method to work on
abstrusenick has quit [Remote host closed the connection]
abstrusenick has joined #ruby
<steampunkey> seanstickle: a polymorphic structure
<steampunkey> *type
abstrusenick has quit [Remote host closed the connection]
<steampunkey> shevy: yes. and it needs to quack like an AcriveRelation apparently.
yonggu_ has joined #ruby
<shevy> what a picky duckling
<steampunkey> shevy: you know what they say, fool me once, shame on you, fool me twice, you can't fool me again.
<shevy> a shameful duck
<shevy> after every quack comes a minute of shame
<shevy> then someone goes whack on the duck and the duck feels lame
<horseman> shevy: u r such strange man
<seanstickle> Shevy is no man. He is a Ruby machine.
<shevy> horseman but it's you with the pr0n links not me!!!
yonggu has quit [Ping timeout: 244 seconds]
<shevy> I'd only link in images of PHP coders
sbanwart has quit [Ping timeout: 252 seconds]
<shevy> wanna see some? :>
<horseman> shevy: i wan tto flatten u
<steampunkey> wait a sec...
ZachBeta has joined #ruby
cousine has joined #ruby
ping-pong has joined #ruby
mneorr has joined #ruby
<steampunkey> that's not the end of it. question remains: how do you know when to execute a query? how do you know when one is trying to use your ActiveRelation, not just pass it to the next method in the chain?
<graspee> i don't think you should execute queries
<graspee> i'm in favour of life imprisonment instead
cousine has quit [Remote host closed the connection]
<graspee> it costs the state more money but it deals with the problem of miscarriage of justice
<steampunkey> does anyone know?
<seanstickle> steampunkey: when you enumerate
<seanstickle> steampunkey: unless you're enumerating, it just returns an arel object
<seanstickle> graspee: and life imprisonment costs less, as it happens
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
robbyoconnor has quit [Changing host]
robbyoconnor has joined #ruby
<graspee> is this counting getting the query to sew mailbags while imprisoned or something?
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
ramblex has quit [Ping timeout: 250 seconds]
robbyoconnor has joined #ruby
<steampunkey> seanstickle: so it executes it when each method is called.
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
<steampunkey> graspee: how costly can a 0 star hotel be?
robbyoconnor has quit [Read error: Connection reset by peer]
<seanstickle> steampunkey: each, or all, or count, or some other ones
<steampunkey> seanstickle: *nods* thanks mate.
test34- has quit [Ping timeout: 245 seconds]
ph^ has joined #ruby
robbyoconnor has joined #ruby
<graspee> great, now i'm thinking of the message despatch queue as death row
robbyoconnor has quit [Read error: Connection reset by peer]
mneorr has quit [Remote host closed the connection]
<graspee> who is the receiver of this message? I'm setting self to .... YOU! noes! arg!
robbyoconnor has joined #ruby
<graspee> and here is the priest to read you the last parameters
<steampunkey> graspee: go do smth useful, shoo.
<graspee> charming
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
<musee> -_-
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
platzhirsch1 has left #ruby [#ruby]
lkba has quit [Ping timeout: 260 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
steampunkey has left #ruby [#ruby]
robbyoconnor has quit [Read error: Connection reset by peer]
paxcoder has joined #ruby
robbyoconnor has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
ronniy has joined #ruby
schaerli has quit [Remote host closed the connection]
robbyoconnor has quit [Read error: Connection reset by peer]
ramblex has joined #ruby
robbyoconnor has joined #ruby
ddv has quit [Quit: *poof*]
advorak has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
chmac has joined #ruby
advorak has quit [Client Quit]
robbyoconnor has quit [Read error: Connection reset by peer]
<chmac> Can anyone share with me the if then else syntax in ruby that I could use in a puppet .erb template?
robbyoconnor has joined #ruby
<chmac> I'm a php / bash fella, not familiar with these gemstone languages... :-)
noyb has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
<shevy> chmac no idea about .erb, in straight ruby code it is
<shevy> if condition
<shevy> do_this
<shevy> else
<shevy> do_that
<shevy> end
<shevy> .erb probably uses some crazy <? thing. which I hate.
<seanstickle> <%
<chmac> shevy: Ok, great, thanks, no braces or anything. .erb is <% %>
robbyoconnor has quit [Read error: Connection reset by peer]
lkba has joined #ruby
<shevy> that is even uglier
<shevy> PHP is a curse upon the world :(
dhruvasagar has joined #ruby
<shevy> WHO IS WITH ME!
mpereira has joined #ruby
Axsuul has quit [Ping timeout: 252 seconds]
Axsuul has joined #ruby
ZachBeta has quit [Read error: Connection reset by peer]
<mil-> Php serves its purpose, what is the alernative...
pastjean has quit [Remote host closed the connection]
ZachBeta has joined #ruby
<shevy> ruby!
mikeycgto has joined #ruby
<shevy> if I would ever write a scripting language, I would model it similar to ruby in syntax, but simplified, and with the goal to dethrone php from the www
<mil-> I guess, you can kind of do that with CGI now I think?
<mil-> I guess, you can kind of do that with CGI now I think?
<seanstickle> With Rack, you can write Ruby pretty trivially in place of PHP.
<seanstickle> No need for cgi
* Hanmac write his server in C
ph^ has quit [Remote host closed the connection]
<shevy> mil- .cgi is unfortunately too limited IMHO
<shevy> the default error message is just non-existing. "Internal server error"... how should anyone debug that
prtksxna has joined #ruby
mickn has joined #ruby
<Hanmac> "500 Internal Server Error" means: i was too lazzy, to do it correct
fbernier has quit [Ping timeout: 246 seconds]
mnaser has joined #ruby
mnaser has quit [Changing host]
mnaser has joined #ruby
schaerli has joined #ruby
defendguin has joined #ruby
cirwim has joined #ruby
cirwim has quit [Client Quit]
kil0byte has joined #ruby
ph^ has joined #ruby
<shevy> Hanmac lots of errors can happen
<shevy> with .php you get the error displayed that moment
<shevy> with default ruby cgi you have to look through logs, or you have to use that cgi extension
prtksxna has quit [Remote host closed the connection]
krusty_ar has quit [Remote host closed the connection]
<shevy> but cgi is kinda dead :(
<shevy> I remember the good old perl .cgi scripts... around 1997-2001 for browsergames
brngardner has joined #ruby
<seanstickle> We don't need CGI. We have Rack. Come on guys! :)
nfk has quit [Read error: Connection reset by peer]
defendguin has left #ruby [#ruby]
keanehsiao has joined #ruby
tomku has quit [Read error: Connection reset by peer]
Poapfel has quit [Quit: NameError: undefined local variable or method `quit' for main:Object]
tomku has joined #ruby
Poapfel has joined #ruby
Poapfel has quit [Client Quit]
dkissell_ has joined #ruby
test34 has joined #ruby
test34 has quit [Changing host]
test34 has joined #ruby
nfk has joined #ruby
<keanehsiao> anybody know how to do replica with mysql in rails?
dkissell has quit [Ping timeout: 248 seconds]
dkissell_ is now known as dkissell
deobald__ has quit [Ping timeout: 260 seconds]
tomb__ is now known as tomb_
test34- has joined #ruby
test34- has quit [Changing host]
test34- has joined #ruby
test34 has quit [Ping timeout: 260 seconds]
liluo has quit [Remote host closed the connection]
chmac has quit [Remote host closed the connection]
<Tasser> keanehsiao, #rubyonrails
<keanehsiao> ok.. thanks
<horseman> Tasser: hey there, how's things
<Tasser> nothing specific
visof has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
Spaceghostc2c is now known as CombatWombat
Poapfel has joined #ruby
iocor has quit [Quit: Computer has gone to sleep.]
mneorr has joined #ruby
<shevy> seanstickle as far as I know, one has to conform to the rack way in order to write anything
<shevy> that lambda thing
<seanstickle> Which requires you to write a method called application that takes one argument (environment) and returns one array with 3 elements (a number, a hash, and an enumerable)
<shevy> with good old .cgi I just output that \n\r+string and off we go
<seanstickle> I know, so difficult!
<shevy> yes. it is harder than .cgi
ryanf has joined #ruby
<seanstickle> It is literally easier than falling off a bicycle
<shevy> you argue that it is easier than .cgi
<seanstickle> CGI is more difficult than falling off a bicycle
<seanstickle> By transitive property...
<seanstickle> Rack is easier than CGI
<seanstickle> :P
<CombatWombat> Dude, I love racks.
td123 has quit [Ping timeout: 246 seconds]
<shevy> :P
<shevy> CombatWombat, what if they don't come in pairs of two but only one?
choffstein has quit [Read error: Connection reset by peer]
<CombatWombat> shevy: Then I'll love the rack bequeathed me.
<shevy> hehe
<shevy> you'd marry an amazon too...
dekroning has joined #ruby
ph^ has quit [Remote host closed the connection]
ph^ has joined #ruby
tk___ has quit [Quit: ばいばい]
choffstein has joined #ruby
clintnewsom has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
dhaskew has joined #ruby
ph^ has quit [Ping timeout: 260 seconds]
arturaz has joined #ruby
<keanehsiao> hi. anyone can make Octopus gem to run with rails 3.2?
<keanehsiao> I saw some tickets from github.. but it seems haven't solve yet..
* shevy moves a tentacle.
<shevy> Give! Me! My! Leg! Back!
scb has joined #ruby
gtuckerkellogg has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
shevy is now known as octopus
<octopus> be nice to octopus
dekroning has quit [Ping timeout: 250 seconds]
* seanstickle prepares to make calimari
ryanf has quit [Ping timeout: 244 seconds]
<octopus> ACK
octopus is now known as shevy
<shevy> see, animals should learn how to code
<keanehsiao> octopus: XDDDD
<keanehsiao> yes… code something
mikeycgto has quit [Ping timeout: 246 seconds]
pastjean has joined #ruby
baroquebobcat has joined #ruby
iocor has joined #ruby
<shevy> hehe
bluOxigen has quit [Ping timeout: 250 seconds]
<seanstickle> Didn't you read ANKOS? Animals (and other non-living processes) do program.
<seanstickle> After a fashion.
<graspee> bees program
<graspee> they have the where is the nectar! program
<graspee> encoded in dance
petercs has quit [Quit: Leaving.]
<seanstickle> Precisement
<graspee> how about that for a dsl
<shevy> good point
adeponte has joined #ruby
<Hanmac> if you let 20 apes type on keyboard, they could generate a good program or the next Windows Version
seoaqua has joined #ruby
<seanstickle> Ba dum tish
<Hanmac> graspee: bees & nectar ar only used for information storage ... use ants for computing
<seanstickle> But seriously, Windows 8 looks quite nice.
<graspee> blah
<graspee> i don't like the style
<graspee> and i don't like the way lots of websites have been copying the look of it
<Hanmac> graspee: then you could say: "anthill inside"
<graspee> e.g. bbc.co.uk
jwbuurlage has joined #ruby
<keanehsiao> Hanmac: lol.. so Windows 9 is code by 40 apes and list as top secret in M$ ??
jwbuurlage has quit [Client Quit]
<seanstickle> The problem with Windows 8 is that no businesses will really use it.
<seanstickle> Not that that will affect the license sales much, since they come with downgrade rights
adeponte has quit [Remote host closed the connection]
<Hanmac> seanstickle: the free version of VisualStudio cant make console apps :P
mikeycgto has joined #ruby
mikeycgto has quit [Changing host]
mikeycgto has joined #ruby
<seanstickle> I didn't realize there was a free version of VisualStudio to begin with, so no loss to me.
<shevy> that is really unfair from microsoft
baroquebobcat has quit [Quit: baroquebobcat]
seoaqua has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
fbernier has joined #ruby
<graspee> hanmac is that just the beta though?
cha1tanya has quit [Ping timeout: 246 seconds]
<graspee> or is the full fledged express version of the new one?
KL-7 has joined #ruby
virunga has joined #ruby
<Hanmac> graspee: its the free version of VS11
<graspee> final release?
<shevy> can ruby be used?
<shevy> for default apps on win 8
visof has quit [Quit: Leaving]
visof has joined #ruby
<graspee> honestly the only people with win8 will be pirates and people who bought a new computer
<visof> how can i find the last word in the string?
<seanstickle> shevy: for Windows or WinRT?
<seanstickle> shevy: WinRT no. Windows yes.
<visof> not using split
dhaskew_ has joined #ruby
dhaskew has quit [Read error: Connection reset by peer]
dhaskew_ is now known as dhaskew
<graspee> there will be no reason to get win8 for games because they won't make games run on win8 only, it would be commercial suicide
dhaskew has quit [Read error: Connection reset by peer]
<seanstickle> visof: string.scan(/\s\w+$/)
<graspee> the same for new visual studio or new office
dhaskew has joined #ruby
khakimov has joined #ruby
<seanstickle> graspee: Why would something only run on Windows 8? Microsoft does backwards compatibility.
<seanstickle> graspee: with the exception of WinRT
<seanstickle> If it runs on Win7, it'll run in Win8
icooba has joined #ruby
dhaskew has quit [Read error: Connection reset by peer]
dhaskew has joined #ruby
<graspee> omg it's worse than you said, hanmac
<graspee> not only can you not make console apps with vs11 express, you can't make desktop gui apps either. all you can make is metro apps
<graspee> what a sneaky way to get more stupid metro apps on the market
areil has quit [Read error: Connection reset by peer]
<fgwaegeawgfwa> graspee: Anyway, the IDE won't support them, but the compiler will surely do...
<seanstickle> You can still use gcc :)
thone has joined #ruby
<graspee> ofc you can but it's still shocking
<graspee> it almost amounts to ms doing a 180 on having a free version of visual studio
test34 has joined #ruby
test34 has quit [Changing host]
test34 has joined #ruby
sterNiX has joined #ruby
sterNiX has quit [Changing host]
sterNiX has joined #ruby
test34- has quit [Ping timeout: 260 seconds]
<fgwaegeawgfwa> graspee: I don't think the objective is removing the free version, but "promoting" metro apps....
<graspee> no-one cares about metro apps though
<graspee> ms made a stupid error with metro
<fgwaegeawgfwa> graspee: Microsoft wants ppl to care... Because it's heavyly gambling in Windows Phone...
<graspee> metro is fine for a phone
<seanstickle> Maybe nice for a tablet too
<graspee> but putting it in windows 8 was a mistake that will make windows ME look like a hiccup
rippa has joined #ruby
<seanstickle> For a desktop, I find it spiteful
<fgwaegeawgfwa> graspee: The target is "noob" users... And I'm pretty sure they'll like it...
thone_ has quit [Ping timeout: 252 seconds]
<graspee> they'll like it if they got it free
<fgwaegeawgfwa> It's a bad thing for developers, but a good thing for users....
azm has quit [Ping timeout: 245 seconds]
<seanstickle> I'm not sure it's good for users either
cha1tanya has joined #ruby
<fgwaegeawgfwa> seanstickle: All the people used to say the same thing for the Microsoft Office Ribbon, and I think that most ppl nowdays love it...
<seanstickle> The ribbon was also substantially revised between 2007 and 2010
<seanstickle> And me saying I am not sure it is good for users is not the same as me saying I am sure it is bad for users.
<graspee> i don't see how metro is a good thing for users
<fgwaegeawgfwa> graspee: It's easier for dumb users...
<fgwaegeawgfwa> And the Windows Phone and the Windows 8 will look exactly the same...
<fgwaegeawgfwa> So they only need to learn 1 thing...
azm has joined #ruby
azm has quit [Changing host]
azm has joined #ruby
rushed has quit [Quit: rushed]
mickn has quit [Quit: Leaving]
wallerdev has joined #ruby
mneorr has quit [Remote host closed the connection]
jondot_ has joined #ruby
ZachBeta has joined #ruby
Eldariof59-ru has joined #ruby
amalvagomes has joined #ruby
<shevy> somehow the way how I arrange things into files is slowly beginning to confuse me
ping-pong has quit [Ping timeout: 252 seconds]
javos has joined #ruby
ryanf has joined #ruby
bier has quit [Ping timeout: 244 seconds]
tayy has joined #ruby
azm has quit [Ping timeout: 256 seconds]
<graspee> how many people will use a windows phone though?
<seanstickle> Possibly not enough to keep them in business.
tayy has quit [Remote host closed the connection]
<seanstickle> I predict Windows Phone is discontinued in 2 years.
<seanstickle> Much like Zune.
mohits has quit [Ping timeout: 246 seconds]
ping-pong has joined #ruby
ObjLn has joined #ruby
wallerdev has quit [Quit: wallerdev]
ObjLn has left #ruby [#ruby]
<horseman> seanstickle: i doubt that, have you seen the reviews on nokia lumia? everyone seems to love it
<seanstickle> I stand by my prediction.
<horseman> seanstickle: also --------- from a developer perspective, i think ppl would rather write code in C# than fucking java, any day.
<seanstickle> And DECs are great minicomputers. :)
mneorr has joined #ruby
<horseman> not sure what you're talking about, but windows phone looks good IMO and will probably provide a good developer experience, i think it will be successful
<horseman> imn fact im looking forward to coding some C# for it :)
bier has joined #ruby
<seanstickle> I believe you.
<seanstickle> It will fail in 2 years.
<seanstickle> Although it might return as an Android mod
<horseman> seanstickle: do oyu have any reason for thinking it will fail other than gut instinct ? :)
<seanstickle> Nope.
<shevy> C# wont enter hipster. it'll always be a corporate language
<horseman> seanstickle: so your'e a clairvoyant?
jwbuurlage has joined #ruby
<horseman> :P
snearch has joined #ruby
<seanstickle> No, I believe we just agreed it was gut instinct.
<seanstickle> Clairvoyance is a psychic power which I make no claim of.
jwbuurlage has quit [Client Quit]
ananthakumaran1 has quit [Quit: Leaving.]
dbgster has joined #ruby
clintnewsom has quit [Quit: clintnewsom]
emet has joined #ruby
jgrevich has joined #ruby
<horseman> seanstickle: ok, so let's reword your claim to "i think it will fail" instead of what you said which was "it will fail.." :)
digitalcakestudi has joined #ruby
* seanstickle shrugs
<seanstickle> All claims are so predicated.
<seanstickle> With the exception of some mathematical knowledge perhaps.
dekroning has joined #ruby
gonzy has joined #ruby
<shevy> TIOBE is my clairvoyant
gonzy has left #ruby [#ruby]
<shevy> C rules.
mucker has joined #ruby
<shevy> but Java is a good second
<shevy> then comes a gap, before we have C++, Obj-C and C#
<graspee> it's a dull site with no javascript enabled ;)
<shevy> then another gap with PHP and (wtf...) (Visual) Basic
<seanstickle> And, as we know from TIOBE, APL is more popular than Scala!
<shevy> die Visual Basic, die!
<seanstickle> Which is true and I love that it is true.
<shevy> :)
<graspee> i'm not bothered by whether the languages i like are popular
<shevy> scala is extremely hyped
<shevy> rank 46 seems wrong though
schovi has quit [Remote host closed the connection]
sepp2k has joined #ruby
<shevy> but man, erlang rank 44... what is that
alem0lars has joined #ruby
<horseman> im really surprised obj-c is 4th
<seanstickle> graspee: you are a finer, nobler, more profound spirit than we
<graspee> why would you be bothered though? i don't understand
<shevy> http://langpop.com/ would have been nicer
<graspee> unless your language is in danger of dying out through non-support or something
<shevy> graspee, new coders are the blood of any programming language
<seanstickle> graspee: who said you were bothered?
<shevy> once a language hits stagnation, it will fade away slowly
<seanstickle> graspee: you're the one claiming the special nobility of spirit
<shevy> it takes decades for it to die, but it's a sad process to watch
<graspee> you've got it backwards
<shevy> it was a trend to write perl cgi scripts in 1999!
<graspee> it was you who claimed i had a noble spirit of something
<shevy> today, flash kinda of killed the old browsergames :(
<shevy> (and also dumbed them down)
<shevy> or HTML5 nowadays
ryanf has quit [Ping timeout: 244 seconds]
tomzx has joined #ruby
<graspee> flash is dead on linux
<graspee> that bothers me
<shevy> what I dont understand is why there are no browsergames in ruby on rails
<dekroning> shevy: send me those pictures
<seanstickle> Flash is dead everywhere.
<seanstickle> It just walks like a revenant
<shevy> dekroning :(
<graspee> hardly
<graspee> flash is extremely widely used
<shevy> I really liked it when games were not that easy to master
<graspee> how can you say it's dead?
nowthatsamatt has joined #ruby
jwbuurlage has joined #ruby
<shevy> people used their brains more
<seanstickle> graspee: maybe look up the word revenant?
<shevy> but flash really changed the whole scene
<graspee> i give up talking to you
ryanf has joined #ruby
nowthatsamatt has left #ruby [#ruby]
<shevy> perhaps some new game-types came up, but definitely older, more complicated games died out
<seanstickle> graspee: you are learning :)
<shevy> I need a freeze button
<shevy> so that the internet no longer changes at all when clicked
kaneda_ has quit [Quit: Leaving]
xbayrockx has joined #ruby
<javos> i wonder why there aren't any really popular browser games outside of the facebook environment… or are there?
<graspee> it's funny how a couple of people can spoil a whole channel
graspee has left #ruby ["pfft"]
<shevy> javos, no idea honestly
<shevy> I must admit, I dont really know what happens on or through facebook
<seanstickle> Dang, did grasp just spoil the whole channel?
<shevy> I tried one of those new browser games
<javos> well, there's farmville… not a particularly good game but it's popular as hell
<shevy> you kinda of build up your castle slowly, make more buildings ... but after 2 weeks, there was not anything that really made my brain think... or anything interesting happening
<shevy> in the old days, I insulted people, then logged in and was spell up and zeroed on resources and died. but it was fun
<shevy> k will have a look javos
<shevy> a friend showed me some smurf-game on his smartphone... :\ funny graphics... but how stupid can that be... or then that game where you... maintain a garden (??????)
jjjj has joined #ruby
<seanstickle> Games need to be triumphs of the intellect?
<shevy> oh gah
<shevy> it requires facebook account? :(
<shevy> seanstickle I like these more!
kaneda has joined #ruby
<shevy> where players are not spoon fed every solution
kaneda is now known as Guest59200
stockholm has quit [Ping timeout: 252 seconds]
jondot_ has quit [Quit: Leaving]
<javos> yup, that's my point… you need to be on facebook to play the only really popular game (imho) and you can only play it ON facebook
dekroning has quit [Ping timeout: 246 seconds]
xiaotian has joined #ruby
<shevy> :(
alem0lars has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
wallerdev has joined #ruby
stockholm has joined #ruby
sbanwart has joined #ruby
mil- has quit [Remote host closed the connection]
keanehsiao has quit [Quit: keanehsiao]
blast_hardcheese has quit [Ping timeout: 265 seconds]
companion_ has quit [Quit: Poweroff]
visof has quit [Ping timeout: 246 seconds]
ryanf has quit [Ping timeout: 265 seconds]
companion_ has joined #ruby
blast_hardcheese has joined #ruby
er1c_ has quit [Quit: WeeChat 0.3.4]
jwbuurlage has quit [Quit: jwbuurlage]
Targen has quit [Read error: Connection reset by peer]
pac1 has quit [Remote host closed the connection]
kloeri has quit [Read error: Operation timed out]
Targen has joined #ruby
kloeri_ has joined #ruby
er1c_ has joined #ruby
ZachBeta has quit [Read error: Connection reset by peer]
Freelancer has joined #ruby
ZachBeta has joined #ruby
kloeri_ has quit [Read error: Connection reset by peer]
Urth|Away is now known as Urthwhyte
kloeri has joined #ruby
ph^ has joined #ruby
Chryson has joined #ruby
kloeri has quit [Read error: Connection reset by peer]
kloeri has joined #ruby
cha1tanya has quit [Ping timeout: 248 seconds]
ageha has joined #ruby
<ageha> hi
<Urthwhyte> Is the weird languge popularity war over? Is it safe to come back?
cha1tanya has joined #ruby
<seanstickle> Haha
<offby1> pff
<offby1> this is IRC, dude; language wars etc are all we have
<Urthwhyte> At least we can all agree on which text editor is best
itnomad has joined #ruby
<offby1> thank God for that
broadcast has quit [Quit: Leaving...]
<seanstickle> Fuck yeah.
<seanstickle> ed forever!
dbgster has quit [Quit: dbgster]
<Urthwhyte> you mean zcat
<seanstickle> haha
kloeri has quit [Read error: Connection reset by peer]
kloeri has joined #ruby
b1rkh0ff has quit [Ping timeout: 244 seconds]
broadcast has joined #ruby
<Urthwhyte> I do feel like all the Ruby I right nowadays is glue code though
<Urthwhyte> all on the front end now :(
<Freelancer> hej
<Freelancer> If I require_relative('file'), shouldn't I be able to call methods defined in 'file' from my main class?
<offby1> I think you'd want to "include TheModule" in your class
<offby1> to get that mixin action happenin'
<Urthwhyte> ^^
kloeri has quit [Read error: Connection reset by peer]
kloeri has joined #ruby
<Freelancer> uh okay
<Freelancer> I'll try this =)
<horseman> shevy: can u translate something from german to english for me?
itnomad has quit [Quit: Leaving]
<samuelkadolph> I hear they have a website for that
<samuelkadolph> For a few thousand
<samuelkadolph> Or*
<shevy> horseman I hate german
broadcast has quit [Quit: Leaving...]
<horseman> shevy: "krass ey sucht auf google nach geile geld schleuder"
<horseman> pls
abstrusenick has joined #ruby
<shevy> lol
<horseman> samuelkadolph: the translation websites didnt do a good job with this one
kloeri has quit [Read error: Connection reset by peer]
<shevy> "cool ey, search via google for great money maker" # or rather, something that makes a lot of money
<shevy> horseman but I think this is more viral marketing for a scam
kloeri has joined #ruby
<horseman> oh haha
<shevy> it's some site that promises making a lot of money from home, without much effort
schaerli has quit [Remote host closed the connection]
b1rkh0ff has joined #ruby
<shevy> but it reminds me of something else
ianbishop has quit [Ping timeout: 240 seconds]
<shevy> die Eierlegende Wollmilchsau
<shevy> Hanmac will know what this is :)
vitoravelino is now known as vitoravelino`afk
igotnolegs has joined #ruby
mdw has joined #ruby
schovi has joined #ruby
kloeri has quit [Read error: Connection reset by peer]
kloeri has joined #ruby
akem has quit [Read error: Connection reset by peer]
azm has joined #ruby
azm has quit [Changing host]
azm has joined #ruby
twock has joined #ruby
vitoravelino`afk is now known as vitoravelino
kloeri has quit [Read error: Connection reset by peer]
kloeri has joined #ruby
ageha has quit []
Sgeo has quit [Ping timeout: 245 seconds]
one8zero has joined #ruby
dan789 has joined #ruby
kloeri has quit [Quit: leaving]
hamfz_ has joined #ruby
billiamii has joined #ruby
sv-- has joined #ruby
<sv--> hi
schaerli has joined #ruby
schaerli has quit [Remote host closed the connection]
<shevy> sv-- hi
<shevy> sv-- sv++
akem has joined #ruby
one8zero has quit [Client Quit]
<sv--> i'm trying to send ctrl+break to some cisco device (via linux's cu)? but i'm unable to figure out how to send that sequence via ruby.. is there an easy way to just send break (as in telnet's 'send brk') ?
schovi has quit [Read error: Connection reset by peer]
schovi has joined #ruby
Sgeo has joined #ruby
havenn has quit [Remote host closed the connection]
schovi has quit [Read error: Connection reset by peer]
hamfz_ has quit [Ping timeout: 246 seconds]
mdw has quit [Ping timeout: 246 seconds]
kloeri has joined #ruby
schovi has joined #ruby
wallerdev has quit [Quit: wallerdev]
jjjj has left #ruby [#ruby]
akem has quit [Read error: Connection reset by peer]
<Urthwhyte> just shell out?
<sv--> yep
adambeynon has quit [Quit: adambeynon]
mikepack has joined #ruby
<Hanmac> shevy: read https://blog.fefe.de/
<sv--> nice try honey
ukwiz has quit [Quit: Leaving]
sterNiX has quit [Ping timeout: 252 seconds]
ZachBeta has quit [Quit: Computer has gone to sleep.]
akem has joined #ruby
jwbuurlage has joined #ruby
banghouse has joined #ruby
sterNiX has joined #ruby
broadcast has joined #ruby
broadcast has quit [Remote host closed the connection]
ank has quit [Quit: ank]
akem has quit [Read error: Connection reset by peer]
sterNiX has quit [Read error: Connection reset by peer]
CheeToS has joined #ruby
ddv has joined #ruby
blast_hardcheese has quit [Ping timeout: 244 seconds]
choffstein has quit [Read error: Connection reset by peer]
kaspernj has quit [Ping timeout: 246 seconds]
kaspernj has joined #ruby
akem has joined #ruby
niklasb has quit [Ping timeout: 248 seconds]
bbttxu has joined #ruby
khakimov has quit [Ping timeout: 245 seconds]
amacgregor_osx has quit [Remote host closed the connection]
choffstein has joined #ruby
akem has quit [Read error: Connection reset by peer]
yankov has quit [Ping timeout: 265 seconds]
francisfish has joined #ruby
pduersteler has joined #ruby
dhaskew has quit [Read error: Connection reset by peer]
dhaskew has joined #ruby
dhaskew_ has joined #ruby
dhaskew has quit [Read error: Connection reset by peer]
dhaskew_ is now known as dhaskew
khakimov has joined #ruby
francisfish has quit [Remote host closed the connection]
nkbuff has joined #ruby
baroquebobcat has joined #ruby
nkbuff has left #ruby [#ruby]
baroquebobcat has quit [Client Quit]
abstrusenick has quit [Quit: abstrusenick]
khakimov has quit [Ping timeout: 252 seconds]
akem has joined #ruby
cha1tanya has quit [Quit: Leaving]
akem has quit [Changing host]
akem has joined #ruby
khakimov has joined #ruby
td123 has joined #ruby
tayy has joined #ruby
jwbuurlage has quit [Quit: jwbuurlage]
davidcelis has quit [Quit: K-Lined]
akem has quit [Read error: Connection reset by peer]
Jackneill has quit [Read error: Connection reset by peer]
Urthwhyte is now known as Urth|Away
perryh is now known as perryh_away
yankov has joined #ruby
pac1 has joined #ruby
mdw has joined #ruby
pduersteler has quit [Quit: Verlassend]
visof has joined #ruby
fbernier has quit [Read error: Connection reset by peer]
mneorr_ has joined #ruby
akem has joined #ruby
mdw_ has joined #ruby
mucker has quit [Quit: leaving]
mdw has quit [Ping timeout: 260 seconds]
mneorr has quit [Ping timeout: 260 seconds]
Eldariof27-ru has joined #ruby
banghouse is now known as banghouseAFK
bosphorus has quit [Remote host closed the connection]
akem has quit [Read error: Connection reset by peer]
Jay_Levitt has joined #ruby
Eldariof59-ru has quit [Ping timeout: 256 seconds]
xiaotian has quit [Quit: Computer has gone to sleep.]
dan789_ has joined #ruby
blacktulip has joined #ruby
dan789 has quit [Read error: Connection reset by peer]
dan789__ has joined #ruby
berserkr has quit [Quit: Leaving.]
fbernier has joined #ruby
test34 has quit [Quit: left]
GuidovanPossum has joined #ruby
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
davidcelis has joined #ruby
davidcelis has quit [Changing host]
davidcelis has joined #ruby
dan789__ has quit [Client Quit]
rand1374 has joined #ruby
dan789_ has quit [Ping timeout: 245 seconds]
mdw_ has quit [Remote host closed the connection]
awhamblin has joined #ruby
test34 has joined #ruby
test34 has quit [Changing host]
test34 has joined #ruby
brngardner has quit [Remote host closed the connection]
Freelancer has quit [Quit: The computer fell asleep]
awhamblin has quit [Remote host closed the connection]
akem has quit [Read error: Connection reset by peer]
blast_hardcheese has joined #ruby
blast_hardcheese has quit [Changing host]
blast_hardcheese has joined #ruby
indian has joined #ruby
dbgster has joined #ruby
paxcoder has quit [Quit: Page closed]
sbanwart has quit [Ping timeout: 260 seconds]
<shevy> RubyOS RubyOS RubyOS ...
<shevy> os = RubyOS.new
<shevy> os.boot
Eldariof27-ru has quit []
rand1374 has left #ruby ["Leaving"]
Jay_Levitt has quit [Quit: Linkinus - http://linkinus.com]
ronniy has quit [Remote host closed the connection]
blast_hardcheese has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
akem has joined #ruby
petercs has joined #ruby
tvw has quit [Remote host closed the connection]
blast_hardcheese has joined #ruby
snearch has quit [Quit: Verlassend]
redgetan has joined #ruby
cordoval has joined #ruby
mdw has joined #ruby
luckyruby has joined #ruby
<visof> hello
wallerdev has joined #ruby
<visof> if i have [1,2,3,4,5,6,7,8,9] how can make 3 elements sub arrays [[1,2,3],[4,5,6],[7,8,9]] ??
<Mon_Ouie> Use Enumerable#each_cons
marwan_ has joined #ruby
<marwan_> test
<marwan_> ok, hi
dhaskew_ has joined #ruby
dhaskew has quit [Read error: Connection reset by peer]
dhaskew_ is now known as dhaskew
TobsCore has quit [Ping timeout: 252 seconds]
krz has joined #ruby
ipoval has quit [Quit: ipoval]
<visof> Mon_Ouie, won't do what i want
psino has quit [Changing host]
psino has joined #ruby
fr0gprince_mac has quit [Quit: Bye!]
<Hanmac> visof you are looking for the sister method each_slice
<Mon_Ouie> Yeah, mistyped it
nfk is now known as Kamijou_Touma
fr0gprince_mac has joined #ruby
<yxhuvud> it is not as if it takes a lot of code anyhow. arr.each_index {|i| arr[i,3] = [arr[i,3]]}
mnaser has quit [Remote host closed the connection]
akem has quit [Read error: Connection reset by peer]
yannis has joined #ruby
ZachBeta has joined #ruby
<Hanmac> yxhuvud: you changed the array itself, each_slice does not
<Hanmac> and each_slice is better chainable
mdw_ has joined #ruby
<yxhuvud> it also outputs an enumerator, which is not always something that is desired.
mdw_ has quit [Remote host closed the connection]
<Mon_Ouie> An enumerator can easily be turned into an Array if needed, and if it's not needed, work can be done lazily instead
sepp2k has quit [Remote host closed the connection]
<yxhuvud> it still depends on what you are using it for.
<Hanmac> the best thing you can chain enumerators together without running one interation
<yxhuvud> sometimes a destructive solution is what you want.
akem has joined #ruby
mdw has quit [Ping timeout: 265 seconds]
lantins has joined #ruby
<Hanmac> yxhuvud but you change the length of the array while iterating, with is NOT good
<yxhuvud> perhaps, but it works.
<Mon_Ouie> That's not guaranteed to work
bosphorus has joined #ruby
<bperry> I need to convert a struct uuid_t * to a VALUE in ruby C
<bperry> any thoughts?
<bperry> I don't see any easy way to do thius
javos has quit [Quit: Leaving...]
<Mon_Ouie> e.g. modifying a hash while iterating on it doesn't work on all Ruby versions
igotnolegs has quit [Quit: Computer has gone to sleep.]
CheeToS has quit [Ping timeout: 245 seconds]
<Mon_Ouie> bperry: Wrap it into some object (Data_Wrap_Struct), and define methods to access it
<bperry> cool
<burgestrand> bperry: why do you need to do that?
<bperry> thanks
<burgestrand> bperry: also, it depends on what such a value contains
imami|afk is now known as banseljaj
<bperry> so, I am working with the bluetooth protocl
<burgestrand> often you just wrap it like Mon_Ouie said
ekolocci has joined #ruby
<yxhuvud> mon: well, this is not a hash. (and the method doesn't make any sense at all in a hash)
ekolocci has left #ruby [#ruby]
<bperry> you can generate various uuids via sdp_uuid[16|32|128]_create
<bperry> so I need to be able to return a uuid_t value as a VALUE
hackeron has quit [Read error: Connection reset by peer]
zastaph has joined #ruby
xiaotian has joined #ruby
akem has quit [Read error: Connection reset by peer]
tayy_ has joined #ruby
tayy has quit [Ping timeout: 260 seconds]
flip_digits has joined #ruby
LyonJT has joined #ruby
LyonJT has quit [Client Quit]
akem has joined #ruby
TheFuzzball has quit [Remote host closed the connection]
wvms has quit [Read error: Connection reset by peer]
schovi has quit [Remote host closed the connection]
wvms has joined #ruby
scb has quit [Read error: No route to host]
benatwork has joined #ruby
akem has quit [Read error: Connection reset by peer]
tayy_ has quit [Remote host closed the connection]
TheFuzzball has joined #ruby
tvw has joined #ruby
petercs has quit [Ping timeout: 260 seconds]
kickroot has quit [Changing host]
kickroot has joined #ruby
itnomad has joined #ruby
mengu has quit [Quit: Konversation terminated!]
rdegraci has joined #ruby
akem has joined #ruby
schovi has joined #ruby
fr0gprince_mac has quit [Ping timeout: 246 seconds]
ParadoxQuine has joined #ruby
mdw has joined #ruby
akem has quit [Read error: Connection reset by peer]
<ParadoxQuine> getting "odd number list for hash" on this line: winner(do_tournament_round(game[0]), do_tournament_round(game[1]))
<ParadoxQuine> if someone could explain to me why that is, it would be much appreciated
Guest95441 is now known as Corey
mattonrails has joined #ruby
visof has quit [Ping timeout: 246 seconds]
<krz> if i wanted Time.now.utc.month to return 05 instead of 5. i would need to use strftime right?
<shevy> krz if you just want a string, you could do .to_i on the result perhaps
<shevy> oh
<shevy> you meant the other way
<shevy> '0'+Time.now.utc.month.to_s # => "05"
yxhuvud has quit [Read error: Connection reset by peer]
tmchaves has joined #ruby
<Hanmac> shevy: "%0.2d" % Time.now.utc.month
<krz> Time.now.utc.strftime('%m') looks fine :-D
<Boohbah> strftime ftw!
<Hanmac> hay nothing against strftime, its cool
javos has joined #ruby
akem has joined #ruby
akem has quit [Read error: Connection reset by peer]
tayy has joined #ruby
td123 has quit [Read error: Connection reset by peer]
ZachBeta has quit [Quit: Computer has gone to sleep.]
tayy has quit [Remote host closed the connection]
mxweas_ has joined #ruby
schovi has quit [Remote host closed the connection]
kaspernj has quit [Ping timeout: 246 seconds]
akem has joined #ruby
mxweas_ has quit [Client Quit]
test34- has joined #ruby
test34 has quit [Ping timeout: 265 seconds]
ping-pong has quit [Read error: Operation timed out]
krz has quit [Quit: krz]
krz has joined #ruby
davidcelis has quit [Quit: K-Lined]
ping-pong has joined #ruby
ddv has quit [Quit: *poof*]
luckyruby has quit [Remote host closed the connection]
redgetan has quit [Quit: This computer has gone to sleep]
mattonrails has quit [Remote host closed the connection]
<ohcibi> hi. how can i rebuild gems with bundler? i have updated my system (gentoo) and now i get some erros because it cant load some shared libs anymore... rebuilding them with gem install <gemname> -v <version> brings no luck
DDAZZA has joined #ruby
horseman has quit [Read error: Connection reset by peer]
pabloh has joined #ruby
akem has quit [Read error: Connection reset by peer]
ipoval has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
horseman has joined #ruby
flip_digits has quit [Ping timeout: 244 seconds]
dhaskew has quit [Ping timeout: 246 seconds]
Freelancer has joined #ruby
mdw_ has joined #ruby
banseljaj is now known as imami|afk
tvw has quit [Ping timeout: 244 seconds]
straind` has quit [Ping timeout: 256 seconds]
fbernier has quit [Ping timeout: 246 seconds]
Urth|Away is now known as Urthwhyte
akem has joined #ruby
mdw has quit [Ping timeout: 248 seconds]
akem has quit [Read error: Connection reset by peer]
dhaskew has joined #ruby
<ciopte7> ohcibi: Have you tried bundle update?
<ohcibi> ciopte7: that not quite what i want (rebuild != update)... i just deleted the specific gem manually from filesystem
fbernier has joined #ruby
eph3meral has joined #ruby
fbernier has quit [Read error: Connection reset by peer]
Sgeo has quit [Read error: Connection reset by peer]
azm has quit [Ping timeout: 252 seconds]
Sgeo has joined #ruby
stewart_ has joined #ruby
stewart_ has left #ruby [#ruby]
test34 has joined #ruby
test34 has quit [Changing host]
test34 has joined #ruby
robdodson has joined #ruby
akem has joined #ruby
wvms has left #ruby [#ruby]
akem has quit [Read error: Connection reset by peer]
test34- has quit [Ping timeout: 260 seconds]
ipoval has quit [Ping timeout: 260 seconds]
ipoval has joined #ruby
wvms has joined #ruby
davidcelis has joined #ruby
fbernier has joined #ruby
icooba has quit [Quit: icooba]
DDAZZA has quit [Remote host closed the connection]
good_afternoon has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
azm has joined #ruby
azm has quit [Changing host]
azm has joined #ruby
emet has quit [Ping timeout: 244 seconds]
fbernier has quit [Ping timeout: 246 seconds]
mneorr_ has left #ruby [#ruby]
cousine has joined #ruby
akem has joined #ruby
<marwan_> hi
<marwan_> i need help
akem has quit [Read error: Connection reset by peer]
<marwan_> help
c0rn has joined #ruby
mdw has joined #ruby
<marwan_> help guys
mdw_ has quit [Ping timeout: 246 seconds]
t0mmyvyo has quit [Quit: http://twitter.com/tommyvyo]
indian has quit [Ping timeout: 248 seconds]
t0mmyvyo has joined #ruby
akem has joined #ruby
cousine has quit [Remote host closed the connection]
Kamijou_Touma has quit [Quit: yawn]
<twock> hi marwan_ .
<twock> whatcha need help with?
_blackbird has joined #ruby
akem has quit [Read error: Connection reset by peer]
virunga has quit [Read error: Connection reset by peer]
andrewhl has joined #ruby
<marwan_> hi
<marwan_> yeah
<marwan_> i was installing devkit
<marwan_> and when i do ruby dk.rb init
<marwan_> i got this
mneorr has joined #ruby
Solnse has joined #ruby
<twock> I googled your error message
<twock> any help?
AlbireoX`Laptop has joined #ruby
<marwan_> oh, that seems helpful, thank u very much
cantonic has joined #ruby
<twock> no prob
manizzle has joined #ruby
twock_ has joined #ruby
ZachBeta has joined #ruby
mengu has joined #ruby
choffstein has quit [Remote host closed the connection]
KL-7 has quit [Quit: This computer has gone to sleep]
mdw has quit [Remote host closed the connection]
blacktulip has quit [Remote host closed the connection]
zinjacoder has quit [Read error: Connection reset by peer]
piotr_ has quit [Ping timeout: 246 seconds]
cordoval has left #ruby [#ruby]
sohocoke has quit [Quit: Computer has gone to sleep.]
MissionCritical has quit [Ping timeout: 244 seconds]
igotnolegs has joined #ruby
twock_ has quit [Quit: leaving]
zinjacoder has joined #ruby
Neurotic has joined #ruby
td123 has joined #ruby
harukomoto has quit [Ping timeout: 244 seconds]
friskd has joined #ruby
myndzi has joined #ruby
fbernier has joined #ruby
<myndzi> can someone explain what r = days.map(&:r) would do?
Ajacmac has quit [Ping timeout: 244 seconds]
<seanstickle> call "r" on each member of "days" and return the results in an array assigned to "r"
<myndzi> aha, okay
<myndzi> i've been having trouble tracking this mysterious 'r' .. dunno what it is yet
MissionCritical has joined #ruby
harukomoto has joined #ruby
kirun has quit [Quit: Client exiting]
_axx_ is now known as _axx
fukushim_ has quit [Quit: Leaving...]
twock_ has joined #ruby
sohocoke has joined #ruby
twock has quit [Ping timeout: 252 seconds]
Foxandxss has joined #ruby
<marwan_> gays, is Heroku is doing what phusion passenger is doing - or it is something else?
ChampS666 has joined #ruby
<marwan_> gays, is Heroku is doing what phusion passenger is doing - or it is something else?
<Tasser> marwan_, #rubyonrails
<cantonic> marwan_: do you know that gays means?
zastaph has quit []
javos has quit [Quit: Leaving...]
<cantonic> that=what
<marwan_> means mens
<marwan_> men sorry
<cantonic> marwan_: no, it means men who are homosexual
<marwan_> no that "guy"
<cantonic> marwan_: what you mean is "guys" :D
macmartine has joined #ruby
<marwan_> oh,
t0mmyvyo has quit [Quit: http://twitter.com/tommyvyo]
Freelancer has quit []
<marwan_> is Heroku is doing what phusion passenger is doing - or it is something else?
andrewhl has quit [Quit: andrewhl]
Andrew__ has joined #ruby
iocor has quit [Quit: Computer has gone to sleep.]
javos has joined #ruby
javos has quit [Client Quit]
c0rn has quit []
<burgestrand> marwan_: something else
<marwan_> ok, thanks
Andrew__ is now known as andrewhl
<shevy> hey do you like this:
<shevy> do_this if condition
<shevy> do_that otherwise
<RBV> shevy: why not if condition ? do_this : do that
sohocoke has quit [Quit: Computer has gone to sleep.]
ipoval has quit [Quit: ipoval]
<shevy> RBV I dunno, I never liked the ternary operator much
<shevy> I also dont really like my proposal either :(
good_afternoon has quit [Quit: Leaving]
jrgifford has joined #ruby
<shevy> RBV I think mostly with the ternary, it's not so much the first part that I dont like but more the second part
<shevy> classical if / else is hower way too verbose too
<shevy> if foo
<shevy> do_this
<shevy> else
<shevy> do_that
<shevy> end
<shevy> :(
<seanstickle> Yeah *way* too verbose
<seanstickle> :P
<shevy> 5 newlines man
<shevy> FIVE
<shevy> we are talking JAVAFICATION here man
<seanstickle> Nah, for Javafication you'd have to create an IfFactory
<seanstickle> Get it straight
<shevy> hehe
<shevy> ok the java version is worse...
<shevy> god, I suck
t0mmyvyo has joined #ruby
<shevy> now it's better I guess. well they can omit "end" ....
<dekz> Is there a nice way to treat an array of hash items, and a single hash item in a similar fashion (such as with Array and other objects)? So enumerating an array of hash objects and a single hash object in a similar way?
<dekz> I know there is [*items].each for a normal array or single item, but it doesn't work as nicely with hash objects
<dekz> I guess it splats out the contents of the hash which is not what I want in this case.
azm has quit [Ping timeout: 245 seconds]
<shevy> dekz can you give a short example how your array of hash items looks? like only 3 members of the array
ZachBeta has quit [Quit: Computer has gone to sleep.]
ZachBeta has joined #ruby
akem has joined #ruby
ZachBeta has quit [Client Quit]
<dekz> I'm wondering if there is a similar wrapper like Array(a) which can help treat those two cases in a similar way
yoklov has joined #ruby
<dekz> https://gist.github.com/213cce1683a5e5d25290 <-- updated to show what I mean with the Array wrapping
<shevy> hmm
<dekz> Trying to use it with the hash object causes it to splat out then become an array
<dekz> or something to that effect
<shevy> we could turn it into a hash of hashes... not sure if that would be helpful though :P
<shevy> Hash[*a] # => {{:name=>"dekz"}=>{:name=>"shevy"}
td123 has quit [Read error: Connection reset by peer]
liluo has joined #ruby
td123 has joined #ruby
sohocoke has joined #ruby
<myndzi> how about: def foo=(foo) ?
test34 has quit [Ping timeout: 272 seconds]
<myndzi> i don't know what that's called, hard to google
sohocoke has left #ruby [#ruby]
akem has quit [Read error: Connection reset by peer]
pspace has joined #ruby
noyb has joined #ruby
azm has joined #ruby
<shevy> that would be like attr_writer :foo
<myndzi> i don't know ruby, i'm trying to transcribe :)
<myndzi> but i figured it out from context
dkissell_ has joined #ruby
ChampS666 has quit [Ping timeout: 260 seconds]
<myndzi> (i have no idea what attr_writer :foo would do, heh)
<shevy> it sets a writer, a variable on a class that can be reused. @foo in this case
<shevy> for instance, cat = Cat.new
<shevy> cat.colour = 'black'
<shevy> you now have a black cat
<shevy> attr_accessor :colour
<shevy> oops
<shevy> attr_writer :colour
<shevy> that would enable it
<myndzi> i gotcha
dkissell has quit [Ping timeout: 245 seconds]
dkissell_ is now known as dkissell
<myndzi> i'm crossing my fingers this will work haha
<myndzi> i'm usually pretty good at reading even unknown code, but there were a couple things i had to wrap my head around
banghouseAFK has quit [Remote host closed the connection]
<myndzi> like .zip lol
<myndzi> funny how you use what's available to you even when there is an equally simple alternative
<myndzi> like... a loop
<shevy> yeah should work... class Cat; attr_writer :colour; end; cat = Cat.new; cat.colour = 'black'
<shevy> loops are cool in ruby
<shevy> loop { fetch_user_input }
BrianE has joined #ruby
<shevy> it needs a condition though
<shevy> but I find it more readable
<shevy> with while condition, one has the condition there
<shevy> but I like while less than loop {}
<shevy> I usually break or exit from fetch_user_input
<shevy> like exit if input is 'q' or 'quit'
<BrianE> So
<BrianE> Anyone heading to Euruko next week?
ChampS666 has joined #ruby
ponty has quit [Quit: ponty]
akem has joined #ruby
terra-and-luna has quit [Ping timeout: 260 seconds]
tdmackey has quit [Ping timeout: 260 seconds]
akem has quit [Read error: Connection reset by peer]
ramblex has quit [Quit: ramblex]
terra-and-luna has joined #ruby
tdmackey has joined #ruby
fukushima has joined #ruby
pastjean has quit [Remote host closed the connection]
eph3meral has quit [Quit: Leaving]
marwan_ has quit [Quit: Page closed]
jenrzzz-mac has joined #ruby
itnomad has quit [Read error: Connection reset by peer]
Nies has quit [Quit: Saliendo]
becom33 has joined #ruby
<becom33> hi I was looking for a good GUI tut
<becom33> but hard to find a easy one with a good lib
akem has joined #ruby
* becom33 anyone
<becom33> shevy,
akem has quit [Read error: Connection reset by peer]
rramsden has quit [Quit: leaving]
tmchaves has quit [Quit: Leaving]