cj3kim has quit [Remote host closed the connection]
io_syl_ has joined #ruby
cj3kim has joined #ruby
blarghmatey has quit [Ping timeout: 256 seconds]
Mars` has quit [Read error: Operation timed out]
YaNakilon has joined #ruby
zigomir__ has quit [Ping timeout: 276 seconds]
Mars` has joined #ruby
michaeldeol has quit [Remote host closed the connection]
tommyvyo has quit [Quit:]
lebek has joined #ruby
_veer has quit [Ping timeout: 256 seconds]
arya_ has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby
tvw has quit []
tommyvyo has joined #ruby
michaeldeol has quit [Remote host closed the connection]
pierre1 has quit [Remote host closed the connection]
arya_ has joined #ruby
jmimi has joined #ruby
lebek has quit [Client Quit]
agjacome has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
DonRichie has quit [Ping timeout: 245 seconds]
jefflyne has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
DonRichie has joined #ruby
Notte has quit [Remote host closed the connection]
sambao21 has joined #ruby
havenwood has quit [Remote host closed the connection]
scrollback has quit [Remote host closed the connection]
scrollback has joined #ruby
scrollback has quit [Remote host closed the connection]
scrollback has joined #ruby
jonahR has joined #ruby
airtonix_ is now known as airtonix
jonahR has quit [Client Quit]
agjacome_ has joined #ruby
marr has quit [Ping timeout: 240 seconds]
agjacome_ has quit [Client Quit]
lethan has joined #ruby
nbouscal has quit [Ping timeout: 248 seconds]
bradhe has joined #ruby
agjacome has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
Chat6997 has joined #ruby
<Chat6997>
Hi
sambao21 has joined #ruby
eka has joined #ruby
RobW_ has joined #ruby
Chat6997 has quit [Client Quit]
<Kelet>
Hi
<Kelet>
Bye
bradhe has quit [Ping timeout: 260 seconds]
io_syl_ has quit [Quit: Computer has gone to sleep.]
blarghmatey has joined #ruby
emergion has joined #ruby
johnkary has joined #ruby
emergion has quit [Read error: Connection reset by peer]
emergion has joined #ruby
emergion has quit [Max SendQ exceeded]
emergion has joined #ruby
emergion has quit [Max SendQ exceeded]
emergion has joined #ruby
guns has joined #ruby
emergion has quit [Max SendQ exceeded]
emergion has joined #ruby
smathieu has joined #ruby
emergion has quit [Max SendQ exceeded]
emergion has joined #ruby
sailias has quit [Read error: Connection reset by peer]
<guns>
I used to be able to monkey patch Integer#inspect for verbose feedback at the REPL, but this no longer works in 2.0. Is there a new way to accomplish this?
sailias has joined #ruby
horofox_ has joined #ruby
emergion has quit [Max SendQ exceeded]
emergion has joined #ruby
emergion has quit [Max SendQ exceeded]
smathieu has quit [Ping timeout: 276 seconds]
<guns>
Nothing seems to work: direct eval, module_eval, Integer.send :include, MyInspect
hogeo has joined #ruby
wmoxam has quit [Ping timeout: 240 seconds]
sailias has quit [Ping timeout: 246 seconds]
wmoxam has joined #ruby
iliketurtles has quit [Ping timeout: 264 seconds]
Bry8Star{T2 has quit [Remote host closed the connection]
Rylai has joined #ruby
sailias has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Bry8Star{T2 has joined #ruby
iliketurtles has joined #ruby
GeissT has joined #ruby
nitish has joined #ruby
itsdavem has joined #ruby
itsdavem has quit [Remote host closed the connection]
lebek has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
Spooner has quit [Remote host closed the connection]
Davey has joined #ruby
bklane has quit [Remote host closed the connection]
cj3kim has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
Sargun has quit [Quit: Lost terminal]
scrollback has quit [Remote host closed the connection]
scrollback has joined #ruby
lethan has quit [Remote host closed the connection]
voodoofish has quit [Read error: Connection reset by peer]
sevenseacat has joined #ruby
choobie has quit [Quit: choobie]
horofox_ has quit [Quit: horofox_]
tommyvyo has quit [Quit:]
JZTech101 has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC]
jalcine has quit [Excess Flood]
allaire has joined #ruby
kofno has joined #ruby
kofno has quit [Remote host closed the connection]
buzzybron has joined #ruby
jalcine has joined #ruby
paxcoder has joined #ruby
axeman- has joined #ruby
Meatant has joined #ruby
<paxcoder>
is there a function like File.readlines which returns integers instead of strings?
<paxcoder>
something more convenient than File.readlines("QuickSort.txt").map{|x| x.to_i()} perhaps
<paxcoder>
and no, removing "()" doesn't count :-P
<sevenseacat>
does map(&:to_i) count?
horofox_ has joined #ruby
lebek has quit [Ping timeout: 248 seconds]
tommyvyo has joined #ruby
bradhe has joined #ruby
<paxcoder>
sevenseacat, there are a lot of numbers in a file, so I was hoping it wouldn't be necessary to convert them from strings (on the surface, anyway)
eka has quit [Quit: Computer has gone to sleep.]
TIJ has quit [Ping timeout: 260 seconds]
<sevenseacat>
guess that's a no
machuga|away is now known as machuga
Guest53987 is now known as ned
sambao21 has quit [Quit: Computer has gone to sleep.]
ned is now known as Guest29225
CaptainJet has quit []
arya_ has quit [Ping timeout: 276 seconds]
Domon has joined #ruby
bradhe has quit [Ping timeout: 248 seconds]
buzzybron has quit [Read error: Connection reset by peer]
buzzybron has joined #ruby
ThePicard has quit [Ping timeout: 240 seconds]
<Columcille>
So I'm working on learning Ruby and I'm running into a question about threads I haven't been able to track down a clear answer to
<Columcille>
are Ruby threads truly asynchronous or do they just essentially simulate background processing?
<Kelet>
Columcille, I believe that depends on the implementation
<Columcille>
which if I gather right, fibers essentially take up that functionality with a bit more flexibility
sambao21 has joined #ruby
<Columcille>
but I'm trying to figure out how 1.9/2.0 does it differently; your links may provide the info.
<Kelet>
Hmm I thought 1.9 and 2.0 were largely the same
<Kelet>
and the break was between 1.8 and 1.9
* Kelet
shrugs
larissa has joined #ruby
<Columcille>
sorry, I wasn't clear
<Kelet>
I don't use threading much in Ruby explicitly so maybe someone else can chime in
Astralum has joined #ruby
<Columcille>
I mean 1.9 & 2.0 do it differently than 1.8 - I'm not sure how they do it differently.
<Columcille>
I meant 1.9/2.0 to put those two together as opposed to 1.8
RORgasm has joined #ruby
idiocrash has quit [Remote host closed the connection]
c0rn has quit [Ping timeout: 240 seconds]
kofno has quit [Remote host closed the connection]
<Columcille>
I'm learning Ruby on a pathway to learning Rails so I may never use threading but the book I'm reading is discussing it and from other coding I've done I found it interesting, was curious how Ruby pulls it off.
<Kelet>
1.8 uses Green Threads which is basically user-space emulation of multithreading (which is usually handled by the kernel, natively).
Astral_ has quit [Ping timeout: 240 seconds]
<Kelet>
1.9/2.0 use a Global Interpreter Lock, which is _different_
<havenwood>
IronRuby doesn't perform well on that one ^
<Kelet>
Oh my!
<havenwood>
(On Mono.)
sambao21 has joined #ruby
c0rn has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
<havenwood>
Crystal is crazy fast, but not *really* Ruby, just extremely similar.
Astralum has joined #ruby
<havenwood>
Kelet: MagLev is really quite fast, but still has a GIL last I checked.
tommyvyo has joined #ruby
<havenwood>
Kelet: The persistent memory store is what makes it stand out. STM with native Ruby objects.
<Kelet>
I don't mind the GIL, I've never had it noticably hinder my lightly multithreaded apps :)
bklane has joined #ruby
<Kelet>
Wow crystal looks interesting
* Kelet
adds 5 new bookmarks
ntus1017 has joined #ruby
<Kelet>
Crystal is actually quite interesting because the compiler is written in Ruby and thus is actually something I might be able to hack on during a rainy day.
<Kelet>
(Even though it's "not ruby", it still looks nice)
seraph has joined #ruby
robustus has quit [Ping timeout: 248 seconds]
<Kelet>
I guess I'm just glad to see a lot of traction made between implementations, and to see there are so many that have reasonable conformance
jozefg has joined #ruby
robustus has joined #ruby
gr33n7007h has quit [Quit: Leaving]
io_syl_ has joined #ruby
<havenwood>
Kelet: The Ruby installers/switchers really have quite good support for the lot as well.
<havenwood>
topaz and mruby haven't tagged releases yet, but really nice way to grab any version of ruby, jruby, rubinius or maglev is ruby-install: https://github.com/postmodern/ruby-install#readme
dawkirst has quit [Ping timeout: 240 seconds]
<havenwood>
mruby is another great one to keep an eye on, what Matz seems to be spending his time on
<Kelet>
I've actually got a few hobby roguelike games I'm working on in which I'm going to embed an interpreter. I was thinking Lua because it's so lightweight but I might give mruby a go.
<Kelet>
It's still in testing, but seems reasonably stable.
<Kelet>
And looks to support at least up to ruby 1.8.x judging by the expressions which can/can't run
jrhorn424 has joined #ruby
hadees has quit [Read error: Connection reset by peer]
nbouscal has joined #ruby
scrollback has quit [Remote host closed the connection]
itsdavem has joined #ruby
TheDick_ has joined #ruby
scrollback has joined #ruby
vlad_starkov has joined #ruby
TheDick has quit [Ping timeout: 240 seconds]
TheDick_ is now known as TheDick
bradhe has joined #ruby
Kruppe has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
itsdavem has quit [Ping timeout: 245 seconds]
locriani has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 248 seconds]
niklasb has quit [Ping timeout: 276 seconds]
n1x has joined #ruby
mary5030 has quit [Remote host closed the connection]
jefflyne has quit [Ping timeout: 245 seconds]
mary5030 has joined #ruby
io_syl_ has quit [Quit: Computer has gone to sleep.]
_veer has joined #ruby
Guest29225 is now known as ned
jefflyne has joined #ruby
GeekOnCoffee has joined #ruby
tommyvyo has quit [Quit:]
mary5030 has quit [Ping timeout: 260 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
maroloccio has quit [Quit: WeeChat 0.4.0]
DanKnox is now known as DanKnox_away
ssvo has joined #ruby
kofno has joined #ruby
kung has joined #ruby
asteve has joined #ruby
seraph has left #ruby [#ruby]
Alina-malina has quit [Ping timeout: 260 seconds]
CaptainJet has joined #ruby
justsee has joined #ruby
justsee has quit [Client Quit]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
hogeo has quit [Remote host closed the connection]
TheDick has quit [Quit: TheDick]
justsee has quit [Client Quit]
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
pr0ggie has quit [Ping timeout: 276 seconds]
horofox_ has quit [Quit: horofox_]
hackeron_ has quit [Read error: Operation timed out]
renderful has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 245 seconds]
seo has joined #ruby
smathieu has quit [Remote host closed the connection]
seo is now known as Guest58131
workmad3 has joined #ruby
smathieu has joined #ruby
intuxicated has quit [Ping timeout: 276 seconds]
homelinen has quit [Ping timeout: 264 seconds]
ayaz has quit [Ping timeout: 276 seconds]
klaut has joined #ruby
smathieu has quit [Ping timeout: 248 seconds]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
wesside has quit [Quit: Computer has gone to sleep.]
ffio has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
RobW_ has joined #ruby
anay has joined #ruby
RobW_ has quit [Client Quit]
Guest58131 is now known as jungjoo
sayan has joined #ruby
smathieu has joined #ruby
timonv has quit [Remote host closed the connection]
RORgasm_ has joined #ruby
KevinSjoberg has joined #ruby
anay has quit [Remote host closed the connection]
jimg has quit [Remote host closed the connection]
darth_chatri1 has joined #ruby
darth_chatri has quit [Ping timeout: 260 seconds]
codecop has joined #ruby
graph has joined #ruby
saarinen has quit [Quit: saarinen]
stkowski has quit [Quit: stkowski]
jimg has joined #ruby
aganov has joined #ruby
RORgasm_ has quit [Ping timeout: 264 seconds]
Synthead has joined #ruby
smrtz|nix has joined #ruby
Speed has joined #ruby
<smrtz|nix>
I'm trying to follow 'learn ruby the hard way' but it's using 1.9.2, and I'm on 2.0. Will it matter considering I've no previous expereince with ruby?
anay has joined #ruby
smathieu has quit [Remote host closed the connection]
<sebastianb>
If you really want to, you can always install version 1.9.2
smathieu has joined #ruby
renderful has joined #ruby
jimg has left #ruby [#ruby]
<smrtz|nix>
sebastianb: I could, but I've already installed 2.0. Is there really that big of a diffrence?
<sebastianb>
You have to wait for someone smarter to answer that question
matti has quit [Ping timeout: 248 seconds]
<sebastianb>
All I can think of is different hash notation, but that's probably not everything\
ayaz has joined #ruby
<smrtz|nix>
sebastianb: can you reccomend a ruby 2 tutorial?
<sebastianb>
Not really, but afair 'Eloquent Ruby' was a good book
<sebastianb>
it's for 1.9.3 I think
smathieu has quit [Ping timeout: 245 seconds]
<smrtz|nix>
well if there's not a big difrence, I'll just stick to learn ruby the hard way. I liked his python version, so I'll probobly like this.
homelinen has joined #ruby
homelinen has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
<smrtz|nix>
actually, no, that was a lie. I hated it, but I felt like I was learning it, and fast, but the tutorial was hard, hence the name.
<sebastianb>
have fun :)
<smrtz|nix>
haha I will thanks.
codesoda has quit [Remote host closed the connection]
<Notte>
you could use The Ruby Programming Language book if you like. It's one of the best imo.
himsin has joined #ruby
Mars` has joined #ruby
<sebastianb>
also, if you already know python you can check out this site:
CrozzCyborg has quit [Remote host closed the connection]
larissa has quit [Quit: Leaving]
n1x has quit [Read error: Connection reset by peer]
ssvo has quit [Ping timeout: 276 seconds]
tonini has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
Nies has quit [Ping timeout: 276 seconds]
darth_chatri1 has quit [Quit: Leaving.]
ffio has joined #ruby
icco has quit [Ping timeout: 240 seconds]
DanKnox is now known as DanKnox_away
redgirl has quit [Quit: This computer has gone to sleep]
Hanmac has joined #ruby
icco has joined #ruby
ewnd9 has joined #ruby
Nies has joined #ruby
DeanH has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zeeraw has joined #ruby
itsdavem has joined #ruby
havenwood has quit [Remote host closed the connection]
ayaz has quit [Ping timeout: 276 seconds]
diabel232 has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
smathieu has joined #ruby
itsdavem has quit [Ping timeout: 256 seconds]
blaxter_ has joined #ruby
apeiros has joined #ruby
icco has quit [Ping timeout: 240 seconds]
andikr has joined #ruby
saarinen has joined #ruby
Synthead has quit [Read error: Connection reset by peer]
tonini has joined #ruby
Iszak has joined #ruby
apeiros has quit [Remote host closed the connection]
icco has joined #ruby
monkegjinni has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Afhbl has quit [Remote host closed the connection]
smathieu has quit [Ping timeout: 245 seconds]
lscott3 has quit [Quit: Sleep]
Shirakawasuna has joined #ruby
klaut has quit [Remote host closed the connection]
jprovazn has joined #ruby
saarinen has quit [Quit: saarinen]
goodgame has joined #ruby
n1x has joined #ruby
mercwithamouth has quit [Ping timeout: 246 seconds]
blaxter_ has quit [Ping timeout: 248 seconds]
apeiros has joined #ruby
pranny has joined #ruby
ewnd9 has quit [Remote host closed the connection]
thams has quit [Quit: thams]
jrendell has joined #ruby
Cooler_ has quit [Read error: Connection reset by peer]
yebyen has quit [Read error: Connection reset by peer]
yebyen has joined #ruby
Cooler_ has joined #ruby
filipe has joined #ruby
yebyen is now known as Guest2009
iliketurtles has quit [Ping timeout: 248 seconds]
tatsuya_o has joined #ruby
threesome has quit [Ping timeout: 248 seconds]
avril14th has joined #ruby
alup has joined #ruby
icco has quit [Ping timeout: 252 seconds]
codesoda has joined #ruby
inimit has quit [Quit: inimit]
icco has joined #ruby
Spami has joined #ruby
darth_chatri has joined #ruby
yugui_zzz_ has quit [Ping timeout: 264 seconds]
emergion has joined #ruby
vlad_starkov has joined #ruby
yugui_zzz has joined #ruby
blaxter_ has joined #ruby
ayaz has joined #ruby
soc42 has joined #ruby
dawkirst has joined #ruby
Kelet_ has joined #ruby
homelinen has quit [Ping timeout: 248 seconds]
tobyo has quit [Ping timeout: 240 seconds]
smrtz|nix has quit [Quit: Changing server]
homelinen has joined #ruby
Iszak has quit [Quit: Computer has gone to sleep.]
Kelet has quit [Ping timeout: 260 seconds]
nbouscal has quit [Quit: Computer has commenced electric sheep tracking protocol.]
maxmanders has joined #ruby
jbpros has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
JohnBat26 has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
Afhbl has joined #ruby
Afhbl has quit [Remote host closed the connection]
Iszak has joined #ruby
Afhbl has joined #ruby
jbpros has quit [Client Quit]
obs has joined #ruby
ayaz has quit [Ping timeout: 276 seconds]
timonv has quit [Remote host closed the connection]
ehaliewicz has quit [Remote host closed the connection]
dmiller_ has joined #ruby
blaxter_ has quit [Ping timeout: 256 seconds]
Mars` has quit [Ping timeout: 264 seconds]
emergion has joined #ruby
pupperwares1 has joined #ruby
Notte has quit [Remote host closed the connection]
ckrailo has joined #ruby
dmiller_ has quit [Ping timeout: 248 seconds]
pupperwares has quit [Ping timeout: 276 seconds]
io_syl has quit [Quit: io_syl]
noop has quit [Ping timeout: 260 seconds]
timonv has joined #ruby
noop has joined #ruby
blaxter_ has joined #ruby
thepumpk_ has quit [Remote host closed the connection]
ayaz has joined #ruby
threesome has joined #ruby
ayaz has quit [Client Quit]
itsdavem has joined #ruby
jbpros has joined #ruby
leonid__ has joined #ruby
intuxicated has joined #ruby
itsdavem has quit [Ping timeout: 276 seconds]
relix has joined #ruby
Afhbl has quit [Remote host closed the connection]
gennio has joined #ruby
<gennio>
Reckity knick knack the rep tep hegger. Isn't it awful how it's jeckally jewish?
<gennio>
Partinks spee spaga speel scrap. Ruda Trooda. Ejection request. Heffy the jello wup. Juffo-wup! rab locid rebbasmoth. The Proteus Animal Plannable. Poo da Boo! need 10-15 people straight Groaning my grurch nords. Ruh ninna knaw knife
<gennio>
agrillio mellish. Blakes my bog. kedda mah go go mageezik Renna manuck to the ruthafied sneffal The Rump Shaking Rider Crew - Fuck You! Wren a men a menna menna moo, filling my jolts and filling my shoe, plenk a peek a pokie zal nawl knife
<gennio>
Shaar nag lililly linomp nip. Many mini minotaur taurs, hate tar tar sauce. I am a robibbob meme. Have you ever thought about where the bird goes? Squirnish Mernish. Jelly jolaggalan joo! Chuh lap lap rillip. Oh I grew three years. I'm old now.
<gennio>
Does anyone heck teck the rooga beega bagga? Hebber master hoon a ferr fee. Hilly a mackhole. The shiny dot in the middle of a liddle light, of the middle of a lep lep lains! Gotta get that schit ass shcrap biteoad. Ruproudj a malef loo
<gennio>
Moistie bather. riberian schmecklef Mulla Malee loo lup the new flood wars. Chuddy dip, chuddy dip, chuddy microchip. Bucka lucka loo, bucky lucky blay. Bucka lucky blay lee.
<gennio>
Burpaline: The wonder world. Salmy magoo goal greggats Rump duh duh duh dump, duh duh duh demp doop dump, runna nuh nah Riggity ass gaggags i nick Roddan raldwell Roady carewell reggal mahole Rup tup shmelly smelly shmebb ub. Roady farewell rose bose mahaggal. A pocahontas watch
<gennio>
Blubbity ash hoosh her mellopath. a Maticake for my buddy andy Oh we-heh-heh-hell I'm thinking about the greg nargs, I'm thinkin about you! End midal too walkin' with a dolphin. I went up that street, you went up another street, we all up the presidio. I'm goin out with arsenio!
<gennio>
fuckin bone screllalidge moink. ruggity fucker fagger. rum dum dacka lacka rum dum jay Go out with jay, another blue jay we fixed my astercoil plather I'm hickin' my dagger Rum dickily toon witherspoons. I'm a falcons baleiva work with the yake my 7'9'er forever tumchy tither
gennio was kicked from #ruby by apeiros [go]
gennio has joined #ruby
<gennio>
i wrote my life story on my poop pad. one of the greatest art exhibits of 1999 was in a new york museum of art. In it, cow poop or fecal matter was put on a copy of the painting called "The Last Supper". This was thought to be a form of modern art. chumpin up the rears. Rubb blillick bath.
<gennio>
The shiny dot in the middle of the light blue circle or ring is glowing silver in color like steel or real silver. Eating pings, eating pies, Snow quibbicker bather I'm a niner! That's right I'M A NINER! Dipoke when we dip oh blip we dip, chucka hand oh blip we dip. yxoukcil polk jhaggel.
gennio was kicked from #ruby by apeiros [go]
gunio has joined #ruby
<gunio>
Reckity knick knack the rep tep hegger. Isn't it awful how it's jeckally jewish?
<gunio>
Partinks spee spaga speel scrap. Ruda Trooda. Ejection request. Heffy the jello wup. Juffo-wup! rab locid rebbasmoth. The Proteus Animal Plannable. Poo da Boo! need 10-15 people straight Groaning my grurch nords. Ruh ninna knaw knife
<gunio>
agrillio mellish. Blakes my bog. kedda mah go go mageezik Renna manuck to the ruthafied sneffal The Rump Shaking Rider Crew - Fuck You! Wren a men a menna menna moo, filling my jolts and filling my shoe, plenk a peek a pokie zal nawl knife
SeySayux has quit [Ping timeout: 240 seconds]
bean has quit [Read error: Connection reset by peer]
<gunio>
Shaar nag lililly linomp nip. Many mini minotaur taurs, hate tar tar sauce. I am a robibbob meme. Have you ever thought about where the bird goes? Squirnish Mernish. Jelly jolaggalan joo! Chuh lap lap rillip. Oh I grew three years. I'm old now.
<gunio>
Does anyone heck teck the rooga beega bagga? Hebber master hoon a ferr fee. Hilly a mackhole. The shiny dot in the middle of a liddle light, of the middle of a lep lep lains! Gotta get that schit ass shcrap biteoad. Ruproudj a malef loo
<gunio>
Moistie bather. riberian schmecklef Mulla Malee loo lup the new flood wars. Chuddy dip, chuddy dip, chuddy microchip. Bucka lucka loo, bucky lucky blay. Bucka lucky blay lee.
<gunio>
Burpaline: The wonder world. Salmy magoo goal greggats Rump duh duh duh dump, duh duh duh demp doop dump, runna nuh nah Riggity ass gaggags i nick Roddan raldwell Roady carewell reggal mahole Rup tup shmelly smelly shmebb ub. Roady farewell rose bose mahaggal. A pocahontas watch
<gunio>
Blubbity ash hoosh her mellopath. a Maticake for my buddy andy Oh we-heh-heh-hell I'm thinking about the greg nargs, I'm thinkin about you! End midal too walkin' with a dolphin. I went up that street, you went up another street, we all up the presidio. I'm goin out with arsenio!
<gunio>
fuckin bone screllalidge moink. ruggity fucker fagger. rum dum dacka lacka rum dum jay Go out with jay, another blue jay we fixed my astercoil plather I'm hickin' my dagger Rum dickily toon witherspoons. I'm a falcons baleiva work with the yake my 7'9'er forever tumchy tither
gunio was kicked from #ruby by apeiros [gunio]
bean has joined #ruby
Tylerjd has joined #ruby
dash_ has joined #ruby
SeySayux has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
sayan has quit [Ping timeout: 245 seconds]
radic has quit [Ping timeout: 240 seconds]
pedestrian has joined #ruby
codesoda has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
shaunbaker has joined #ruby
dash__ has joined #ruby
troessner has joined #ruby
intuxicated has quit [Remote host closed the connection]
gstamp has quit [Quit: Computer has gone to sleep.]
dash_ has quit [Ping timeout: 240 seconds]
radic has joined #ruby
homelinen has quit [Ping timeout: 276 seconds]
Coffers has joined #ruby
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
fossgeek has joined #ruby
cj3kim has quit [Remote host closed the connection]
intuxicated has joined #ruby
<fossgeek>
puts "Hello World!"
<fossgeek>
does anybody here use pry?
intuxicated has quit [Remote host closed the connection]
KevinSjoberg has joined #ruby
<Hanmac>
fossgeek: there is a pry channel but what is your question?
<fossgeek>
I asked there but dint get any reply
RORgasm has joined #ruby
cha1tanya has quit [Ping timeout: 276 seconds]
homelinen has joined #ruby
<fossgeek>
Actually I am unable to generate gist from within pry
<fossgeek>
SyntaxError: unexpected tCONSTANT, expecting keyword_do or '{' or '('
<fossgeek>
gist-method String#each_line
<fossgeek>
^
arya_ has quit [Ping timeout: 260 seconds]
ferr has joined #ruby
ayaz has joined #ruby
RORgasm has quit [Ping timeout: 260 seconds]
icecandy has quit [Remote host closed the connection]
homelinen has quit [Ping timeout: 276 seconds]
lkba has quit [Ping timeout: 248 seconds]
homelinen has joined #ruby
arya_ has joined #ruby
buibex has joined #ruby
n1x has quit [Ping timeout: 245 seconds]
intuxicated has joined #ruby
wesside has joined #ruby
mengu has joined #ruby
ybart has joined #ruby
darth_chatri has quit [Quit: Leaving.]
ssvo has joined #ruby
blaxter_ is now known as blaxter
ffio has joined #ruby
DaniG2k has joined #ruby
YaNakilon has quit [Ping timeout: 276 seconds]
ffio has quit [Client Quit]
Squarepy has quit [Read error: Connection reset by peer]
ssvo has quit [Ping timeout: 276 seconds]
sayan has joined #ruby
ffio has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
YaNakilon has joined #ruby
TonyMergue has joined #ruby
arya_ has quit [Ping timeout: 260 seconds]
ferr_ has joined #ruby
radic has quit [Ping timeout: 246 seconds]
<Hanmac>
fossgeek did you read the documentation at https://github.com/pry/pry ? you need the gist or the pry-gist gem
ferr has quit [Ping timeout: 240 seconds]
contradictioned_ has joined #ruby
krainboltgreene has joined #ruby
skattyadz has joined #ruby
arya_ has joined #ruby
YaNakilon has quit [Ping timeout: 240 seconds]
ferr_ has quit [Ping timeout: 240 seconds]
pranny1 has joined #ruby
yacks has quit [Quit: Leaving]
ferdev has quit [Quit: ferdev]
cj3kim has joined #ruby
pranny has quit [Ping timeout: 240 seconds]
scrollback has quit [Remote host closed the connection]
scrollback has joined #ruby
ybart has quit [Quit: ybart]
n1x has joined #ruby
Zai00 has joined #ruby
himsin has quit [Quit: himsin]
sayan has quit [Ping timeout: 248 seconds]
emergion has joined #ruby
ephemerian has joined #ruby
Tylerjd has quit [Quit: Don't ever forget your towel!]
trepidaciousMBR has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
buibex has quit [Remote host closed the connection]
intuxicated has quit [Remote host closed the connection]
cha1tanya has joined #ruby
Giorgio has joined #ruby
arya_ has quit []
rdark has joined #ruby
skattyadz has quit [Quit: skattyadz]
radic has joined #ruby
buibex has joined #ruby
arya_ has joined #ruby
ferdev has joined #ruby
scrollback has quit [Remote host closed the connection]
pen has quit [Remote host closed the connection]
scrollback has joined #ruby
robbyoconnor has joined #ruby
ericmathison has quit [Ping timeout: 264 seconds]
scrollback has quit [Remote host closed the connection]
sayan has joined #ruby
jbpros has quit [Quit: jbpros]
scrollback has joined #ruby
scrollback has quit [Remote host closed the connection]
ferdev has quit [Client Quit]
razi has joined #ruby
klaut has joined #ruby
ferdev has joined #ruby
darth_chatri has joined #ruby
senayar has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
ybart has joined #ruby
codesoda has joined #ruby
pen has joined #ruby
jungjoo has quit [Remote host closed the connection]
matrixis1 is now known as matrixise
monkegji_ has joined #ruby
codesoda has quit [Ping timeout: 252 seconds]
YaNakilon has joined #ruby
monkegjinni has quit [Ping timeout: 246 seconds]
schickung has joined #ruby
scrollback has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
arya_ has quit [Ping timeout: 248 seconds]
eka has joined #ruby
graph has quit [Read error: Connection reset by peer]
graph has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Hanmac has quit [Quit: Leaving.]
blackmesa has joined #ruby
jbpros has joined #ruby
soc42 has quit [Remote host closed the connection]
tvw has joined #ruby
<fossgeek>
hanmac Found the reason on pry channel. the commands were unified recently, but the docs are probably out of date. I just need to do gist instead of gist -m or gist-method. Thanks for the help anyways
maxmanders has quit [Ping timeout: 256 seconds]
maxmanders has joined #ruby
icecandy has joined #ruby
ybart has quit [Quit: ybart]
fossgeek has quit [Ping timeout: 246 seconds]
lkba has joined #ruby
emergion has joined #ruby
Hanmac has joined #ruby
tommyvyo has quit [Quit:]
krainboltgreene has quit [Quit: krainboltgreene]
spacebug has quit [Read error: Connection reset by peer]
spacebug_ has quit [Read error: Connection reset by peer]
spacebug has joined #ruby
spacebug_ has joined #ruby
sarbull has joined #ruby
gyre007 has joined #ruby
lunarjar has quit [Quit: Bye]
lunarjar has joined #ruby
nitish has quit [Remote host closed the connection]
s0ber has quit [Ping timeout: 245 seconds]
ybart has joined #ruby
Speed has joined #ruby
stormbytes has joined #ruby
ntus1017 has joined #ruby
krainboltgreene has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
tonini has quit [Remote host closed the connection]
nomenkun has joined #ruby
stormbytes has left #ruby [#ruby]
graph has quit [Ping timeout: 260 seconds]
Myrth has joined #ruby
<Myrth>
hi, how do i find where gem installed the files? thanks
<Myrth>
gem/bundle
<krainboltgreene>
gem env <something
<krainboltgreene>
Can't remember what
nomenkun has quit [Remote host closed the connection]
nomenkun has joined #ruby
cj3kim has joined #ruby
scrollback has quit [Remote host closed the connection]
kevinykchan has joined #ruby
scrollback has joined #ruby
<Myrth>
krainboltgreene
<Myrth>
thanks!
nomenkun has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
Neomex has joined #ruby
Giorgio has quit [Ping timeout: 276 seconds]
ybart has quit [Ping timeout: 245 seconds]
Shirakawasuna has quit [Quit: Leaving]
fossgeek has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
monkegji_ has quit [Ping timeout: 245 seconds]
cj3kim has quit [Read error: Connection reset by peer]
Squarepy has joined #ruby
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
moura has joined #ruby
moura has quit [Max SendQ exceeded]
buibex has quit [Write error: Broken pipe]
vlad_starkov has joined #ruby
scrollback has quit [Remote host closed the connection]
buibex has joined #ruby
scrollback has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
kevinykchan has joined #ruby
buibex has quit [Read error: Connection reset by peer]
buibex_ has joined #ruby
DrCode has quit [Remote host closed the connection]
TIJ has joined #ruby
Spooner has joined #ruby
gildo has joined #ruby
DrCode has joined #ruby
noocode has joined #ruby
<noocode>
hello, how do i setup sinatra to use utf8-german encoding?
DaniG2k has quit [Quit: Leaving.]
axsuul has quit [Ping timeout: 264 seconds]
northelks has joined #ruby
radic has quit [Ping timeout: 260 seconds]
niklasb has joined #ruby
darth_chatri has quit [Quit: Leaving.]
radic has joined #ruby
pen has quit [Remote host closed the connection]
RORgasm has joined #ruby
moura has joined #ruby
sevenseacat has quit [Remote host closed the connection]
moura has quit [Max SendQ exceeded]
Cisco_Walker_ has joined #ruby
RORgasm has quit [Ping timeout: 240 seconds]
Astral__ has quit [Read error: Connection reset by peer]
Astral_ has joined #ruby
yacks has joined #ruby
Astral__ has joined #ruby
troessner has quit [Ping timeout: 276 seconds]
troessner has joined #ruby
jarin has joined #ruby
ewnd9 has joined #ruby
d4rkstalk3r has quit [Ping timeout: 245 seconds]
Astralum has quit [Ping timeout: 241 seconds]
Astral_ has quit [Read error: Connection reset by peer]
ssvo has joined #ruby
Squarepy has quit [Quit: Leaving]
ssvo has quit [Ping timeout: 264 seconds]
Myrth has quit [Ping timeout: 256 seconds]
ananthakumaran1 has joined #ruby
dhruvasa1ar has joined #ruby
jmimi has left #ruby [#ruby]
s0ber has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
dmiller_ has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
ismlages has quit [Ping timeout: 240 seconds]
darth_chatri has joined #ruby
nomenkun has quit [Remote host closed the connection]
TheFuzzball has joined #ruby
s0ber has quit [Ping timeout: 240 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
dmiller_ has quit [Ping timeout: 276 seconds]
mikecmpbll has joined #ruby
`p has quit [Read error: Connection reset by peer]
`p has joined #ruby
senayar_ has joined #ruby
senayar has quit [Read error: Connection reset by peer]
Zai00 has quit [Quit: Zai00]
k610 has joined #ruby
tonini has joined #ruby
icecandy has quit [Remote host closed the connection]
Domon has quit [Remote host closed the connection]
luminous has joined #ruby
radic__ has joined #ruby
<luminous>
hello, I have a ruby app running on 1.8, and I need to upgrade ruby to 1.9 to run the app with a new plugin. I would have thought this was easy as installing ruby1.9.3 (ubuntu) and then re-running bundle install.. but my old ruby 1.8.x is still 'active' - how do I tell bundler that it had 1.9.3 available and should reinstall all gems to use it?
emergion has quit [Quit: Computer has gone to sleep.]
ewnd9 has joined #ruby
radic_ has quit [Ping timeout: 248 seconds]
darth_chatri has quit [Quit: Leaving.]
vlad_sta_ has joined #ruby
yashshah has quit [Ping timeout: 245 seconds]
vlad_st__ has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
leonid__ has joined #ruby
Niteside0351 has quit [Ping timeout: 256 seconds]
osvico has joined #ruby
mneorr has joined #ruby
RyanHirsch has quit [Quit: Computer has gone to sleep.]
kevinykchan has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
S0da has quit [Remote host closed the connection]
vlad_sta_ has quit [Ping timeout: 246 seconds]
pr0ggie has joined #ruby
darth_chatri has joined #ruby
<bhaak>
luminous: selecting which ruby version to run is outside of bundler's domain. i think it just takes the first executable it finds. it depends on your environemnt and how you have set it up but the solution can range from "setting up the paths manually" or "install a local ruby version" to "use a ruby version manager like rvm or rbenv" (most people will probably recommend the latter option)
alexwh has joined #ruby
ewnd9 has quit [Remote host closed the connection]
Squarepy has joined #ruby
cj3kim has quit [Ping timeout: 256 seconds]
Simone has joined #ruby
<luminous>
ok, so I'll try to ensure the path/binaries are located properly to 1.9.3
<luminous>
thanks bhaak
neku has quit [Read error: No route to host]
Hanmac has quit [Quit: Leaving.]
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
blarghmatey has joined #ruby
<r0bgl33s0n>
luminous: bundle exec ruby <command>
Giorgio has joined #ruby
<crazy>
hey all, i need to upload multiple images i'm using carrierwave gem but only one image is uploading,where to i change the code
deadalus has quit [Ping timeout: 246 seconds]
buibex_ has quit [Remote host closed the connection]
jibi has joined #ruby
<luminous>
r0bgl33s0n: where "ruby" is... ?
buibex has joined #ruby
seich- has quit [Ping timeout: 240 seconds]
dEPy has joined #ruby
<r0bgl33s0n>
luminous: that'll execute whichever ruby your project is bundled with
jbpros has quit [Quit: jbpros]
<luminous>
r0bgl33s0n: I think it is just using the system's
vlad_st__ has quit [Remote host closed the connection]
blarghmatey has quit [Ping timeout: 260 seconds]
<r0bgl33s0n>
like i said, it uses whichever ruby you are project is bundled with
pr0ggie has quit [Max SendQ exceeded]
justsee has left #ruby [#ruby]
pr0ggie has joined #ruby
codesoda has joined #ruby
mljsimone|away is now known as mljsimone
thepumpkin has joined #ruby
realDAB has joined #ruby
kung has quit [Quit: Bye!]
jasongoldstein has left #ruby [#ruby]
seich- has joined #ruby
tacos1de has quit [Ping timeout: 240 seconds]
monkegjinni has joined #ruby
deadalus has joined #ruby
realDAB has quit [Client Quit]
monkegji_ has joined #ruby
<Schmidt>
luminous: if I remember correctly the ruby binary is just a symlink in ubuntu pointing to ruby1.8.7, you can change the symlink to point to your 1.9.3 one (you might have to do it for other ruby apps like gem aswell).
ewag has joined #ruby
tacos1de has joined #ruby
monkegjinni has quit [Ping timeout: 256 seconds]
ffio has quit [Quit: WeeChat 0.4.1]
jibi has quit [Ping timeout: 245 seconds]
radic_ has joined #ruby
Hanmac has joined #ruby
ffio has joined #ruby
allaire has joined #ruby
allaire has quit [Max SendQ exceeded]
thepumpkin has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
ffio_ has joined #ruby
zchrykng has joined #ruby
<Maoko>
The whole reason behind it is to parse hosts, merge them and put into etc/hosts
sambao21 has joined #ruby
cmarques has quit [Ping timeout: 261 seconds]
sethetter has joined #ruby
k610 has quit [Quit: Leaving]
<sethetter>
Is there a flag I can pass when compiling/configuring ruby to set what compiler on my system to use?
ffio has quit [Ping timeout: 276 seconds]
schickung has quit [Quit: schickung]
<Mon_Ouie>
./configure CC=your-c-compiler?
vlad_starkov has joined #ruby
Todd has quit [Ping timeout: 240 seconds]
<stormbytes>
are you running the app via bundle exec?
<Maoko>
me?
<stormbytes>
yea
<Maoko>
Not yet, just include the module directly via irb
<sethetter>
Mon_Ouie: thanks
<stormbytes>
hmm
adman65 has joined #ruby
<trose>
hey, i'm looking for the most active repo for the ruby oauth library
<stormbytes>
well i'm new at this but had a similar problem the other day, runnign an app via bundle exec
<stormbytes>
so thought you might be having the same issue
<Maoko>
Nope, unfortunately not.
DanKnox is now known as DanKnox_away
<Maoko>
Will do a bit lurking then
<adman65>
anyone with have experience with Eventmachine? I'm trying to wrap calls to some class in EM.run but it's blowing up when it get's nested
AntelopeSalad_ has joined #ruby
JZTech101 has joined #ruby
zigomir__ has joined #ruby
<adman65>
I'm trying to connect parts of my app to AMQP, but of course it doesn't run inside an event loop, so i have stuff like def publish ; EM.run { xxxx } end which works fine until to things try to publish at the same time
AntelopeSalad has quit [Read error: Connection reset by peer]
Voodoofish430 has joined #ruby
angusiguess has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
gyre008 has joined #ruby
sambao21 has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
carloslopes has joined #ruby
RichardBaker has joined #ruby
Zeeraw has joined #ruby
Todd has joined #ruby
zphobic has quit [Read error: Operation timed out]
realDAB has quit [Quit: realDAB]
gyre007 has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
kevinykchan has joined #ruby
l33_ has joined #ruby
wsterling has joined #ruby
mneorr_ has joined #ruby
DestinyAwaits has joined #ruby
<Maoko>
Aha! Got it. This could be because I have a Gemfile at the root path not within subdir where my module is.
Desert_eagle has quit [Quit: Leaving]
<Maoko>
However can I just nest gemfile from the main for using within modules?
tylersmith has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
Maoko has quit [Read error: Connection reset by peer]
elux has joined #ruby
nlisgo has joined #ruby
mneorr has quit [Ping timeout: 240 seconds]
zphobic has joined #ruby
rbennacer has joined #ruby
kpshek has quit []
dhruvasagar has joined #ruby
<stormbytes>
over my head man
Michael_ has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
djbkd has joined #ruby
senayar_ has joined #ruby
Michael_ has joined #ruby
DeanH has quit [Read error: Connection reset by peer]
senayar has quit [Ping timeout: 246 seconds]
ffio_ has quit [Quit: WeeChat 0.4.1]
rsahae has joined #ruby
manutter has quit [Read error: Connection reset by peer]
yashshah has joined #ruby
sleetdrop has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
S0da has joined #ruby
nomenkun has quit [Remote host closed the connection]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
arietis has quit [Quit: Computer has gone to sleep.]
lebek has joined #ruby
DestinyAwaits has quit [Quit: Leaving]
rsahae has quit [Quit: rsahae]
Giorgio has quit [Ping timeout: 246 seconds]
Giorgio has joined #ruby
tylersmith has joined #ruby
radic has joined #ruby
Zai00 has quit [Quit: Zai00]
ozzloy has quit [Quit: leaving]
rsahae has joined #ruby
banghouse2 has joined #ruby
atyz has joined #ruby
smathieu has joined #ruby
jonathanwallace has joined #ruby
rsahae has quit [Client Quit]
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rodacato has joined #ruby
Ry0_ has quit [Remote host closed the connection]
sambao21 has joined #ruby
raz has joined #ruby
banghouse2 is now known as banghouse
Ry0_ has joined #ruby
ewnd9 has quit [Remote host closed the connection]
smathieu_ has quit [Ping timeout: 276 seconds]
blaxter has quit [Ping timeout: 264 seconds]
freerobby has quit [Quit: Leaving.]
moos3 has joined #ruby
freerobby has joined #ruby
<raz>
hrmpf
<raz>
String === String is false
<raz>
how do i compare two classes in a 'case' block? (which uses === for the test)
<raz>
i.e. case self; when String ... (where self would be the String-class, not an instance of String)
c0rn has quit [Ping timeout: 246 seconds]
tommyvyo has joined #ruby
tatsuya_o has joined #ruby
ozzloy has joined #ruby
pedestrian has joined #ruby
mmitchell has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
mercwithamouth has joined #ruby
alex__c2022 has joined #ruby
x1337807x has joined #ruby
trose has left #ruby [#ruby]
lkba has joined #ruby
KevinSjoberg has joined #ruby
c0rn has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
zeropx has joined #ruby
dankest has joined #ruby
<waxjar>
raz: you can give it an object and check for type with when.
<waxjar>
case "test"; when String then "hi" end
TheDick_ has joined #ruby
rodacato has quit []
tbrock has joined #ruby
rodacato has joined #ruby
iliketurtles has joined #ruby
buchowski has joined #ruby
juan8a has joined #ruby
KevinSjoberg has quit [Client Quit]
interactionjaxsn has quit [Remote host closed the connection]
headius has joined #ruby
interactionjaxsn has joined #ruby
TheDick has quit [Ping timeout: 240 seconds]
TheDick_ is now known as TheDick
juan8a has quit [Client Quit]
mercwithamouth has quit [Ping timeout: 256 seconds]
jonkri has quit [Quit: jonkri]
tatsuya_o has quit [Remote host closed the connection]
bricker has joined #ruby
mary5030 has quit [Remote host closed the connection]
interactionjaxsn has quit [Ping timeout: 240 seconds]
jchysk has joined #ruby
anderson has quit [Ping timeout: 256 seconds]
anay has quit [Remote host closed the connection]
felixjet_ has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
marr has quit [Ping timeout: 246 seconds]
cj3kim has joined #ruby
Synthead has joined #ruby
robscomputer has quit [Remote host closed the connection]
robscomputer has joined #ruby
fernandoaleman has joined #ruby
S0da has quit [Read error: Connection reset by peer]
RobW_ has joined #ruby
`p has quit [Remote host closed the connection]
burlyscudd has joined #ruby
cj3kim has quit [Ping timeout: 246 seconds]
Giorgio has quit [Ping timeout: 256 seconds]
alvaro_o has joined #ruby
burlyscudd has quit [Ping timeout: 240 seconds]
Synthead has quit [Read error: Connection reset by peer]
Ry0_ has quit [Remote host closed the connection]
ffio has quit [Quit: WeeChat 0.4.1]
Todd has quit [Ping timeout: 276 seconds]
kenneth has joined #ruby
Notte has joined #ruby
monban_ is now known as monban
Todd has joined #ruby
<monban>
I'm having a heck of a time with encoding in Ruby 2.0
Synthead has joined #ruby
gildo has quit [Ping timeout: 248 seconds]
<monban>
I have a string coming from an external source (windows registry) that is coming in as utf-8, but I know it's not utf-8. Ruby doesn't complain when I do .encode('utf-8') on it, but when I try to run to_ymal on it, yaml complains (correctly) that it has invalid character sequence
interact_ has joined #ruby
saarinen has joined #ruby
TheDick_ has joined #ruby
<monban>
how do I force Ruby to re-encode it as utf8? I am happy to throw away the invalide characters (using invalid: :replace, undef:
<monban>
:replace)
<Hanmac>
monban: there is also "force_encoding"
<monban>
well yes, but that basically just changes the encoding stored in the sting and doesn't touch the contents
anderson has joined #ruby
<monban>
I really want the parser to run on it, see the invalid characters, and toss them out
rbennacer has left #ruby ["Leaving"]
eldariof has joined #ruby
<monban>
it's almost as if Ruby doesn't notice that there are invalid character sequences, but yaml does
sailias has quit [Ping timeout: 276 seconds]
TheDick has quit [Ping timeout: 240 seconds]
TheDick_ is now known as TheDick
jkline has joined #ruby
arietis has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Gate_ is now known as Gate
g0bl1n has quit [Ping timeout: 256 seconds]
mercwithamouth has joined #ruby
digitalcake has joined #ruby
noop has quit [Ping timeout: 246 seconds]
radic has quit [Ping timeout: 240 seconds]
Zolo has joined #ruby
tonini has joined #ruby
theRoUS has quit [Ping timeout: 256 seconds]
radic has joined #ruby
Ry0_ has joined #ruby
goshakkk has joined #ruby
brianpWins has joined #ruby
gildo has joined #ruby
mmitchell has joined #ruby
smathieu has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
sailias has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
iliketurtles has joined #ruby
Dreamer3 has quit [Ping timeout: 240 seconds]
TheDick_ has joined #ruby
smathieu has joined #ruby
TheDick has quit [Read error: Connection reset by peer]
obs has quit [Quit: Konversation terminated!]
TheDick has joined #ruby
workmad3 has joined #ruby
bklane has quit [Remote host closed the connection]
marcin_m has joined #ruby
Dreamer3 has joined #ruby
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
saarinen has joined #ruby
pitzips has joined #ruby
<marcin_m>
Guys someone try to compile vim with ruby 2.0 ?
kevinykchan has quit [Quit: Computer has gone to sleep.]
TheDick_ has quit [Ping timeout: 240 seconds]
axeman- has quit [Remote host closed the connection]
<end_guy>
no
TheDick_ has joined #ruby
ToApolytoXaos has joined #ruby
angusigu1ss has joined #ruby
kobain has quit [Ping timeout: 264 seconds]
<marcin_m>
Thats bad cause I cannot compile vim with ruby 2.0. What is the problem with 2.0 ?
<havenwood>
marcin_m: What does Ruby have to do with compiling vim?
<digitalcake>
basicly I'm trying to pass an object to param_name like this page_param: "active[page]"
<digitalcake>
which kinda works
<marcin_m>
havenwood: nothing, I know but I was thinking someone of you guys had the same problem
<digitalcake>
it works initially but does not work if your passing a param
theRoUS has joined #ruby
bklane has joined #ruby
<havenwood>
marcin_m: building yourself or using a package manager?
intuxicated has joined #ruby
<marcin_m>
myself
TheDick_ has joined #ruby
<marcin_m>
cause from package is only 1.9.2 or 1.8
Spami has joined #ruby
Spami has joined #ruby
Ry0_ has joined #ruby
Evixion has quit [Read error: Connection reset by peer]
TheDick has quit [Ping timeout: 240 seconds]
TheDick__ has joined #ruby
TheDick_ has quit [Ping timeout: 256 seconds]
Evixion has joined #ruby
echevemaster has quit [Quit: Leaving]
neonlex has joined #ruby
rodacato has quit [Remote host closed the connection]
invsblduck has quit [Changing host]
invsblduck has joined #ruby
robscomputer has quit [Ping timeout: 264 seconds]
kpshek has joined #ruby
<havenwood>
marcin_m: hrm, i dunno
roadt__ has quit [Ping timeout: 256 seconds]
rsahae has joined #ruby
sideshowcoder_ has joined #ruby
echevemaster has joined #ruby
rsahae has quit [Client Quit]
rsahae has joined #ruby
neonlex has quit [Ping timeout: 248 seconds]
jonathanwallace1 has joined #ruby
<havenwood>
marcin_m: I can't test it right now, cause I'm on a Mavericks system and can't build it for other reasons. :P
advorak has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Spami has quit [Quit: This computer has gone to sleep]
devoldmx3 has joined #ruby
x1337807x has joined #ruby
<marcin_m>
Shit :)
jonathanwallace has quit [Ping timeout: 256 seconds]
Vivekananda has joined #ruby
<advorak>
Is there a ruby gem for grabbing screenshots (preferably of a particular area of the screen) and spitting it out to a file object? (I'm only turning up information on taking screenshots of websites)
threesome has joined #ruby
vlad_starkov has joined #ruby
<havenwood>
advorak: Do you need it to work cross-platform, or targeting a specific platform?
jonathanwallace2 has joined #ruby
<marcin_m>
havenwood: but I didnt find any useful links that someone tried to compile vim with 2.0, that strange
Notte has quit [Remote host closed the connection]
burlyscudd has quit [Quit: Leaving.]
mercwithamouth has quit [Ping timeout: 246 seconds]
rodacato has quit [Remote host closed the connection]
bradhe has joined #ruby
dankest has quit [Quit: dankest]
bklane has joined #ruby
Michael_ has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
romdi has joined #ruby
Michael_ has joined #ruby
RichardBaker has joined #ruby
tonini has quit [Remote host closed the connection]
colonolGron has joined #ruby
sayan has quit [Ping timeout: 256 seconds]
Todd has joined #ruby
allsystemsarego has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
kobain has joined #ruby
scrollback has quit [Remote host closed the connection]
scrollback has joined #ruby
michaeldeol has quit [Remote host closed the connection]
zmike123 has quit [Read error: Operation timed out]
vlad_starkov has quit [Read error: Connection reset by peer]
rodacato has joined #ruby
vlad_starkov has joined #ruby
michaeldeol has joined #ruby
brianpWins has quit [Quit: brianpWins]
DrShoggoth has quit [Ping timeout: 256 seconds]
deol has joined #ruby
michaeldeol has quit [Read error: Connection reset by peer]
jbpros has joined #ruby
rodacato has quit [Remote host closed the connection]
TheDick has joined #ruby
Hanmac has joined #ruby
atno has quit [Read error: No route to host]
tommyvyo has joined #ruby
atno has joined #ruby
TheDick__ has quit [Ping timeout: 246 seconds]
thepumpkin has quit [Remote host closed the connection]
QKO_ has quit [Changing host]
QKO_ has joined #ruby
thepumpkin has joined #ruby
sailias has quit [Ping timeout: 240 seconds]
denver has quit [Ping timeout: 240 seconds]
<bricker>
Is it bad practice to have a class that only defines class methods? I want to be able to use inheritance but the class is just utility really.
Spami has quit [Quit: This computer has gone to sleep]
<nettoweb>
Date.today.month.to_s => 7
<nettoweb>
how to display 07 instead of 7
<nettoweb>
?
obs has joined #ruby
havenwood has joined #ruby
sayan has joined #ruby
<waxjar>
bricker: use a Module instead of a class, extend it instead of inheriting from it
<spider-mario>
not as chainable but possibly prettier
denver has quit [Remote host closed the connection]
<bricker>
waxjar: Good idea. And is "extend self" considered bad practice? I've seen it done instead of explicitly defining everything as class methods.
<spider-mario>
after all, TIMTOWTDI
brianpWins has joined #ruby
<spider-mario>
(aren’t we part of the perl family? :p)
raz has left #ruby ["*fump*"]
eldariof has quit [Ping timeout: 276 seconds]
<havenwood>
bricker: I like class << self or just a bunch of self.'s. I think extend is kinda sloppy in that you have duplicate class and instance methods.
TheDick_ has joined #ruby
LaPetiteFromage has quit [Quit: LaPetiteFromage]
Guest78807 has quit [Client Quit]
atno has quit [Remote host closed the connection]
horofox has joined #ruby
chrisja has quit [Quit: leaving]
gildo has quit [Read error: Operation timed out]
stan_br has joined #ruby
fragmachine has joined #ruby
<stan_br>
hi all
vlad_starkov has quit [Read error: Connection reset by peer]
TheDick has quit [Ping timeout: 252 seconds]
goshakkk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TheDick_ is now known as TheDick
vlad_starkov has joined #ruby
Hanmac has quit [Ping timeout: 248 seconds]
BrianJ has joined #ruby
<fragmachine>
hello
<fragmachine>
harro
<stan_br>
I need to read some txt files inside a zip file (of a certain pattern in its name). Its working fine with the zip/zip library, but now I also need to read some zip files inside this zip file... search for the same text files. So its a bunch of zip files inside of a zip file... is there a simple way to read its content within ruby?
LaPetiteFromage has joined #ruby
maasha has joined #ruby
burlyscudd has quit [Ping timeout: 248 seconds]
<maasha>
evening
<bricker>
havenwood: good point. Thanks for your advice.
<maasha>
So ... I thought this was trivial. I wanted to create a Triangle class that if fed three angles or sides would return any requested angle or side. It turns out to be rather complex aside from the trigonometry.
angusigu1ss has quit [Ping timeout: 252 seconds]
anonymuse has quit [Remote host closed the connection]
<maasha>
Maybe there is an elegant solution?
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister`sleep has joined #ruby
d2dchat has joined #ruby
<havenwood>
maasha: ^
zchrykng has quit []
maxmanders has joined #ruby
<ericfilkins_>
I created an erb iteration that goes through all the phototags on a image and finds the x-y coordinates, but I'm stuck on how to show the tags again after i refresh the page
pipework has joined #ruby
<maasha>
havenwood: wft :o) - I didn't see that from the code!
krainboltgreene has quit [Ping timeout: 248 seconds]
<havenwood>
maasha: ah, yeah - its in a subdir of the file I linked you :)
<havenwood>
maasha: First {} for the known sides and second {} for known angles.
<MrPoT4tO_>
hello, can someone help me with a method I'm doing to roll a dice?
<havenwood>
MrPoT4tO_: Ask away!
bricker has quit [Ping timeout: 246 seconds]
jalcine has joined #ruby
<MrPoT4tO_>
i want to return an array that keeps track of the number of times certain number shows up when you roll the dice, but my method doesn't wanna return said array
<havenwood>
MrPoT4tO_: Paste a Gist of the code?
x1337807x has joined #ruby
<MrPoT4tO_>
on it
twoism has quit [Ping timeout: 240 seconds]
<maasha>
havenwood: I see. Thanks. This solution is not really trivial either - but I doubt it could be more simple.
sayan has quit [Read error: Connection reset by peer]
<smrtz|nix>
Hey, I'm on this tutorial: http://ruby.learncodethehardway.org/book/ex13.html Working on the extra credit, Can someone explain the third bullet point please? "Compine STDIN.gets.chomp() with ARGv to make a script that gets more impout from a user.
mercwithamouth has quit [Ping timeout: 256 seconds]
<esing>
yeban Good to know, thank you
spider-mario has quit [Remote host closed the connection]
<gemmy>
yebyen: hum, when I type Button.new("Say hello", :say_hello)
<smrtz|nix>
havenwood: I fixed the error inhttp://bpaste.net/show/114570/ , but I still don't understand what was wrong with my old version. Can you point it out please?
<gemmy>
./lambda.rb:28:in `initialize': wrong number of arguments (2 for 1) (ArgumentError)
<yebyen>
gemmy: &:say_hello
<yebyen>
it may not work at all
deol has quit [Remote host closed the connection]
<yebyen>
i am not familiar with tcl/tk and ruby
<yebyen>
downloading activetcl 8.5 now
<yebyen>
it looks cool
atmosx has joined #ruby
michaeldeol has joined #ruby
<havenwood>
smrtz|nix: Other than the weird interpolation on ln 10 I don't see any probs.
<gemmy>
I come from Perl, Tck/Tk it's very fun, like ruby
john2496 has joined #ruby
<atmosx>
close
krainboltgreene has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
<john2496>
very stupid rails question, how do i generate the schema from my models?
atmosx has left #ruby [#ruby]
<ericwood>
I used to write Tkinter stuff with python
<ericwood>
it was painful
<smrtz|nix>
havenwood: what's the weird interpolation?
tatsuya_o has quit [Remote host closed the connection]
cj3kim has joined #ruby
<havenwood>
smrtz|nix: "you gave me: %s" % var
michaeldeol has quit [Remote host closed the connection]
kirun has quit [Quit: Client exiting]
gyre008 has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 260 seconds]
<smrtz|nix>
havenwood: what's wrong with that? sorry if that's a dumb question, I'm new to programmin.
<havenwood>
smrtz|nix: The idiomatic Ruby way is: "you gave me: #{var}"
jonahR has joined #ruby
geekles has joined #ruby
<yebyen>
gemmy: have a look at this maybe, they're doing it a different way
<havenwood>
smrtz|nix: Zed just pretends its Python and moves along. :P For idiomatic Ruby you might want to try another tutorial, but nothing wrong with going through the Hard Way series. Just remember it isn't necessarily good Ruby.
pipework has quit [Remote host closed the connection]
<smrtz|nix>
havenwood: Oh, why is that better than using formatting sequances?
esing has quit []
<yebyen>
gemmy: you are passing two arguments to the constructor for button, it only takes one... look at the section on binding events
<yebyen>
time to go now
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gemmy>
yebyen: thanks i'll double check this
rsahae has quit [Quit: rsahae]
<havenwood>
smrtz|nix: There are many ways to do things. It isn't wrong to use the less-used way, just not idiomatic. Fewer Rubyists may be familiar with it and you may run into more quirks, but often the *other* ways are fine too.
peta_ has joined #ruby
goshakkk has joined #ruby
<havenwood>
smrtz|nix: The preferred way in Ruby is often encouraged with semantic sugar.
<havenwood>
smrtz|nix: But always optional. :)
<smrtz|nix>
havenwood: thanks for all the help.
<havenwood>
smrtz|nix: de nada
bklane_ has joined #ruby
bklane has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby
burlyscudd has quit [Quit: Leaving.]
rsahae has joined #ruby
theRoUS has quit [Ping timeout: 240 seconds]
arya__ has joined #ruby
Todd has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
monkegjinni has joined #ruby
jonathanwallace2 has quit [Quit: WeeChat 0.4.0]
burlyscudd has joined #ruby
<fragmachine>
I'm gonna chime in here and say, Ruby has the nicest IRC in the programming world
arya_ has quit [Ping timeout: 248 seconds]
<end_guy>
Thanks fragmachine! We try to make it nice :)
Meatant has quit [Quit: bbl]
jonathanwallace has joined #ruby
nomenkun has joined #ruby
<fragmachine>
thankyou?
lebek has joined #ruby
Hanmac2 has joined #ruby
<fragmachine>
My school teaches VB
smathieu has quit [Remote host closed the connection]
<fragmachine>
they say it's good for beginners
<havenwood>
john2496: Rails channel is #RubyOnRails by the way!, but maybe?: rake db:schema:dump
<fragmachine>
I think they should try Ruby
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
<fragmachine>
It's my favourite language
dhruvasagar has quit [Ping timeout: 246 seconds]
devoldmx has quit [Ping timeout: 252 seconds]
smathieu has joined #ruby
<fragmachine>
Ruby got me into programming
comrade_ has joined #ruby
threesome has quit [Ping timeout: 246 seconds]
devoldmx has joined #ruby
comrade_ has quit [Client Quit]
<smrtz|nix>
does ruby 1.9.x care about whitespace? I know ruby 2 does since I just spent 5 minutes debugging that, hah
<havenwood>
smrtz|nix: all Ruby versions care about whitespace
nomenkun has quit [Ping timeout: 252 seconds]
tmi has quit [Quit: tmi]
Hanmac2 has quit [Read error: Operation timed out]
forced_request has joined #ruby
<fragmachine>
I guess you could always put in semi colons
poga has joined #ruby
MrZYX|off is now known as MrZYX
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister`sleep has quit [Read error: Connection reset by peer]
devoldmx has quit [Ping timeout: 256 seconds]
<havenwood>
fragmachine: seems Ruby would be a really nice choice for university, dunno why more don't go that route
jozefg has joined #ruby
breakingthings has quit [Quit: breakingthings]
cj3kim has quit [Remote host closed the connection]
goleldar has joined #ruby
<aedorn>
havenwood: If it's not an MS bias, it's a Python bias.
<fragmachine>
havenwood: I think they have a deal with Microsoft. Or I'm pretty sure my school does.
<havenwood>
aedorn: mm, yeah - i guess they have a point that python is simpler - but Ruby is nicer!!
<havenwood>
fragmachine: aha, the horror! :O
<havenwood>
fragmachine: They should teach Clojure then, its on the CLR. :P
<aedorn>
I don't know about simpler ... =(
ehaliewicz has joined #ruby
<havenwood>
aedorn: Simpler grammar at least.
<havenwood>
aedorn: Not nearly as intuitive for me though.
<fragmachine>
Ruby follows the principle of least surprise, other programming languages don't!
<aedorn>
Guess it just depends. I've been watching a couple of people learn Python, and a couple of others learn Ruby from no experience. Ruby ones are doing far better, despite more resources for Python.
<havenwood>
aedorn: interesting
<fragmachine>
Ruby is a good language to learn with
<fragmachine>
It's a good language hands down
<fragmachine>
well, for most things
jibi has quit [Quit: .]
xardas has quit [Ping timeout: 276 seconds]
Zolo has quit [Remote host closed the connection]
arya__ has quit [Ping timeout: 248 seconds]
<fragmachine>
Why teach Visual Basic?
<aedorn>
Obviously not saying Python is bad, but as a first language I have my suspicions at the moment.
<fragmachine>
I'll be honest, I want to learn Python
tjbiddle has joined #ruby
<sam113101_>
test
<fragmachine>
sam113101_: success
<gemmy>
Basic, n.: A programming language. Related to certain social diseases in
jlast has quit [Remote host closed the connection]
<gemmy>
that those who have it will not admit it in polite company.
kpshek has quit [Ping timeout: 246 seconds]
<fragmachine>
Visual Basic - has dialog boxes
<fragmachine>
Visual Basic - fuck convention, this is our loop
kpshek has joined #ruby
<Deele>
how do I make my ruby work with 5.x mysql server, it is cursing that is was compiled for 6.x, and cant work with 5.x
jlast has joined #ruby
thepumpk_ has joined #ruby
<havenwood>
Deele: Have you tried reinstalling the mysql2 gem?
<Deele>
I have mysql gem, not mysql2
<havenwood>
Deele: gem pristine mysql
<havenwood>
in that case ^
Nisstyre has quit [Quit: Leaving]
aspiers has quit [Ping timeout: 256 seconds]
thepumpkin has quit [Ping timeout: 240 seconds]
bklane_ has quit [Read error: Connection reset by peer]
interact_ has quit [Remote host closed the connection]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Deele>
havenwood I have mysql2 and mysql, I require mysql2 but it still "This gem was compiled for 6.0.0 but the client library is 5.1.61."
asobrasil has left #ruby [#ruby]
<Deele>
running on win7 with community mysql
Synthead has joined #ruby
mary5030_ has quit [Ping timeout: 246 seconds]
<havenwood>
Deele: I'd uninstall all gems with mysql in the name, and reinstall em. If that doesn't solve it and you don't want to hunt down the problem, maybe reinstall Ruby entirely.
<smrtz|nix>
havenwood: I'm reading something that says you need to specift STDIN.gets when you use ARGV, is that true?
mary5030 has joined #ruby
<havenwood>
Deele: Do you by any chance have multiple versions of MySQL installed?
<Deele>
havenwood no, that one is running from portable device
<havenwood>
smrtz|nix: If it is true, it is news to me. And I can't think of why at all that would be true.
Michael_ has joined #ruby
mary5030_ has joined #ruby
rahult has joined #ruby
<smrtz|nix>
havenwood: thanks.
relix has joined #ruby
relix has quit [Max SendQ exceeded]
RyanHirsch has joined #ruby
relix has joined #ruby
<smrtz|nix>
Can you explain how gets works and what chomp does please?
<havenwood>
smrtz|nix: But it does appear to be true... >.>
<smrtz|nix>
does chomp just trim whitespace?
<smrtz|nix>
havenwood: really? weird. I can't see why?
<gemmy>
How to pass a lambda expression as a parameter to a method?
<smrtz|nix>
havenwood: Important: Also notice that we're using STDIN.gets instead of plain 'ol gets. That is because if there is stuff in ARGV, the default gets method tries to treat the first one as a file and read from that. To read from the user's input (i.e., stdin) in such a situation, you have to use it STDIN.gets explicitly. Do you understand this?
<havenwood>
smrtz|nix: oh, stdin changes
mary5030_ has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 252 seconds]
anderson has quit [Ping timeout: 264 seconds]
<havenwood>
gemmy: just by its name, bareword
CaptainJet has quit []
ewnd9 has quit [Ping timeout: 246 seconds]
<smrtz|nix>
havenwood: cool, can you put it in lamens terms for me please?
mary5030 has quit [Ping timeout: 240 seconds]
d2dchat has quit [Remote host closed the connection]
<smrtz|nix>
havenwood: havenwood I'm followning all the examples in this tutorial, but I'm still a little fuzzy on some of the details. You think I'll figure the weird stuff out as I go, as long as I keep moving forward with the basic consept.
<havenwood>
smrtz|nix: Basically, `gets` is `Kernel.gets` and it tries to read from ARGF if you've set ARGV, so you need to specify `$stdin.gets` or `STDIN.gets` instead of `gets` or `Kernel.gets` if you use ARGV.
jbpros has quit [Quit: jbpros]
<havenwood>
smrtz|nix: Yeah, i just keep going past what i don't understand and fill in the gaps later. :) At least it might start giving you hints as to how those parts you don't get yet work.
MrPoT4tO_ has quit [Remote host closed the connection]
RyanHirsch has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
<smrtz|nix>
havenwood: is there a diffrence between $stdin or STDIN? and thanks, I'm trying to learn this fast, and it's going well, but theres a lot of stuff I still don't understand.
<havenwood>
smrtz|nix: So you can temporarily set `STDIN = something_else`, then put it back to normal by `STDIN = $stdin`.
<matled>
smrtz|nix: $stdin is a variable that you can freely assign, STDIN is the file descriptor 0 which can be reopened
<matled>
havenwood: you can NOT STDIN = foo, you can do $stdin = foo.
<havenwood>
matled: i said it backwards, oops
<havenwood>
smrtz|nix: what matled said, i inverted
<matled>
just wanted to make sure smrtz doesn't get confused :)
m8 has quit [Quit: Sto andando via]
l33_ has quit [Remote host closed the connection]
locriani has joined #ruby
maxmanders has joined #ruby
Synthead has quit [Ping timeout: 245 seconds]
dayepa has quit [Quit: dayepa]
<smrtz|nix>
havenwood: matled ok, thanks, I get it more now, but I'm still not 100% I"m just going to keep going and hope I figure it out.
<matled>
smrtz|nix: I'd recommend to use $stdin if you don't care about file descriptors
cj3kim has joined #ruby
saarinen has joined #ruby
<smrtz|nix>
havenwood: checking that out now. matled I don't even know what that is yet.
<havenwood>
smrtz|nix: Suffice it to say, there are a bunch of CONSTANTs and $globals that get predefined and a bunch of the globals are perl-esque gibberish. :p
Synthead has joined #ruby
devoldmx has joined #ruby
forrest has quit [Quit: Leaving]
atmosx has joined #ruby
<smrtz|nix>
This "qickRef" isn't so quick.
<havenwood>
smrtz|nix: Definitely read up on file descriptors, i think Jesse Storimer has some really good articles
obs has quit [Quit: Konversation terminated!]
maxmanders has quit [Client Quit]
Michael_ has quit [Remote host closed the connection]
<Deele>
havenwood it turns out, libmysql.dll file is in fault
brianpWins has quit [Quit: brianpWins]
<Deele>
I had been using earlier mysql version dll file, now, I downloaded latest 6.1.0, but curses continue, because gem is for 6.0.0
Astral__ has quit [Ping timeout: 245 seconds]
digitalcake1 has quit [Quit: Leaving.]
alex__c2022 has quit [Quit: alex__c2022]
bklane has quit [Read error: Connection reset by peer]
<Deele>
it is said, that gem had librmysql.dll file in that package coming together, but
c0rn has quit [Quit: Computer has gone to sleep.]
<Deele>
I cant find one in that gem directory
Zai00 has quit [Quit: Zai00]
bklane has joined #ruby
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bklane has quit [Read error: Connection reset by peer]
bklane has joined #ruby
john2496 has quit []
alex__c2022 has joined #ruby
Evixion has quit []
Astralum has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
AlHafoudh has joined #ruby
locriani has quit [Remote host closed the connection]
locriani has joined #ruby
rsahae has quit [Quit: rsahae]
splittingred has quit [Quit: splittingred]
bklane has quit [Ping timeout: 248 seconds]
locriani_ has joined #ruby
ffranz has quit [Quit: Leaving]
locriani has quit [Read error: Connection reset by peer]
<smrtz|nix>
havenwood: yeah, I found that, but I'm not going tp pay money for this hobby, I need it to be free.
devoldmx27 has joined #ruby
devoldmx has quit [Ping timeout: 248 seconds]
thepumpk_ has quit [Remote host closed the connection]
<havenwood>
smrtz|nix: I think he said if you write him a postcard he'll give it to you for free. (<- that practice is actually pretty common in the Ruby community.)
<havenwood>
smrtz|nix: If you care to get a copy, an email might even work as opposed to the traditional postcard.
<havenwood>
smrtz|nix: But i'm sure there's plenty of good info on file descriptors out there for free. ;)
<smrtz|nix>
havenwood: yeah, I've got an open tab for the wikipedia page, I plan on reading through that tonight to get an idea what they even are. Can I have the link to the postcard page please?
mary5030 has joined #ruby
axl_ has quit [Quit: axl_]
mansi has quit [Ping timeout: 276 seconds]
<Deele>
nothing is for free
devoldmx3 has quit [Ping timeout: 252 seconds]
fernandoaleman has quit [Quit: Leaving.]
<smrtz|nix>
can you explain ARGV.first please?
<smrtz|nix>
just the first sting only right?
Synthead has quit [Ping timeout: 245 seconds]
<havenwood>
smrtz|nix: I dunno where storimer posted that policy, but i've heard him offer copies for free for at-need. Here's an example of Avdi's version of the posicy: http://devblog.avdi.org/2012/06/05/confident-ruby-beta/
headius has quit [Quit: headius]
<havenwood>
smrtz|nix: "Send me a handwritten picture postcard from wherever you are, with your email address, and I’ll send you a copy of the book."
<smrtz|nix>
thanks
romdi` has joined #ruby
<havenwood>
smrtz|nix: ARGV is an array. Empty on if nothing passed to it. #first is a method on Array, which returns the first element of the array
niklasb has quit [Read error: Operation timed out]
mmitchell has quit [Read error: Connection reset by peer]
<smrtz|nix>
and ARGV[$0] is just the name of the file run?
<havenwood>
smrtz|nix: just: $0
Hanmac2 has joined #ruby
<smrtz|nix>
it's not in the array? Ok, thanks.
<havenwood>
smrtz|nix: $0 is one of the pre-defined variables (listed in the quick ref)
x1337807x has joined #ruby
<havenwood>
smrtz|nix: Name of the script being run.
<smrtz|nix>
havenwood: I'll have to read that tonight aswell.
Myrth has joined #ruby
pr0ggie has quit [Ping timeout: 246 seconds]
samuel02 has quit [Remote host closed the connection]
romdi has quit [Ping timeout: 276 seconds]
rodacato has quit [Remote host closed the connection]
devoldmx has joined #ruby
lnormous has quit [Read error: Operation timed out]
<smrtz|nix>
I'm getting thee errors when running this file: ex15.rb:4:in `initialize': no implicit conversion of nil into String (TypeError) from ex15.rb:4:in `open' from ex15.rb:4:in `<main>
michaeldeol has quit [Remote host closed the connection]
<havenwood>
smrtz|nix: `file_again` is getting set to `nil` and File.open takes a string
<havenwood>
smrtz|nix: balks at nil
Hanmac2 has quit [Ping timeout: 240 seconds]
ericfilkins has joined #ruby
BlakeRG has quit [Quit: BlakeRG]
devoldmx27 has quit [Ping timeout: 240 seconds]
<havenwood>
smrtz|nix: or `filename`, rather, not `file_again`
ericfilkins has quit [Client Quit]
<havenwood>
smrtz|nix: TL;DR: if you call the program with no argument, ARGV is empty, so ARGV.first is `nil` which File.open explodes on cause it takes strings not nils.
TheDick has quit [Ping timeout: 246 seconds]
TheDick_ is now known as TheDick
<havenwood>
(My TLDR was longer than the reading. >.> Fail.)
jonathanwallace has quit [Quit: WeeChat 0.4.0]
Asher has quit [Quit: Leaving.]
bradhe has quit [Remote host closed the connection]
poga has quit [Remote host closed the connection]
<smrtz|nix>
havenwood: right, I need to run it with the file, I always forget the dumb stuf.
chxane has quit [Quit: Leaving]
bradhe has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
renderful has joined #ruby
jozefg has quit [Quit: jozefg]
choobie has quit [Ping timeout: 256 seconds]
pedda has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<L8D>
So since, I'm already here...Something I've never understood about classes is how a class can define a "default" value for when the class is refernced without any methods
mneorr_ has quit [Remote host closed the connection]
<L8D>
like Hashes and Strings and Numbers and all that
sethetter has quit [Ping timeout: 245 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
TheFuzzball has joined #ruby
<L8D>
because you can't simply def self
<L8D>
or def self=
nfk has quit [Quit: yawn]
anonymuse has quit [Read error: Operation timed out]
<L8D>
And there isn't anything in the Class documentation either
MrPoT4tO has joined #ruby
DonRichie has joined #ruby
sambao21 has joined #ruby
rodacato has quit [Remote host closed the connection]
c0rn has quit [Quit: Computer has gone to sleep.]
dmiller has joined #ruby
tobyo has quit [Ping timeout: 246 seconds]
goleldar has quit [Ping timeout: 240 seconds]
goleldar has joined #ruby
devoldmx has joined #ruby
pentameter has quit [Remote host closed the connection]
grzywacz has quit [Read error: Operation timed out]
c0rn has joined #ruby
tkuchiki has quit [Ping timeout: 246 seconds]
geggam has quit [Remote host closed the connection]
gstamp has joined #ruby
DrShoggoth has quit [Ping timeout: 246 seconds]
<havenwood>
L8D: You mean how are class literals implemented?
fredjean has quit [Quit: Computer has gone to sleep.]
<L8D>
o.O
<L8D>
I guess so
<L8D>
I've never head or learned of "class literals"