apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
timgauthier has joined #ruby
<timgauthier> who is eam?
aspires has quit []
hamakn has joined #ruby
rm_ has quit [Ping timeout: 276 seconds]
<timgauthier> and why would a conversation between rubypanther and them be interesting?
nicholas040 has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmesa has quit [Quit: WeeChat 0.4.3]
mrsolo has left #ruby ["Leaving"]
Soliah has joined #ruby
<eam> timgauthier: it wasn't really
spider-mario has quit [Remote host closed the connection]
d34th4ck3r has joined #ruby
Soliah has quit [Client Quit]
<timgauthier> i see
stantona has quit [Ping timeout: 260 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
testcore has quit [Quit: [BX] The Hobbits use BitchX. Shouldn't you?]
djbkd has quit [Remote host closed the connection]
charliesome has quit [Read error: Connection reset by peer]
b00stfr3ak has quit [Ping timeout: 260 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nowthatsamatt has joined #ruby
<shevy> timgauthier because it's hilarious!
<timgauthier> yea?
<timgauthier> the bot tells me it wasn't
<shevy> yeah, it always ends up by people calling RubyPanther a troll
ddv has quit [Ping timeout: 245 seconds]
<RubyPanther> internet contains mean people, news at 11.
<timgauthier> haha
<lagweezle> arg ...
<timgauthier> awe
<timgauthier> >> arg
<eval-in_> timgauthier => undefined local variable or method `arg' for main:Object (NameError) ... (https://eval.in/159051)
ffranz has joined #ruby
<timgauthier> >> arg = '...'
CodeBunny has joined #ruby
<eval-in_> timgauthier => "..." (https://eval.in/159052)
mijicd has joined #ruby
ddv has joined #ruby
<lagweezle> Er, that wasn't meant to be an answer to anything.
TDJACR has joined #ruby
<timgauthier> i know ;)
<lagweezle> :p
x1337807x has joined #ruby
<lagweezle> Very frustrated.
<timgauthier> me too, this block isn't being a good block
<timgauthier> html is lame
<shevy> haha
beneggett has joined #ruby
<lagweezle> A class returns false to 'respond_to? :plugin_status', throws NoMethodError when I try and call that method, but if I call 'instance_methods' on an instance, it lists 'plugin_status' as one of the methods.
Devanon has quit [Quit: WeeChat 0.4.3]
<toretore> lagweezle: code plz
<toretore> code > words
<lagweezle> Yar.
<timgauthier> pictures > code > words
<benzrf> lagweezle: that's cuz the class doesnt have that method
<timgauthier> hehehe
<lagweezle> Haven't cleaned the repo up enough yet to make it public, yet. :/
<benzrf> > Fixnum.respond_to? :+
<benzrf> >> Fixnum.respond_to? :+
<benzrf> >> Fixnum.respond_to? :+
<eval-in_> benzrf => false (https://eval.in/159053)
<timgauthier> maybe your unclean code is why your fixnum doesn't respond
<timgauthier> they left because you didn't take care of her enough.
<lagweezle> Unclean in that it has information I don't want public (server names, etc.)
<benzrf> bad hardcoder!
<benzrf> bad!
<lagweezle> yep
* benzrf whacks lagweezle with a rolled up newspaper
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
x1337807x has quit [Read error: Connection reset by peer]
<timgauthier> lol
<lagweezle> Pretty sure I'm not using @@ or @ scoping properly, as well...
<lewix> timgauthier: your nick sound familiar
x1337807x has joined #ruby
<timgauthier> ok
<lagweezle> Oh... is it rubocop that makes angry faces at you for doing bad scoping / style / etc. ?
<benzrf> i think, lagweezle
<RubyPanther> That is the Cheetarah doll's job, she sits next to the rubber ducky
tylersmith has quit [Remote host closed the connection]
<lagweezle> benzrf: This is good.
ephemerian has quit [Ping timeout: 245 seconds]
jamto11 has quit [Remote host closed the connection]
codeFiend has joined #ruby
<lagweezle> ... or was that re: rubocop, benzrf ?
einarj has quit [Remote host closed the connection]
shinobi_one has quit [Quit: shinobi_one]
JoeJulian has left #ruby ["Leaving"]
end_guy_ has joined #ruby
end_guy has quit [Ping timeout: 272 seconds]
moritzs has joined #ruby
mijicd has quit [Remote host closed the connection]
kotk_ has joined #ruby
chipotle has joined #ruby
zz_karupa is now known as karupa
kotk has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
mijicd has joined #ruby
Nahra has quit [Remote host closed the connection]
katmandoo has quit [Ping timeout: 264 seconds]
dc has quit [Remote host closed the connection]
Nahra has joined #ruby
Dingus has joined #ruby
<lagweezle> So... thoughts on the failure for it to return tru to '#respond_to? :plugin_status' ?
balazs has quit [Ping timeout: 264 seconds]
tyfighter has quit [Quit: tyfighter]
russt_ has quit [Quit: russt_]
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yetanotherdave has quit [Ping timeout: 240 seconds]
_JokerDoomWork has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JokerDoomWork has quit [Read error: Connection reset by peer]
dc has joined #ruby
jhulten has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Shidash has joined #ruby
yubrew has joined #ruby
ehc has quit [Quit: ehc]
Robbo` has quit [Read error: Connection reset by peer]
joaoh82 has joined #ruby
shevy has quit [Remote host closed the connection]
SilverKey has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
dvabr has quit [Quit: Textual IRC Client: www.textualapp.com]
redondos has quit [Excess Flood]
milkohol has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 260 seconds]
redondos has joined #ruby
nateberkopec has joined #ruby
balazs has joined #ruby
Rollabunna has joined #ruby
dvabr has joined #ruby
jottr has joined #ruby
moritzs has quit [Ping timeout: 276 seconds]
dc has quit [Remote host closed the connection]
kenndel has quit [Read error: Connection reset by peer]
<RubyPanther> >> 0.respond_to? :+
<eval-in_> RubyPanther => true (https://eval.in/159054)
<mozzarella> >> 0.send(:+, 2)
<eval-in_> mozzarella => 2 (https://eval.in/159055)
katmandoo has joined #ruby
yano has quit [Remote host closed the connection]
<mozzarella> can you bypass normal method visiblity (i.e. call private methods) using send?
Rollabunna has quit [Ping timeout: 264 seconds]
lethe has joined #ruby
<mozzarella> >> class Test; private; def wut; 'this is a test'; end; end; Test.new.send(:wut)
mercerist has quit [Quit: Computer has gone to sleep.]
<eval-in_> mozzarella => "this is a test" (https://eval.in/159056)
brandonjmckay has quit [Quit: Leaving.]
combusean has quit [Ping timeout: 252 seconds]
Hobogrammer has joined #ruby
mijicd has quit [Remote host closed the connection]
phoo1234567 has quit [Remote host closed the connection]
troyready has quit [Quit: Leaving]
tvw has quit []
rm_ has joined #ruby
enebo has joined #ruby
NukePuppy has joined #ruby
Shidash1 has joined #ruby
Wolland has joined #ruby
Olipro has quit [Ping timeout: 246 seconds]
arrubin has joined #ruby
mr_snowf1ake has joined #ruby
CodeBunny has quit [Ping timeout: 276 seconds]
Shidash has quit [Ping timeout: 260 seconds]
tkuchiki has joined #ruby
Olipro has joined #ruby
yakko has joined #ruby
rm_ has quit [Ping timeout: 264 seconds]
cpruitt has joined #ruby
bradhe has joined #ruby
robbyoconnor has quit [Ping timeout: 276 seconds]
lyanchih has joined #ruby
enebo has quit [Quit: enebo]
Rahul_Roy has quit [Quit: Connection closed for inactivity]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
pietr0 has quit [Quit: pietr0]
jottr has quit [Quit: WeeChat 0.4.3]
yakko is now known as james_the_rubist
x1337807x has joined #ruby
rjk808 has joined #ruby
jottr has joined #ruby
bradhe has quit [Remote host closed the connection]
_JokerDoomWork has quit [Ping timeout: 264 seconds]
jottr has quit [Client Quit]
TeresaP has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
codeFiend has quit [Quit: codeFiend]
JokerDoomWork has joined #ruby
Hanmac has quit [Quit: Leaving.]
Hanmac has joined #ruby
Tranquility has quit [Ping timeout: 240 seconds]
callenb has quit [Ping timeout: 240 seconds]
maZtah has quit [Ping timeout: 252 seconds]
vcoinminer___ has quit [Ping timeout: 255 seconds]
nobitanobi has quit [Ping timeout: 276 seconds]
callenb has joined #ruby
oo_ has joined #ruby
dc has joined #ruby
maZtah has joined #ruby
cpruitt has quit [Quit: cpruitt]
Tranquility has joined #ruby
kireevco1 has quit [Quit: Leaving.]
Skyler has joined #ruby
mary5030 has joined #ruby
vcoinminer___ has joined #ruby
lewix has quit [Read error: Connection reset by peer]
amargherio has joined #ruby
<Skyler> what's up party people?
bedouin has quit [Read error: Connection reset by peer]
ponga has joined #ruby
lewix has joined #ruby
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Skyler has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
bedouin has joined #ruby
thesheff17 has quit [Quit: Leaving]
thesheff17 has joined #ruby
NinoScript has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
beneggett has joined #ruby
mercwithamouth has joined #ruby
robustus has joined #ruby
brandonjmckay has joined #ruby
brandonjmckay has quit [Client Quit]
xtsee has joined #ruby
GriffinHeart has joined #ruby
MatthewsFace has joined #ruby
maestrojed has joined #ruby
vinleod has joined #ruby
beneggett has quit [Client Quit]
timonv has quit [Ping timeout: 265 seconds]
beneggett has joined #ruby
datafirm__ has quit [Quit: Computer has gone to sleep.]
gaboesquivel has quit [Remote host closed the connection]
datafirm__ has joined #ruby
timgauthier has quit [Quit: Textual IRC Client: www.textualapp.com]
Davey is now known as Eomar
GriffinHeart has quit [Ping timeout: 240 seconds]
lewix has quit [Read error: Connection reset by peer]
mercwithamouth has quit [Ping timeout: 240 seconds]
Shidash1 has quit [Ping timeout: 264 seconds]
yubrew has joined #ruby
lewix has joined #ruby
tectonic has quit []
d34th4ck3r has quit [Quit: zzz]
datafirm__ has quit [Ping timeout: 260 seconds]
rjk808 has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 255 seconds]
rjk808 has joined #ruby
rahult has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ndrei has quit [Ping timeout: 255 seconds]
jottr has quit [Quit: WeeChat 0.4.3]
cashnguns has joined #ruby
timgauthier has joined #ruby
tylersmith has joined #ruby
jxf has joined #ruby
Hanmac has joined #ruby
lw has joined #ruby
blaines has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rjk808 has quit [Ping timeout: 245 seconds]
Valesk has quit [Ping timeout: 252 seconds]
lyanchih has quit [Ping timeout: 265 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djcp has quit [Ping timeout: 252 seconds]
adambeynon has quit [Read error: Connection reset by peer]
charles81__ has quit [Ping timeout: 240 seconds]
schaary|afk has quit [Ping timeout: 252 seconds]
adambeynon has joined #ruby
alol_ has quit [Read error: Connection reset by peer]
Trynemjoel has quit [Ping timeout: 245 seconds]
schaary has joined #ruby
charles81__ has joined #ruby
alexju has joined #ruby
alol_ has joined #ruby
<benzrf> this channel has to many quits + joins
Trynemjoel has joined #ruby
combusean has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
horrorvacui has joined #ruby
horrorvacui has quit [Client Quit]
<timgauthier> i hid them on textual
robbyoconnor has joined #ruby
hamakn has quit [Remote host closed the connection]
toastynerd has joined #ruby
milkohol has joined #ruby
milkohol has quit [Client Quit]
milkohol has joined #ruby
Nahra has quit [Remote host closed the connection]
milkohol has quit [Client Quit]
yakko_ has joined #ruby
marr has quit []
JokerDoomWork has quit [Ping timeout: 260 seconds]
milkohol has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ixti has quit [Ping timeout: 260 seconds]
ddfreyne has quit [Ping timeout: 252 seconds]
rahult is now known as rahult_
rm_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
NukePuppy has quit [Ping timeout: 265 seconds]
james_the_rubist has quit [Ping timeout: 255 seconds]
ddfreyne has joined #ruby
linuxnewb2 has quit [Ping timeout: 252 seconds]
frosgy has joined #ruby
<lagweezle> benzrf: filter them out? :)
Nahra has joined #ruby
<benzrf> :\
lewix has quit [Remote host closed the connection]
frogsy has quit [Ping timeout: 240 seconds]
rm_ has quit [Ping timeout: 252 seconds]
bmurt has quit []
Takle has quit [Remote host closed the connection]
tectonic has joined #ruby
Shidash has joined #ruby
rahult_ is now known as rahult
noob101 has joined #ruby
noob101 is now known as noob101
hamakn has joined #ruby
<noob101> cls
<noob101> Whoops lol, I am not in the command prompt.
<noob101> Stupid noob101. Hello ruby community.
<benzrf> cls?
<noob101> Hi centrx, shevy, RubyPanther, apeiros_, benzrf
larissa has joined #ruby
<noob101> clear screen.
rjk808 has joined #ruby
<snapcase> benzrf: windows version of 'clear'
<benzrf> >windows
<benzrf> grose
<snapcase> sure is
vpretzel|1392 has quit [Read error: Connection reset by peer]
* noob101 has its feelings hurt by benzrf's comment
* noob101 begins to sob in agony
d34th4ck3r has joined #ruby
* noob101 maybe can't afford a different operating system
beneggett has joined #ruby
braincra- has joined #ruby
vpretzel|1392 has joined #ruby
Shidash has quit [Ping timeout: 260 seconds]
rjk808_ has joined #ruby
<snapcase> pirate some lunix
<noob101> Oh suuure ok, I want jailtime snapcase .
<snapcase> chicken
<noob101> I don't know whose watching me.
<noob101> Yup, I am a chicken and a pussy cat,
Morrolan has quit [Ping timeout: 240 seconds]
destructure has quit [Ping timeout: 240 seconds]
Burgestrand has joined #ruby
<RubyPanther> That is DOS not Windoze
<noob101> Plus if I do decide to pirate something and I get caught, I might face harder charges since I am Afro-American.
toastynerd has quit [Remote host closed the connection]
Morrolan has joined #ruby
Vivekananda has joined #ruby
<noob101> Excuse me RubyPanther.
braincrash has quit [Ping timeout: 240 seconds]
rjk808 has quit [Ping timeout: 260 seconds]
<benzrf> noob101: >implying gnu/linux isnt FLOSS
destructure has joined #ruby
<noob101> benzrf: I don't know what the hell you just said but I will just say ok,
Shidash has joined #ruby
Kricir has joined #ruby
rjk808_ has quit [Ping timeout: 264 seconds]
kireevco has joined #ruby
bradhe has joined #ruby
<benzrf> Free/Libre and Open Source Software
freerobby has joined #ruby
codabrink has quit [Quit: Textual IRC Client: www.textualapp.com]
wallerdev has joined #ruby
MatthewsFace has quit [Ping timeout: 252 seconds]
panga has joined #ruby
lewix has joined #ruby
djcp has joined #ruby
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponga has quit [Ping timeout: 265 seconds]
panga has quit [Client Quit]
codeFiend has joined #ruby
linguini has joined #ruby
jamto11 has joined #ruby
Wolland has quit [Remote host closed the connection]
<RubyPanther> I am entitled to FLOSS, yay!
Wolland has joined #ruby
freezey has joined #ruby
aeontech has joined #ruby
codeFiend has quit [Ping timeout: 240 seconds]
vpretzel|1392 has quit [Quit: Adios!]
njs126 has joined #ruby
jamto11 has quit [Ping timeout: 264 seconds]
agarie has quit [Quit: Leaving...]
Shidash has quit [Ping timeout: 252 seconds]
Wolland has quit [Ping timeout: 264 seconds]
Macacity has quit [Quit: Connection closed for inactivity]
tectonic has quit []
aeontech has quit [Ping timeout: 260 seconds]
radic has quit [Ping timeout: 265 seconds]
yubrew has joined #ruby
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beneggett has joined #ruby
radic has joined #ruby
tectonic has joined #ruby
bradhe has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
datafirm__ has joined #ruby
ponga has joined #ruby
ponga has quit [Client Quit]
yano has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
Takle has joined #ruby
DeadManGonzo has quit [Ping timeout: 240 seconds]
datafirm__ has quit [Ping timeout: 252 seconds]
DeadManGonzo has joined #ruby
michael_lee has joined #ruby
brandonjmckay has joined #ruby
amclain has joined #ruby
Hobogrammer_ has joined #ruby
Hobogrammer_ has quit [Client Quit]
katmandoo has quit [Ping timeout: 240 seconds]
djcp has quit [Quit: WeeChat 0.4.3]
shevy has joined #ruby
Wolland has joined #ruby
<benzrf> shevy: i wrote how IO works in haskell but in ruby
<benzrf> wanna see
<shevy> wat
tiguser has quit [Ping timeout: 264 seconds]
<shevy> nobody can use haskell seriously
<benzrf> no
Takle has quit [Ping timeout: 260 seconds]
<benzrf> https://gist.github.com/anonymous/4462840f77e7eaeabf2d fyi <- this is how IO works in haskell
aspires has joined #ruby
<benzrf> h_print("what's your name? ").then(h_gets).bind {|result| h_print "sup " + result}
brandonjmckay has quit [Quit: Leaving.]
Rollabunna has joined #ruby
djbkd has joined #ruby
bmurt has joined #ruby
lewix has quit [Remote host closed the connection]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vivekananda has quit [Ping timeout: 240 seconds]
Rollabunna has quit [Ping timeout: 264 seconds]
michael_lee has quit [Ping timeout: 260 seconds]
Robbo` has joined #ruby
chipotle has quit [Quit: cya]
yetanotherdave has joined #ruby
Vivekananda has joined #ruby
tectonic has quit []
gaboesquivel has joined #ruby
Robbo` has quit [Ping timeout: 240 seconds]
katmandoo has joined #ruby
kaspergrubbe has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
rm_ has joined #ruby
milkohol has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nilium has joined #ruby
tectonic has joined #ruby
stantona has joined #ruby
kaspergr_ has quit [Ping timeout: 260 seconds]
<RubyPanther> x.X
rjk808 has joined #ruby
kaspergrubbe has quit [Ping timeout: 252 seconds]
beneggett has joined #ruby
sdrew has joined #ruby
rm_ has quit [Ping timeout: 260 seconds]
hakunin has quit [Remote host closed the connection]
datafirm__ has joined #ruby
hakunin has joined #ruby
Vivekananda has quit [Ping timeout: 245 seconds]
lw has quit [Quit: s]
stantona has quit [Ping timeout: 264 seconds]
Vivekananda has joined #ruby
michael_lee has joined #ruby
linguini has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
braincra- has quit [Quit: bye bye]
beneggett has quit [Ping timeout: 245 seconds]
datafirm__ has quit [Ping timeout: 255 seconds]
Shidash has joined #ruby
hakunin has quit [Ping timeout: 240 seconds]
newUser1234 has quit [Remote host closed the connection]
Robbo` has joined #ruby
braincrash has joined #ruby
Hanmac1 has joined #ruby
Photism has quit [Quit: Leaving]
timonv has joined #ruby
agent_white has joined #ruby
jhulten has joined #ruby
gcauchon has joined #ruby
bmurt has quit []
bcfc has joined #ruby
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac has quit [Ping timeout: 276 seconds]
Robbo` has quit [Ping timeout: 265 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<agent_white> Good evening
GriffinHeart has joined #ruby
Robbo` has joined #ruby
x1337807x has joined #ruby
<bcfc> evening
Dingus has quit [Quit: Leaving]
timonv has quit [Ping timeout: 245 seconds]
tacos1de has quit [Ping timeout: 272 seconds]
<pontiki> are you teasing the noob101 ?
<noob101> pontiki: huh
<pontiki> good evening, agent white. do you have anything to report?
<pontiki> noob101: linux doesn't cost anything, there's no pirating involved, it's intended to be downloaded for free
<noob101> pontiki: Ah ok.
tacos1de has joined #ruby
<benzrf> pontiki: i'd just like to interject for a moment
<noob101> pontiki: I don't want to change operating systems. :(
<benzrf> what youre referring to as linux is actually gnu/linux
chipotle has joined #ruby
<benzrf> or as ive taken to calling it, gnu plus linux
<pontiki> very correct
<noob101> pontiki: IDK! confused. Let's not talk about switching, I will wait till college I guess.
<pontiki> however, you are fighting an uphill battle against du jure naming
yubrew has joined #ruby
<agent_white> pontiki: Keeping the peace! Fighting the bad guys wherever they may be!
<agent_white> :)
GriffinHeart has quit [Ping timeout: 255 seconds]
rjk808 has quit [Remote host closed the connection]
RyanV has joined #ruby
<gcauchon> +1 if you're here, it's clearly because you have interest in development...
<pontiki> and if someone says "linux" in a context where it is fairly clear they mean an OS distribution rather than merely a kernel, the GNU is clearly implied and does not require stating
x1337807x has quit [Ping timeout: 260 seconds]
<pontiki> no worries from here, noob101
<gcauchon> I might have missed the beginning of the discussion...
<noob101> pontiki: Ok cool.
linoespinoza has joined #ruby
linoespinoza has quit [Max SendQ exceeded]
<gcauchon> noob101: switch OS from what to what?
nateberkopec has quit [Quit: Leaving...]
<pontiki> i'm merely making it clear that installing linux isn't prirating or illegal
<noob101> Windows to Linux.
<noob101> I am watching true life. "I want my Ex back"
<agent_white> noob101: If you are going to Linux, nearly every distro has a "live cd" which you can test out before installing it. I would highly recommendting 'going to town' on downloading them :)
larissa has quit [Quit: Leaving]
<noob101> This lesiban girl got rejected from the girl she wanted to be with, she shed crocodile tears haha.
<gcauchon> that's what I guessed! don't waste your time on windows!
phinfonet has quit []
ponga has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
<noob101> agent_white: thank you sir.
<noob101> What's so bad about windows lol, don't yell at me, I am sure many things are wrong but I don't know.
<gcauchon> the WORST development environment possible if you have interest in anything open source!
<agent_white> Ruby likes Linux, too!
yubrew has quit [Ping timeout: 276 seconds]
benzrf is now known as benzrf|offline
<bcfc> noob101: http://en.windows7sins.org/ a few reasons
St_Marx has quit [Remote host closed the connection]
end_guy_ has quit [Write error: Broken pipe]
tacos1de has quit [Write error: Connection reset by peer]
Boohbah has quit [Write error: Connection reset by peer]
Slavox is now known as Slavox|AFK
* pontiki wonder why she's been singled out to not put pressure on noob101 to switch when she didn't even do that..
d34th4ck3r has quit [Quit: zzz]
<gcauchon> Linux is the way to go for affordable servers; so it's the natural development environment! OsX is a more user friendly OS that is unix-like based so everything often is plug&play
<noob101> ok ok I get it, windows is shit. I will switch when I am ready.
<agent_white> pontiki: I hope you don't feel you got singled out!
<bcfc> i'd say many gnu/linux distributions are very user friendly, osx is user evil :-)
<gcauchon> you're on a ruby channel, I guess you have interest in ruby development...
comma8 has quit [Ping timeout: 260 seconds]
<agent_white> noob101: Nonono, dual-boot. It would be detrimental to not have both!
<pontiki> agent_white: just going by the flow of conversation
pwh has joined #ruby
Shidash has quit [Ping timeout: 255 seconds]
<agent_white> Ahhh. I just hopped in, I still have no idea what is happening! :D
<pontiki> agent_white: it hardly matters. i'm just wondering.
<gcauchon> lose MS, nstall Linux on your PC or get a Mac! period.
sdrew has joined #ruby
sdrew has quit [Client Quit]
Atttwww has joined #ruby
<pontiki> or, hey, if you can't afford a mac, and are queasy about changing from windows, try an cloud-based dev env, such as koding.com and nitrous.io
<agent_white> ^
<Nilium> Yaaaay my internet's back
<Nilium> 11 hours of downtime ಠ_ಠ
<pontiki> or if you have, say, a rather underpowered netbook or such
<Nilium> Almost lost my mind there. Also my github streak.
Slavox|AFK is now known as Slavox
Boohbah has joined #ruby
redondos has quit [Excess Flood]
n0n3 has quit [Remote host closed the connection]
Wolland has quit [Remote host closed the connection]
St_Marx has joined #ruby
redondos has joined #ruby
redondos has joined #ruby
redondos has quit [Changing host]
Wolland has joined #ruby
tacos1de has joined #ruby
<shevy> Nilium lol
zorak8 has quit [Remote host closed the connection]
george2 has joined #ruby
bradhe has joined #ruby
<pontiki> what's your streak?
Wolland_ has joined #ruby
<Nilium> 13 days.
rahult is now known as rahult_
ericmathison has quit [Quit: leaving]
yacks has joined #ruby
<agent_white> I want mine to look like nobu's
Wolland has quit [Ping timeout: 240 seconds]
gcauchon has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
bradhe has quit [Ping timeout: 240 seconds]
<Nilium> With mine, you can see what it's like to completely lose motivation and suffer depression.
<Nilium> In other words: giant holes in the graph.
dayepa has quit [Read error: Connection reset by peer]
gcauchon has joined #ruby
<agent_white> Me too. April 7-May14 has been my big gap.
dayepa has joined #ruby
gcauchon has quit [Client Quit]
<agent_white> Nobu is a beast though. Like jesus.
nowthatsamatt has quit [Quit: nowthatsamatt]
<shevy> he can get respawns for free?
<agent_white> Everytime
end_guy has joined #ruby
newUser1234 has joined #ruby
george2 has quit [Remote host closed the connection]
jhulten has quit [Remote host closed the connection]
alexju has quit [Remote host closed the connection]
zorak has joined #ruby
george2 has joined #ruby
riotjones has joined #ruby
nateberkopec has joined #ruby
vpretzel has joined #ruby
Valesk has joined #ruby
zorak is now known as zorak8
zorak8 has quit [Client Quit]
zorak8 has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
nateberkopec has quit [Read error: No route to host]
JJMalina has joined #ruby
hamakn has joined #ruby
charliesome_ has joined #ruby
charliesome has quit [Ping timeout: 252 seconds]
d34th4ck3r has joined #ruby
rm_ has joined #ruby
JJMalina has quit [Ping timeout: 240 seconds]
ValicekB has quit [Ping timeout: 252 seconds]
mehlah has joined #ruby
rahult_ is now known as rahult
rm_ has quit [Ping timeout: 255 seconds]
habanany has joined #ruby
datafirm__ has joined #ruby
St_Marx has quit [Remote host closed the connection]
St_Marx has joined #ruby
habanany has quit [Client Quit]
rjk808 has joined #ruby
leslie2 has quit [Read error: Connection reset by peer]
leslie1 has joined #ruby
datafirm__ has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cya]
aspires has quit []
_justin has joined #ruby
combusean has quit [Ping timeout: 265 seconds]
Atrumx has joined #ruby
combusean has joined #ruby
guest222 has joined #ruby
guest222 has quit [Remote host closed the connection]
dilated_dinosaur has quit [Ping timeout: 240 seconds]
Solnse has joined #ruby
ValicekB has joined #ruby
comma8 has joined #ruby
yubrew has joined #ruby
d34th4ck3r has quit [Quit: zzz]
AlexRussia has joined #ruby
vpretzel has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
charliesome_ is now known as charliesome
aspires has joined #ruby
charliesome_ has joined #ruby
aspires has quit [Client Quit]
yubrew has quit [Ping timeout: 260 seconds]
Solnse has quit [Remote host closed the connection]
jamto11 has joined #ruby
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amargherio has quit [Read error: Connection reset by peer]
charliesome has quit [Ping timeout: 276 seconds]
beneggett has joined #ruby
beneggett has quit [Client Quit]
cashnguns has quit [Ping timeout: 252 seconds]
jamto11 has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
jack_rabbit has joined #ruby
Deele has joined #ruby
bcfc has left #ruby [#ruby]
x1337807x has joined #ruby
combusean has quit [Ping timeout: 240 seconds]
infinitone has quit [Remote host closed the connection]
jeregrine has quit [Quit: Connection closed for inactivity]
bradhe has joined #ruby
ffranz has quit [Quit: Leaving]
pietr0 has joined #ruby
charliesome_ is now known as charliesome
vinleod has joined #ruby
ffranz has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
bradhe has quit [Ping timeout: 255 seconds]
zoneofdanger has joined #ruby
ra4king has quit [Remote host closed the connection]
n0n3 has joined #ruby
Kricir has quit [Remote host closed the connection]
mordocai has quit [Ping timeout: 240 seconds]
DEA7TH has quit [Ping timeout: 255 seconds]
Rollabunna has joined #ruby
haroldwu has quit [Ping timeout: 240 seconds]
alexju has joined #ruby
fschuindt has quit [Quit: Textual IRC Client: www.textualapp.com]
ra4king has joined #ruby
zorak8 has quit [Ping timeout: 260 seconds]
Nahra has quit [Remote host closed the connection]
haroldwu has joined #ruby
jimbauds has joined #ruby
Nahra has joined #ruby
kenneth has joined #ruby
zorak8 has joined #ruby
freerobby has quit [Quit: Leaving.]
Rollabunna has quit [Ping timeout: 264 seconds]
nnu has joined #ruby
Nilium has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
combusean has joined #ruby
vpretzel has joined #ruby
djbkd has joined #ruby
_justin has quit [Quit: _justin]
vpretzel_ has joined #ruby
chipotle has joined #ruby
doev has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
rm_ has joined #ruby
vpretzel has quit [Ping timeout: 245 seconds]
fgo has joined #ruby
doev has quit [Read error: Connection reset by peer]
doev has joined #ruby
Nilium has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
vpretzel_ has quit [Ping timeout: 264 seconds]
mary5030 has quit [Remote host closed the connection]
timonv has joined #ruby
rm__ has joined #ruby
rm_ has quit [Read error: No route to host]
ndrei has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
Kryptonical has joined #ruby
Kryptonical has quit [Remote host closed the connection]
St_Marx has quit [Remote host closed the connection]
datafirm__ has joined #ruby
Kryptonical has joined #ruby
duncannz has joined #ruby
GriffinHeart has joined #ruby
St_Marx has joined #ruby
djbkd has joined #ruby
gaboesquivel has quit [Remote host closed the connection]
_justin has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
aganov has joined #ruby
datafirm__ has quit [Ping timeout: 240 seconds]
ner0x has quit [Quit: Leaving]
yubrew has joined #ruby
n0n3 has quit [Remote host closed the connection]
GriffinHeart has quit [Ping timeout: 240 seconds]
AlexRussia has quit [Ping timeout: 252 seconds]
freezey has quit [Remote host closed the connection]
Bosox20051 has quit [Read error: Connection reset by peer]
Channel6 has quit [Quit: Leaving]
zoneofdanger has quit [Quit: leaving]
lambo has joined #ruby
oo_ has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
rjk808 has quit [Remote host closed the connection]
rjk808 has joined #ruby
amclain has quit [Quit: Leaving]
lambo has left #ruby [#ruby]
pwh has quit []
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ponga has quit [Remote host closed the connection]
Morkel has joined #ruby
ponga has joined #ruby
rjk808 has quit [Ping timeout: 264 seconds]
oo_ has quit [Ping timeout: 260 seconds]
duncannz has quit [Quit: Leaving]
<pontiki> gnite, folks
bigkevmcd has quit [Ping timeout: 252 seconds]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
Robbo` has quit [Ping timeout: 240 seconds]
anaeem1 has joined #ruby
echevemaster has quit [Quit: Leaving]
ponga has quit [Ping timeout: 276 seconds]
d34th4ck3r has joined #ruby
katmandoo has quit [Ping timeout: 265 seconds]
bradhe has joined #ruby
kireevco has quit [Quit: Leaving.]
pietr0 has quit [Quit: pietr0]
mengu has joined #ruby
Nahra has quit [Remote host closed the connection]
dik_dak has quit [Quit: Leaving]
bradhe has quit [Ping timeout: 252 seconds]
Nahra has joined #ruby
yetanotherdave has quit [Ping timeout: 265 seconds]
oo_ has joined #ruby
yacks has quit [Quit: Leaving]
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
LexicalScope has joined #ruby
xcesariox has joined #ruby
yacks has joined #ruby
Gil has quit [Ping timeout: 252 seconds]
phansch has joined #ruby
tagrudev has joined #ruby
Shidash has joined #ruby
chipotle has quit [Quit: cya]
Royalb15 has joined #ruby
n0n3 has joined #ruby
stormbytes has joined #ruby
MrDoctor has joined #ruby
tylersmith has quit [Remote host closed the connection]
<MrDoctor> What are the ways in which I can read/write ruby class instances into a file on a disk?
tylersmith has joined #ruby
GriffinHeart has joined #ruby
ducntq has joined #ruby
ninegrid_ is now known as ninegrid
tectonic has quit []
duncannz has joined #ruby
agent_white has quit [Remote host closed the connection]
combusean has quit [Ping timeout: 260 seconds]
tylersmith has quit [Ping timeout: 252 seconds]
n0n3 has quit [Read error: No route to host]
danijoo has quit [Read error: Connection reset by peer]
n0n3 has joined #ruby
<apeiros_> MrDoctor: generally: serialization
<apeiros_> MrDoctor: a couple of commonly used ones: Marshal, YAML, JSON, CSV, XML
danijoo has joined #ruby
sski has joined #ruby
sinkensabe has joined #ruby
<MrDoctor> Okay, what library do I use to serialize a class into an XML?
redondos has quit [Excess Flood]
whyy has joined #ruby
timonv has joined #ruby
whyy has quit [Read error: Connection reset by peer]
redondos has joined #ruby
ndrei has quit [Ping timeout: 260 seconds]
dumdedum has joined #ruby
whyy has joined #ruby
<apeiros_> not sure whether there are generic serializers for xml around. check ruby-toolbox.com
<apeiros_> else: nokogiri or plain string manipulation
<MrDoctor> Thanks
<apeiros_> xml is about the least common.
<apeiros_> marshal and yaml are the easiest. just Marshal.dump(data), or data.to_yaml
toastynerd has joined #ruby
ndrei has joined #ruby
dawkirst has joined #ruby
nateberkopec has joined #ruby
vpretzel has joined #ruby
toastynerd has quit [Remote host closed the connection]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bluOxigen has joined #ruby
apeiros_ has quit [Remote host closed the connection]
jack_rabbit has quit [Ping timeout: 264 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
pietr0 has joined #ruby
apeiros has joined #ruby
zB0hs has joined #ruby
pietr0 has quit [Client Quit]
vpretzel has quit [Ping timeout: 245 seconds]
brunops has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
pietr0 has joined #ruby
pietr0 has quit [Client Quit]
kiri has joined #ruby
xcesariox has joined #ruby
tylersmith has joined #ruby
afei has joined #ruby
yubrew has joined #ruby
Wolland_ has quit []
lxsameer has joined #ruby
combusean has joined #ruby
apeiros has quit [Ping timeout: 264 seconds]
datafirm__ has joined #ruby
bpgoldsb has quit [Ping timeout: 252 seconds]
daxroc has quit [Ping timeout: 252 seconds]
guilleiguaran_ has quit [Ping timeout: 252 seconds]
bcavileer has quit [Ping timeout: 252 seconds]
schaary has quit [Ping timeout: 252 seconds]
tessi_zz has quit [Ping timeout: 252 seconds]
olleromo_ has quit [Ping timeout: 252 seconds]
pusewicz__ has quit [Ping timeout: 252 seconds]
kartouch has quit [Ping timeout: 252 seconds]
im0b has quit [Ping timeout: 252 seconds]
nifty has quit [Ping timeout: 252 seconds]
edmellum has quit [Ping timeout: 252 seconds]
l3kn has quit [Ping timeout: 252 seconds]
lectrick has quit [Ping timeout: 252 seconds]
phrozen7- has quit [Ping timeout: 252 seconds]
bjeanes has quit [Ping timeout: 252 seconds]
Striki has quit [Ping timeout: 252 seconds]
martisj has quit [Ping timeout: 252 seconds]
akonny has joined #ruby
kartouch has joined #ruby
klaut has joined #ruby
ohcibi_ has joined #ruby
ohcibi has quit [Read error: Connection reset by peer]
bal has joined #ruby
dinoex has quit [Ping timeout: 252 seconds]
antonishen has quit [Ping timeout: 252 seconds]
kalz has quit [Ping timeout: 252 seconds]
schaary has joined #ruby
daxroc has joined #ruby
yubrew has quit [Ping timeout: 260 seconds]
sarkis has quit [Ping timeout: 240 seconds]
pusewicz__ has joined #ruby
olleromo_ has joined #ruby
bcavileer has joined #ruby
Jello_Raptor has quit [Ping timeout: 252 seconds]
guilleiguaran_ has joined #ruby
yfeldblum has joined #ruby
dinoex has joined #ruby
phrozen77 has joined #ruby
tessi_zz has joined #ruby
fgo has quit [Remote host closed the connection]
l3kn has joined #ruby
Jello_Raptor has joined #ruby
martisj has joined #ruby
edmellum has joined #ruby
lectrick has joined #ruby
im0b has joined #ruby
Striki has joined #ruby
bjeanes has joined #ruby
antonishen has joined #ruby
dilated_dinosaur has joined #ruby
nifty has joined #ruby
bpgoldsb has joined #ruby
kalz has joined #ruby
klaut has quit [Ping timeout: 260 seconds]
datafirm__ has quit [Ping timeout: 260 seconds]
bradhe has joined #ruby
dilated_dinosaur has quit [Ping timeout: 255 seconds]
akonny has quit [Quit: akonny]
dilated_dinosaur has joined #ruby
newUser1234 has quit [Remote host closed the connection]
subraminion has joined #ruby
russt has joined #ruby
haha_ has quit [Remote host closed the connection]
ducntq has quit [Quit: Leaving]
jamto11 has joined #ruby
<mozzarella> what does "nil" actually mean/stand for?
<Hanmac1> mozzarella: nothing
Royalb15 has quit [Quit: Leaving]
jamto11 has quit [Ping timeout: 240 seconds]
augur has joined #ruby
<mozzarella> "From Latin nil, a contraction of nihil, nihilum (“nothing”). See nihilism."
klaut_ has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
fgo has joined #ruby
Shidash1 has joined #ruby
Hanmac1 is now known as Hanmac
northfurr has quit [Quit: northfurr]
apeiros has joined #ruby
jprovazn has joined #ruby
Shidash has quit [Ping timeout: 255 seconds]
deric_skibotn has quit [Ping timeout: 252 seconds]
brunops has quit [Ping timeout: 240 seconds]
sputnik13 has joined #ruby
Macaveli has joined #ruby
obs has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
DEA7TH has joined #ruby
bradhe has quit [Remote host closed the connection]
dilated_dinosaur has quit [Ping timeout: 240 seconds]
alarmkiller has joined #ruby
Takle has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Asher has quit [Read error: Connection reset by peer]
relix has joined #ruby
Asher has joined #ruby
skaflem has joined #ruby
beneggett has joined #ruby
shvelo has joined #ruby
fgo has joined #ruby
lsmola_ has joined #ruby
timonv has quit [Remote host closed the connection]
lsmola has quit [Ping timeout: 264 seconds]
prathamesh has joined #ruby
zB0hs has quit [Quit: Textual IRC Client: www.textualapp.com]
Takle has quit [Ping timeout: 264 seconds]
bascht has joined #ruby
SegFaultAX has quit [Excess Flood]
<d34th4ck3r> is there a way to put multiline function in one line in ruby for example a.map{|t| t.param=2 t.save } ?
<Hanmac> d34th4ck3r: ";"
alem0lars has joined #ruby
<d34th4ck3r> Hanmac: Thanks! :D
SegFaultAX has joined #ruby
TDJACR has quit [Quit: ZNC - http://znc.in]
Shidash1 has quit [Ping timeout: 240 seconds]
<d34th4ck3r> I thought ruby just hate “;” :P
rghose1 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lolmaus has quit [Ping timeout: 264 seconds]
alem0lars has quit [Client Quit]
x1337807x has joined #ruby
bbloom_ has joined #ruby
fgo has quit [Ping timeout: 265 seconds]
mikeg has joined #ruby
TDJACR has joined #ruby
bigkevmcd has joined #ruby
bbloom has quit [Ping timeout: 240 seconds]
LiohAu has joined #ruby
bigkevmcd has quit [Max SendQ exceeded]
LiohAu has quit [Client Quit]
alexju has quit [Remote host closed the connection]
yacks has joined #ruby
x1337807x has quit [Ping timeout: 252 seconds]
Rollabunna has joined #ruby
shvelo has quit [Ping timeout: 245 seconds]
tvw has joined #ruby
mikeg has quit [Ping timeout: 264 seconds]
sski has quit [Remote host closed the connection]
sski has joined #ruby
rm__ has quit [Remote host closed the connection]
rm_ has joined #ruby
Nahra has quit [Remote host closed the connection]
dvabr has quit [Ping timeout: 260 seconds]
IceDragon has quit [Quit: Space~~~]
_justin has quit [Ping timeout: 252 seconds]
Rollabunna has quit [Ping timeout: 255 seconds]
Nahra has joined #ruby
nateberkopec has joined #ruby
edogawaconan has joined #ruby
sski has quit [Ping timeout: 240 seconds]
claymore has joined #ruby
<edogawaconan> hello, how do I output BC date? e.g. Date.new(0,1,1).<something> => "1-01-01 BC"
vpretzel has joined #ruby
oo_ has quit [Remote host closed the connection]
tvw has quit []
oo_ has joined #ruby
<edogawaconan> * '0001-01-01 BC'
aagdbl has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
vpretzel has quit [Ping timeout: 252 seconds]
<edogawaconan> .parse parse it just fine ( Date.parse('0001-02-29 BC') => Sun, 29 Feb 0000 ) but I can't find way to do the inverse
shvelo has joined #ruby
fgo has joined #ruby
_tpavel has joined #ruby
subraminion has quit [Quit: Computer has gone to sleep.]
fgo has quit [Read error: No route to host]
fgo has joined #ruby
timonv has joined #ruby
obs has quit [Quit: Saliendo]
<wu_> it set the year to 0000, that's an error?
himsin has joined #ruby
zachrab has joined #ruby
timonv has quit [Remote host closed the connection]
zachrab has quit [Client Quit]
bradhe has joined #ruby
sarkis has joined #ruby
djbkd has quit [Remote host closed the connection]
lolmaus has joined #ruby
fgo has quit [Ping timeout: 252 seconds]
faulkner has quit [Ping timeout: 240 seconds]
bmn has quit [Ping timeout: 240 seconds]
<wu_> strftime , whether in libc or ruby does't seem to have the 'era' option i'm seeing in Perl's DateTime
stormbytes has quit [Quit: Textual IRC Client: www.textualapp.com]
wallerdev has quit [Quit: wallerdev]
<wu_> chance are ruby uses the C version intenrally so it'd be nontrivial to monkeypatch
<Mon_Ouie> It doesn't anymore
datafirm__ has joined #ruby
Sou|cutter has quit [Ping timeout: 240 seconds]
Sou|cutter has joined #ruby
anekos has quit [Ping timeout: 276 seconds]
bradhe has quit [Ping timeout: 260 seconds]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subraminion has joined #ruby
subraminion has quit [Remote host closed the connection]
rcs has quit [Ping timeout: 276 seconds]
russt has quit [Quit: russt]
sarkis has quit [Ping timeout: 260 seconds]
anarang has joined #ruby
St_Marx has quit [Ping timeout: 272 seconds]
subraminion has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
<wu_> cool
<wu_> i'd proably use .iso8601 instead of #strftime anwyays
dmitrykorotkov has joined #ruby
kilk_ has joined #ruby
dmitrykorotkov has quit [Read error: Connection reset by peer]
datafirm__ has quit [Ping timeout: 240 seconds]
codecop has joined #ruby
rcs has joined #ruby
xjiujiu has joined #ruby
faulkner has joined #ruby
bmn has joined #ruby
beneggett has joined #ruby
ValicekB has quit [Ping timeout: 264 seconds]
xjiujiu has quit [Client Quit]
jackneill has joined #ruby
timfoo has quit [Ping timeout: 260 seconds]
aagdbl has quit [Quit: This computer has gone to sleep]
LiohAu has joined #ruby
xjiujiu has joined #ruby
timfoo has joined #ruby
Royalb15 has joined #ruby
kilk__ has joined #ruby
St_Marx has joined #ruby
glenfe has quit [Ping timeout: 252 seconds]
<edogawaconan> wu_: year 1 BC is year 0 astronomical year
glenfe has joined #ruby
anekos has joined #ruby
bigkevmcd has joined #ruby
flagg0204 has quit [Ping timeout: 240 seconds]
comma8 has quit [Ping timeout: 240 seconds]
sk87 has joined #ruby
ValicekB has joined #ruby
flagg0204 has joined #ruby
gregf_ has joined #ruby
jxf has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
balazs has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby
glenfe has quit [Ping timeout: 260 seconds]
rizki has joined #ruby
noop has joined #ruby
Takle has quit [Ping timeout: 264 seconds]
rizki has left #ruby [#ruby]
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davedev24_ has quit [Remote host closed the connection]
alem0lars has joined #ruby
alex88 has joined #ruby
JPascal has joined #ruby
tylersmith has quit [Ping timeout: 265 seconds]
aagdbl has joined #ruby
timfoo has quit [Ping timeout: 260 seconds]
flagg0204 has quit [Ping timeout: 260 seconds]
fgo has joined #ruby
timfoo has joined #ruby
<joelteon> this happens when I try to build ruby: https://gist.github.com/joelteon/f4fcc0b43a4dfa506298
<joelteon> is this the right place to seek help?
eval-in_ has quit [Remote host closed the connection]
eval-in has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
sarkis has joined #ruby
xjiujiu has joined #ruby
timonv has joined #ruby
andikr has joined #ruby
lolmaus has quit [Ping timeout: 240 seconds]
willgorman has quit [Ping timeout: 240 seconds]
whyy has quit [Remote host closed the connection]
lolmaus has joined #ruby
sarkis has quit [Ping timeout: 245 seconds]
timonv_ has joined #ruby
glenfe has joined #ruby
eval-in has quit [Remote host closed the connection]
eval-in has joined #ruby
why_away has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
<d34th4ck3r> joelteon: How much memory do you have in the partition? also, are you using super user to run the command?
flagg0204 has joined #ruby
kilk_ has quit [Quit: kilk_]
comma8 has joined #ruby
yubrew has joined #ruby
hermanmunster has quit [Remote host closed the connection]
r0bby has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hermanmunster has joined #ruby
robbyoconnor has quit [Ping timeout: 240 seconds]
JokerDoomWork has joined #ruby
combusean has quit [Ping timeout: 264 seconds]
glenfe has quit [Quit: Restart]
ayaz has joined #ruby
shvelo has quit [Ping timeout: 240 seconds]
Macacity has joined #ruby
willgorman has joined #ruby
nateberkopec has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
vpretzel has joined #ruby
roolo has joined #ruby
nateberkopec has quit [Read error: No route to host]
xjiujiu has joined #ruby
nateberkopec has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
hermanmunster has quit [Ping timeout: 252 seconds]
nvrch has joined #ruby
JokerDoomWork has quit [Ping timeout: 276 seconds]
heftig has joined #ruby
bascht has left #ruby [#ruby]
tesuji has joined #ruby
LekeFly has joined #ruby
freggles has quit [Remote host closed the connection]
LekeFly has quit [Client Quit]
vpretzel has quit [Ping timeout: 260 seconds]
rdark has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
Morkel_ has joined #ruby
<joelteon> i thought partition referred to hard drives
glenfe has joined #ruby
Morkel has quit [Ping timeout: 276 seconds]
Morkel_ is now known as Morkel
LexicalScope has quit [Quit: Leaving]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
LekeFly has joined #ruby
xjiujiu has joined #ruby
dseitz has joined #ruby
Azulinho has joined #ruby
RyanV has quit [Quit: Computer has gone to sleep.]
krz has joined #ruby
kaspergrubbe has joined #ruby
d34th4ck3r has quit [Quit: zzz]
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
olivier_bK has joined #ruby
ctp has joined #ruby
datafirm__ has joined #ruby
xjiujiu has quit [Client Quit]
xjiujiu has joined #ruby
ephemerian has joined #ruby
datafirm__ has quit [Ping timeout: 265 seconds]
rahult has quit [Ping timeout: 276 seconds]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
noop has quit [Remote host closed the connection]
why_away has quit [Remote host closed the connection]
whyy has joined #ruby
tessi_zz is now known as tessi
mikemac has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
crazymykl has quit [Ping timeout: 265 seconds]
elaptics`away is now known as elaptics
xjiujiu has joined #ruby
RyanV has joined #ruby
jamto11 has joined #ruby
Takle has joined #ruby
timonv_ has quit [Remote host closed the connection]
whyy has quit [Ping timeout: 240 seconds]
timfoo has quit [Ping timeout: 260 seconds]
nvrch has left #ruby [#ruby]
shvelo has joined #ruby
timfoo has joined #ruby
noop has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
Joulse has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
whyy has joined #ruby
xjiujiu has joined #ruby
klaut_ has quit [Remote host closed the connection]
einarj has joined #ruby
why_away has joined #ruby
alem0lars has quit [Quit: Going AFK...]
learner has quit [Ping timeout: 265 seconds]
forcefsck has joined #ruby
learner has joined #ruby
prathamesh has quit [Ping timeout: 260 seconds]
subraminion has quit [Quit: Lingo - http://lingoirc.com]
whyy has quit [Ping timeout: 252 seconds]
xjiujiu has quit [Client Quit]
blueOxigen has joined #ruby
xjiujiu has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
jimbauds has quit [Ping timeout: 240 seconds]
bluOxigen has quit [Ping timeout: 260 seconds]
banister has joined #ruby
d34th4ck3r has joined #ruby
<d34th4ck3r> joelteon: no they don’t. try: “df -h”
xjiujiu has quit [Client Quit]
xjiujiu has joined #ruby
rahult has joined #ruby
alem0lars has joined #ruby
timonv has joined #ruby
sarkis has joined #ruby
shvelo has quit [Ping timeout: 240 seconds]
LACP has quit [Ping timeout: 240 seconds]
oso96_2000 has quit [Ping timeout: 260 seconds]
nfk has joined #ruby
LACP has joined #ruby
MrDoctor has quit [Remote host closed the connection]
AndChat| has quit [Ping timeout: 264 seconds]
Takle has quit [Remote host closed the connection]
oso|away has joined #ruby
mikecmpbll has joined #ruby
oso|away is now known as oso96_2000
yubrew has joined #ruby
Azulinho has quit [Ping timeout: 255 seconds]
mehlah has quit [Quit: Leaving...]
sarkis has quit [Ping timeout: 252 seconds]
lyuzashi has quit [Ping timeout: 245 seconds]
Joulse has quit [Ping timeout: 240 seconds]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
DEA7TH has quit [Ping timeout: 264 seconds]
Rollabunna has joined #ruby
xjiujiu has joined #ruby
mengu has quit [Remote host closed the connection]
Takle has joined #ruby
yubrew has quit [Ping timeout: 260 seconds]
yeticry has quit [Ping timeout: 265 seconds]
Nahra has quit [Remote host closed the connection]
Nahra has joined #ruby
yeticry has joined #ruby
Rollabunna has quit [Ping timeout: 240 seconds]
_justin has joined #ruby
nateberkopec has joined #ruby
Joulse has joined #ruby
vpretzel has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
Atttwww has quit [Ping timeout: 264 seconds]
Kryptonical has quit [Ping timeout: 252 seconds]
Kryptonical has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nateberkopec has quit [Ping timeout: 240 seconds]
combusean has joined #ruby
djbkd has joined #ruby
shvelo has joined #ruby
vpretzel has quit [Ping timeout: 260 seconds]
<Macaveli> database related stuff can be asked here or better on #rails?
MrDoctor has joined #ruby
marr has joined #ruby
hermanmunster has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
combusean has quit [Ping timeout: 276 seconds]
dilated_dinosaur has joined #ruby
shevy has quit [Ping timeout: 255 seconds]
phansch has quit [Quit: WeeChat 0.4.3]
r0bby_ has joined #ruby
Kryptonical has quit [Ping timeout: 245 seconds]
klaut has joined #ruby
noop has quit [Ping timeout: 264 seconds]
r0bby has quit [Ping timeout: 265 seconds]
andrewlio has joined #ruby
<MrDoctor> Can anybody answer a question on the DataMapper::Resource class http://datamapper.org
rfv has joined #ruby
shevy has joined #ruby
<jle`> MrDoctor: just ask your question :)
<MrDoctor> If I define a class, say, GenericUser, a table gets created having the name "generic_users"
AlexRussia has joined #ruby
<MrDoctor> Can I set the name of the table in any way, that does not depend on the name of the class?
<Morrolan> Search for 'storage_name'
<MrDoctor> Thanks Morrolan
<Morrolan> :)
banister has joined #ruby
obs has joined #ruby
<rfv> hey, just getting started with ruby and I need some feedback on a piece of code. Is this idiomatic enough or is there anything better I can do ? https://gist.github.com/anonymous/f90054119475796e1d61
ponga has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
datafirm__ has joined #ruby
bluOxigen has joined #ruby
blueOxigen has quit [Ping timeout: 240 seconds]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
aagdbl has joined #ruby
banister has quit [Client Quit]
AlSquire has joined #ruby
mehlah has joined #ruby
bluOxigen has joined #ruby
<shvelo> shevy, wanna halp me write the book?
datafirm__ has quit [Ping timeout: 255 seconds]
<krz> cant iterate over time objects?
<Morrolan> What would you expect it to yield? :)
<Morrolan> Seconds since Epoch? Years since shevy's birthday?
<krz> ah
shevy has quit [Ping timeout: 252 seconds]
<wu_> there's more than one Epoch, 1970 is passe'
<Morrolan> That doesn't make iterating over a time object any easier. D:
Kryptonical has joined #ruby
Kryptonical has quit [Read error: Connection reset by peer]
Kryptonical has joined #ruby
d34th4ck3r has quit [Quit: zzz]
spider-mario has joined #ruby
roolo has quit [Quit: Leaving...]
roolo has joined #ruby
sawtooth has quit [Ping timeout: 240 seconds]
banister has joined #ruby
banister has quit [Client Quit]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Azulinho has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
mengu has quit [Remote host closed the connection]
banister has joined #ruby
strk has joined #ruby
aagdbl has joined #ruby
<strk> how can I specify a custom message for failing rspec "should" tests ?
<strk> table.should_not be_nil "my custom failure message here"
<strk> something like the above
<strk> possible ?
doev has quit [Quit: Verlassend]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
Vivekananda has quit [Remote host closed the connection]
Takle_ has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
dumdedum has quit [Quit: foo]
sawtooth has joined #ruby
shvelo has quit [Ping timeout: 240 seconds]
Takle has quit [Ping timeout: 240 seconds]
xjiujiu has quit [Client Quit]
xjiujiu has joined #ruby
shvelo has joined #ruby
rghose2 has joined #ruby
moritzs has joined #ruby
rghose1 has quit [Ping timeout: 245 seconds]
Burgestrand has quit [Quit: Burgestrand]
yubrew has joined #ruby
AlexRussia has quit [Ping timeout: 276 seconds]
cdelo has quit [Read error: Connection reset by peer]
cdelo has joined #ruby
cdelo has quit [Read error: Connection reset by peer]
Xeago has quit [Ping timeout: 252 seconds]
cdelo has joined #ruby
tvw has joined #ruby
sarkis has joined #ruby
Xeago has joined #ruby
<matti> Ohai
yubrew has quit [Ping timeout: 276 seconds]
kilk_ has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
dangerousdave has joined #ruby
timonv has quit [Remote host closed the connection]
sarkis has quit [Ping timeout: 276 seconds]
timonv has joined #ruby
momomomomo has quit [Quit: momomomomo]
noop has joined #ruby
duncannz has quit [Ping timeout: 276 seconds]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
yacks has quit [Ping timeout: 276 seconds]
karupa is now known as zz_karupa
timonv has quit [Ping timeout: 260 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
Takle_ has quit [Remote host closed the connection]
bluOxigen has joined #ruby
r0bby_ has quit [Ping timeout: 240 seconds]
dc has quit []
nateberkopec has joined #ruby
vpretzel has joined #ruby
dc has joined #ruby
yacks has joined #ruby
codecop has quit [Remote host closed the connection]
afei has quit [Ping timeout: 255 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
<_tpavel> strk, you should use the new expect syntax, and you can have customized messages like so: https://www.relishapp.com/rspec/rspec-expectations/docs/customized-message
noop has quit [Ping timeout: 255 seconds]
vpretzel has quit [Ping timeout: 245 seconds]
Wolland has joined #ruby
djbkd has joined #ruby
<strk> expect(table) to not_be_nil, "issues here"
<strk> ?
<_tpavel> to_not be_nil
<strk> expect(table).to_not be_nil, "Import failed: #{data_import.log}"
noop has joined #ruby
<strk> trying
ksinkar has joined #ruby
hgl has quit [Quit: Quit]
<ksinkar> Does it where in our class definition or module definition we include external classes or modules?
shvelo has quit [Ping timeout: 240 seconds]
<ksinkar> Pardon me, I meant "Does it matter where in our class definition or module definition we include external classes or modules?"
<strk> good with ruby 1.9 ?
<strk> _tpavel: the expect syntax, that is ^^
<_tpavel> what version of RSpec are you using?
<_tpavel> oh and sorry, it's actually expect(bla).not_to. I always get this one mixed up
djbkd has quit [Ping timeout: 276 seconds]
rahult is now known as rahult_
rahult_ is now known as rahult
timonv has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
varius has joined #ruby
wu_ is now known as cr
xjiujiu has joined #ruby
datafirm__ has joined #ruby
xcesariox has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
Takle has joined #ruby
danijoo has joined #ruby
<strk> _tpavel: rspec-rails (= 2.10.1)
<strk> rspec (2.10.0)
<strk> and:
<strk> Failure/Error: expect(table).to be_nil, "Import failed: #{data_import.log}"
<strk> ArgumentError:
<strk> wrong number of arguments (1 for 0)
alem0lars has quit [Quit: alem0lars]
datafirm__ has quit [Ping timeout: 265 seconds]
<_tpavel> strk, oh ok. The new syntax was introduced only starting with version 2.14 .
<strk> :'(
<strk> so, no way with 2.10 ?
<_tpavel> then check out the docs here for customized messages: https://www.relishapp.com/rspec/rspec-expectations/v/2-10/docs/customized-message
DarKnesS1WolF is now known as DarKnesS_WolF
<_tpavel> it's basically what you suspected initially, but with a comma :)
DarKnesS_WolF has quit [Changing host]
DarKnesS_WolF has joined #ruby
Litzthomaz38 has joined #ruby
Litzthomaz38 has left #ruby [#ruby]
Takle has quit [Remote host closed the connection]
decoponio has joined #ruby
jamto11 has joined #ruby
dawkirst has quit [Remote host closed the connection]
DaniG2k has joined #ruby
<_tpavel> strk, but you can look into upgrading to 2.14, the old syntax should still be compatible and you can start getting used to the new syntax when writing new tests.
dawkirst has joined #ruby
dawkirst has quit [Remote host closed the connection]
<strk> Failure/Error: table.should_not be_nil, "Import failure: #{data_import.log}"
dawkirst has joined #ruby
<strk> uhm, failed to expand #{data_import.log} :'(
dumdedum has joined #ruby
<strk> ideas ?
phansch has joined #ruby
jamto11 has quit [Ping timeout: 252 seconds]
<_tpavel> strk, does it work without the 'data_import' part?
afei has joined #ruby
michael_lee has quit [Ping timeout: 245 seconds]
<_tpavel> it might not be scoped right. Make a gist of your code https://gist.github.com/
ponga has quit [Remote host closed the connection]
jackneill has quit [Remote host closed the connection]
ponga has joined #ruby
chipotle has joined #ruby
roolo has quit [Quit: Leaving...]
mercwithamouth has joined #ruby
Xeago has joined #ruby
davedev24_ has joined #ruby
joonty is now known as Red-Guy
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
Wolland has quit [Remote host closed the connection]
xjiujiu has joined #ruby
Wolland has joined #ruby
<strk> _tpavel: it was empty
<strk> the expansion happens on next line
<strk> the first line contains the source line
koell has joined #ruby
Red-Guy is now known as joonty
<_tpavel> so it's some other bug in your code?
yubrew has joined #ruby
ponga has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
j75 has quit [Ping timeout: 276 seconds]
ponga has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Xeago has quit [Ping timeout: 240 seconds]
jackneill has joined #ruby
Wolland has quit [Ping timeout: 240 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maximski has joined #ruby
hakunin has joined #ruby
mengu has joined #ruby
GriffinHeart has joined #ruby
Takle has joined #ruby
Takle has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 260 seconds]
Takle has joined #ruby
_tpavel has quit [Quit: Leaving]
Takle has quit [Remote host closed the connection]
relix has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
dawkirst has quit [Remote host closed the connection]
hgl has joined #ruby
bradhe_ has joined #ruby
dawkirst has joined #ruby
qpok_ is now known as qpok
aagdbl has joined #ruby
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
dawkirst has quit [Remote host closed the connection]
OffTheRails has joined #ruby
dawkirst has joined #ruby
blackmesa has joined #ruby
rghose2 has quit [Ping timeout: 240 seconds]
j75 has joined #ruby
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
aagdbl has quit [Client Quit]
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
bradhe_ has quit [Remote host closed the connection]
zenojis has quit [Ping timeout: 240 seconds]
Rollabunna has joined #ruby
aagdbl has joined #ruby
rghose1 has joined #ruby
zenojis has joined #ruby
SegFaultAX has quit [Excess Flood]
noocode has quit [Ping timeout: 265 seconds]
gbchaosmaster has quit [Ping timeout: 264 seconds]
roolo has joined #ruby
nateberkopec has joined #ruby
noocode has joined #ruby
ponga has joined #ruby
panga has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
chipotle has quit [Quit: cya]
Rollabunna has quit [Ping timeout: 264 seconds]
rahult has quit [Quit: Back to the world of zombies]
SegFaultAX has joined #ruby
vpretzel has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
Rahul_Roy has joined #ruby
charliesome has joined #ruby
koell has quit [Quit: So say we all!]
nateberkopec has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
r00ster has joined #ruby
byteoverfl0w has joined #ruby
vpretzel has quit [Ping timeout: 240 seconds]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
xjiujiu has joined #ruby
nateberkopec has joined #ruby
Takle has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby
mr_snowf1ake has joined #ruby
wald0 has quit [Ping timeout: 252 seconds]
afei has quit [Remote host closed the connection]
dEPy has joined #ruby
chipotle has joined #ruby
wald0 has joined #ruby
xjiujiu has quit [Client Quit]
xjiujiu has joined #ruby
relix has quit [Ping timeout: 260 seconds]
mr_snowf1ake has quit [Quit: Leaving]
Nahra has quit [Remote host closed the connection]
blueOxigen has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
r0ast has joined #ruby
Nahra has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
JokerDoomWork has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
datafirm__ has joined #ruby
xjiujiu has joined #ruby
comma8 has quit [Remote host closed the connection]
xjiujiu has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
mercerist has joined #ruby
r0ast has quit [Ping timeout: 252 seconds]
datafirm__ has quit [Ping timeout: 255 seconds]
danshultz has joined #ruby
GriffinHeart has joined #ruby
andikr has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
roolo has quit [Quit: Leaving...]
Xeago has joined #ruby
ffranz has quit [Ping timeout: 245 seconds]
danshultz has quit [Ping timeout: 260 seconds]
bradhe has joined #ruby
mat_ has joined #ruby
eka has joined #ruby
abra has quit [Ping timeout: 260 seconds]
<mat_> I'm reading some code loading some hashes from a yml file with YAML.load, and the code expect the ruby hash keys to be in the same order as they are in the yml file
freggles has joined #ruby
rghose1 has quit [Read error: Connection reset by peer]
rghose1 has joined #ruby
<mat_> it feels like this assumption is wrong
abra has joined #ruby
roolo has joined #ruby
<ddv> mat_: hash keys are not ordered, only insertion order is remembered
<apeiros> ddv: which means hash keys *are* ordered
strk has left #ruby [#ruby]
<mat_> yeah
<apeiros> mat_: as of ruby 1.9, hash keys will indeed retain the order of the yaml file
bradhe has quit [Ping timeout: 240 seconds]
_justin has quit [Quit: _justin]
St_Marx has quit [Ping timeout: 272 seconds]
why_away has quit [Remote host closed the connection]
<ddv> ehh yeah
<mat_> ok, so, the code doesn't assume things that are wrong
<apeiros> also, please, even if the author was so bad to call it a .yml file, it's a yaml file, not a yml file. thanks.
<mat_> haha
whyy has joined #ruby
<mat_> I'll do that :-)
<apeiros> dos 8.3 is long gone and dead - for good :)
_justin has joined #ruby
<mat_> it did not originate from DOS, but yes
<apeiros> mat_: btw., reading a yaml file is better done using YAML.load_file
<apeiros> mat_: it was the most prominent emanator of the convention.
<mat_> apeiros, Mmm, he's doing YAML.load(File.read(...)), ok, changing that too :-)
<ddv> mat_: are you using rails/activerecord?
<apeiros> mat_: at least he didn't File.open(foo).read. sadly a widespread bad practice
yubrew has joined #ruby
<mat_> ddv, Mmm, this is some IBAN/Swift banking thing, but I'll be using it inside a rails app
<ddv> mat_: use active_hash
<ddv> it's convenient
<mat_> ddv, well, I'm not adding a dependency on active_record to that gem only for that :-)
<mat_> active_support
<mat_> anyway
whyy has quit [Ping timeout: 260 seconds]
atraylen has joined #ruby
andrewhl has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
yubrew has quit [Ping timeout: 240 seconds]
ponga has quit []
ffranz has joined #ruby
jeregrine has joined #ruby
fschuindt has joined #ruby
bmurt has quit []
dilated_dinosaur has quit [Ping timeout: 252 seconds]
ldnunes has joined #ruby
timfoo has quit [Ping timeout: 260 seconds]
St_Marx has joined #ruby
timfoo has joined #ruby
bradhe has joined #ruby
rghose1 has quit [Read error: Connection reset by peer]
joaoh82 has quit []
bradhe has quit [Remote host closed the connection]
rghose1 has joined #ruby
jespada has joined #ruby
dilated_dinosaur has joined #ruby
TripTastic has joined #ruby
klaut has quit [Remote host closed the connection]
ghr has joined #ruby
sk87 has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
dawkirst has quit [Remote host closed the connection]
AlexRussia has joined #ruby
Nahra has quit [Remote host closed the connection]
Nahra has joined #ruby
Takle has quit [Remote host closed the connection]
fschuindt has quit [Quit: Textual IRC Client: www.textualapp.com]
Takle has joined #ruby
lkba has joined #ruby
timfoo has quit [Ping timeout: 260 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
aagdbl has joined #ruby
shevy has joined #ruby
timfoo has joined #ruby
bal has quit [Quit: bal]
vpretzel has joined #ruby
phoo1234567 has joined #ruby
modintel has joined #ruby
bal has joined #ruby
_justin has quit [Quit: _justin]
yfeldblum has joined #ruby
vpretzel has quit [Ping timeout: 252 seconds]
_justin has joined #ruby
workmad3 has joined #ruby
spastorino has joined #ruby
relix has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
yacks has quit [Ping timeout: 255 seconds]
_justin has quit [Client Quit]
chipotle has quit [Quit: cya]
r4do has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
foooobear has joined #ruby
yacks has joined #ruby
relix has quit [Ping timeout: 240 seconds]
danshultz has joined #ruby
danshultz has quit [Remote host closed the connection]
troulouliou_dev has joined #ruby
danshultz has joined #ruby
moritzs has quit [Ping timeout: 264 seconds]
datafirm__ has joined #ruby
relix has joined #ruby
danshult_ has joined #ruby
Nahra has quit [Remote host closed the connection]
danshultz has quit [Read error: Connection reset by peer]
ruralhack has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dawkirst has joined #ruby
Nahra has joined #ruby
shvelo has joined #ruby
shevy has quit [Ping timeout: 265 seconds]
datafirm__ has quit [Ping timeout: 260 seconds]
gaboesquivel has joined #ruby
niklasb has joined #ruby
joaoh82 has joined #ruby
toastynerd has joined #ruby
blackmesa has joined #ruby
toastynerd has quit [Client Quit]
mark_locklear has joined #ruby
Takle has quit [Remote host closed the connection]
phutchins has joined #ruby
yubrew has joined #ruby
benzrf|offline is now known as benzrf
jamto11 has joined #ruby
joaoh82_ has joined #ruby
noob101 has quit [Ping timeout: 240 seconds]
Bira has joined #ruby
russt has joined #ruby
yubrew has quit [Ping timeout: 252 seconds]
russt has quit [Client Quit]
joaoh82 has quit [Ping timeout: 240 seconds]
shevy has joined #ruby
jamto11 has quit [Ping timeout: 260 seconds]
nateberkopec has joined #ruby
wald0 has quit [Ping timeout: 255 seconds]
hermanmunster has quit [Remote host closed the connection]
hermanmunster has joined #ruby
gaboesquivel has quit [Remote host closed the connection]
wald0 has joined #ruby
whyy has joined #ruby
bradhe has joined #ruby
sambao21 has joined #ruby
cdelo has quit [Quit: Leaving]
lolmaus has quit [Ping timeout: 276 seconds]
hermanmunster has quit [Ping timeout: 255 seconds]
NinoScript has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
mengu has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 276 seconds]
NinoScript has joined #ruby
aagdbl has quit [Quit: Leaving]
thisirs has joined #ruby
wald0 has quit [Quit: Lost terminal]
timonv has quit [Remote host closed the connection]
mengu has joined #ruby
dawkirst has quit [Remote host closed the connection]
aagdbl has joined #ruby
fgo has quit [Remote host closed the connection]
why_away has joined #ruby
r4do has left #ruby ["I'm a happy Miranda NG user! Get it here: http://miranda-ng.org/"]
whyy has quit [Ping timeout: 252 seconds]
roolo has quit [Quit: Leaving...]
Rollabunna has joined #ruby
TripTastic has left #ruby ["Leaving"]
andrewhl has quit [Quit: andrewhl]
andrewjanssen has joined #ruby
yfeldblum has joined #ruby
cashnguns has joined #ruby
Rollabunna has quit [Ping timeout: 265 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ayaz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tesuji has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
r00ster has quit [Quit: Leave a message]
r00ster has joined #ruby
tagrudev has quit [Remote host closed the connection]
modintel has quit [Quit: Textual IRC Client: www.textualapp.com]
modintel has joined #ruby
bmurt has joined #ruby
modintel has quit [Client Quit]
modintel has joined #ruby
r00ster_ has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby
runa has left #ruby [#ruby]
roelof has joined #ruby
why_away has quit [Remote host closed the connection]
r00ster has quit [Ping timeout: 265 seconds]
r00ster_ is now known as r00ster
whyy has joined #ruby
<roelof> How can I make a datetime of these three dates (http://pastebin.com/YMS9bree) I tried time.parse and .to_time and to_date but they do not work ?
ayaz has joined #ruby
Kricir has joined #ruby
jottr has joined #ruby
gaboesquivel has joined #ruby
timonv has joined #ruby
LekeFly_ has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
whyy has quit [Ping timeout: 264 seconds]
djbkd has quit [Ping timeout: 265 seconds]
<Hanmac> roelof: DateTime.strptime
LekeFly has quit [Ping timeout: 255 seconds]
<Hanmac> roelof: you need to specify the format with them
balazs has joined #ruby
nnu has quit [Quit: Wqke me up before you go-go]
<roelof> Hanmac: the format of the string or the format of the output
vpretzel has joined #ruby
<Hanmac> roelof: the format of the input
<Hanmac> >> require "date"; DateTime.strptime('12 25 2013', "%m %d %Y")
vpretzel_ has joined #ruby
northfurr has joined #ruby
JPascal has quit []
<roelof> hmm, then I have to make three input rules. One of each date
datafirm__ has joined #ruby
Takle has quit [Remote host closed the connection]
emsilva has joined #ruby
<roelof> Hanmac: I was hoping that there was one solution
<Hanmac> only the last one can detected with #parse, the others have invalid data because ruby cant detect that
vpretzel has quit [Ping timeout: 245 seconds]
abra has quit [Quit: Textual IRC Client: www.textualapp.com]
jfarinas has joined #ruby
abra has joined #ruby
pwh has joined #ruby
yubrew has joined #ruby
<Hanmac> roelof: how should ruby know what one of the two smaller numbers are the days and which are the months?
adantj has joined #ruby
datafirm__ has quit [Ping timeout: 264 seconds]
djcp has joined #ruby
<shevy> first comes days
<shevy> then comes month
<shevy> then years
<shevy> stupid ruby
hackpcbsd has joined #ruby
djcp has left #ruby [#ruby]
AlexRussia has quit [Ping timeout: 245 seconds]
vpretzel_ is now known as vpretzel
JokerDoomWork has quit [Quit: Leaving]
Takle has joined #ruby
<roelof> Wait it is simpler . I misread the exercise. The day is always 25 and the month alsways 12
georgschlenkhoff has joined #ruby
<roelof> So only the year is different and is always 4 characters long. So I can make a regular expresssion to find it
yubrew has quit [Ping timeout: 260 seconds]
JPascal has joined #ruby
adantj has quit [Client Quit]
AlexRussia has joined #ruby
adantj has joined #ruby
<roelof> then I could do date.new ( 25, 12, year)
JPascal has quit [Client Quit]
<roelof> and then finding a function which displays the day
obs has quit [Quit: Saliendo]
oso96_2000 has quit [Read error: Operation timed out]
LACP has quit [Ping timeout: 240 seconds]
JPascal has joined #ruby
hackpcbsd has quit [Client Quit]
yosafbridge has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<Hanmac> roelof:
<Hanmac> >> "12 25 2013"[/\d{4}/].to_i
kevind has joined #ruby
klaut has joined #ruby
katmandoo has joined #ruby
<roelof> Hanmac: I will try that out
<roelof> thanks all
oo_ has quit [Remote host closed the connection]
sivoais has quit [Ping timeout: 252 seconds]
stnly has quit [Ping timeout: 255 seconds]
vali has quit [Ping timeout: 240 seconds]
alexju has joined #ruby
adantj has quit [Client Quit]
sivoais has joined #ruby
alarmkiller has quit []
stnly has joined #ruby
adantj has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LACP has joined #ruby
Joulse has quit [Quit: Joulse]
roelof has quit [Quit: Page closed]
yosafbridge has joined #ruby
<Hanmac> roelof: but that will only work the next 7986 years ... then you might change the regexp ;P
bradhe has joined #ruby
abra has quit [Quit: Textual IRC Client: www.textualapp.com]
oso|away has joined #ruby
vali has joined #ruby
AlexRussia has quit [Quit: Konversation terminated!Good bye!]
oso|away is now known as oso96_2000
<apeiros> famous Y10K problem
alexju has quit [Ping timeout: 264 seconds]
andrewjanssen has quit [Quit: Leaving...]
northfurr has quit [Ping timeout: 264 seconds]
alarmkiller has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
andrewjanssen has joined #ruby
sailias has joined #ruby
t0rc has joined #ruby
brunops has joined #ruby
t0rc has quit [Client Quit]
sailias has quit [Remote host closed the connection]
sk87 has joined #ruby
cashnguns has quit [Remote host closed the connection]
<Hanmac> apeiros: just image in the year 10k they wake up all the programmers from the cryogenic system because they need to update the software ;P
whyy has joined #ruby
fgo has joined #ruby
DouweM has quit [Remote host closed the connection]
<apeiros> nah, they'll just teleport all of them into new chambers
DouweM has joined #ruby
tami99 has joined #ruby
zenojis has quit [Ping timeout: 240 seconds]
emsilva has quit [Quit: Keep walking]
vali has quit [Ping timeout: 240 seconds]
emsilva has joined #ruby
LACP has quit [Ping timeout: 240 seconds]
jeregrine has quit [Quit: Connection closed for inactivity]
creativeembassy has joined #ruby
oso96_2000 has quit [Ping timeout: 260 seconds]
fgo has quit [Read error: No route to host]
roolo has joined #ruby
fgo_ has joined #ruby
stnly has quit [Ping timeout: 260 seconds]
zenojis has joined #ruby
ruralhack has quit [Quit: Leaving]
fgo_ has quit [Client Quit]
LadyRainicorn has joined #ruby
stnly has joined #ruby
emsilva has quit [Client Quit]
emsilva has joined #ruby
oso|away has joined #ruby
Asher has quit [Quit: Leaving.]
himsin has quit [Quit: himsin]
niklasb has quit [Ping timeout: 240 seconds]
oso|away is now known as oso96_2000
codabrink has joined #ruby
tkuchiki has quit [Ping timeout: 260 seconds]
vali has joined #ruby
LACP has joined #ruby
Joulse has joined #ruby
foooobear has quit [Quit: Computer has gone to sleep.]
jerius has joined #ruby
jobewan has joined #ruby
vpretzel is now known as vpretzel|1786
maroloccio has joined #ruby
Channel6 has joined #ruby
jerius has quit [Client Quit]
alarmkiller has quit []
alarmkiller has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
dilated_dinosaur has quit [Ping timeout: 260 seconds]
xcesariox has joined #ruby
silkfox has joined #ruby
banister has joined #ruby
cocotton has joined #ruby
Takle has quit [Remote host closed the connection]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
kilk_ has quit [Quit: kilk_]
kilk__ has quit [Remote host closed the connection]
enebo has joined #ruby
eka has joined #ruby
katmandoo has quit [Read error: Connection reset by peer]
brunops has quit [Ping timeout: 252 seconds]
dawkirst has joined #ruby
NukePuppy has joined #ruby
yfeldblum has joined #ruby
kilk_ has joined #ruby
dawkirst has quit [Remote host closed the connection]
chubchubcharles has joined #ruby
dawkirst has joined #ruby
mary5030 has joined #ruby
kilk_1 has joined #ruby
Eomar is now known as Davey
Zenigor has joined #ruby
silkfox has quit [Ping timeout: 276 seconds]
bluOxigen has joined #ruby
kilk_1 has quit [Client Quit]
Ankhers has joined #ruby
hermanmunster has joined #ruby
mikesplain has joined #ruby
niklasb has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
cpruitt has joined #ruby
Takle has joined #ruby
blueOxigen has quit [Ping timeout: 264 seconds]
kenneth has joined #ruby
frogssgy has joined #ruby
Bira has quit [Remote host closed the connection]
tkuchiki has joined #ruby
hermanmunster has quit [Ping timeout: 265 seconds]
Bhu has joined #ruby
<Bhu> salve
pwh has quit []
<Bhu> per caso qualcuno potrebbe aiutarmi con la creazione di nuovi filtri liquid?
jrhe has joined #ruby
centrx has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
jamto11 has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
frosgy has quit [Ping timeout: 245 seconds]
silkfox has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JPascal has quit []
forcefsck has quit [Ping timeout: 265 seconds]
lw has joined #ruby
cocotton has quit [Remote host closed the connection]
djbkd has joined #ruby
sailias has joined #ruby
dblessing has joined #ruby
alexju has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> Bhu english man
mu5k17u has joined #ruby
nowthatsamatt has joined #ruby
russt has joined #ruby
alarmkiller has quit []
amargherio has joined #ruby
oo_ has joined #ruby
mehlah has quit [Read error: Connection reset by peer]
mehlah has joined #ruby
yubrew has joined #ruby
Rollabunna has joined #ruby
<Bhu> could someone help me with the registration of a liquid filter?
mehlah_ has joined #ruby
freezey has joined #ruby
Nahra has quit [Remote host closed the connection]
<Bhu> and.. not man but doesn't matter
Wolland has joined #ruby
<emsilva> Bhu: I'm not sure I understand the question. You want to use liquid templates with Ruby?
Nahra has joined #ruby
mengu has quit [Remote host closed the connection]
aef has joined #ruby
bluOxigen has quit [Ping timeout: 276 seconds]
<Bhu> yes
alem0lars has joined #ruby
<Bhu> i must to create a new filter
datafirm__ has joined #ruby
<Bhu> i have created a file .rb in the folder lib inside my app
forcefsck has joined #ruby
<emsilva> ah, so you are using rails.
andrewjanssen has quit [Quit: Leaving...]
<Bhu> yes rails sry
yubrew has quit [Ping timeout: 252 seconds]
rdark has quit [Ping timeout: 252 seconds]
mehlah has quit [Ping timeout: 276 seconds]
<emsilva> Bhu: So you want to use liquid to render your views? or something specific?
andrewjanssen has joined #ruby
eka has joined #ruby
andrewjanssen has quit [Client Quit]
<Bhu> i want create a specific filter that i will use in the view
banister has joined #ruby
vifino has joined #ruby
<Bhu> like {{'string' | repeat}}
vifino has quit [Remote host closed the connection]
rdark has joined #ruby
<emsilva> Bhu: Maybe try this screen cast? Its a bit outdated, but might give you a good example on how to do it. http://railscasts.com/episodes/118-liquid
vifino has joined #ruby
<Bhu> now i see it
<emsilva> Bhu: Here you can see how to create your own filter: https://github.com/Shopify/liquid/wiki/Liquid-for-Programmers
<Bhu> ty
datafirm__ has quit [Ping timeout: 240 seconds]
lemur has joined #ruby
<Bhu> yes this i have already seen
<Bhu> but it doesn't specify where i must write the sentence of the registration
russt has quit [Quit: russt]
freerobby has joined #ruby
<emsilva> Bhu: Got it, so the problem is LOADING the new filter into rails. What version of rails are you using?
<Bhu> 4.1.1
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
<emsilva> Bhu: In your config/application.rb add: config.autoload_paths += %W(#{config.root}/lib)
bradhe has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
<emsilva> Bhu: It will load everything on lib *if* and *only if* you use the proper naming convention. For example, a file lib/foo.rb must have a "Class Foo".
<Bhu> ok
andrewjanssen has joined #ruby
lolmaus has joined #ruby
georgschlenkhoff has left #ruby ["Textual IRC Client: www.textualapp.com"]
thejoecarroll_ has quit [Quit: ZNC - http://znc.in]
<Bhu> emsilva can i talk with you in pvt?
<emsilva> Bhu: sure
thejoecarroll has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 264 seconds]
cocotton has joined #ruby
ari-_-e has quit [Quit: Leaving]
LexicalScope has joined #ruby
Maple__ has quit [Quit: bbl]
Bira has joined #ruby
the-undefined_ has joined #ruby
djbkd has quit [Remote host closed the connection]
mengu has quit []
silkfox has quit [Ping timeout: 255 seconds]
treehug88 has joined #ruby
jerius has joined #ruby
robertodecurnex has joined #ruby
anaeem1 has quit [Remote host closed the connection]
garndt has joined #ruby
Maple__ has joined #ruby
dik_dak has joined #ruby
whyy has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
maximski has quit []
whyy has joined #ruby
ixti has joined #ruby
Robbo` has joined #ruby
Arkaniad has quit [Ping timeout: 264 seconds]
<mary5030> can someone kindly help me understand how i can strip description from this response so i can store it in a variable, e.message = "Failed to retrieve https://example.com/config/589025?accept=json&params=config_typestartup: [{\"title\":\"Generators::UnprocessableTemplateError\",\"description\":\"No template could be found\"}]"
<shevy> mary5030 capture in a regex
Boohbah has quit [Remote host closed the connection]
Boohbah has joined #ruby
<mary5030> hum
<shevy> like your_string =~ /description:(.+)/
aspiers_ has joined #ruby
<shevy> obviously that won't match
mercerist has quit [Quit: Computer has gone to sleep.]
<shevy> but when you get it to match, the content is stored in $1, or in [1] if you use a MatchData object
Shidash has joined #ruby
tami99 has quit [Quit: tami99]
<mary5030> so yes description can change with different calls but i want everything from description on
<mary5030> not too good with regex
maestrojed has joined #ruby
luksaur has joined #ruby
HashNuke has joined #ruby
<Robbo`> anyone from the middleman project idle here?
Takle has joined #ruby
poguez_ has joined #ruby
<Hanmac> mary5030: you wanted json so you need json to parse it
<mary5030> so i did something like this
<mary5030> parsed_response = JSON.parse(e.message)[0]["description"] rescue e.inspect
<mary5030> but didn't work
<benzrf> mary5030: what was the not work
<benzrf> mary5030: possibly it's a precedence problem
<benzrf> you may want:
paulfm has joined #ruby
<benzrf> parsed_response = (JSON.parse(e.message)[0]["description"] rescue e.inspect)
<benzrf> by default it is:
<benzrf> (parsed_response = JSON.parse(e.message)[0]["description"]) rescue e.inspect
<benzrf> iirc
<benzrf> similarly,
<benzrf> foo = bar or baz
<benzrf> is
<benzrf> (foo = bar) or baz
<benzrf> by default
<benzrf> :u
russt_ has joined #ruby
<mary5030> benzrf: thanks, so i did this format but it returned more than i wanted
<benzrf> oh?
georgschlenkhoff has joined #ruby
<mary5030> "#<RequestGenerator::RequestError: Failed to retrieve https://example.com/config/589025?accept=json&params=config_typestartup: [{\"title\":\"Generators::UnprocessableTemplateError\",\"description\":\"No template could be found\"}]>"
Photism has joined #ruby
why_away has joined #ruby
mordocai has joined #ruby
ixti has quit [Read error: Connection reset by peer]
aspiers_ has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
michaelchum has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<AntelopeSalad> does anyone know offhand what the bundle command is to get the latest version of a gem? i'm failing at google
<Hanmac> mary5030: hm the e.message has to much ... you need to spilt it a bit e.message[/\{(.+)\}/,1]
jottr has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
hermanmunster has joined #ruby
cocotton has quit [Remote host closed the connection]
<Hanmac> ups its [/\{.+\}/]
SCommette has joined #ruby
whyy has quit [Ping timeout: 240 seconds]
arrubin has joined #ruby
Azure is now known as notazure
sambao21 has quit [Quit: Computer has gone to sleep.]
<mary5030> Hanmac: thanks so that return "\"title\":\"Generators::UnprocessableTemplateError\",\"description\":\"No template could be found\""
jprovazn has quit [Quit: Leaving]
<Hanmac> JSON.parse(e.message[/{.+}/])["description"]
<mary5030> "description:No template could be found"
the-undefined_ has left #ruby [#ruby]
russt_ has quit [Quit: russt_]
hackpcbsd has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sambao21 has joined #ruby
tessi is now known as tessi_zz
yfeldblum has quit [Ping timeout: 265 seconds]
sinkensabe has joined #ruby
cocotton has joined #ruby
lxsameer has quit [Quit: Leaving]
cocotton has quit [Remote host closed the connection]
sarkis has joined #ruby
cocotton has joined #ruby
aganov has quit [Remote host closed the connection]
<Sou|cutter> AntelopeSalad: bundle update <gemname>
sinkensabe has quit [Remote host closed the connection]
<mary5030> Hanmac: i got this
<mary5030> :(
<mary5030> there's no previous pattern, to which '{' would define cardinality at 1: /{.+}/
anaeem1 has joined #ruby
sinkensabe has joined #ruby
LadyRainicorn has quit [Ping timeout: 255 seconds]
<Hanmac> mary5030: ruby version?
hermanmunster has quit [Remote host closed the connection]
nvmme has joined #ruby
<mary5030> ruby 1.8.7
<Hanmac> >> /{.+}/
<mary5030> :(\
kenneth has joined #ruby
hermanmunster has joined #ruby
<Hanmac> mary5030: ruby1.8 is not supported from me
LadyRainicorn has joined #ruby
jxf has joined #ruby
the-undefined has joined #ruby
Kricir has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
dawkirst has quit [Remote host closed the connection]
pwh has joined #ruby
byteoverfl0w has quit [Quit: Leaving... have a good one...]
dawkirst has joined #ruby
nvmme has quit [Client Quit]
silkfox has joined #ruby
hackpcbsd has quit []
sinkensabe has quit [Ping timeout: 240 seconds]
Zenigor has quit [Remote host closed the connection]
Wolland has quit [Remote host closed the connection]
hermanmunster has quit [Ping timeout: 252 seconds]
LadyRainicorn has quit [Ping timeout: 245 seconds]
Wolland has joined #ruby
mikepack has joined #ruby
snath has quit [Ping timeout: 260 seconds]
LadyRainicorn has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
<mary5030> Hanmac: yes working with legacy code and stuck with old version
hpoydar has joined #ruby
<Hanmac> let me quess ... centos?
vpretzel|1786 has quit [Quit: Adios!]
rdark has quit [Ping timeout: 240 seconds]
Zenigor has joined #ruby
shvelo has quit [Ping timeout: 276 seconds]
Wolland has quit [Ping timeout: 260 seconds]
bal has quit [Quit: bal]
yubrew has joined #ruby
vt102 has quit [Ping timeout: 240 seconds]
<Macaveli> What are description and base called in ruby? https://gist.github.com/YOUConsulting/ae9cc1c5a7b5dd59b573
andrewjanssen has quit [Quit: Leaving...]
rdark has joined #ruby
<canton7> Macacity, symbols
<Macaveli> alright symbols
<Macaveli> Is it possible to loop a hash without specifying symbols?
freezey has quit [Remote host closed the connection]
<shevy> Macaveli it's simple key->value pairs in ruby
<shevy> Macaveli you can iterate over a hash via .each_pair
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tacos1de has quit [Remote host closed the connection]
tacos1de has joined #ruby
<eam> mary5030: e.message =~ /(\{.+\})/; JSON.parse($1)
freezey has joined #ruby
<shevy> I don't know what you mean with looping through a hash without specifying symbols; a hash key either is a symbol, or it is not.
dawkirst has quit [Remote host closed the connection]
<Hanmac> eam hush! dont help ruby1.8 users! ;P
<eam> Hanmac: don't be a dick
vpretzel has joined #ruby
<eam> 1.8.7 is one of the most widely deployed ruby versions in the world
<Macaveli> shevy, I want the values without specifying the key https://gist.github.com/YOUConsulting/ae9cc1c5a7b5dd59b573
<Sigma00> so is Windows XP
<Macaveli> if i loop with each pair it also "puts" the keys and not only the value
<eam> the cognitive dissonance in the ruby community not supporting it is staggering -- I don't have problems like that in any other language I work with
<shevy> Macaveli you can get all values by invoking .values - however, if you want the value of a specific key, you must pass that key.
yubrew has quit [Ping timeout: 264 seconds]
<eam> Sigma00: that's not true
<Macaveli> shevy, .values works like a charm I thank you :)
<Macaveli> kudos' for you
<shevy> \o/
infinitone has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<eam> xp is under 20% iirc, and anyway looking to microsoft (who makes money by obsoleting prior versions of software) is not a great model for open source support
r_s_h has joined #ruby
nvmme has joined #ruby
Wolland has joined #ruby
lethe has quit [Remote host closed the connection]
epochwolf has left #ruby ["Textual IRC Client: www.textualapp.com"]
<shevy> hey
<shevy> don't beat on a dying horse man
LexicalScope has quit [Ping timeout: 240 seconds]
<shevy> look what we now got instead
<shevy> tabloid design on desktops!
<mary5030> eam thanks very much
<shevy> you always wanted to use your desktop machine like a smartphone didn't you
<mary5030> it narrowed it down for me to :{"title"=>"Generators::UnprocessableTemplateError", "description"=>"No template could be found"}
nvmme has quit [Client Quit]
stantona has joined #ruby
<eam> shevy: I haven't even seen what the last few versions of windows look like
<eam> the last time I used it was when I worked there, before XP was a thing
<shevy> they are getting progressively worse
kenneth has joined #ruby
datafirm__ has joined #ruby
ixti has joined #ruby
vpretzel is now known as vpretzel|1789
bradhe has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
<shevy> the real innovation goes like that: "Shall we disable the old start menu? Yes!" (one or two versions afterwards) "Man, that sucked, people are angry, let's bring the start menu back... INNOVATION 3.0!!!"
binaryhat has joined #ruby
<eam> just give me a window manager with lazy focus, prevent apps from stealing focus, and I just don't care about the rest
<thoraxe> is there a way to take an arbitrary object and convert it into a URI-type string? for example, if I have foo.attr1=bar and foo.attr2=baz I want to get attr1=bar&attr2=baz
forcefsck has quit [Ping timeout: 245 seconds]
<thoraxe> URI.encode_www_form wants to take array stuff, and I could write a method to return the array of my object
mary5030_ has joined #ruby
p8952 has quit [Ping timeout: 260 seconds]
<shevy> to convert it into a string you usually have .to_s or .to_str
LekeFly_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carlyle has joined #ruby
<r_s_h> Hey all, so I’m trying to go through a CSV and grab all the values in the 4th column. I’ve started by reading the file into an array of arrays: csv_arr = CSV.read(“file.csv”). Then I am trying to loop through the main array and take the 4th element of each sub-array: csv_arr.each do |row| values << row[row_count][4], etc.
pwh has quit []
<benzrf> r_s_h: why not map
<thoraxe> shevy: to_s doesn't return anything usable.
<benzrf> r_s_h: you're thinking imperatively!
<shevy> thoraxe I guess rails users have this problem often, there is probably some code in activerecord or similar to convert into an URI scheme
* benzrf bonks r_s_h on the head
<thoraxe> "#<Request:0x00000006f1bb88>"
<thoraxe> shevy: my model is not activerecord.
<shevy> hehe
<Sigma00> thoraxe: .inspect
b00stfr3ak has joined #ruby
<r_s_h> :|
mary503__ has joined #ruby
<shevy> r_s_h but he is right, if you have an array already, why not .map ?
stantona has quit [Ping timeout: 240 seconds]
<thoraxe> Sigma00: that's a string, but... not usable?
<r_s_h> …looking up maps docs
<Sigma00> right, not usable. I didn't read backlog
<thoraxe> Sigma00: trying to get URI/params-style conversion of an object/model
Beoran_ has quit [Ping timeout: 265 seconds]
<thoraxe> URI.encode_www_form takes an array of stuff, so i could write a method on my model to do that
<thoraxe> but i was just wondering if there was a direct way to do it
mary5030 has quit [Ping timeout: 276 seconds]
datafirm__ has quit [Ping timeout: 265 seconds]
bradhe has quit [Ping timeout: 245 seconds]
hamakn has quit [Remote host closed the connection]
<AntelopeSalad> Sou|cutter: i was looking for gem list foo --remote , ended up eventually finding it
geggam has joined #ruby
mary5030_ has quit [Ping timeout: 240 seconds]
cr is now known as oa
acrussell has joined #ruby
<shevy> aren't the ruby docs perfect
silkfox has quit [Ping timeout: 245 seconds]
<shevy> thoraxe I am sure activerecord has something, I remember I saw it in their docs. whether you use activerecord or not is not relevant because you could then "click on source" and see how they solved it. I forgot the name of the method though ... I think it had the string "_uri" or something hmm
<thoraxe> shevy: my objcet is not activerecord.
<thoraxe> oh
<shevy> and?
<thoraxe> eh
<shevy> how does that matter?
<thoraxe> i'm still writing something then
troulouliou_dev has quit [Remote host closed the connection]
platzhirsch has joined #ruby
malcolmva has quit [Ping timeout: 240 seconds]
<thoraxe> the answer sounds like "there is no direct method"
ndrei has joined #ruby
<r_s_h> well, we’re getting closer. Can I post a few lines of code here?
<shevy> your goal is to get a string representation for specific values of your objects like "attr1=bar&attr2=baz"
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<thoraxe> shevy: correct.
<Sigma00> thoraxe: call attributes.to_param
himsin has joined #ruby
<Sigma00> on your model
himsin has quit [Client Quit]
mehlah_ is now known as mehlah
<thoraxe> Sigma00: my model doesn't have an .attributes method
maletor has quit [Quit: Computer has gone to sleep.]
<Sigma00> if it's ActiveRecord, yes it does
<shevy> my internet connection is slow again, I can't search for anything :(
<thoraxe> Sigma00: you seem to skip a lot of what we're talking about... :P it's not activerecord.
<shevy> Sigma00 well he does not use activerecord and he said that about a million times hahaha
<r_s_h> 2.1.0 :055 > values << arr.map do |row|
<r_s_h> 2.1.0 :056 > row[row_count][4]
<r_s_h> 2.1.0 :057?> row_count += 1
<Sigma00> <__< maybe I should only offer help when I'm actively reading
<r_s_h> 2.1.0 :058?> end
<r_s_h> => [[2, 3, 4, 5, 6]]
<shevy> but I dont even know why it would matter anyway
acrussell has left #ruby [#ruby]
<shevy> because all he needs to do is fetch the relevant data, and then turn it into an URI-like string
<r_s_h> yet: 2.1.0 :060 > arr[1][4] => “4”
atmosx has joined #ruby
<thoraxe> shevy: it will take me longer to find the activerecord docs than it will take me to create an array of the attrs and pass it to URI.encode_www_form
<shevy> thoraxe how would you name such a method by the way
<atmosx> hello
<thoraxe> shevy: to_uri i guess
<shevy> hello to greece
<Sigma00> thoraxe: so, what ARE you using for models?
<atmosx> shevy: I'm still in the shitty CZ :-( studying pharmacognosy, gonna go for a run then write some code then make a review of the fucking plants and get to bed
<thoraxe> Sigma00: nothing, it's just a ruby class
<shevy> ah
<shevy> lol
<shevy> the fucking plants
<thoraxe> class Foo
djbkd has joined #ruby
paulfm has quit []
jottr has joined #ruby
heftig has quit [Quit: Quitting]
p8952 has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
<Sigma00> thoraxe: guess you're stuck returning the instance variables as an array then. You could use introspection for it
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
newUser1234 has joined #ruby
<thoraxe> Sigma00: ?
<Hanmac> r_s_h: are you sure you need [row_count] in that block?
kiri has quit [Quit: Leaving]
<r_s_h> wait.
<r_s_h> really?
<Hanmac> r_s_h: that should already be what you want: values = arr.map { |row| row[4] }
Nahra has quit [Remote host closed the connection]
Guest55484 has joined #ruby
<r_s_h> smh
mkjackson has left #ruby [#ruby]
Beoran_ has joined #ruby
banister has joined #ruby
stantona has joined #ruby
Leehro has joined #ruby
<r_s_h> thanks man, I’ve been looking at this too long
Takle has quit [Remote host closed the connection]
deavid has quit [Ping timeout: 240 seconds]
shvelo has joined #ruby
kevind_ has joined #ruby
Nahra has joined #ruby
froy has joined #ruby
bluenemo has joined #ruby
LadyRainicorn has quit [Ping timeout: 245 seconds]
GriffinHeart has joined #ruby
anaeem___ has joined #ruby
hpoydar has quit [Remote host closed the connection]
rabbashanks has joined #ruby
rayners has joined #ruby
kevind has quit [Ping timeout: 260 seconds]
kevind_ is now known as kevind
malcolmva has joined #ruby
Hanmac1 has joined #ruby
anaeem1 has quit [Ping timeout: 252 seconds]
momomomomo has joined #ruby
maestrojed has joined #ruby
snath has joined #ruby
GriffinHeart has quit [Ping timeout: 265 seconds]
anarang has quit [Quit: Leaving]
Hanmac has quit [Ping timeout: 252 seconds]
Trynemjoel has quit [Quit: Trynemjoel]
yfeldblum has joined #ruby
Takle has joined #ruby
danman has joined #ruby
fresham has joined #ruby
LadyRainicorn has joined #ruby
kavinder has joined #ruby
gruz0[russia] has joined #ruby
Trynemjoel has joined #ruby
andikr has joined #ruby
djbkd has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
<Sigma00> thoraxe: still stuck?
carlyle has quit []
MrDoctor has quit [Remote host closed the connection]
MrDoctor has joined #ruby
platzhirsch1 has joined #ruby
phansch has quit [Quit: WeeChat 0.4.3]
sambao21 has joined #ruby
atmosx has quit [Remote host closed the connection]
Ankhers has quit [Write error: Connection reset by peer]
atmosx has joined #ruby
Ankhers has joined #ruby
platzhirsch has quit [Read error: Connection reset by peer]
silkfox has joined #ruby
aspires has joined #ruby
rabbashanks has left #ruby [#ruby]
hpoydar has joined #ruby
SBoolean has joined #ruby
MrDoctor has quit [Ping timeout: 252 seconds]
TorpedoSkyline has joined #ruby
sambao21 has quit [Ping timeout: 240 seconds]
deavid has joined #ruby
SCommette has quit [Quit: SCommette]
treehug88 has quit []
r_s_h has quit [Quit: r_s_h]
<shevy> dumdedum
rippa has joined #ruby
<joelteon> i asked this last night; this happens when I try to build ruby: https://gist.github.com/joelteon/f4fcc0b43a4dfa506298
<joelteon> is this the right place to ask, and if so, does anyone know how to help me?
chipotle has joined #ruby
AlexRussia has joined #ruby
joaoh82_ has quit [Remote host closed the connection]
<mikecmpbll> eh
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dilated_dinosaur has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
dumdedum has quit [Quit: foo]
hamakn has joined #ruby
<mikecmpbll> joelteon: what is that a gist of?
<joelteon> that's the OSX crash report when the build process tries to link miniruby
Dr3amc0dz has quit [Ping timeout: 255 seconds]
lw has quit [Quit: s]
<joelteon> actually, let me run the build again and copy the output
<mikecmpbll> how are you building it?
Dr3amc0d3r|away has joined #ruby
sambao21 has joined #ruby
<joelteon> nixpkgs
sambao21 has quit [Client Quit]
<kavinder> joelteon: have you checked this stackoverflow thread: http://stackoverflow.com/questions/8530064/segmentation-fault-at-linking-miniruby
timonv has quit [Remote host closed the connection]
treehug88 has joined #ruby
mordocai has quit [Remote host closed the connection]
gaboesquivel has quit [Remote host closed the connection]
<joelteon> yeah, their solutions are "use GCC instead"
<joelteon> i don't want to use gcc on osx
<joelteon> and anyway, gcc isn't functional on osx yosemite
<joelteon> so it doesn't matter either way
<kavinder> ah ok
hpoydar has quit [Remote host closed the connection]
sk87 has joined #ruby
yubrew has joined #ruby
oo_ has quit [Remote host closed the connection]
<Hanmac1> joelteon: you use clang or different one? try a newer version
<joelteon> i'm using clang 6.0
<joelteon> i think that's a pre-release, i'm not getting much newer than that
ixti has quit [Ping timeout: 260 seconds]
<joelteon> oh, sorry, there's some TCL build output in that gist, too
r00ster has quit [Quit: Peace]
kireevco has joined #ruby
<Hanmac1> joelteon: try newer ruby
<joelteon> okay
<joelteon> i'm not sure if the weechat bindings work with ruby 2.0
benzrf is now known as benzrf|offline
<joelteon> oh, it looks like they've put in some patches for that
Leehro has quit [Ping timeout: 240 seconds]
why_away has quit [Ping timeout: 260 seconds]
apeiros has quit [Remote host closed the connection]
g0bl1n has joined #ruby
apeiros has joined #ruby
aagdbl has quit [Quit: Connection closed for inactivity]
yubrew has quit [Ping timeout: 240 seconds]
Shidash has quit [Ping timeout: 240 seconds]
<mikecmpbll> :/
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
kenneth_ has joined #ruby
mary503__ has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
xeno_ has joined #ruby
sambao21 has joined #ruby
phutchin1 has joined #ruby
blackmesa has joined #ruby
SCommette has joined #ruby
mikesplain has quit [Ping timeout: 260 seconds]
pietr0 has joined #ruby
apeiros has quit [Ping timeout: 276 seconds]
phutchins has quit [Ping timeout: 252 seconds]
shvelo has quit [Ping timeout: 240 seconds]
michael_lee has joined #ruby
ixti has joined #ruby
wallerdev has joined #ruby
bradhe has joined #ruby
DaniG2k has quit [Quit: leaving]
sputnik13 has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
mikepack has quit [Remote host closed the connection]
MindfulMonk has quit [Quit: Have fun]
Nahra has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
Guest55484 has quit [Ping timeout: 260 seconds]
<Sigma00> >> class Foo; attr_accessor :test, :othertest; def attrs() instance_variables.map { |var| [var.to_s.sub('@',''), instance_variable_get(var)] } end; end; t = Foo.new; t.test = 1; t.othertest = 2; t.attrs #thoraxe I'm just gonna leave this here...
Nahra has joined #ruby
MindfulMonk has joined #ruby
wiku5_ has joined #ruby
kenneth_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bradhe has quit [Ping timeout: 260 seconds]
<thoraxe> gah... URI.decode_www_form won't handle a param if it is base64 encoded, even if it's in uri form
IceDragon has joined #ruby
redondos has quit [Excess Flood]
einarj has quit [Remote host closed the connection]
bluenemo has quit [Remote host closed the connection]
Rainicorn has joined #ruby
datafirm__ has joined #ruby
ryanleesipes has joined #ruby
LadyRainicorn has quit [Ping timeout: 245 seconds]
<thoraxe> ugh, because base64 has equals signs
redondos has joined #ruby
<thoraxe> is there another way to encode HMAC that is URL-friendly?
redondos has quit [Changing host]
redondos has joined #ruby
timonv has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
wiku5_ has quit [Client Quit]
kaspergrubbe has joined #ruby
mikepack has joined #ruby
binaryhat has quit [Quit: Leaving]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<thoraxe> hmm urlsafe
phinfonet has joined #ruby
cpruitt has quit [Quit: cpruitt]
blackmesa has quit [Ping timeout: 245 seconds]
andrewjanssen has joined #ruby
sputnik13 has joined #ruby
NinoScript has quit [Quit: NinoScript]
datafirm__ has quit [Ping timeout: 276 seconds]
jimbauds has joined #ruby
jxf has quit [Ping timeout: 276 seconds]
Takle has quit [Remote host closed the connection]
hpoydar has joined #ruby
echevemaster has joined #ruby
djbkd has joined #ruby
tylersmith has joined #ruby
wiku5_ has joined #ruby
TripTastic has joined #ruby
Guest55484 has joined #ruby
Ankhers has quit [Ping timeout: 272 seconds]
mark_locklear has quit [Ping timeout: 265 seconds]
creativeembassy has quit [Quit: FO SHO]
maletor has joined #ruby
andikr has quit [Remote host closed the connection]
andrewjanssen has quit [Remote host closed the connection]
<Hanmac1> thoraxe: URI.escape doesnt work too?
Bhu has quit [Ping timeout: 255 seconds]
georgschlenkhoff is now known as brain-hans
brain-hans is now known as hans-brain
olivier_bK has quit [Ping timeout: 260 seconds]
hans-brain is now known as help
lolmaus has quit [Ping timeout: 255 seconds]
Takle has joined #ruby
help is now known as Guest45173
Guest45173 is now known as blob34
lolmaus has joined #ruby
niharvey is now known as niharvey|lunch
jamto11 has quit [Remote host closed the connection]
cpruitt has joined #ruby
schaary is now known as schaary|afk
apeiros has joined #ruby
<Robbo`> is there a global timezone setting for ruby?
troyready has joined #ruby
Rollabunna has quit [Quit: Leaving...]
<thoraxe> Hanmac1: at which point?
blob34 is now known as georgschlenkhoff
datafirm__ has joined #ruby
<thoraxe> Base64.urlsafe_encode64("this is a string") <-- this produces a string with a bunch of = in it
niharvey|lunch is now known as niharvey
<thoraxe> URI.decode_www_form("foo=#{Base64.urlsafe_encode64("this is a string")}") fails
<thoraxe> probably because of all the =
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
eka has joined #ruby
<Sigma00> thoraxe: use hex? might be an option if it doesn't produce gigantic output
alex88 has quit [Quit: Leaving...]
sambao21 has quit [Quit: Computer has gone to sleep.]
cpruitt has quit [Client Quit]
platzhirsch has joined #ruby
<thoraxe> it's really not a problem ultimately, because rails handles the params correctly
platzhirsch1 has quit [Quit: Leaving.]
<thoraxe> so in my rspec test I just need to break off that one value before decoding
<thoraxe> which is a total lame bitch, but whatever
platzhirsch has left #ruby [#ruby]
<Hanmac1> thoraxe: ruby version?
yfeldblum has joined #ruby
wiku5_ has quit [Quit: WeeChat 0.4.2]
<Hanmac1> >> "test123"
Hanmac1 is now known as Hanmac
<thoraxe> 2.0.0 on this system i'm testing on
<Hanmac> dam evalin is not responding :/
<thoraxe> but ultimately probably 1.9.3
<Hanmac> thoraxe: thats for me: URI.decode_www_form("foo=#{Base64.urlsafe_encode64("this is a string")}") #=> [["foo", "dGhpcyBpcyBhIHN0cmluZw=="]]
<thoraxe> Hanmac: what version?
<Hanmac> 2.1dev (trunk)
<thoraxe> ArgumentError: invalid data of application/x-www-form-urlencoded (foo=dGhpcyBpcyBhIHN0cmluZw==)
<thoraxe> on 2.0.0
EminenceHC has joined #ruby
hermanmunster has joined #ruby
<thoraxe> oh well.
<EminenceHC> I have a hash in ruby which I will be converting to json. If discharge_date_time does not have a value it would crash so I added "rescue nil". This prevented crashing if the value was nil but will not accept the incoming value at all. What is a better alternative to rescue nil? https://gist.github.com/EminenceHC/0a8693bd7d1e1460b2e2
dik_dak has quit [Ping timeout: 240 seconds]
<adantj> thoraxe, theres Base64.urlsafe_encode
kilk_1 has joined #ruby
<adantj> thoraxe, *there'ss Base64.urlsafe_encode64
<Sigma00> urlsafe still returns equal signs
mikecmpbll has quit [Ping timeout: 264 seconds]
<thoraxe> adantj: hmm.. perhaps you aren't reading what we've been posting?
<thoraxe> adantj: that's exactly what i am using.
<adantj> oh sorry...
<thoraxe> :P
<thoraxe> sok
<Sigma00> thoraxe: Hanmac's code works for me as well on ruby 2.1
vpretzel_ has joined #ruby
<thoraxe> i guess it's a 2.0.0 issue
<thoraxe> i wonder if it works in 1.9.3
vpretzel|1789 has quit [Ping timeout: 252 seconds]
<adantj> it's weird that you're getting a bunch of '==' signs
<Sigma00> no, that's normal for base64
<thoraxe> adantj: there's nothing urlunsafe about == signs
<thoraxe> and that is normal for base64
<Hanmac> oh ups i already have 2.2dev
cpruitt has joined #ruby
<adantj> urlsafe says it doesn't do +=?
<Sigma00> securerandom urlsafe doesn't do that
<adantj> oh, you're right
<adantj> was reading something else
<adantj> sorry
<Sigma00> base64 urlsafe doesn't do / and + I think
hpoydar has quit []
<thoraxe> urlsafe mentions nothing about =
<thoraxe> - and / are not used
<thoraxe> (in urlsafe)
<adantj> gotcha, yeah.. I wasn't seeing right :(
<thoraxe> i think the issue is that decode_www_form in older versions of ruby doesn't behave well
sambao21 has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
gruz0[russia] has quit [Quit: This computer has gone to sleep]
Kricir has joined #ruby
workmad3_ has joined #ruby
<thoraxe> "mobile=mobile&retrieve_key=key&timestamp=1401984445.4704278&api_key=pubkey&hmac=.... <-- given a string like this, how would I break off the hmac=... prat?
<thoraxe> if I break off the hmac i can then decode the rest
deric_skibotn has joined #ruby
joaoh82 has joined #ruby
MrDoctor has joined #ruby
Takle has quit [Remote host closed the connection]
<Sigma00> >> "mobile=mobile&retrieve_key=key&timestamp=1401984445.4704278&api_key=pubkey&hmac=WHATEVER".split '&hmac='
<Sigma00> you'll get an array
<Sigma00> second item will be the hmac without the &hmac=
workmad3 has quit [Disconnected by services]
hermanmunster has quit [Ping timeout: 252 seconds]
workmad3_ is now known as workmad3
gigetoo has quit [Remote host closed the connection]
shvelo has joined #ruby
kilk_1 has quit [Client Quit]
gigetoo has joined #ruby
lethe has joined #ruby
annon___ has joined #ruby
the_f0ster has joined #ruby
yfeldblum has joined #ruby
<shevy> thoraxe you can access a string in ruby with positional arguments
georgschlenkhoff is now known as bitmick
<shevy> >> my_string = "abc def ghi"; my_string[0, my_string.index('f') ]
lolmaus has quit [Read error: Connection reset by peer]
<Hanmac> shevy: evalin does not like us anymore :(
cocotton has quit [Remote host closed the connection]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
gruz0[russia] has joined #ruby
yfeldblu_ has joined #ruby
<shevy> man
<shevy> >> my_string = "abc def ghi"; my_string[0, my_string.index('f') ]
<shevy> >> puts 'WAKE UP'
cocotton has joined #ruby
<shevy> eval-in
cocotton has quit [Remote host closed the connection]
<shevy> oh man
sputnik13 has joined #ruby
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
cocotton has joined #ruby
wallerdev has quit [Quit: wallerdev]
tvw has quit []
<Sigma00> eval-in is returning 500
<tobiasvl> RIP eval-in
kenneth has joined #ruby
jamto11 has joined #ruby
lethe has quit [Ping timeout: 255 seconds]
vsh_ has joined #ruby
Shidash has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 240 seconds]
lolmaus has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblu_ has quit [Ping timeout: 240 seconds]
mikemac has quit [Ping timeout: 245 seconds]
pwh has joined #ruby
Wolland has quit [Remote host closed the connection]
bitmick is now known as georgschlenkhoff
<Sigma00> thoraxe: you could roll out your own decode function to work around it
<Sigma00> it's not hard
sputnik13 has quit [Ping timeout: 240 seconds]
Wolland has joined #ruby
Emmanuel_Chanel has joined #ruby
Rahul_Roy has joined #ruby
mehlah has quit [Quit: Leaving...]
Takle has joined #ruby
haroldwu has quit [Changing host]
haroldwu has joined #ruby
maximski has joined #ruby
elaptics is now known as elaptics`away
Joulse has quit [Quit: Joulse]
djbkd has quit [Read error: Connection reset by peer]
maestrojed has quit [Quit: Computer has gone to sleep.]
dik_dak has joined #ruby
djbkd has joined #ruby
lemur has quit [Read error: Connection reset by peer]
Rainicorn has quit [Ping timeout: 260 seconds]
<apeiros> Sigma00: looks like a query string - why do you manually process a query string?
lemur has joined #ruby
avril14th has joined #ruby
<Sigma00> apeiros: it is a query string, and ask thoraxe
yubrew has joined #ruby
<thoraxe> apeiros: because URI.decode_www_form is broken in 2.0.0
<avril14th> Hello, anyone has an idea how Devise remembers a session if the User model is not :rememberable from cookie?
dawkirst has joined #ruby
mijicd has joined #ruby
<apeiros> Sigma00: uh, yeah, I actually wanted to ask him - sorry :)
r_rios has joined #ruby
Wolland has quit [Ping timeout: 265 seconds]
<apeiros> thoraxe: um, reading the backlog I'd say it's not broken. you pass it invalid data
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> = must be % encoded
Emmanuel_Chanel has quit [Quit: Leaving]
combusean has joined #ruby
Emmanuel_Chanel has joined #ruby
<maximski> i want to validate a column for uniqueness scoped to that same column where some other column has not some specific value. how do i do that?
<apeiros> though 2.1.2 handles it again.
kaspergrubbe has quit [Remote host closed the connection]
<adantj> apeiros would ERB::Util.url_encode Base64.encode64('this is a string') work?
<Sigma00> thoraxe: here, use this def www_decode(s); s.split('&').map {|a| a.split /(?<!\=)\=(?!\=)/} end;
mailo has joined #ruby
kaspergrubbe has joined #ruby
roolo has quit [Read error: Connection reset by peer]
TorpedoSkyline has joined #ruby
<apeiros> Sigma00: just use split(/=/, 2)
yubrew has quit [Ping timeout: 240 seconds]
GriffinHeart has joined #ruby
<maximski> e.g. i have two objects with item_id = 2, but one is published and other one isn't. I want that there can be only one object with item_id=2 which isn't published
devdazed has quit [Ping timeout: 252 seconds]
<apeiros> maximski: you're talking about database columns?
<Sigma00> apeiros: well, fuck
<Sigma00> thanks
<Sigma00> has to be '=' or /\=/ btw
<maximski> apeiros yes about model validation
DEA7TH has joined #ruby
<apeiros> Sigma00: um, no?
<apeiros> "foo=bar==".split(/=/, 2) # => ["foo", "bar=="]
sidik has joined #ruby
<apeiros> = is not a special character in regex
<Sigma00> wtf
<Sigma00> it was shitting itself on me just now
<maximski> not sure if validates_uniqueness_of :item_id, conditions: -> { where.not(status: "published") } does the trick
dawkirst has quit [Ping timeout: 265 seconds]
<Sigma00> it's why I have it escaped up there
xaxisx has joined #ruby
paulfm has joined #ruby
TorpedoSkyline has quit [Client Quit]
<apeiros> maximski: validating uniqueness in the model is a race condition and prone to failure
<apeiros> maximski: you might be better served in #rubyonrails
<Hanmac> also interesting: "foo=bar==".partition(?=) #=> ["foo", "=", "bar=="]
<maximski> apeiros argh, sorry. i thought i'd be there
<maximski> misslooked, i apologize
<apeiros> that explains why you didn't bother to give context :-p
wallerdev has joined #ruby
moritzs has joined #ruby
mercerist has joined #ruby
mjsmith2 has joined #ruby
Shidash has quit [Ping timeout: 260 seconds]
<Sigma00> maximski: unique index on database
GriffinHeart has quit [Ping timeout: 252 seconds]
Ankhers has joined #ruby
jhulten has joined #ruby
<maximski> Sigma00 wouldn't work out ^^
vpretzel_ is now known as vpretzel|1789
Fire-Dragon-DoL has joined #ruby
lw has joined #ruby
<apeiros> unique index on function index - if that's possible :)
rghose1 has quit [Read error: Connection reset by peer]
brunops has joined #ruby
xaxisx has quit [Client Quit]
bradhe has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> good databases help you
Ankhers has quit [Remote host closed the connection]
xaxisx has joined #ruby
pwh has quit []
timonv has quit [Ping timeout: 252 seconds]
jpinnix_____ is now known as jpinnix
Ankhers has joined #ruby
mark_locklear has joined #ruby
gruz0[russia] has quit [Quit: This computer has gone to sleep]
TripTastic is now known as JBreit
JBreit has left #ruby ["Leaving"]
TorpedoSkyline has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
xaxisx has quit [Client Quit]
jpinnix_ has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
jpinnix_ has quit [Client Quit]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
xaxisx has joined #ruby
TorpedoSkyline has quit [Client Quit]
Kricir has quit [Remote host closed the connection]
vpretzel|1789 has quit [Remote host closed the connection]
tyfighter has joined #ruby
vpretzel|1789 has joined #ruby
gruz0[russia] has joined #ruby
kenneth has joined #ruby
Eyes has quit [Remote host closed the connection]
Eyes has joined #ruby
Guest55484 has quit [Ping timeout: 240 seconds]
g0bl1n has quit [Ping timeout: 260 seconds]
cocotton has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
nanoyak has joined #ruby
saarinen has joined #ruby
mijicd has quit [Remote host closed the connection]
andrewjanssen has joined #ruby
mijicd has joined #ruby
Zamerick has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xaxisx has quit [Quit: xaxisx]
<ra4king> hmm it seems like apt-get install ruby gives me 1.8
<ra4king> how do I get 2.1.2 installed?
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
tectonic has joined #ruby
cocotton has joined #ruby
krz has joined #ruby
mikemac has joined #ruby
niklasb has quit [Remote host closed the connection]
otl has quit [Quit: leaving]
<emsilva> ra4king: Well, the easy path is to use something like rvm or rbenv. RVM is the simplest. Take a look at http://rvm.io.
avril14th has quit [Remote host closed the connection]
jottr has joined #ruby
tyfighter has quit [Quit: tyfighter]
lkba has joined #ruby
xaxisx has joined #ruby
tyfighter has joined #ruby
Bhu has joined #ruby
<Sigma00> ra4king: rbenv or rvm
<ra4king> which one?
<ra4king> they both look identical in function
<Sigma00> I prefer rbenv
Hobogrammer has joined #ruby
blackmesa has joined #ruby
LadyRainicorn has joined #ruby
<ra4king> why would I want to use these tools, is it not possible to just have the latest version installed?
happytux has joined #ruby
<happytux> hi
<ra4king> hello
<happytux> The Rake fan is back :)
<emsilva> ra4king: If your linux version doesn't offer the latest version, you can build it from scratch or use one of these tools to automatically do it for you.
x1337807x has joined #ruby
matled has quit [Remote host closed the connection]
railzForDaiz has joined #ruby
<railzForDaiz> what is the best place to store config variables in a ruby app ? txt file or .rb
<railzForDaiz> begginner
<ra4king> emsilva: hmm well I don't like the idea of rvm taking over 'cd'
Zamerick has left #ruby ["Leaving"]
<ra4king> schims sound like the best idea
* ra4king goes with rbenv
mikepack has quit [Remote host closed the connection]
<Morrolan> chruby is very lightweight.
<Morrolan> And, unlike RVM, I actually understand whatit does.
<Hanmac> emsilva: for me: require "date"; "%d days old" % (Date.today - Date.parse(RUBY_RELEASE_DATE)) #=> "3 days old"
<Sigma00> ra4king: yml
<ra4king> Sigma00: yml?
<emsilva> I use rbenv for production and rvm for dev. That's just me. :)
Takle has quit [Remote host closed the connection]
<ra4king> emsilva: why?
gruz0[russia] has quit [Quit: Leaving]
mikepack has joined #ruby
<ra4king> Sigma00: O_o
<Sigma00> ra4king: er, sorry, mistab
<ra4king> same link
<ra4king> oh someone else
Nahra has quit [Ping timeout: 252 seconds]
<emsilva> ra4king: because I like rvm's magic, but I don't want to risk it in production.
<ra4king> ah
<ra4king> yeah I'm on production server
<ra4king> will use rbenv
<ra4king> dev machine is Windows :D
<emsilva> ugh
<emsilva> I'm sorry
<ra4king> yeah need gaming, can't leave Windows
<ra4king> it's not too bad though, ruby installation was much less painful here
blackmesa has quit [Ping timeout: 240 seconds]
mijicd has quit [Remote host closed the connection]
jamto11 has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
<ra4king> so I go to git clone the rbenv repo...... and git doesn't exist
<ra4king> wat
chubchubcharles has quit [Ping timeout: 240 seconds]
Nahra has joined #ruby
katmandoo has joined #ruby
dik_dak has quit [Quit: Leaving]
yfeldblum has joined #ruby
dik_dak has joined #ruby
mijicd has joined #ruby
mityaz has joined #ruby
<ra4king> so uh
<ra4king> 'ls' command not found
<ra4king> should I be worried?
alem0lars has quit [Quit: Going AFK...]
shvelo has quit [Ping timeout: 252 seconds]
shevy has quit [Quit: ""]
aspires has quit []
TorpedoSkyline has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SBoolean has quit [Ping timeout: 260 seconds]
<LadyRainicorn> Yes you have been haxxored.
<LadyRainicorn> (Your PATH is probably fucked up, hopefully)
<annon___> Or your haxxing a bad honeypot
<LadyRainicorn> (Alternatively you rmed ls, which is bad.)
<annon___> you're*
<ra4king> apparently my /bin folder was removed from my path
Bhu has quit [Ping timeout: 240 seconds]
<ra4king> interesting
<ra4king> all is good now
russt_ has joined #ruby
aspires has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kilk_1 has joined #ruby
kilk_1 has quit [Client Quit]
x1337807x has joined #ruby
Bhu has joined #ruby
blackmesa has joined #ruby
SegFaultAX has quit [Excess Flood]
zB0hs has joined #ruby
klaut has quit [Remote host closed the connection]
mailo has quit [Quit: Leaving...]
rdark has quit [Quit: leaving]
the-undefined has quit [Quit: Connection closed for inactivity]
wldcordeiro has quit [Quit: Leaving]
xaxisx has quit [Quit: xaxisx]
SegFaultAX has joined #ruby
shevy has joined #ruby
x1337807x has quit [Ping timeout: 245 seconds]
yubrew has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
Takle has joined #ruby
end_guy has quit [Ping timeout: 272 seconds]
sandbags has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
varius has quit [Read error: Connection reset by peer]
tharindu has joined #ruby
xaxisx has joined #ruby
nvmme has joined #ruby
danman has quit [Quit: danman]
maestrojed has joined #ruby
alem0lars has joined #ruby
* ra4king types "rbenv"
* ra4king sees rbenv docs
<ra4king> yay!
mikecmpbll has quit [Quit: i've nodded off.]
fresham has quit [Quit: fresham]
yubrew has quit [Ping timeout: 260 seconds]
balazs has quit [Ping timeout: 264 seconds]
Emmanuel_Chanel has quit [Quit: Leaving]
timfoo has quit [Ping timeout: 260 seconds]
timfoo has joined #ruby
niharvey is now known as niharvey|lunch
fresham has joined #ruby
shinobi_one has joined #ruby
shinobi_one has quit [Client Quit]
sandbags0 has joined #ruby
railzForDaiz has quit [Ping timeout: 255 seconds]
aspires_ has joined #ruby
Bhu has quit [Quit: Lost terminal]
mikecmpbll has joined #ruby
chipotle_ has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
<shevy> ra4king are you happy now
tectonic has quit []
<ra4king> shevy: very
Biohazard has quit [Ping timeout: 245 seconds]
dangerousdave has joined #ruby
Morkel has quit [Ping timeout: 265 seconds]
<ra4king> shevy: then I had to tackle rbenv install
<ra4king> piece of cake
* ra4king loves linux dev
<ra4king> things just make so much more sense than Windows
SBoolean has joined #ruby
sandbags has quit [Ping timeout: 240 seconds]
<shevy> hehe
aspires has quit [Ping timeout: 245 seconds]
kenneth has joined #ruby
aspires_ has quit [Client Quit]
sputnik13 has joined #ruby
nvmme has quit [Quit: nvmme]
chipotle has quit [Ping timeout: 260 seconds]
<ra4king> wow
<ra4king> rbenv is really
<ra4king> nice
<ra4king> will be enjoy it
bradhe has joined #ruby
aspires has joined #ruby
Emmanuel_Chanel has joined #ruby
nicoulaj has joined #ruby
Biohazard has joined #ruby
xaxisx has quit [Quit: xaxisx]
jamto11 has joined #ruby
<shevy> what's it good for
<shevy> only for installing a ruby version right?
kidoz has joined #ruby
lewix has joined #ruby
<ra4king> yeah, but it's so easy to use :D
Boohbah has quit [Remote host closed the connection]
endash has joined #ruby
Boohbah has joined #ruby
devdazed has joined #ruby
wald0 has joined #ruby
balazs has joined #ruby
combusean has quit [Ping timeout: 252 seconds]
<the_f0ster> kind of cool, can anyone break it? :-p http://opalrb.org/try
bradhe has quit [Ping timeout: 265 seconds]
timonv has joined #ruby
<apeiros> the_f0ster: tell Hanmac
akonny has joined #ruby
<ra4king> great
ghr has quit [Ping timeout: 245 seconds]
<ra4king> rbenv is now frozen installing ruby
<ra4king> :(
* ra4king hits Ctrl+C
nvmme has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
combusean has joined #ruby
danman has joined #ruby
noop has quit [Ping timeout: 240 seconds]
yetanotherdave has joined #ruby
xaxisx has joined #ruby
xaxisx has quit [Client Quit]
MrDoctor has quit [Remote host closed the connection]
noop has joined #ruby
MrDoctor has joined #ruby
<Sigma00> probably not frozen...
<the_f0ster> apeiros: ah k
chipotle_ has quit [Read error: Connection reset by peer]
superscott[8] has joined #ruby
<the_f0ster> Hanmac: have you seen this? http://opalrb.org/try
ndrei has quit [Ping timeout: 276 seconds]
chipotle has joined #ruby
<shevy> ra4king huh
<shevy> ra4king I thought rbenv is so great!
<ra4king> what to do?
<shevy> ra4king what step is it
<ra4king> doing rben install 2.1.2
<ra4king> rbenv*
<shevy> if it is docu step it doesn't matter much
<ra4king> it downloaded, and it freezes after Install ruby-2.1.2
<shevy> eh?
<shevy> it does nothing?
tectonic has joined #ruby
* ra4king checks /versions folder
shvelo has joined #ruby
<ra4king> damn, versions folder is empty
* ra4king tries sudo?
<Sigma00> ra4king: it might be building
<ra4king> that entire time?
JBreit has joined #ruby
<wallerdev> w
<Sigma00> have you ever built a huge project from source?
<ra4king> yeah, it didn't take this long still
<Sigma00> ruby won't take hours, but it can take a good amount of time
Kricir has joined #ruby
<ra4king> this thing's been sitting for 10 minutes!
kidoz has quit [Quit: Ухожу я от вас]
<Sigma00> ... you're complaining about 10 minutes?
carraroj has joined #ruby
Nahra has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
MrDoctor has quit [Ping timeout: 245 seconds]
* Sigma00 installs gentoo on ra4king's servers
* ra4king shoos Sigma00 away from his servers!
<Sigma00> LET'S SEE HOW YOU FEEL AFTER HAVING TO COMPILE EVERYTHING
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Sigma00> X11 update, 2 hours
<ra4king> that sounds painful as fuck
<Sigma00> but then again, who'd have X11 on a serer
<Sigma00> server*
teddyp1cker has joined #ruby
Nahra has joined #ruby
Xeago has quit [Remote host closed the connection]
sinkensabe has joined #ruby
<wallerdev> then again who'd have x11
peterhu has quit [Quit: security updates]
tanema has joined #ruby
foooobear has joined #ruby
tanema has quit [Client Quit]
<cvitullo> anyone have any thoughts on why writing to a file would silently fail?
MrDoctor has joined #ruby
mikesplain has joined #ruby
<cvitullo> i'm doing ' File.open(file, 'w') { |f| f.write(result) } ', file and result are set the the appropriate things, and the working directory has the right permissions
SCommette has quit [Quit: SCommette]
chipotle_ has joined #ruby
happytux has quit [Ping timeout: 255 seconds]
Takle has quit [Remote host closed the connection]
Azulinho has quit [Ping timeout: 276 seconds]
banister has joined #ruby
<canton7> check your assumptions. does 'result' contain anything? does 'File.open(file, 'w'){ |f| f.write("Testy") }' work ?
<shevy> result contains a result!!!
<canton7> does 'file' contain the path you think it does? are you writing to the right place
djbkd has quit [Remote host closed the connection]
peterhu has joined #ruby
<canton7> I am 99% confident that your problem lies with one of those two things, rather than ruby silently failing
<shevy> why not 100%
ndrei has joined #ruby
peterdinklage has joined #ruby
<shevy> are you scared to make the last mile!
chipotle has quit [Read error: Connection reset by peer]
<Sigma00> maybe result isn't even a string or something that can be coerced to one
<canton7> because there's always one bitching little thing which catches you out, and you don't find it for ages because you initially ruled it out :P
timonv has quit [Remote host closed the connection]
djbkd has joined #ruby
LnL has quit [Read error: Connection reset by peer]
<shevy> cvitullo can you confirm that canton7 was 99% correct?
LnL_ has joined #ruby
<Sigma00> please show all work
<canton7> :P
<shevy> lol Sigma00
<shevy> well
<shevy> the 1% might be because cvitullo omitted some important information too
<cvitullo> canton7: yeah i've been doing puts on the variables, they contain what i expect
end_guy has joined #ruby
akonny has quit [Quit: akonny]
Ankhers has quit [Remote host closed the connection]
Boohbah has quit [Read error: Connection reset by peer]
Boohbah_ has joined #ruby
jackneill has quit [Read error: Connection reset by peer]
<canton7> check that the path is right, then :P
Robbo` has quit [Ping timeout: 260 seconds]
Ankhers has joined #ruby
<shevy> cvitullo can you create a new file from ruby?
creativeembassy has joined #ruby
<shevy> require 'fileutils'; FileUtils.touch '/test' # should suffice
<ra4king> fuck
<ra4king> so I let it sit
<ra4king> finally
<ra4king> BUILD FAILED
* ra4king cries
<ra4king> "The Ruby openssl extension was not compiled. Missing the OpenSSL lib?"
<Sigma00> install openssl-devel
<Sigma00> or whatever it's called on your distro
kaspergrubbe has quit [Remote host closed the connection]
<ra4king> openssl-devel doesn't exist
<ra4king> ubuntu server 12.04
nvmme has quit [Quit: nvmme]
emsilva has quit [Quit: Keep Walking (Computer Slept!)]
<Sigma00> google
<Morrolan> `aptitude search ssl`
<ra4king> way ahead of you
<ra4king> libssl-devel ?
<Morrolan> Sounds about right.
<ra4king> Morrolan: ah the search command exists! been wanting something like that
<shevy> ra4king debian has a habit to split up packages in ways so that noone can uncripple it again
the-undefined has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
<Sigma00> ra4king: you can also do apt-cache search 'blabla'
<ra4king> yeah I was trying it with apt-get and it didn't work
<Sigma00> apt-cache policy 'blabla' is nice for knowing what version of a package is available
<ra4king> thanks for apt-cache
<cvitullo> shevy: FileUtils.touch '~/test' broke, No such file or directory - ~/test
<ra4king> alright apt-get install libssl-dev]
* ra4king waits
* ra4king installs Ruby 2.1.2 again
hermanmunster has joined #ruby
<RubyPanther> cvitullo: The IO could be blocking, the directory could be a virtual filesystem like /tmp and some other software is causing it to get reaped, it could be buffered, etc. Another option is using syswrite() which is needed in some circumstances (but rarely on real filesystem files)
* ra4king go gets a drink
<RubyPanther> I'd say 99% might be too aggressive, shevy
<cvitullo> hm
<shevy> cvitullo well I did not say to use '~' hehe; however I just tested it in a directory, FileUtils.touch works 100% for me; perhaps try some other dir
peterdinklage has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 240 seconds]
<shevy> cvitullo could try: FileUtils.touch File.expand_path('~/test')
sambao21 has joined #ruby
<cvitullo> yeah i was worried about write permissions in /
<RubyPanther> Lots of stuff can be wrong with high level IO
<shevy> write permissions are good
<shevy> ruby will scream at you if you lack permissions
<shevy> but you wrote silent fail
<shevy> so it can not be a lack of permissions
<cvitullo> yeah that's fair
<shevy> if you can use FileUtils.touch, then you must also be able to write into a file
<RubyPanther> shevy: If they don't find the error, for them it was silent ;)
<shevy> RubyPanther :(
<shevy> RubyPanther the last 5 days I tried to find out what means: nouveau E[ PBUS][0000:00:0d.0] MMIO write of 0x00540001 FAULT at 0x00b000
<cvitullo> yeah i guess i should say, didn't halt execution and didn't output anything to the screen
emsilva has joined #ruby
<RubyPanther> Not everybody gets to have nice things, sorry
<shevy> all I know is that it has to do with my nvidia chipsets, with nouveau open source drivers, and with occasional freezing of my computer
<cvitullo> this is all in a capistrano script and i know next to nothing about ruby, unfortunately
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
sputnik13 has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> cvitullo perhaps capistrano suppresses useful output; in pure ruby though you get feedback
<cvitullo> might be
<shevy> cvitullo have you now determined that you can create a new file ;)
<cvitullo> no :(
<RubyPanther> shevy: Sounds like your video card has a driver bug in the IO bus, or bad RAM
<cvitullo> doing FileUtils.touch File.expand_path('~/test') didnt' error out, but it also didn't make a file
<shevy> RubyPanther yeah, it is depressing me...
<shevy> cvitullo huh
<shevy> cvitullo it creates the file for me hmm
<shevy> cvitullo have you checked 100%?
akonny has joined #ruby
<shevy> what does: puts File.expand_path('~/') output anyway
<RubyPanther> shevy: did you try the proprietary driver? Not something I normally recommend, but it could be useful for determining if it is a hardware fault
Doppp has quit [Ping timeout: 255 seconds]
<cvitullo> shevy: nothing in the capistrano output, at least
<shevy> RubyPanther have not tried it yet, will eventually try it; last time I tried, they told me I had to disable nouveau... and I somehow failed to haha
<cvitullo> not sure if it's suppressing anything
sinkensabe has quit [Remote host closed the connection]
hermanmunster has quit [Ping timeout: 245 seconds]
<shevy> cvitullo no I mean, in pure ruby? but come to think about it
<shevy> it may be that capistrano does not have the permissions
<cvitullo> ah yeah 1 sec
<shevy> and just catches the failure silently
<shevy> and does not tell you about it
jaimef has quit [Excess Flood]
pietr0 has quit [Quit: pietr0]
sinkensabe has joined #ruby
<cvitullo> well i was able to do 'execute :echo, '#{result} > #{file}', but there were special characters that broke stuff because bash
<shevy> btw usually /tmp is writable
<shevy> you could try to create a file there
<shevy> as RubyPanther once said...
<shevy> or was it someone else?
Kricir has quit [Ping timeout: 260 seconds]
<shevy> ruby is syntactic sugar over C
<cvitullo> in irb i was able to do FileUtils.touch File.expand_path('~/test') and have it output successfully
<shevy> \o/
<shevy> now you only have to find out why capistrano isn't allowing you to, but try /tmp from capistrano, it really should work
gaboesquivel has joined #ruby
<shevy> '/tmp/test'
<RubyPanther> shevy: I'm seeing various nouveau errors that are similar, and people reporting they are fixed by using the nvidia driver
jaimef has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
<shevy> really?
<shevy> so there is hope \o/
<RubyPanther> So it is less likely to be a hardware problem than I first thought
<shevy> well first I will update my BIOS from 1.20 to 1.80 anyway
Shidash has joined #ruby
<cvitullo> OH
<cvitullo> OH
<shevy> is that a good or a bad OH
<cvitullo> the script executes on my local machine, but i need the file on the remote machine
<cvitullo> it's successfully writing 'test' to my LOCAL ~, i've been checking the remove ~
<RubyPanther> Yeah, "Ruby is a meta-language for dynamically generating C applications"
<cvitullo> *remote
vt102 has joined #ruby
<cvitullo> d'oh
frem_ has joined #ruby
<cvitullo> okay i might need to do capistrano's upload thing to have that work
jhass|off is now known as jhass
sinkensabe has quit [Ping timeout: 255 seconds]
<shevy> RubyPanther hmm... could the same be said for perl and python as well?
<RubyPanther> It is all static under the hood. And the corollary, C applications are as dynamic as they can want to be.
vpretzel_ has joined #ruby
ndrei has quit [Ping timeout: 276 seconds]
joaoh82 has quit [Remote host closed the connection]
<RubyPanther> shevy: In Perl's case it is almost true, but there is another layer of abstraction. For example you can't extend Perl with C without writing additional mappings. You can't really represent a piece of Perl code as C without replicating the whole byecode compiler and interpreters.
<shevy> oh man
<RubyPanther> Whereas in Ruby, there usually is a very straightforwards literal bit of C that does exactly what the Ruby does
peterdinklage has joined #ruby
<RubyPanther> python, I have no clue, I don't cross that river, the other side is infested with whitespace-eating monsters
<benzrf> RubyPanther: do not be absurd
<benzrf> 02:34 < RubyPanther> Whereas in Ruby, there usually is a very straightforwards literal bit of C that does exactly what the Ruby does
geekbri has joined #ruby
<benzrf> that's ridiculous
<RubyPanther> It is obvious to anybody who write Ruby in C ;)
Valesk has joined #ruby
vpretzel|1789 has quit [Ping timeout: 240 seconds]
<RubyPanther> The suckiness of C in Perl was one of the reasons I switched. There is too long a distance to travel.
Lucky__ has joined #ruby
silkfox has quit [Ping timeout: 240 seconds]
alvaro_o has joined #ruby
<shevy> ok time to update the BIOS, if I don't come back, it failed...
shevy has quit [Quit: ""]
<benzrf> shevy left!!!
<benzrf> so weird
<RubyPanther> But from C, I can grab a Ruby object and poke and prod it, it is just a regular C struct, regular C types, I don't _have_ to go through the Ruby interpreter, even when I'm using it
mijicd has quit [Remote host closed the connection]
<canton7> yay it was the 99%
jxf has joined #ruby
<benzrf> RubyPanther: lol
silkfox has joined #ruby
hpoydar has joined #ruby
jottr has joined #ruby
<jxf> Does #freezing an array, object, etc., have any performance implications? For example, does it affect access characteristics of array elements at all?
yubrew has joined #ruby
<RubyPanther> jxf: Yes, no, but benchmark if it matters
<lewix> I'm looking for a haml to html converter for rails
joaoh82 has joined #ruby
jackneill has joined #ruby
<jxf> lewix: Haml *is* a haml to html converter :)
jackneill has quit [Read error: Connection reset by peer]
<lewix> I want to use haml outside the asset pipeline, jxf
heftig has joined #ruby
Robbo` has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<RubyPanther> haml predates the pipeline
<RubyPanther> so I'm sure there is no extra step for that
<RubyPanther> but rails sucks, use Camping
<jxf> lewix: f = File.read(...); e = Haml::Engine.new(e); output = e.render
foooobear has quit [Quit: Computer has gone to sleep.]
<jxf> er, Haml::Engine(f), rather
<jxf> lewix: Haml doesn't really have anything to do with the asset pipeline
<jxf> lewix: also, if you're looking for Rails-specific advice you may want to ask #rubyonrails
<lewix> jxf, i put a haml file in my public folder - but it's not reading it - it's readin g it as plain text
<benzrf> camping looks kinda campy
<benzrf> :^)
<jxf> lewix: ... so it *is* reading it?
maximski has quit []
wallerdev has quit [Quit: wallerdev]
<jxf> lewix: I'm a little confused about what you mean, haml files are plain text
<lewix> its rendering the haml code
<lewix> as text
kenneth has quit [Remote host closed the connection]
Xeago has joined #ruby
<jxf> lewix: what's the name of the file?
jottr has quit [Ping timeout: 255 seconds]
wallerdev has joined #ruby
kenneth has joined #ruby
newUser1234 has quit [Remote host closed the connection]
<lewix> jxf, tagCont.html.haml
yubrew has quit [Ping timeout: 245 seconds]
peterdinklage has quit []
shevy has joined #ruby
baroquebobcat has joined #ruby
ndrei has joined #ruby
<jxf> try: "bundle exec irb", then "f = File.read('public/tagCont.html.haml'); e = Haml::Engine.new(f); e.render" and see what you get
GriffinHeart has joined #ruby
<cvitullo> i got it! Thanks shevy and canton7, you da best
<DouweM> lewix: I don't think /public goes through the asset pipeline
<cvitullo> it ended up being a capistrano problem but i would've taken a lot longer to debug it otherwise
<shevy> wheee I think BIOS update worked... though there was a warning "CMOS wrong checksum" or so
<DouweM> lewix: place it in a view and it'll work
<lewix> DouweM, that's what i said earlier
<DouweM> ah sorry, didn't see that
jottr has joined #ruby
<shevy> haha
<DouweM> right, you're aware of that and want to use haml outside the asset pipeline. okay.
<lewix> DouweM, but jxf and RubyPanther say otherwise
<shevy> people on IRC often just read the last part
<DouweM> shevy: yeah :P
combusean has quit [Ping timeout: 240 seconds]
<shevy> I hate you all
<shevy> I love you all
vpretzel_ is now known as vpretzel
<RubyPanther> Or, they correct specifically the part that was wrong
<RubyPanther> Without doing the rest of the work
jackneill has joined #ruby
<DouweM> or both
<LadyRainicorn> lol shevy
<LadyRainicorn> We hatelove you too! </?3
<lewix> DouweM, i had headache trying to acces a *html.haml file without route in the asset pipeline so i put it in th epublic folder
testcore has joined #ruby
<DouweM> why do you want to circumvent a controller, view and the asset pipeline?
Nahra has quit [Remote host closed the connection]
aspires has quit []
<DouweM> lol LadyRainicorn
aspires has joined #ruby
GriffinHeart has quit [Ping timeout: 252 seconds]
ohcibi_ is now known as ohcibi
<RubyPanther> Find a haml tut from 2007. Also note that a lot of people don't even use the asset pipeline, and haml doesn't stop working.
jamto11 has quit [Remote host closed the connection]
<RubyPanther> It is probably a case of asking the wrong question due to having not read any of the manuals
niharvey|lunch is now known as niharvey
<DouweM> right, but it won't work (I don't think) in /public, it will in /views
<DouweM> but meh, I haven't read most of the convo so I'll stay out of it
Nahra has joined #ruby
Emmanuel_Chanel has quit [Read error: No route to host]
Wolland has joined #ruby
<RubyPanther> Putting it the right spot is required, of course. You can change or add to the places searched for views. Public is a pretty awful place though, for real reasons.
bradhe has joined #ruby
cpruitt has quit [Quit: cpruitt]
yfeldblum has quit [Ping timeout: 260 seconds]
Sawbones has joined #ruby
<RubyPanther> the #rails channel can probably help a lot more
<RubyPanther> #rubyonrails
tectonic has quit []
<jxf> (#rubyonrails)
Emmanuel_Chanel has joined #ruby
kaspergrubbe has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
mercerist has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maestrojed has quit [Quit: Computer has gone to sleep.]
cpruitt has joined #ruby
GuestUser123 has joined #ruby
bradhe has quit [Ping timeout: 265 seconds]
<shevy> ((#rubyonrails))
<shevy> it's like a condom - lisp protection
niftylettuce_ has joined #ruby
LadyRainicorn has quit [Quit: Bye]
dawkirst has joined #ruby
<GuestUser123> ruby is weak
<GuestUser123> lang for nerds
<DouweM> weakly typed, sure
<GuestUser123> syntax ugly
<GuestUser123> python beter
<DouweM> *better
kireevco has quit [Quit: Leaving.]
glenfe has quit [Quit: Restart]
<DouweM> learn to type troll
<GuestUser123> shutup nerd
<DouweM> #nerdlyfe
* jxf cries
<GuestUser123> hahaha
<GuestUser123> ok at least he is funy
<GuestUser123> jxf
<GuestUser123> :D
rm_ has quit [Read error: Connection reset by peer]
troyready has quit [Remote host closed the connection]
Squarepy has joined #ruby
rm_ has joined #ruby
sandbags0 has quit [Ping timeout: 240 seconds]
mityaz has quit [Quit: See ya!]
SCommette has joined #ruby
<lectrick> So I have an old lib. It has a test suite which requires "test/unit" and "mocha". Somewhere along the line, I installed or upgraded minitest. Now when I run the suite I get this error I can't seem to solve even if I follow the instructions: Warning: you should require 'minitest/autorun' instead or add 'gem "minitest"' before 'require "minitest/autorun"'
kireevco has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 265 seconds]
<DouweM> so, have you tried either of those things?
<lectrick> Yep.
dawkirst has quit [Remote host closed the connection]
mat_ has left #ruby ["Quitte"]
dawkirst has joined #ruby
maestrojed has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<lectrick> Then I get "Uninitialized constant 'Test'" when my test suite inherits from Test::Unit::TestCase
<lectrick> Probably because I am no longer requiring "test/unit". Which is what the instructions said- to replace that require with "minitest/autorun"
havenwood has joined #ruby
dawkirst has quit [Remote host closed the connection]
n0n3 has quit [Remote host closed the connection]
<lectrick> If I put in both, I also get errors. Hence me being here
dawkirst has joined #ruby
cocotton has quit [Remote host closed the connection]
<DouweM> I'm afraid I have no experience with either minitest or test/unit
SegFaultAX has quit [Excess Flood]
vsh_ has quit [Quit: Leaving.]
<GuestUser123> ios and osx is a sep feee
<GuestUser123> wooooooooooooow
<lectrick> DouweM: Just Rspec?
<DouweM> lectrick: yeah
<GuestUser123> my single code base works on ios and osx yet they wana charge me sep
<GuestUser123> woooooooooooooow
<GuestUser123> steve jewbs
<GuestUser123> no wonder u died
benzrf is now known as benzrf|offline
aspires has quit []
SegFaultAX has joined #ruby
<GuestUser123> i hope the devil treats him ok
Fenwick has joined #ruby
<lectrick> What have you invented which millions of people use?
<DouweM> if you think he deserves hell, why do you care?
kirun has joined #ruby
<GuestUser123> well look
nvmme has joined #ruby
<GuestUser123> my code is c++
<GuestUser123> right
<GuestUser123> it works on desktop and phone
<DouweM> weren't you screaming about python before?
sambao21 has joined #ruby
<GuestUser123> already have a crossplatform app
<lectrick> does he know which channel this is?
<GuestUser123> no i said that as python has similar syntax to ruby
yfeldblum has joined #ruby
<DouweM> GuestUser123: ah, right. go on
<wallerdev> you dont have to pay anything to develop desktop apps on mac os x
<GuestUser123> wat do u gaize think
OffTheRails has quit [Ping timeout: 240 seconds]
<GuestUser123> yes i do
<wallerdev> only if you want to sell your app on their app store lol
<DouweM> lectrick: he must've when he joined, I think we're dealing with a goldfish and a 3s short term memory
<GuestUser123> i cant even deploy
<GuestUser123> to my own iphone
<wallerdev> hence desktop
aspires has joined #ruby
<DouweM> GuestUser123: you can download Xcode for free and build and run and distribute apps
<DouweM> all for free
<lectrick> yep
<GuestUser123> i have xcoed
<DouweM> if you want to get on any of the app stores, you need a dev account
<shevy> mac is so free
<GuestUser123> you need a cert
nvmme has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
<GuestUser123> to deploy
<lectrick> you don't need a cert. the user may get a warning, that's it
<wallerdev> yeah you need a cert and provisioning profile to deploy to your phone, not desktop though
<DouweM> deploy as in install? no you don't. or if you do, it's free
cocotton has joined #ruby
<shevy> GuestUser123 python and ruby have somewhat familiar syntax but the philosophy is what sets them apart
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cocotton has quit [Remote host closed the connection]
<GuestUser123> yes my app is already on my desktop lol
railzForDaiz has joined #ruby
<GuestUser123> thats where i write it comon
<DouweM> GuestUser123: so what's the problem
<GuestUser123> the PHONE
<GuestUser123> r u not hearing me?
cocotton has joined #ruby
<wallerdev> lol this guy
<GuestUser123> the desktop version is fine
phutchin1 has quit [Ping timeout: 252 seconds]
<wallerdev> better troll than me :(
<GuestUser123> my app even comes with an installer
andrewjanssen has quit [Quit: Leaving...]
<GuestUser123> try it
Xeago has quit [Read error: Connection reset by peer]
<shevy> omg
Fenwick has left #ruby [#ruby]
<DouweM> GuestUser123: so the problem is that you don't like closed platforms?
<GuestUser123> well no i got over the 99
<GuestUser123> but now i got to that screen
<shevy> GuestUser123 no really, where is the big difference you see in python vs. ruby?
<GuestUser123> and its telling me its 99 for each!!!!!!!!!!!!
<DouweM> GuestUser123: yup
<GuestUser123> this is madness
<DouweM> GuestUser123: and you're telling us this why?
<shevy> he wants you to pay it
<DouweM> haha
<GuestUser123> maybe if we all boycotit
<wallerdev> python sucks, ruby rocks
<wallerdev> not even an argument there
<DouweM> GuestUser123: just use windows and android
<GuestUser123> lol what
<shevy> GuestUser123 we all 956 people here?
sambao21 has quit [Ping timeout: 260 seconds]
<shevy> what a mass movement for boycott
<GuestUser123> i duno
<shevy> you are without a plan
Xeago has joined #ruby
<GuestUser123> ill just get my mom to pay it
<shevy> that's the cheap way
<GuestUser123> she loves steve jewbs
<shevy> who is steve jewbs
<GuestUser123> let her pay him
sinkensabe has joined #ruby
<GuestUser123> im a linux dev
<DouweM> okay
gr33d has joined #ruby
aspires has quit []
<DouweM> ask #yourmom then, don't bother us
nectarys has joined #ruby
<GuestUser123> but my app works on linux windows mac iphone android
gregf has quit [Quit: WeeChat 0.4.3]
<shevy> no this can not be true
<GuestUser123> now im submiting it to all the stores
<shevy> linux devs laugh about apple
<shevy> so you can't be one
<wallerdev> whats your app?
<GuestUser123> its a irc chatting app
<GuestUser123> im using it now
<shevy> lol
<DouweM> lol
<GuestUser123> i have a mobile and desktop variant
GuestUser123 has quit [Remote host closed the connection]
<DouweM> and you were testing if it supported trolling?
<wallerdev> lol
<shevy> you did not even write it yourself!
robertodecurnex has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
<wallerdev> i think i just broke his client
<shevy> ack
<DouweM> lol
<DouweM> whatchado?
EagleDelta has joined #ruby
<wallerdev> i sent a request for his irc client version
<DouweM> haha
GuestUser123 has joined #ruby
<GuestUser123> see
<DouweM> so he is actually running his own client, it just sucks
<nectarys> hi, what's the difference between django and RoR, please ?
dc_ has joined #ruby
GuestUser123 has quit [Remote host closed the connection]
<wallerdev> yup
<wallerdev> that kicks him off
<wallerdev> lol
dc has quit [Ping timeout: 240 seconds]
tectonic has joined #ruby
<DouweM> nectarys: Python vs Ruby for one
sinkensabe has quit [Client Quit]
GuestUser123 has joined #ruby
GuestUser123 has quit [Remote host closed the connection]
<DouweM> wallerdev: lol
<wallerdev> lol
djbkd has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
<nectarys> DouweM, okay thank you, but which do you advice me to learn ?
RaCx has joined #ruby
<DouweM> nectarys: we're a bit biased
<wallerdev> just use node.js
<DouweM> wallerdev: lol. saves us a lot of discussion as we can send them to another chan immediately :P
GuestUser123 has joined #ruby
nvmme has joined #ruby
<GuestUser123> jeeez
<wallerdev> well hes already in node.js lol
michael_lee has quit [Ping timeout: 260 seconds]
<GuestUser123> thanx man
<wallerdev> hey Guest3776 did you fix your irc client
<GuestUser123> nice kick
<wallerdev> wow autocomplete
<GuestUser123> ya
<GuestUser123> good one bro
mary5030 has quit [Remote host closed the connection]
GuestUser123 has quit [Remote host closed the connection]
<wallerdev> apparently you didnt
<wallerdev> lol
<nectarys> wallerdev, node.js is not good for complexe treatment, no ?
<DouweM> wallerdev: what's the command? :D
mary5030 has joined #ruby
GuestUser123 has joined #ruby
<GuestUser123> argh
<GuestUser123> stop
<GuestUser123> !!!!!!!!!!
<wallerdev> i thought you said you fixed it
<GuestUser123> hacker
<GuestUser123> i guess not
robertodecurnex has joined #ruby
<GuestUser123> try it
<GuestUser123> debuger open
nanoyak has quit [Quit: Computer has gone to sleep.]
<wallerdev> says youre using xchat now
<wallerdev> lol
pedahzur has joined #ruby
<GuestUser123> haha u funy
vsh_ has joined #ruby
<GuestUser123> mine is similar to xchat
<wallerdev> xchat 2.8.8
<GuestUser123> coz its my fav client
blackmesa has joined #ruby
vsh_ has left #ruby [#ruby]
silkfox has quit [Ping timeout: 252 seconds]
<DouweM> so you decided to use their version string?
<shevy> hey
<GuestUser123> mine is called yarp
<shevy> wallerdev, you still use xchat?
paulfm has quit []
<wallerdev> no i use colloquy
djbkd has quit [Ping timeout: 260 seconds]
<wallerdev> its ok
<wallerdev> not great
EminenceHC has quit [Remote host closed the connection]
<DouweM> I like linkinus, just a shame it hasn't been updated in ages
<wallerdev> yeah colloquy is dead on development too
<wallerdev> rip
<wallerdev> im gonna grab lunch now though
St_Marx has quit [Quit: Ex-Chat]
<DouweM> lunch? i just had dinner
dfinly has joined #ruby
<wallerdev> learn 2 timezone
<DouweM> hehe
<wallerdev> where are you thats dinner time
<wallerdev> middle of the ocean
<DouweM> Netherlands, it's 9:22pm now, had around 8:30
<DouweM> *had dinner
AndChat| has joined #ruby
HashNuke has quit [Quit: Connection closed for inactivity]
sepp2k has joined #ruby
<wallerdev> late dinner :p
dangerou_ has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
GuestUser123 has quit [Ping timeout: 240 seconds]
Shidash has quit [Ping timeout: 240 seconds]
<DouweM> meh, I never eat before 7, and today I only started making dinner around 7:30
bricker has quit [Ping timeout: 264 seconds]
lkba has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
bricker has joined #ruby
Kricir has joined #ruby
bluenemo has quit [Quit: Verlassend]
jerius has quit [Ping timeout: 240 seconds]
<shevy> weakling
jerius has joined #ruby
<DouweM> :(
dfinly has quit [Quit: Computer Sleeping, me sleeping]
gregf has joined #ruby
kilk_1 has joined #ruby
kilk_1 has quit [Client Quit]
GuestUser123 has joined #ruby
<GuestUser123> bastardos
<DouweM> oh god he's back
<GuestUser123> !!!!!!!!!
Xeago has quit [Read error: Connection reset by peer]
<GuestUser123> i thot ruby was a friendly hipster comunity
troyready has joined #ruby
<GuestUser123> did realize so many meanies here
<DouweM> a hipster friendly community. you've already outed yourself as a python/C++ dev so get out
Takle has quit [Ping timeout: 240 seconds]
klaut has joined #ruby
Kricir has quit [Ping timeout: 252 seconds]
<GuestUser123> ok do that thing again
timonv has joined #ruby
<shevy> GuestUser123 the thing is you are a poser
paulfm has joined #ruby
tharindu has quit [Ping timeout: 265 seconds]
<GuestUser123> lol says the ruby user
<GuestUser123> i have an every lamer lang lol
<GuestUser123> its caller groovy on grails
sambao21 has joined #ruby
skaflem has quit [Quit: Leaving]
aspires has joined #ruby
zorak8 has quit [Quit: Saliendo]
tectonic has quit []
zorak8 has joined #ruby
chubchubcharles has joined #ruby
sumyunseal has joined #ruby
sambao21 has quit [Read error: Connection reset by peer]
<sumyunseal> o/
silkfox has joined #ruby
<zorak8> test
Royalb15 has quit [Quit: Leaving]
yubrew has joined #ruby
<GuestUser123> do that version thing
veinofstars has joined #ruby
<DouweM> \o
<DouweM> /o DOWN LOW TOO SLOW
wallerdev has quit [Quit: wallerdev]
yacks has quit [Quit: Leaving]
<GuestUser123> oh there
<GuestUser123> i fixed it
<GuestUser123> i just did it to myself
georgschlenkhoff has left #ruby ["Bye, bye"]
GriffinHeart has joined #ruby
<GuestUser123> what are these ascis
nvmme has quit [Quit: nvmme]
<GuestUser123> this thing
ryanleesipes has quit [Quit: Leaving]
<jhass> ☃
<GuestUser123> lol
freezey has quit [Remote host closed the connection]
nvmme has joined #ruby
Kricir has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
freezey has joined #ruby
nectarys has quit [Quit: Ex-Chat]
ryanleesipes has joined #ruby
freezey has quit [Read error: Connection reset by peer]
<GuestUser123> looks like a lil flag
freezey has joined #ruby
<GuestUser123> if (message_char == 1) {
maximski has joined #ruby
<GuestUser123> char #1
<GuestUser123> any1 know what it represents?
sinkensabe has joined #ruby
<GuestUser123> ushort message_char = message_content.at(0).unicode();
<jhass> type `man ascii`
<GuestUser123> oh i didnt know that had help
<GuestUser123> start of heading?
<apeiros> troll alert?
pietr0 has joined #ruby
<shevy> haha
<jhass> sorta, nothing too offensive yet though
Shidash has joined #ruby
* apeiros too lazy to read scrollback, but since nobody pinged…
havenwood has quit [Remote host closed the connection]
veinofstars has left #ruby [#ruby]
Kricir has quit [Ping timeout: 252 seconds]
<DouweM> apeiros: started off as a troll, apparently found god, has been sort of coherent since
havenwood has joined #ruby
<GuestUser123> take it easy
<GuestUser123> u realize this is irc rite
nanoyak has joined #ruby
<apeiros> GuestUser123: /kick is easy :-p
Atttwww has joined #ruby
<GuestUser123> why the fuk else wud i come here other than goof off
<DouweM> GuestUser123: help people? get help?
<GuestUser123> i am helping
<GuestUser123> and geting help
<jhass> GuestUser123: time to read http://freenode.net/catalysts.shtml
<GuestUser123> about the asci
<DouweM> GuestUser123: not saying you aren't, just listing reasons
decoponio has quit [Quit: Leaving...]
djbkd has joined #ruby
myMINT has joined #ruby
bradhe has joined #ruby
freezey has quit [Ping timeout: 276 seconds]
gattuso has quit [Read error: Connection reset by peer]
mordocai has joined #ruby
vosloco has quit [Quit: Page closed]
<mordocai>
<mordocai> [Tue May 20 2014]
<mordocai> *** You have joined channel #ruby [11:45]
<mordocai> *** Topic for #ruby: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org
kilk_ has quit [Ping timeout: 252 seconds]
<mordocai> || Paste >3 lines of text on http://gist.github.com || this channel is
<mordocai> logged at http://irclog.whitequark.org, other public logging is prohibited
<mordocai> *** #ruby: topic set by apeiros_!~apeiros@77-58-113-179.dclient.hispeed.ch,
<mordocai> 2014-05-08 23:44:26
<mordocai> *** Users on #ruby: mordocai ylluminate trampi alpha123 geggam blackmesa
<mordocai> Hobogrammer maletor nowthatsamatt lethe Snarkz kaspergrubbe lkba VTLob
<DouweM> mordocai: ... why?
<mordocai> smathieu datafirm djbkd kevinykchan paulfm predator117 sigurding
<mordocai> deric_skibotn michaeldeol p8952 rdark_ pu22l3r Gabri garndt Valesk
<mordocai> pel_daniel xcesariox treehug88 sambao21 toastynerd mattmcclure pietr0
mordocai was kicked from #ruby by apeiros [come back when fixed]
<DouweM> justice!
<apeiros> irc client problem probably
klaas has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
bradhe has quit [Ping timeout: 265 seconds]
nvmme has quit [Quit: nvmme]
wallerdev has joined #ruby
jheg has joined #ruby
pedahzur has left #ruby ["Konversation terminated!"]
mordocai has joined #ruby
<eam> on osx it's real easy to accidentially highlight, drag, and cause a paste into a terminal
<maletor> from May 20th?
nvmme has joined #ruby
<maletor> mordocai has gathered a brain trust
<maletor> don't be mistaken
dfinly has joined #ruby
mordocai has quit [Remote host closed the connection]
joaoh82 has quit [Remote host closed the connection]
dfinly has quit [Max SendQ exceeded]
<eam> I always said paste confirmantion in irssi to >1 line
<eam> set^
<apeiros> and limechat will pop up a window on >1 line, which allows you to gist instead of channel-paste
<eam> nice
klaas has joined #ruby
mordocai has joined #ruby
sailias has quit [Read error: Connection reset by peer]
joaoh82 has joined #ruby
benzrf|offline is now known as benzrf
nectarys has joined #ruby
AndChat| has quit [Ping timeout: 245 seconds]
klaas has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
benlieb has joined #ruby
ddd has quit [Ping timeout: 252 seconds]
sinkensabe has quit [Remote host closed the connection]
jaimef has joined #ruby
ddd has joined #ruby
lkba has joined #ruby
mikepack has joined #ruby
<DouweM> GitHub behaving erratically for anyone else?
<DouweM> Apparently not, graphs show increase in errors: https://status.github.com/
fmope has quit [Read error: Connection reset by peer]
maestrojed has quit [Quit: Computer has gone to sleep.]
fmope has joined #ruby
banister has joined #ruby
<GuestUser123> what os r u
ndrei has quit [Ping timeout: 260 seconds]
<DouweM> os x am i
yfeldblum has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
combusean has joined #ruby
DEA7TH_ has joined #ruby
cocotton has quit [Remote host closed the connection]
n0n3 has joined #ruby
nvmme has quit [Quit: nvmme]
sambao21 has joined #ruby
sailias has joined #ruby
Bira has quit [Remote host closed the connection]
ndrei has joined #ruby
DEA7TH has quit [Ping timeout: 252 seconds]
GriffinHeart has quit [Remote host closed the connection]
<shevy> linux
nug__ has joined #ruby
klaas has joined #ruby
nug__ has left #ruby [#ruby]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
<sumyunseal> osx version installer is in chinese tho
cocotton has joined #ruby
<sumyunseal> lol
Xeago has joined #ruby
<sumyunseal> not sure why its detecting that as default on mac
sambao21 has quit [Ping timeout: 252 seconds]
Kricir has joined #ruby
<sumyunseal> also osx version is a bit dated
<sumyunseal> but win and linux is the latest version
sambao21 has joined #ruby
shenk has joined #ruby
mikesplain has quit [Ping timeout: 252 seconds]
<GuestUser123> lol
<GuestUser123> this is mobile
<GuestUser123> im seal btw
<shevy> chinese is the language of the future
nvmme has joined #ruby
<shevy> navy seal?
<GuestUser123> did u download it
<GuestUser123> it looks very nice on linux
<shevy> I download the whole internetz
myMINT has quit [Remote host closed the connection]
<GuestUser123> shevy try it
<GuestUser123> tell me wat u think of it
hermanmunster has joined #ruby
freezey has joined #ruby
dEPy has quit [Quit: Computer has gone to sleep.]
shenk is now known as shenkz
wallerdev has joined #ruby
freezey has quit [Read error: Connection reset by peer]
Shidash has quit [Ping timeout: 276 seconds]
freezey_ has joined #ruby
DEA7TH_ is now known as DEA7TH
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
Sawbones has quit []
jottr has quit [Ping timeout: 265 seconds]
timonv has quit [Remote host closed the connection]
nvmme has quit [Quit: nvmme]
baroquebobcat has quit [Quit: baroquebobcat]
hermanmunster has quit [Ping timeout: 245 seconds]
lethe has joined #ruby
jheg has quit [Quit: jheg]
xeno_ has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
freezey_ has quit [Ping timeout: 265 seconds]
saarinen has quit [Quit: saarinen]
geekbri has quit []
pietr0 has quit [Quit: pietr0]
lethe has quit [Ping timeout: 260 seconds]
nvmme has joined #ruby
the-undefined has quit [Quit: Connection closed for inactivity]
sputnik13 has joined #ruby
jrhe has quit [Quit: Connection closed for inactivity]
x1337807x has joined #ruby
Emmanuel_Chanel has joined #ruby
Shidash has joined #ruby
Bira has joined #ruby
echevemaster has quit [Ping timeout: 240 seconds]
learner has quit [Remote host closed the connection]
shenkz has quit [Quit: Leaving]
rmill is now known as rmizzle
yubrew has joined #ruby
happytux has joined #ruby
<happytux> hi
gattuso has joined #ruby
cpruitt has quit [Quit: cpruitt]
teddyp1cker has quit [Remote host closed the connection]
<happytux> So I got the problem that inside a Rake task a command invoked by system('[...]') exiting with error status will not fail the task.
Bira has quit [Remote host closed the connection]
<happytux> What can be the reason for this?
Takle has joined #ruby
<GuestUser123> thx alot
<happytux> I used Ant as build tool before and when a command failed, the task failed, too.
<happytux> This is not the case for Rake.
<RubyPanther> Whoever claimed that hipsters are friendly? How could they remain snobs? Anyways, I think the hipsters left for Go/JS/Swift
chubchubcharles has left #ruby [#ruby]
<happytux> RubyPanther: NodeJs?
ponga has joined #ruby
ponga has joined #ruby
<GuestUser123> hahaha
spider-mario has quit [Read error: Connection reset by peer]
noop has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
<RubyPanther> happytux: the rake task is responsible for raising an exception. If you call system() and the program returns a non-zero exit code, that is in fact NOT an error at all in general.
alem0lars has quit [Quit: alem0lars]
yubrew has quit [Ping timeout: 265 seconds]
<happytux> RubyPanther: hm, the command in question fails (prints an error message t console, too).
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaimef has quit [Excess Flood]
Altonymous has joined #ruby
paulfm has quit []
<RubyPanther> happytux: No, NodeJS is to JS as RubyOnRails is to Ruby. Hopefully if they're hipsters they have something better to do than write weblahgs. Or at least, they should pretend to
jaimef has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
jespada has quit [Quit: Leaving]
<RubyPanther> happytux: The existence of data on STDERR does not indicate a failure of the system() method
<happytux> oh
<GuestUser123> coz they cant use ANY technologgy
<GuestUser123> thats why they always hop on the new technology
shenk has joined #ruby
<GuestUser123> then realize they cant hack it
<GuestUser123> then repeat
<GuestUser123> lol
<RubyPanther> Sounds agile to me! Failure never needs to last more than 1 week...
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<GuestUser123> ya wats w the whole agile shit
<happytux> What do you think about NodeJs?
<GuestUser123> it doesnt really apply to devs
<happytux> I would use it for real time applications.
shenk is now known as shenkz
<GuestUser123> hell no
silkfox has quit [Quit: WeeChat 0.4.3]
<GuestUser123> or u mean realtime web app
MrDoctor has quit [Remote host closed the connection]
<benzrf> node.js is bull
<benzrf> js blows deal w/ it
<benzrf> B)
MrDoctor has joined #ruby
silkfox has joined #ruby
glenfe has joined #ruby
<wmoxam> benzrf: at least it scalez bro
<GuestUser123> true that
Altonymous has quit [Ping timeout: 260 seconds]
* wmoxam hides
<GuestUser123> i dont know about that
<GuestUser123> does it scale like they claim?
<GuestUser123> with that new module
<GuestUser123> js seems like horible lang to use for backend
bradhe has joined #ruby
<GuestUser123> i do all my webstuff in backbone now
<wmoxam> GuestUser123: IMO it's alright
cocotton has quit [Remote host closed the connection]
paulfm has joined #ruby
shvelo has quit [Ping timeout: 245 seconds]
<GuestUser123> my apps are fully interactive to the max
<GuestUser123> but i use php on backend
<GuestUser123> python is just too ugly
<GuestUser123> and java is jus too slow
cocotton has joined #ruby
jottr has joined #ruby
cocotton has quit [Remote host closed the connection]
<GuestUser123> i dont see whats so special about node
cocotton has joined #ruby
<wmoxam> ha
<happytux> Joy team: PHP + PHP SOAP extension
<happytux> hurra
<GuestUser123> hahaha
<GuestUser123> php just rules
<wmoxam> GuestUser123: many would say that php is both too ugly and slow
<benzrf> GuestUser123: i'm sorry, what?
<benzrf> what the fuck
<wmoxam> pretty sure you could find ppl taht would say the same about Ruby
<GuestUser123> not if u actualy seen the benches
<benzrf> php is the worst language in existance
mark_locklear has quit [Quit: Leaving]
jerius has quit []
MrDoctor has quit [Ping timeout: 240 seconds]
<benzrf> it is objectively awful
nanoyak has quit [Quit: Computer has gone to sleep.]
<wmoxam> or just about any other language
<benzrf> it has no redeeming features
<benzrf> it is the devil's language
<happytux> lol
shenk has joined #ruby
shenk has quit [Max SendQ exceeded]
<happytux> I thought BSD is devil? At least they use one as the mascot?
<benzrf> happytux: no, that's a daemon
Kricir has quit [Ping timeout: 276 seconds]
<GuestUser123> php is a bit lax in object
<benzrf> ^not my pun, theirs
<benzrf> GuestUser123: php blooooooooows
<benzrf> name one good part
blackmesa has joined #ruby
<GuestUser123> everything
<benzrf> also
<wmoxam> lolol
<benzrf> java slower than php
<GuestUser123> its fast
<benzrf> you're full of shit
<benzrf> php is slow as fuck
<GuestUser123> its slim
<benzrf> well
SegFaultAX has quit [Excess Flood]
<wmoxam> GuestUser123: well trolled sir
<benzrf> at least, slower than java
<GuestUser123> show me the benches
<benzrf> oh god DAMMIT
bradhe has quit [Ping timeout: 252 seconds]
<benzrf> i shouldve known
* happytux bets that someone is kicked soon
* benzrf is shame
<happytux> It escalates
<benzrf> >tfw didnt realize a troll
<GuestUser123> show me the benchmarks
<wmoxam> hahaha
<GuestUser123> like string manipulation
workmad3 has joined #ruby
<GuestUser123> hwo bout u get a timestamp and time it?
<happytux> But as Hardware becomes far cheaper than Software, performance doesn't really count? But scaling instead?
<GuestUser123> eh?
<railzForDaiz> What are some good projects to work on as a ruby beginner ..
* happytux pours oil into the channel fire
<GuestUser123> u feeling fast now benzrf
<railzForDaiz> ?
<happytux> railzForDaiz: Build Ruby :) :D
<wmoxam> railzForDaiz: Koans
jerius has joined #ruby
SegFaultAX has joined #ruby
<wmoxam> railzForDaiz: http://rubykoans.com/
bmurt has quit []
<wmoxam> railzForDaiz: also: https://projecteuler.net/
<havenwood> GuestUser123: such a good idea to use Personal Home Page for HPC, i think you're on to something...
<railzForDaiz> will check it out
<railzForDaiz> wmoxam: thanks
carraroj has quit [Quit: Konversation terminated!]
n0n3 has quit [Remote host closed the connection]
jxf has quit [Ping timeout: 240 seconds]
ndrei has quit [Ping timeout: 260 seconds]
<RubyPanther> happytux: nodejs has significant value for building websites, especially where the goal is a "website" and where the web is not simply a delivery mechanism for an app. The reason it has so much value is that JS is generally required for websites already, so there is much less overall complexity when that language is used for the backend too.
<happytux> right
<RubyPanther> for those reasons I recommend it ahead of rails if a company is not already using Ruby
<happytux> RubyPanther: There were situations where I also wished to use the same code on server and client.
<RubyPanther> Anyways, the "interesting" apps are the ones where the web _is_ just a delivery mechanism :)
<happytux> RubyPanther: 'Where the web is not simply a delivery mechanism for an app.' You mean streaming and other more complex stuff?
Nahra has quit [Remote host closed the connection]
<RubyPanther> happytux: I mean anything where you might also want a "native app"
paulfm has quit []
<RubyPanther> For example I write point of sale tools that have a Gtk frontend for the POS station, and also a rails frontend for the intranet
<happytux> RubyPanther: ah you mean an app which can easily modified to run on client and server?
Nahra has joined #ruby
<RubyPanther> Well, as an example, anything where you make heavy use of an ORM, that code ("models" if using AR) can be reused easily and the delivery mechanism doesn't matter
<happytux> RubyPanther: hm, a Service Tier?
<RubyPanther> no need for it be a service architecture
<happytux> RubyPanther: ah
<RubyPanther> a service architecture might reuse the web delivery mechanism under the hood anways (REST)
<happytux> right
matled has joined #ruby
<RubyPanther> if you're doing everything-as-a-service, then you can just use NodeJS everywhere, and a "native" client is just a thin layer
dblessing has quit [Quit: dblessing]
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
<RubyPanther> Compared to keeping the business logic in the ORM, that is whole extra layer that you only benefit from in certain situations, like in a large organization with distributed databases
Zenigor has quit [Remote host closed the connection]
davedev24_ has quit []
<RubyPanther> For the simple case, the service layer would just be wrapping the logic in the ORM, and wouldn't really be adding anything
akonny has quit [Quit: akonny]
doodleha_ has joined #ruby
x1337807x has joined #ruby
doodlehaus has quit [Ping timeout: 240 seconds]
Bira has joined #ruby
geggam has quit [Quit: commuteth]
jackneill has quit [Ping timeout: 245 seconds]
lemur has quit [Remote host closed the connection]
robertodecurnex has quit [Remote host closed the connection]
<ponga> d
ldnunes has quit [Quit: Leaving]
<shevy> yeah ponga
<ponga> :d
<shevy> oh ok now we are using symbols
<shevy> >> :d
<shevy> man
<shevy> why is the bot not working
<shevy> who broke it
<shevy> was it you Hanmac?
<jhass> it just ignores you again
thisirs has quit [Remote host closed the connection]
Bira has quit [Ping timeout: 240 seconds]
Azulinho has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
jheg has joined #ruby
g0bl1n has joined #ruby
SBoolean has quit [Remote host closed the connection]
spicerack has joined #ruby
maximski has quit [Ping timeout: 252 seconds]
davedev24_ has joined #ruby
nectarys has quit [Remote host closed the connection]
ldnunes has joined #ruby
maximski has joined #ruby
Kricir has joined #ruby
maximski has quit [Max SendQ exceeded]
r_rios has quit [Ping timeout: 240 seconds]
m8 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
shvelo has joined #ruby
creativeembassy has quit [Quit: FO SHO]
sambao21 has joined #ruby
baroquebobcat has joined #ruby
<GuestUser123> stop trolling
<GuestUser123> damn kids
havenwood has quit [Remote host closed the connection]
treehug88 has quit []
<Robbo`> anyoe here use padrino and have locales working in it?
g0bl1n has quit [Quit: Ex-Chat]
andrewjanssen has joined #ruby
maximski has joined #ruby
freezey has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
freezey has quit [Read error: Connection reset by peer]
<combusean> Stack Overflow is currently offline for maintenance
* combusean is worthless now
ldnunes has quit [Quit: Leaving]
freezey has joined #ruby
benzrf is now known as half-of-benzrfs-
sambao21 has quit [Client Quit]
* half-of-benzrfs- brain falls out
djbkd has quit [Remote host closed the connection]
half-of-benzrfs- is now known as benzrf
<Robbo`> combusean: we all are
havenwood has joined #ruby
dc_ has quit [Remote host closed the connection]
* combusean collects benzrf's brain and sets up a complicated research/resale enterprise around it.
<combusean> bba.gov - Benzrf's Brain Administration
<shevy> benz.p0rn - benzrf's secret collection of ponicorn sex
mjsmith2 has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
sambao21 has joined #ruby
NukePuppy has quit [Ping timeout: 252 seconds]
freezey has quit [Ping timeout: 240 seconds]
comma8 has joined #ruby
treehug88 has joined #ruby
<GuestUser123> its coz of hipsters
moritzs has quit [Ping timeout: 245 seconds]
<GuestUser123> they confuse the shit out of every1
<combusean> hipsters?
<combusean> where
<GuestUser123> look at google
<GuestUser123> was cool in 1998
Robbo` has quit [Read error: Connection reset by peer]
<GuestUser123> look at that shit now
<GuestUser123> they all sold out to govt
Asher has joined #ruby
<GuestUser123> the internet is not wallmart
djbkd has joined #ruby
spicerack has quit [Quit: Textual IRC Client: www.textualapp.com]
yubrew has joined #ruby
silkfox has quit [Read error: Connection reset by peer]
silkfox has joined #ruby
Squarepy has quit [Quit: Leaving]
jfarinas has quit [Ping timeout: 240 seconds]
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
cocotton_ has joined #ruby
<railzForDaiz> push hash with data inside a module ... is it possible to use it as a data store for config variables. and call them into another .rb file ..?? tried it out and failed .. or its not supposed to be done .. what is the main point of using modules (only for functions/methods)
<railzForDaiz> ??
tectonic has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
<apeiros> railzForDaiz: how exactly did you "push hash with data inside a module"?
cocotton has quit [Ping timeout: 240 seconds]
<RubyPanther> GuestUser123: If "obeyed a warrant legally issued by a court" means "selling out," my advice is to submerse all electronics in saltwater to render them safe and ensure they refuse any compliance with The Man
<railzForDaiz> apeiros: sorry i mean i just declared some key => value pairs inside
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<railzForDaiz> apeiros: now wanted to call them
cocotton_ has quit [Ping timeout: 265 seconds]
<apeiros> railzForDaiz: you need to assign data to something. in this case probably a constant.
<apeiros> else the data is not kept. and you have no way of accessing it.
<RubyPanther> railzForDaiz: Yes, modules are for code not data, and the simplest way to store data in a file is with YAML which is hash-like
<RubyPanther> You "can" store you data in a module, if you do it right, but that is Considered Disgusting
<railzForDaiz> RubyPanther: thanks for the clarification. was stuck the whole day thinking WTF ,, i recently leant you can just use YAML .. uff..
<railzForDaiz> RubyPanther: didn't know how to call the hash variables it after requiring the file and including the module
<RubyPanther> I just read manuals all day, it reduces the need for that "thinking" nonsense
<railzForDaiz> hehe ^_^
<railzForDaiz> will make it a habit now :)
<railzForDaiz> thanks man
sambao21 has quit [Quit: Computer has gone to sleep.]
<apeiros> railzForDaiz: gist.github.com - paste the code you used
chipotle_ has quit [Quit: cya]
GuestIphone has joined #ruby
dpp has joined #ruby
<GuestIphone> aaaahahahahaba fooools
<shevy> GuestIphone poser
GuestIphone has quit [Remote host closed the connection]
andrewjanssen has quit [Quit: Leaving...]
nanoyak has joined #ruby
GuestIphone has joined #ruby
sambao21 has joined #ruby
<GuestIphone> im the kinggggg
<GuestIphone> yaaaahahhhahahaha
<GuestIphone> sicknesssss
yxhuvud has quit [Read error: Connection reset by peer]
<ponga> are you alright lol
silkfox has quit [Ping timeout: 255 seconds]
yxhuvud has joined #ruby
<GuestIphone> my app is on iphone
<GuestIphone> die biches
<apeiros> GuestIphone: stop it.
<GuestIphone> best part it works on android toooo hahahahanahahaha
<csmrfx> aah, the summer holidays for kids have started
nobitanobi has joined #ruby
<benzrf> *was shown
<csmrfx> trolls on every channel
Robbo` has joined #ruby
<GuestIphone> benz ur stupid llol
andrewjanssen has joined #ruby
<GuestIphone> controller is king
GuestIphone was kicked from #ruby by apeiros [GuestIphone]
<ponga> to logically achieve 'trolls on every channel' status one has to be a troll him/herself!
<sumyunseal> watch it ponga im still here
<sumyunseal> u lil kook boy
sumyunseal was kicked from #ruby by apeiros [I can help that]
<ponga> sorry i don't remember you sumyunseal
yfeldblu_ has joined #ruby
<ponga> did i meet you in ##cooking
<apeiros> he's no longer here
<shevy> lol
<ponga> what the lol
<ponga> what was he on about?
yfeldblum has quit [Ping timeout: 240 seconds]
workmad3 has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
moritzs has joined #ruby
wallerdev has quit [Ping timeout: 276 seconds]
<apeiros> GuestUser123: since I know you're the same as GuestIphone & sumyunseal - if you want to goof off, I suggest you go to ##ruby instead. they're the *fun* channel.
* combusean gives apeiros a cookie.
dawkirst has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
<apeiros> thanks
<apeiros> *nomnom*
anaeem1 has joined #ruby
Sou|cutter has quit [Quit: WeeChat 0.4.3]
<combusean> good boy!
<combusean> ##ruby is empty =(
<combusean> apparently this language is full of work and slavery :(
saarinen has joined #ruby
<apeiros> how many nicks do you even have?
<Sigma00> we're very serious about the master-slave relationship
<banister> apeiros do u know how to calculate the derivative of a regular expression
i_s has quit [Remote host closed the connection]
<apeiros> banister: eh, what?
freezey has joined #ruby
jheg has quit [Quit: jheg]
* combusean metaprograms a deploying replacement for capistrano
<csmrfx> that takes bit of thinking
brandonblack has joined #ruby
wallerdev has joined #ruby
chipotle has joined #ruby
<apeiros> banister: nope, haven't come across this before
anaeem___ has quit [Ping timeout: 252 seconds]
sunya7a has joined #ruby
<p8952> Is there a way to do something after a class has initialized? For example if I want to call Foo.new() from the initialized method of Bar, and Foo makes a call to the object Bar I get a NilClass error
<apeiros> 1964…
<DouweM> p8952: code pls
<combusean> math outside of geometry has been 99% useless in my 15 years as a software engineer/web programmer.
<csmrfx> p8952: you mean "after my constructor has run"
<banister> combusean "web programming" doesn't really need much math, but interesting emerging fields like machine learning and data science do
<csmrfx> combusean: but how many times you have actually coded some elementary calculus solution?
<csmrfx> hnngh, I mean...
<RubyPanther> they passed a law in `64 to give to those who don't have a little more, but it only goes so far because the law don't change another's mind
mikepack_ has joined #ruby
<p8952> csmrfx, yes
<RubyPanther> But this troll goes way back to the civil war, I'd sign up right now if we had to win that one again
<ponga> what's an array alternative of .select method
<p8952> DouweM, more of a general question than a specific case
Robbo` has quit [Ping timeout: 276 seconds]
<csmrfx> p8952: isn't that actually something that belongs in the constructor?
<shevy> ponga .find .grep ? though I think these are all on Enumerable
<apeiros> ponga: how do you mean? select is available on Array
<ponga> thanks
<ponga> is it?
<ponga> thanks
cpruitt has joined #ruby
<DouweM> p8952: I don't see why you couldn't do this from the constructor. if it's obvious to you that you can't, please post an example
kilk_ has joined #ruby
Kricir has quit [Remote host closed the connection]
dapz has joined #ruby
SCommette_ has joined #ruby
amargherio has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 252 seconds]
Ankhers has quit [Ping timeout: 272 seconds]
<RubyPanther> p8952: There are not hooks for "after a class has initialized," no, because you can always re-open a class and there is never any way to know if it is "after" yet
fmope has quit []
<p8952> DouweM, Example: http://pastie.org/9262238 Foo needs to call Bar, and Bar creates Foo. However Bar does not exist until the constructor has completed
<RubyPanther> p8952: If you meant after an instance is initialized, search on "ruby alias chain"
SCommette has quit [Ping timeout: 240 seconds]
deric_skibotn has quit [Ping timeout: 240 seconds]
mikepack has quit [Ping timeout: 265 seconds]
SCommette_ is now known as SCommette
<DouweM> p8952: circular dependency...
<DouweM> either add a manual initialization step to either of the methods, or think of a more sensible design without circular dependency
<ponga> any good ruby material to read and practice after i done basic stuffs of ruby?
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<csmrfx> ponga: have you read the Flanagan and Matsumoto?
m8 has quit [Quit: Sto andando via]
<csmrfx> hm, I wonder if it has a new edition out, and if it is actually still current
<ponga> csmrfx no i will check that out thanks, there are apparently too many to choose from
<csmrfx> but it was great when I last read it
kyb3r_ has joined #ruby
sailias has quit [Quit: Leaving.]
mikesplain has joined #ruby
<RubyPanther> It isn't really circular, just backwards
<ponga> i need to find e-book edition of it
Shidash has quit [Ping timeout: 240 seconds]
<ponga> i don't live in western hemisphere so its hard to get it :(
andrewjanssen has quit [Quit: Leaving...]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has joined #ruby
benzrf is now known as benzrf|offline
<csmrfx> ponga: you can read the first 10 pages on ggl books
ctp has quit [Quit: Textual IRC Client: www.textualapp.com]
hpoydar has quit [Remote host closed the connection]
Shidash has joined #ruby
<railzForDaiz> apeiros: shit my internet is so horrible even github not loading properly , will try next time thanks though
akonny has joined #ruby
<RubyPanther> Ruby is from the Eastern Hemisphere, but that only helps if you're looking for the Japanese version of the books
hpoydar has joined #ruby
<ponga> RubyPanther: i do speak Japanese fluently but are there any good books ?
<ponga> and i learnt all the jargons of software in English anyway..
doodleha_ has quit [Remote host closed the connection]
hermanmunster has joined #ruby
ryanleesipes has quit [Quit: Leaving]
doodlehaus has joined #ruby
gr33d has quit [Quit: gr33d]
<shevy> ponga hah then you can talk to matz
jrhe has joined #ruby
adantj has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cya]
danshult_ has quit [Remote host closed the connection]
<shevy> he talks english as if he'd write ruby code
<ponga> shevy what do you mean by that
phansch has joined #ruby
<ponga> that his english is fluent?
danshultz has joined #ruby
katmandoo has quit [Ping timeout: 252 seconds]
<shevy> it is quite hard to understand him sometimes
<shevy> he seems to think in the japanese language, and then translates this into english
<RubyPanther> ponga: yeah, the Matsumoto book in Japanese is canonical, parts of the jargon will still be in English
<ponga> ah hah
djbkd has quit [Read error: Connection reset by peer]
adantj has joined #ruby
<RubyPanther> I waited years before switching to Ruby because the books were only Japanese
<ponga> ok then i gotta order japanese book of his
djbkd has joined #ruby
<ponga> shipping cost is also a lot cheaper to obtain japanese book
frem_ has quit [Ping timeout: 240 seconds]
hermanmunster has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
doodlehaus has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
x1337807x has joined #ruby
frem_ has joined #ruby
Ankhers has joined #ruby
<ponga> i found 2013 eddition from mats
<ponga> saying 'fun ruby 4th'
<csmrfx> good!
treehug88 has quit []
danshultz has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
<ponga> lol matz looks sexy in this http://cl.ly/2j1t0e1B2u1g
sambao21 has quit [Quit: Computer has gone to sleep.]
shvelo has quit [Ping timeout: 252 seconds]
dEPy has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
timonv has quit [Ping timeout: 240 seconds]
<RubyPanther> Yeah but the best Ruby core team pic is http://d13pix9kaak6wt.cloudfront.net/avatar/yugui_1293341927_09.jpg
stephenmac7_ is now known as stephenmac7
mary5030 has quit [Remote host closed the connection]
workmad3 has joined #ruby
SCommette has quit [Quit: SCommette]
Nahra has quit [Remote host closed the connection]
sunya7a has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
lemur has joined #ruby
dc has joined #ruby
Kricir has quit [Remote host closed the connection]
freezey has quit [Remote host closed the connection]
sunya7a has joined #ruby
Nahra has joined #ruby
lewix has quit [Ping timeout: 245 seconds]
kirun has quit [Quit: Client exiting]
zB0hs has joined #ruby
<railzForDaiz> RubyPanther: hahaha
GuestUser123 has quit [Ping timeout: 260 seconds]
maletor has joined #ruby
kilk_ has quit [Quit: kilk_]
baroquebobcat has joined #ruby
St_Marx has joined #ruby
yubrew has joined #ruby
St_Marx has quit [Remote host closed the connection]
St_Marx has joined #ruby
lemur has quit [Ping timeout: 276 seconds]
mikesplain has quit [Ping timeout: 255 seconds]
sunya7a has quit [Ping timeout: 240 seconds]
joaoh82 has quit [Remote host closed the connection]
claymore has quit [Quit: Leaving]
dc has quit [Remote host closed the connection]
gr33d has joined #ruby
sunya7a has joined #ruby
mehlah has joined #ruby
tectonic has quit []
railzForDaiz has quit [Remote host closed the connection]
mikesplain has joined #ruby
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has quit [Ping timeout: 240 seconds]
combusean has quit [Ping timeout: 265 seconds]
jerius has quit [Ping timeout: 255 seconds]
Kricir has joined #ruby
yubrew has quit [Ping timeout: 252 seconds]
jess22 has joined #ruby
<jess22> Hi
yfeldblum has quit [Remote host closed the connection]
n0n3 has joined #ruby
n0n3 has quit [Remote host closed the connection]
n0n3 has joined #ruby
n0n3 has quit [Remote host closed the connection]
riotjones has joined #ruby
<jess22> Hi riotjones
Veidit has joined #ruby
tectonic has joined #ruby
combusean has joined #ruby
<Veidit> What gem would be recommended for SOAP? savon?
Zackio has quit [Read error: Connection reset by peer]
jess22 has quit [Client Quit]
<Sigma00> Dove
akonny has quit [Quit: akonny]
maximski has quit []
hermanmunster has joined #ruby
Zackio has joined #ruby
Shidash1 has joined #ruby
<lagweezle> soapy doves... hm.
the_f0ster has quit [Ping timeout: 265 seconds]
djbkd has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
sdwrage has joined #ruby
Shidash has quit [Ping timeout: 240 seconds]
<combusean> [], '', or nil -- do any of those have something in common that says they're empty?
Shidash has joined #ruby
teddyp1cker has joined #ruby
nicoulaj has quit [Remote host closed the connection]
djbkd has joined #ruby
<jhass> only the first two
Kricir has quit [Remote host closed the connection]
EagleDelta has quit []
<jhass> (unless you got AS/Rails)
wallerdev has joined #ruby
<combusean> sinatra
SCommette has joined #ruby
<jhass> so if x && x.empty?
Shidash1 has quit [Ping timeout: 255 seconds]
stantona has quit [Remote host closed the connection]
joaoh82 has joined #ruby
diegoviola has joined #ruby
Bira has joined #ruby
teddyp1cker has quit [Ping timeout: 252 seconds]
jhass is now known as jhass|off
mikesplain has quit [Ping timeout: 245 seconds]
sdwrage has quit [Quit: This computer has gone to sleep]
phansch has quit [Quit: WeeChat 0.4.3]
Shidash has quit [Ping timeout: 260 seconds]
fresham has quit [Quit: fresham]
Xeago has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
yfeldblum has joined #ruby
dEPy has quit [Quit: Lingo - http://lingoirc.com]
Bira has quit [Ping timeout: 276 seconds]
gr33d has quit [Ping timeout: 260 seconds]
gr33d_ has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
andrewjanssen has joined #ruby
sdwrage has joined #ruby
daniel_hinojosa has joined #ruby
jobewan has quit [Ping timeout: 240 seconds]
SCommette has quit [Quit: SCommette]
vifino has quit [Quit: Ze Cat now leaves...]
OffTheRails has joined #ruby
learner has joined #ruby
gr33d_ has quit [Ping timeout: 265 seconds]
gr33d has joined #ruby
rayners has quit [Remote host closed the connection]
danshultz has joined #ruby
kaleido has joined #ruby
kaleido has joined #ruby
kaleido has quit [Changing host]
yfeldblum has quit [Ping timeout: 240 seconds]
<combusean> puts "empty" if (!foo.nil? && foo.empty?) || foo.nil?
<combusean> ?
anaeem1 has quit [Remote host closed the connection]
* combusean feels that expression after if should be wrapped in additional parentheses
<DouweM> if you know those three classes are the options, foo.nil? || foo.empty? would work
alexju has quit [Remote host closed the connection]
Nahra has quit [Remote host closed the connection]
<combusean> but foo.empty? || foo.nil? wouldn't work because if foo is nil, it doesn't have the empty method
<DouweM> right. so the other way around
gr33d has left #ruby [#ruby]
* combusean finds that fragile, but it works
danshultz has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DouweM> if you have activesupport loaded in you can use x.blank?
<DouweM> and yours is still fragile because you're assuming everything non-nil implements empty?
stantona has joined #ruby
<combusean> eh
<combusean> heh
Nahra has joined #ruby
<combusean> i'm expecting the argument to either be an array, nil, or a string
<combusean> wouldn't be called otherwise
<DouweM> in that case .nil? || .empty is fine, but you're still making assumptions. nothing inherently wrong with that off course
Shidash has joined #ruby
<shevy> I now assume that DouweM assumes that you make assumptions combusean
<combusean> heheh
<DouweM> you can't really *not* make assumptions in a weakly typed language
<shevy> that's an assumption!
<combusean> LOL
cpruitt has quit [Quit: cpruitt]
<DouweM> :P
<shevy> at least I assume it is one
<shevy> it could be a factual statement after all
<DouweM> forgot to take your meds again shevs?
<DouweM> :P
<shevy> or DouweM just assumes it to be factual
<shevy> no but I am kinda in a limbo right now
TorpedoSkyline has joined #ruby
* combusean finds ruby to be strongly typed until all the php evaporates from his brain...
<shevy> I have to work through two huge pdfs, read a book, quiz me on exam questions, but I also wanna do rails, and continue with some projects, and now I can't decide what to do
<shevy> so I just bother people on IRC
<shevy> :)
<DouweM> combusean: hehe
<DouweM> shevy: haha
blackmesa has quit [Ping timeout: 255 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> combusean oh oh oh you come from php?
<DouweM> hihi
katmandoo has joined #ruby
<combusean> shevy, yeah
linuxnewb2 has joined #ruby
<combusean> bad php
<shevy> combusean ok; the trick is this
<DouweM> combusean: #rubyonrails is like php refugee camp
<shevy> ruby is beautiful
<combusean> for like ... 12 years
<DouweM> eh, #ruby is
<shevy> and if you write code that is not beautiful in ruby, then it is very often wrong
<shevy> wrong is a bad term
<shevy> let's say "not an ideal solution"
<shevy> ugly code can work after all as well
<DouweM> shevy is correct. my ruby could win a pageant
adantj has quit [Ping timeout: 255 seconds]
<shevy> puts "what is this here" if (!foo.nil? && foo.empty?) || foo.nil?
noob101 has joined #ruby
<noob101> Hi
<DouweM> hi noob
<shevy> is this beautiful
<noob101> I have a question guys.
<shevy> or is it not
<noob101> Why can't I send information to #html.
<DouweM> that's the question
<shevy> noob101, what is a global variable
<dpp> functional is beautiful ;)
jottr_ has joined #ruby
<noob101> It says == Cannot send to #html
<shevy> noob101 perhaps you did not register; did you try ##html as well?
<DouweM> dpp: functional *can be* elegant
<shevy> yeah probably a voiced channel noob101
hermanmunster has quit [Remote host closed the connection]
<DouweM> dpp: but I've seen plenty of Haskell that made my head hurt
<shevy> HASKELL
<noob101> shevy, A global variable is a variable that can be accessed anywhere in your program and you should avoid using them since they can mess up the program.
x1337807x has joined #ruby
<shevy> a language from elites
<shevy> for elites
<shevy> right benzrf|offline
<DouweM> why would a programming help chan be voiced :/
<noob101> Register.
<noob101> How can I register
hermanmunster has joined #ruby
<Sigma00> talk to nickserv
<shevy> noob101 ok but - is there a way to make a global variable limited in scope?
<Sigma00> and read the freenode help files
<noob101> that's a person nick serv?
luksaur has quit [Quit: go]
Retroid_ has quit [Ping timeout: 240 seconds]
<shevy> noob101 you can use / commands
<noob101> shevy, idk if there's a wat to make a global variable in limited scope
<shevy> like: /msg nickserv identify YOUR_PASSWORD_GOES_HERE
<shevy> etc..
<noob101> shevy oh ok thanks
annon___ has quit [Quit: Page closed]
<shevy> but first you have to register once, before you can identify yourself again
<DouweM> /msg nickserv identify hunter2
<shevy> noob101 yeah, I don't know of a way to limit the scope myself either. I just wanted to see how sure you are of your own statements
<noob101> so I should do the first thing, the /msg nickserv identify?
<shevy> no
<shevy> you first must register
jottr has quit [Ping timeout: 240 seconds]
klaut has quit [Remote host closed the connection]
<noob101> how do I do that first?
<noob101> ._.?
<shevy> noob101 https://freenode.net/faq.shtml - jump to keyword "register"
<noob101> thank you shev
<shevy> one of the few FAQs out there that is useful hahaha
<shevy> and the anti-C++ FQAs
OffTheRails has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
<shevy> "The main purpose of this FQA is to convince people of the following:"
<shevy> "There is no reason to use C++ for new projects."
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
nighter_ has quit [Ping timeout: 240 seconds]
<shevy> hahaha I <3 it
moritzs has quit [Ping timeout: 245 seconds]
<DouweM> lol, gotta read those
sputnik13 has joined #ruby
adnauseam has quit [Ping timeout: 264 seconds]
lw has quit [Ping timeout: 252 seconds]
Biohazard has quit [Ping timeout: 245 seconds]
hermanmunster has quit [Ping timeout: 260 seconds]
<shevy> oh well
andrewjanssen has quit [Quit: Leaving...]
<shevy> I guess it is outdated in 2014
<shevy> but it was fun in 2009!
dangerou_ has quit [Ping timeout: 255 seconds]
sputnik13 has quit [Client Quit]
arrubin has quit []
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<noob101> hey guys I have a problem
<noob101> I tried to register but I already have account but
<noob101> I forgot my pass :(
rm__ has joined #ruby
<noob101> What do I do?
<katlogic> don't bother?
lw has joined #ruby
<noob101> but I would like to use the account I've created before.
troyready has quit [Quit: Leaving]
baroquebobcat has quit [Quit: baroquebobcat]
<noob101> Where can I talk to a staff member please.
danman has quit [Quit: danman]
nfk has quit [Quit: yawn]
<shevy> noob101 haha same problem I have
<shevy> but I was too lazy to ask a staff member
<shevy> you can try on #freenode noob101 a few staff members are there usually
<shevy> noob101 and remember - the more ruby code you write, the better you will become, and the higher quality your code will have as well in the long run
rm_ has quit [Ping timeout: 265 seconds]
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<noob101> shevy: thank you, I went to #freenode and +yano is helping me now.
Xeago has joined #ruby
yubrew has joined #ruby
noob101 has quit [Quit: Page closed]
noob101 has joined #ruby
Retroid has joined #ruby
lw has quit [Ping timeout: 240 seconds]
freezey has joined #ruby
dik_dak has quit [Remote host closed the connection]
Neomex has joined #ruby
i_s has joined #ruby
predator117 has quit [Ping timeout: 240 seconds]
<noob101> Yey this is my user account.
<noob101> I can now talk in #html now but no one is answering..
<noob101> Oh well, I got my account still.
yubrew has quit [Ping timeout: 255 seconds]
noob101 is now known as noob101
mjsmith2 has joined #ruby
predator117 has joined #ruby
snath has quit [Ping timeout: 252 seconds]
freezey has quit [Ping timeout: 255 seconds]
diegoviola has quit [Ping timeout: 260 seconds]
adnauseam has joined #ruby
n0n3 has joined #ruby
n0n3 has quit [Remote host closed the connection]
nighter has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
danshultz has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
ranmocy has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<ranmocy> Hi, how can I return early in a begin-end block? Like `a=begin; return 1 if true; 2; end`
<ranmocy> which will let a==1?
bradhe has joined #ruby
<banister> ranmocy that doesnt really make sense
dik_dak has joined #ruby
<superscott[8]> ranmocy: if that's your actual example, you wouldnt need a begin/end? a = if true ? 1 : 2
hpoydar has quit [Remote host closed the connection]
<superscott[8]> er a = if x == true ? 1 : 2
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
snath has joined #ruby
<ranmocy> superscott[8]: the real code at true and 2 are pretty long
kaspergrubbe has quit [Remote host closed the connection]
<ranmocy> superscott[8]: and I wish I can have several return statement before I run code at 2
<superscott[8]> ranmocy: probably a good idea to break it up then, if it's that complicated to where you have multiple returns in a single begin/end. imo
bradhe has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
<ranmocy> superscott[8]: you mean break into methods?
ponga has quit []
lyuzashi has joined #ruby
<banister> ranmocy what are you using begin/end for? not exception handling?
<superscott[8]> ranmocy: probably, dont know for sure without seeing the actual code.
maletor has joined #ruby
nvmme has quit [Quit: nvmme]
maletor has quit [Client Quit]
jottr_ has quit [Ping timeout: 252 seconds]
maletor has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Nahra has quit [Remote host closed the connection]
yalue has quit [Quit: Leaving]
jottr has quit [Ping timeout: 252 seconds]
hermanmunster has joined #ruby
Nahra has joined #ruby
maximski has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
maximski has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
Lucky__ has joined #ruby
sputnik13 has joined #ruby
maximski has joined #ruby
charliesome has joined #ruby
infinitone has quit [Ping timeout: 252 seconds]
deric_skibotn has joined #ruby
<ranmocy> banister: superscott[8] the code looks like https://gist.github.com/ranmocy/71d50e30cfb30a2e756c
infinitone has joined #ruby
oddalot has joined #ruby
eval-in has quit [Remote host closed the connection]
eval-in has joined #ruby
kevind has quit [Quit: kevind]
charliesome has quit [Client Quit]
NukePuppy has joined #ruby
danman has joined #ruby
<superscott[8]> ranmocy: so you're basically relying on @cache to be true or false?
BigBrothersCousi has joined #ruby
Port3M5[Work] has quit [Ping timeout: 252 seconds]
enebo has quit [Quit: enebo]
<ranmocy> superscott[8]: yes, and avoid as much useless calculation as possible
BigBrothersCousi has quit [Remote host closed the connection]
IceDragon has quit [Ping timeout: 240 seconds]
infinitone has quit [Ping timeout: 240 seconds]
brandonblack has quit [Ping timeout: 260 seconds]
IceDragon has joined #ruby
danman has quit [Client Quit]
jottr has joined #ruby
DEA7TH has quit [Ping timeout: 265 seconds]
niftylettuce_ has quit [Quit: Connection closed for inactivity]
<happytux> Concerning rake: What should CLOBBER clean and what CLEAN? Right, using CLOBBER should basically reset the working tree, but there is also CLEAN.
St_Marx has quit [Quit: Ex-Chat]
<superscott[8]> ranmocy: i have a shitty example coming up
Takle has quit [Remote host closed the connection]
<shevy> guys it's time
<shevy> get naked!
Neomex has quit [Quit: Leaving]
<superscott[8]> ranmocy: something like this, https://gist.github.com/superscott/a02c0c59bdeb5f857683
lenswipe has joined #ruby
<lenswipe> hey guys
<lenswipe> im deploying a nodejs app to heroku with a Gemfile and heroku is saying that it needs a Gemfile.lock
<lenswipe> what should such a file contain?
nanoyak has quit [Ping timeout: 240 seconds]
<superscott[8]> ranmocy: it's a quick example, but you kinda get the idea, just break it up. you shouldnt need to do a begin/end for that. begin/end is really only good for exception handling, or ensures.
NukePuppy has quit [Ping timeout: 252 seconds]
<lenswipe> anyone?
tyfighter has quit [Quit: tyfighter]
tyfighter has joined #ruby
<lagweezle> I'm utterly confused as to how a node.js app has anything to do with a Gemfile.
<superscott[8]> ^ likewise.
Bira has joined #ruby
<lenswipe> lagweezle, node.js app that uses SASS
<lenswipe> deploy to heroku
<lagweezle> However, the lack of Gemfile.lock can be remedied by running 'bundle' from the directory the Gemfile file is in, generally.
<lenswipe> and suddenly you need a Gemfile for some fucked up reason T_T
<lenswipe> lagweezle, thanks
<lagweezle> o7
<lagweezle> Now I go to chase down a train! WHEE!
<lenswipe> bash: bundle: command not found
<shevy> hahaha
<lenswipe> i feel like im taking crazy pills
dc has joined #ruby
<lagweezle> gem install bundle(r)
<superscott[8]> you are.
<lenswipe> thank you
<lenswipe> superscott[8], no fucking shit.
<lenswipe> ERROR: While executing gem ... (Gem::FilePermissionError)
<lenswipe> You don't have write permissions into the /var/lib/gems/1.9.1 directory
<lenswipe> AAAAAAGHHHH!
<shevy> understandable
<shevy> you are trying to use bundler after all
<lenswipe> shevy, not by choice...I assure you.
<shevy> on a debian system
<shevy> you always have the choice
<shevy> my choice was to omit bundler
<lenswipe> shevy, well i need this node.js app to use sass - do you have any better ideas?
mikecmpbll has quit [Quit: i've nodded off.]
<shevy> lenswipe you can install gems into home dir
<shevy> OR
<shevy> gem install --user-install bundler
<shevy> become superuser
<shevy> I mean, a permission error huh - are you such a feeble user who has restricted access
<lenswipe> yeah, neither of those things will help with this
<shevy> yeah, it's very painful
<lenswipe> in any case, hopefully this will help
lethe has joined #ruby
hpoydar has joined #ruby
<lenswipe> I hope heroku likes this push
<lenswipe> it's made of my tears
<shevy> only tears?
<shevy> or also blood
timonv has joined #ruby
<lenswipe> shevy, yes.
<shevy> the blood from virgins is usually strongest
<shevy> when mixing potions or fighting dragons and such
<shevy> you can also download gems manually
<happytux> anyone? :)
<happytux> Concerning rake: What should CLOBBER clean and what CLEAN? Right, using CLOBBER should basically reset the working tree, but there is also CLEAN.
kavinder has quit [Remote host closed the connection]
<shevy> still rake
<shevy> poor man
<lenswipe> holy shit
<lenswipe> i think thats working
<lenswipe> !!
<lenswipe> it works!
workmad3 has quit [Ping timeout: 276 seconds]
<shevy> \o/
<superscott[8]> happytux: type rake -T in your project dir
Hobogrammer has quit [Ping timeout: 240 seconds]
danijoo has quit [Read error: Connection reset by peer]
<lenswipe> it fucking works!
<lenswipe> yay!
Arkaniad has joined #ruby
lewix has joined #ruby
lewix has joined #ruby
lewix has quit [Changing host]
Arkaniad has quit [Read error: Connection reset by peer]
<superscott[8]> lenswipe: i bet that shit scales so hard
sepp2k1 has joined #ruby
danijoo has joined #ruby
combusean has quit [Ping timeout: 260 seconds]
<happytux> shevy: no, I use rake as a build tool for a CI server
<happytux> shevy: I used ant before
lethe has quit [Ping timeout: 255 seconds]
<happytux> shevy: For everything else I use Ruby or dedicated tools, no worry.
<ranmocy> superscott[8]: got it, thanks~
sepp2k has quit [Ping timeout: 276 seconds]
d34th4ck3r has joined #ruby
timonv has quit [Ping timeout: 255 seconds]
Arkaniad has joined #ruby
<superscott[8]> ranmocy: sorry if that's not much help, but feel free to keep asking questions
<ranmocy> superscott[8]: sure~
<lenswipe> superscott[8], it's node, so it should do.
hpoydar has quit [Ping timeout: 240 seconds]