jhass changed the topic of #ruby to: Welcome new users migrating from #ruby-lang! || Rules & more: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
<havenwood> bougyman: What's your screener screening for?
ghr has quit [Ping timeout: 245 seconds]
<bougyman> havenwood: we worked with them on the questions.
<bougyman> a bit of ruby, a bit of ecma, a bunch of general programming and methodology questions.
<baweaver> bougyman: What levels are you looking for?
<baweaver> Might know a few looking to get out there.
n008f4g_ has joined #ruby
<bougyman> baweaver: if so send em my way
deric_skibotn has quit [Ping timeout: 246 seconds]
<bougyman> tj@rubyists.com or tj@geoforce.com, either one
<baweaver> Juniors in terms of ruby.
Stany has joined #ruby
<bougyman> that's ok
<bougyman> if they contact me they don't have to go through the screener.
bronson has quit [Remote host closed the connection]
<bougyman> so they'll see diff questions.
leat2 has quit [Remote host closed the connection]
<bougyman> we have some scala, some java, a few other lingos now added to our infra so it'd be nice to have more polymath.
<baweaver> The one I know right now that's looking has already worked as an analyst and is looking to get into a full engineering role. Already has C++ chops
Matadoer_ is now known as Matadoer
<bougyman> but they've got 8 years of legacy rails we're breaking apart so knowing at least the basics of ruby is necessary, too
<baweaver> That, and he used to make a mean text rpg in high school on the TI-83
pontiki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bougyman> so long as he's not a Visual Studio C++ guy, i'd be interested to talk to him
<dorei> something like this maybe
<dorei> >> w = Struct.new(:x,:y); z = [w.new(5, 10), w.new(13, 7)]; z.class.instance_exec { z[0].class.instance_methods(false).map { |m| define_method(m) { map(&m) } } } ; z.x
<ruboto> dorei # => [5, 13] (https://eval.in/377070)
EllisTAA has quit [Quit: EllisTAA]
<baweaver> Well, more of a Blood C++ iirc
<baweaver> bloodshed, I think that was it
Filete has quit [Quit: Textual IRC Client: www.textualapp.com]
segy has quit [Quit: ZNC - http://znc.in]
<baweaver> either way he could learn ruby easily enough
Tamae has quit [Ping timeout: 265 seconds]
Filete has joined #ruby
<baweaver> Myself, I'm set for a while
leat2 has joined #ruby
<baweaver> If anyone's looking to the bay area though, people are always looking out this way too ;)
rushed has quit [Quit: rushed]
Sirrr has quit [Quit: Leaving]
atomical has joined #ruby
zotherstupidguy has quit [Ping timeout: 244 seconds]
segy has joined #ruby
c355E3B has quit [Quit: Connection closed for inactivity]
Ox0dea has quit [Read error: No route to host]
zotherstupidguy has joined #ruby
imperator has joined #ruby
banister has joined #ruby
PlasmaStar has joined #ruby
marr has quit [Ping timeout: 255 seconds]
<imperator> hm, i'm suddenly having trouble finding ruby-talk-google
<shevy> it's the age!
CustosLimen has quit [Ping timeout: 265 seconds]
<shevy> mankind archives everything
RegulationD has joined #ruby
caseypatrickdris has quit [Remote host closed the connection]
Yzguy has joined #ruby
<imperator> right, there's a google group for it, only i don't see it now shevy
CustosLimen has joined #ruby
leat2 has quit [Remote host closed the connection]
Fooster has joined #ruby
<imperator> eh, nm, i'll use email
victorkohl has quit []
leat2 has joined #ruby
RegulationD has quit [Ping timeout: 258 seconds]
sevenseacat has joined #ruby
senayar has joined #ruby
hdev1 has joined #ruby
justintv90 has joined #ruby
AbinoamJr has joined #ruby
AbinoamJr has quit [Client Quit]
AbinoamJr has joined #ruby
_blizzy_ has quit [Read error: Connection reset by peer]
Rodya_ has joined #ruby
leat2 has quit [Remote host closed the connection]
_blizzy_ has joined #ruby
blue_deref has joined #ruby
senayar has quit [Ping timeout: 264 seconds]
leat2 has joined #ruby
deric_skibotn has joined #ruby
vikaton has quit []
_blizzy_ has quit [Read error: Connection reset by peer]
_blizzy_ has joined #ruby
michael_mbp has quit [Excess Flood]
millerti has quit [Remote host closed the connection]
Rodya_ has quit [Ping timeout: 246 seconds]
scripore has joined #ruby
GPrime has quit [Quit: Textual IRC Client: www.textualapp.com]
swgillespie has joined #ruby
_blizzy_ has quit [Read error: Connection reset by peer]
_blizzy_ has joined #ruby
michael_mbp has joined #ruby
Fooster has quit [Ping timeout: 256 seconds]
mrmargolis has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
fujimura has joined #ruby
Brock is now known as awwaiid
djbkd has quit [Remote host closed the connection]
serivichi has quit [Ping timeout: 265 seconds]
hdev1 has quit [Remote host closed the connection]
hdev1 has joined #ruby
djbkd has joined #ruby
bemehow has joined #ruby
Cort3z has quit [Ping timeout: 256 seconds]
fujimura has quit [Ping timeout: 272 seconds]
justintv90 has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
nfk|laptop has quit [Quit: yawn]
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vikaton has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
AbinoamJr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
robustus has joined #ruby
northfurr has quit [Quit: northfurr]
<bemehow> hello everyone. I'm stuck with old-style rspec codebase and trying to mock the writes to a file to make sure it get's the expected data. I'm definitely not experienced with it. Can someone take a look? trying to use expectation on the file double to expect receiving :write but the data seems never get passed http://pastebin.com/KJHfU2kT
<ruboto> bemehow, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/2f4308c33ea377c45c38
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<jesterfraud> TIL
jhooker has joined #ruby
mc_fail has quit [Read error: Connection reset by peer]
mc_fail has joined #ruby
skinny_much is now known as ss_much
dseitz has joined #ruby
edwardly has quit [Quit: ??????????]
bemehow has quit [Remote host closed the connection]
pdoherty has joined #ruby
justintv90 has joined #ruby
datanoise has quit [Ping timeout: 272 seconds]
rushed has joined #ruby
|\|370 has joined #ruby
Channel6 has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
ghr has joined #ruby
justintv90 has quit [Ping timeout: 272 seconds]
mdz_ has quit [Remote host closed the connection]
j4cknewt has joined #ruby
|\|370 has quit []
ghr has quit [Ping timeout: 245 seconds]
snophey has quit [Ping timeout: 265 seconds]
Rollabunna has joined #ruby
Juanchito has quit [Quit: Connection closed for inactivity]
unreal has joined #ruby
bronson has joined #ruby
j4cknewt has quit [Ping timeout: 256 seconds]
p1k has joined #ruby
unreal_ has quit [Ping timeout: 258 seconds]
Yiota has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Yiota> help, my new job requires me to know ruby
<Yiota> how similar is it to python?
Rollabunna has quit [Ping timeout: 244 seconds]
willharr_ has joined #ruby
segfalt has quit [Quit: segfalt]
ss_much has quit [Quit: Erm. Temp?]
bronson has quit [Ping timeout: 258 seconds]
<hfp> Hmmm why does `require "active_support/core_ext/date/calculations"` work fine but not `require "active_support/core_ext/numeric/conversions"`?
justintv90 has joined #ruby
<sevenseacat> hfp: define 'not work'
crdpink has quit [Excess Flood]
crdpink has joined #ruby
pontiki has joined #ruby
govg has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zotherstupidguy has quit [Ping timeout: 245 seconds]
bruno- has quit [Ping timeout: 258 seconds]
xxneolithicxx has quit [Ping timeout: 255 seconds]
blue_deref has quit [Quit: bbn]
mc_fail_ has joined #ruby
pdoherty has quit [Quit: Leaving]
zotherstupidguy has joined #ruby
<sevenseacat> hfp: error message seems pretty self-explanatory - that file loads this one https://github.com/rails/rails/blob/v4.2.0/activesupport/lib/active_support/number_helper.rb which references an unloaded constant
bkxd has joined #ruby
leat2 has quit [Ping timeout: 276 seconds]
leat2 has joined #ruby
<hfp> ah ok I just got it. There is a line missing in the doc I think
jhooker has quit [Ping timeout: 258 seconds]
mc_fail has quit [Ping timeout: 272 seconds]
xxneolithicxx has joined #ruby
Agoldfish has quit [Quit: G'Bye]
Yzguy has quit [Quit: I'm sleeping, go away.]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
edwardly has joined #ruby
edwardly has joined #ruby
havenwood has quit [Ping timeout: 265 seconds]
Jandre has joined #ruby
ss_much has joined #ruby
Lucky__ has joined #ruby
Jandre is now known as Guest63111
mdz_ has joined #ruby
casadei has quit [Remote host closed the connection]
tmoor has quit [Quit: Leaving]
leat2 has quit [Remote host closed the connection]
leat2 has joined #ruby
ruby-lang761 has joined #ruby
rushed has quit [Quit: rushed]
zipace has quit [Ping timeout: 255 seconds]
rubie has quit [Remote host closed the connection]
ruby-lang662 has joined #ruby
zotherstupidguy has quit [Ping timeout: 245 seconds]
fabrice31 has joined #ruby
dorei has quit []
justintv90 has quit [Ping timeout: 250 seconds]
j4cknewt has joined #ruby
Rickmasta has joined #ruby
zotherstupidguy has joined #ruby
ruby-lang761 has quit [Ping timeout: 246 seconds]
edwardly has quit [Quit: ??????????]
rubie has joined #ruby
datanoise has joined #ruby
imperator has quit [Quit: Leaving]
deric_skibotn has quit [Ping timeout: 265 seconds]
fabrice31 has quit [Ping timeout: 255 seconds]
jottr has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
dgutierrez1287 has quit [Remote host closed the connection]
bdnelson has quit [Quit: Textual IRC Client: www.textualapp.com]
leat2 has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
leat2 has joined #ruby
knight101 has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
senayar has quit [Ping timeout: 272 seconds]
zotherstupidguy has quit [Ping timeout: 250 seconds]
zotherstupidguy has joined #ruby
ruby-lang662 has quit [Ping timeout: 246 seconds]
Musashi007 has joined #ruby
Yzguy has joined #ruby
tkuchiki has joined #ruby
justintv90 has joined #ruby
edwardly has quit [Ping timeout: 252 seconds]
Papierkorb has quit [Quit: ArchLinux completes an endless loop faster than any other distro!]
fujimura has joined #ruby
jhn has joined #ruby
Ariadeno_ has quit [Quit: leaving]
Ariadeno has joined #ruby
freerobby has joined #ruby
justintv90 has quit [Ping timeout: 255 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
blt_ has joined #ruby
rushed has joined #ruby
fujimura has quit [Ping timeout: 276 seconds]
<knight101> I'm having a little trouble searching by name on a test I'm trying to write in Ruby + Selenium. While I've gotten find_elements to find the actual element I want, I don't know how to tell Selenium to click that specific element. Any help would be appreciated.
zotherstupidguy has quit [Ping timeout: 264 seconds]
zotherstupidguy has joined #ruby
blt_ has quit [Ping timeout: 256 seconds]
ghr has joined #ruby
Fooster has joined #ruby
yqt has quit [Ping timeout: 255 seconds]
bogdanteleaga has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
chipotle has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
justintv90 has joined #ruby
hdev1 has quit [Ping timeout: 264 seconds]
bkxd has quit [Ping timeout: 256 seconds]
rushed has quit [Quit: rushed]
RegulationD has quit [Ping timeout: 256 seconds]
lolmaus_ has quit [Quit: Konversation terminated!]
charliesome has joined #ruby
jottr_ has joined #ruby
j4cknewt has quit [Remote host closed the connection]
bogdanteleaga has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
justintv90 has quit [Ping timeout: 256 seconds]
govg has quit [Quit: leaving]
robbyoconnor has joined #ruby
aspiers has quit [Ping timeout: 276 seconds]
Rodya_ has joined #ruby
edwardly has quit [Quit: ??????????]
nateberkope has quit [Quit: Leaving...]
towski_ has joined #ruby
SouL_|_ has quit [Ping timeout: 246 seconds]
atomical has joined #ruby
mrmargolis has quit [Remote host closed the connection]
Rodya_ has quit [Ping timeout: 252 seconds]
casadei has joined #ruby
towski_ has quit [Remote host closed the connection]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
ohaibbq has joined #ruby
mberk has joined #ruby
Cort3z has joined #ruby
hdev1 has joined #ruby
fujimura has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Fooster has quit [Ping timeout: 245 seconds]
bemehow has joined #ruby
davedev2_ has joined #ruby
robbyoconnor has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 264 seconds]
robbyoconnor has joined #ruby
knight101 has quit [Ping timeout: 246 seconds]
keen__ has joined #ruby
<djbkd> I was perusing the ruby C extension docs on guides.rubygems and am curious why the rdoc for makemakefile is in the forbidden zone? http://ruby-doc.org/stdlib-2.0/libdoc/mkmf/rdoc/MakeMakefile.html
Cort3z has quit [Remote host closed the connection]
keen_ has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Remote host closed the connection]
mary5030 has joined #ruby
robbyoconnor has joined #ruby
Guest27039 has quit [Quit: Don't flap your BGP at me sonny]
Olipr| has joined #ruby
ruby-lang431 has quit [Ping timeout: 246 seconds]
Olipr| has quit [Remote host closed the connection]
Olipr| has joined #ruby
Olipr| has quit [Remote host closed the connection]
AbinoamJr has joined #ruby
leat2 has quit [Remote host closed the connection]
willharr_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leat2 has joined #ruby
olistik has joined #ruby
olistik has quit [Ping timeout: 250 seconds]
jottr_ has quit [Quit: WeeChat 1.2]
p1k has quit [Quit: Leaving]
leat2 has quit [Remote host closed the connection]
leat2 has joined #ruby
dfockler has joined #ruby
hdev1 has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
Guest63111 is now known as Jandre
Jandre has quit [Changing host]
Jandre has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dfockler has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
rushed has joined #ruby
symm- has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
oo_ has quit [Remote host closed the connection]
pwnz0r has quit [Remote host closed the connection]
iamninja has quit [Read error: Connection reset by peer]
hdev1 has joined #ruby
iamninja has joined #ruby
paradisaeidae has joined #ruby
FlyAssNigga has joined #ruby
<FlyAssNigga> what's up wit it
<sevenseacat> !ban FlyAssNigga !T 1d
FlyAssNigga was kicked from #ruby by ChanServ [User is banned from this channel]
Rollabunna has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Channel6 has joined #ruby
brum has joined #ruby
brum has quit [Remote host closed the connection]
braincras has quit [Quit: bye bye]
Rollabunna has quit [Ping timeout: 258 seconds]
oo_ has joined #ruby
j4cknewt has joined #ruby
willharr_ has joined #ruby
furoido has joined #ruby
<furoido> anyone familiar with wordmove?
joneshf-laptop has quit [Remote host closed the connection]
joneshf-laptop has joined #ruby
j4cknewt has quit [Ping timeout: 252 seconds]
bosma is now known as bosnia
braincrash has joined #ruby
robbyoconnor has quit [Ping timeout: 244 seconds]
houhoulis has joined #ruby
tkuchiki_ has joined #ruby
Jandre has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby
yourabi has joined #ruby
pengin has joined #ruby
darkf has joined #ruby
n008f4g_ has quit [Ping timeout: 256 seconds]
mberk has quit [Remote host closed the connection]
swgillespie has joined #ruby
jeeves_moss has joined #ruby
bronson has joined #ruby
yourabi has quit [Quit: Textual IRC Client: www.textualapp.com]
<jeeves_moss> how do I install chipmunk on Ubuntu
x1337807x has joined #ruby
luluapple has quit [*.net *.split]
terlar has quit [*.net *.split]
moted has quit [*.net *.split]
noname has quit [*.net *.split]
_cake has quit [*.net *.split]
shawnacscott has quit [*.net *.split]
mattp__ has quit [*.net *.split]
yokel has quit [*.net *.split]
genpaku has quit [*.net *.split]
surs has quit [*.net *.split]
sirecote has quit [*.net *.split]
mburns has quit [*.net *.split]
moredhel has quit [*.net *.split]
mahlon has quit [*.net *.split]
Darkwater has quit [*.net *.split]
bkutil_ has quit [*.net *.split]
quebre has quit [*.net *.split]
spacemud has quit [*.net *.split]
badeball has quit [*.net *.split]
kloeri has quit [*.net *.split]
kq_away has quit [*.net *.split]
zlude has quit [*.net *.split]
Darkwater has joined #ruby
spacemud has joined #ruby
kq_away has joined #ruby
moredhel has joined #ruby
Skelz0r has quit [*.net *.split]
nwhirschfeld has quit [*.net *.split]
DexterLB has quit [*.net *.split]
df has quit [*.net *.split]
redlegion has quit [*.net *.split]
code_ has quit [*.net *.split]
kappy has quit [*.net *.split]
PaulCapestany has quit [*.net *.split]
awwaiid has quit [*.net *.split]
voxxit has quit [*.net *.split]
jzigmund has quit [*.net *.split]
bougyman has quit [*.net *.split]
julieeharshaw has quit [*.net *.split]
klaas has quit [*.net *.split]
izzol has quit [*.net *.split]
saltsa has quit [*.net *.split]
kent\n has quit [*.net *.split]
jerryberry__ has quit [*.net *.split]
gregf_ has quit [*.net *.split]
iamayam has quit [*.net *.split]
sash_ has quit [*.net *.split]
nomadic has quit [*.net *.split]
Sthebig has quit [*.net *.split]
avalarion has quit [*.net *.split]
Prira has quit [*.net *.split]
thomas has quit [*.net *.split]
bkutil_ has joined #ruby
saltsa has joined #ruby
jerryberry__ has joined #ruby
izzol has joined #ruby
awwaiid has joined #ruby
kent\n has joined #ruby
redlegion has joined #ruby
iamayam has joined #ruby
Sthebig has joined #ruby
hdev1 has quit [Ping timeout: 256 seconds]
genpaku has joined #ruby
nomadic has joined #ruby
shawnacscott has joined #ruby
klaas has joined #ruby
mattp__ has joined #ruby
yokel has joined #ruby
Skelz0r has joined #ruby
jzigmund has joined #ruby
kappy has joined #ruby
Prira has joined #ruby
gregf_ has joined #ruby
terlar has joined #ruby
_cake has joined #ruby
noname has joined #ruby
mburns has joined #ruby
kloeri has joined #ruby
fabrice31 has joined #ruby
skyrocker has joined #ruby
sirecote has joined #ruby
df has joined #ruby
badeball has joined #ruby
julieeharshaw has joined #ruby
voxxit has joined #ruby
bougyman has joined #ruby
bougyman has quit [Changing host]
bougyman has joined #ruby
sash_ has joined #ruby
zlude has joined #ruby
mahlon has joined #ruby
code_ has joined #ruby
pengin has quit [Remote host closed the connection]
nwhirschfeld has joined #ruby
avalarion has joined #ruby
PaulCapestany has joined #ruby
adefa has joined #ruby
AbinoamJr has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
dopie has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
havenwood has quit [Ping timeout: 256 seconds]
surs has joined #ruby
bantic has joined #ruby
adefa has quit [Ping timeout: 245 seconds]
bronson has quit [Remote host closed the connection]
CustosLimen has quit [Max SendQ exceeded]
agilenav has joined #ruby
stnly has joined #ruby
zotherstupidguy has quit [Ping timeout: 246 seconds]
CustosLimen has joined #ruby
zotherstupidguy has joined #ruby
dgutierrez1287 has joined #ruby
duderonomy has joined #ruby
jhn has quit [Quit: Textual IRC Client: www.textualapp.com]
RegulationD has joined #ruby
dgutierrez1287 has quit [Ping timeout: 276 seconds]
Rickmasta has joined #ruby
gix has quit [Ping timeout: 256 seconds]
agilenav has quit []
RegulationD has quit [Ping timeout: 246 seconds]
gsd_ has joined #ruby
pwnz0r has joined #ruby
leat2 has quit [Remote host closed the connection]
bkxd has joined #ruby
pepperbreath has joined #ruby
leat2 has joined #ruby
gix has joined #ruby
tkuchiki_ has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
bruno- has joined #ruby
oo_ has joined #ruby
tkuchiki has joined #ruby
ghr has joined #ruby
AhabsBeard has joined #ruby
gsd_ has quit [Ping timeout: 245 seconds]
Parker0 has joined #ruby
Rodya_ has joined #ruby
Torsten` has joined #ruby
mrmargolis has joined #ruby
bruno- has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 276 seconds]
stardiviner has quit [Ping timeout: 256 seconds]
Torsten` has quit [Ping timeout: 250 seconds]
Rodya_ has quit [Ping timeout: 255 seconds]
datanoise has quit [Ping timeout: 250 seconds]
polyrob has quit [Ping timeout: 246 seconds]
jeeves_moss has quit [Ping timeout: 256 seconds]
mrmargolis has quit [Ping timeout: 252 seconds]
datanoise has joined #ruby
polyrob has joined #ruby
phat4life has joined #ruby
bantic has quit [Quit: bantic]
<yorickpeterse> because it runs faster than 1 second
AhabsBeard has quit []
<phat4life> nvm i am dumb god damnit
<phat4life> oh wait, nvm that nvm
<phat4life> https://gist.github.com/ajbeach2/32ac6a5bb65df27ac318 i updated this, and its not behaving as I expect
braincra- has joined #ruby
<baweaver> Hehe
<baweaver> yorickpeterse: Not quite
leat2 has quit [Ping timeout: 250 seconds]
krz has joined #ruby
<baweaver> That proc has a static value
<baweaver> It's not getting a new time
Torsten` has joined #ruby
mdz_ has quit [Remote host closed the connection]
Ariadeno has quit [Quit: leaving]
Ariadeno has joined #ruby
<baweaver> >> t = Time.now; pr = ->{t}; 10.times.map(&pr)
<ruboto> baweaver # => wrong number of arguments (1 for 0) (ArgumentError) ...check link for more (https://eval.in/377101)
<baweaver> >> t = Time.now; pr = ->x{t}; 10.times.map(&pr)
<ruboto> baweaver # => [2015-06-08 04:17:44 +0000, 2015-06-08 04:17:44 +0000, 2015-06-08 04:17:44 +0000, 2015-06-08 04:17:4 ...check link for more (https://eval.in/377102)
pepperbreath1 has joined #ruby
<baweaver> vs
mdz_ has joined #ruby
<baweaver> >> pr = ->x{Time.now}; 10.times.map(&pr)
<ruboto> baweaver # => [2015-06-08 04:18:12 +0000, 2015-06-08 04:18:12 +0000, 2015-06-08 04:18:12 +0000, 2015-06-08 04:18:1 ...check link for more (https://eval.in/377103)
<baweaver> >> pr = ->x{sleep(1);Time.now}; 10.times.map(&pr)
<ruboto> baweaver # => (https://eval.in/377104)
ur5us has quit [Remote host closed the connection]
braincrash has quit [Ping timeout: 255 seconds]
<baweaver> ....scratch that
bkxd has quit [Ping timeout: 244 seconds]
<baweaver> yeah, it is the one second bit
gianlucadv has joined #ruby
olistik has joined #ruby
stardiviner has joined #ruby
vdamewood has joined #ruby
kinduff has quit [Ping timeout: 244 seconds]
<shevy> oh man I always miss the fun
pepperbreath has quit [Ping timeout: 264 seconds]
<shevy> sevenseacat had fun again
* baweaver will stop digging himself a hole here
ogpastaling has joined #ruby
<shevy> beavers dig, it is natural for them
<shevy> hmm no wait... these were the moles...
Torsten` has quit [Ping timeout: 246 seconds]
<baweaver> There's plenty of room down here shevy
vdamewood has quit [Read error: Connection reset by peer]
vinleod has joined #ruby
workmad3 has joined #ruby
mdz_ has quit [Ping timeout: 258 seconds]
ferr has quit [Read error: Connection reset by peer]
vinleod is now known as vdamewood
charliesome has quit [Quit: zzz]
olistik has quit [Ping timeout: 264 seconds]
scripore has quit [Quit: This computer has gone to sleep]
rgb-one has quit [Ping timeout: 265 seconds]
workmad3 has quit [Ping timeout: 272 seconds]
zotherstupidguy has quit [Ping timeout: 265 seconds]
zotherstupidguy has joined #ruby
balazs has joined #ruby
s2013 has joined #ruby
s2013 is now known as ss
charliesome has joined #ruby
ss is now known as ss1
mrsolo has joined #ruby
thomas has joined #ruby
Torsten` has joined #ruby
AhabsBeard has joined #ruby
Torsten` has quit [Ping timeout: 256 seconds]
kies has quit [Ping timeout: 265 seconds]
_blizzy_ has quit [Ping timeout: 256 seconds]
browsestoics has joined #ruby
bronson has joined #ruby
gambl0re has quit [Ping timeout: 276 seconds]
_blizzy_ has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
mrsolo has joined #ruby
hubcaps has joined #ruby
hubcaps has joined #ruby
CustosLimen has quit [Read error: Connection timed out]
CustosLimen has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
<shevy> hehe
browsestoics has quit [Quit: Textual IRC Client: www.textualapp.com]
ogpastaling has quit [Remote host closed the connection]
ogpastaling has joined #ruby
war_pigs_ has joined #ruby
meadhikari has joined #ruby
war_pigs_ is now known as war_pigs
<shevy> oh damn
<shevy> Gregory Brown is no longer actively maintaining prawn
willharr_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
<sevenseacat> shevy: so who is?
Torsten` has joined #ruby
mary5030 has quit [Remote host closed the connection]
<pontiki> maybe he should launch another kickstarter
<sevenseacat> "another"?
j4cknewt has quit [Remote host closed the connection]
<sevenseacat> ohhh wait I know who that is
Ariadeno has quit [Quit: leaving]
<sevenseacat> thats the practicing ruby guy
<shevy> the github readme says Evan Sharp (PacketMonkey) and Alexander Mankuta (cheba); I don't know them, not saying anything good or bad. I just remember that the identity of most projects tends to change with different people
<sevenseacat> yeah I loled at that
Ariadeno has joined #ruby
<pontiki> it's a banner on ruby-doc.org
<sevenseacat> he's also the guy that picked a fight with amy hoy on twitter
<sevenseacat> whoa why is it a banner there?
ogpastaling has quit [Ping timeout: 256 seconds]
<sevenseacat> i dont like that, at all
<pontiki> i don't know
<pontiki> i don't know who actually runs ruby-doc.org
unshadow has quit [Quit: leaving]
AhabsBeard has quit []
<sevenseacat> that leaves a bad taste in my mouth
Torsten` has quit [Ping timeout: 276 seconds]
kp666 has joined #ruby
sandelius has joined #ruby
<shevy> he has a big bushy beard
EllisTAA has joined #ruby
_blizzy_ has quit [Read error: Connection timed out]
mrsolo has quit [Quit: This computer has gone to sleep]
fujimura has quit [Remote host closed the connection]
<bnagy> I accidentally conflated the bad taste in mouth and big bushy beard lines :<
<pontiki> lol, that's just rong, bnagy
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hacker_TO has joined #ruby
Ox0dea has joined #ruby
<pontiki> gnite
pontiki has quit [Quit: Textual IRC Client: www.textualapp.com]
fujimura has joined #ruby
ss1 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Deele has joined #ruby
gianlucadv has quit [Ping timeout: 264 seconds]
zotherstupidguy has quit [Ping timeout: 252 seconds]
mrsolo has joined #ruby
Hacker_TO has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Rollabunna has joined #ruby
6JTABAN40 has joined #ruby
Torsten` has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
_ht has joined #ruby
apofis has joined #ruby
riotjones has joined #ruby
apofis has quit [Read error: Connection reset by peer]
apofis has joined #ruby
Rollabunna has quit [Ping timeout: 258 seconds]
Channel6 has quit [Quit: Leaving]
zotherstupidguy has joined #ruby
Torsten` has quit [Ping timeout: 265 seconds]
swgillespie has joined #ruby
s2013 has joined #ruby
<zotherstupidguy> whats the link for radar's irc log
riotjones has quit [Ping timeout: 246 seconds]
paradisaeidae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.5/20150525141253]]
<Ox0dea> zotherstupidguy: Radar's?
<shevy> Radar the dude here
<zotherstupidguy> http://logs.ryanbigg.com/
meadhikari has quit [Quit: This computer has gone to sleep]
<zotherstupidguy> if only he adds some styling, i find ryan's easer to read
musashi1 has joined #ruby
<jesterfraud> shevy, is prawn truly recommendable over wkhtmltopdf based methods for generating PDFs?
gianlucadv has joined #ruby
<Ox0dea> Negative.
<shevy> I think prawn is quite ok
bluOxigen has joined #ruby
TommyTheKid has joined #ruby
_blizzy_ has joined #ruby
metallicrwr has joined #ruby
zotherstupidguy has quit [Ping timeout: 244 seconds]
freerobby has quit [Quit: Leaving.]
aganov has joined #ruby
j4cknewt has joined #ruby
zotherstupidguy has joined #ruby
adefa has joined #ruby
Torsten` has joined #ruby
j4cknewt has quit [Remote host closed the connection]
Spami has joined #ruby
Tamae has joined #ruby
yardenbar has joined #ruby
<jesterfraud> then again, wkhtmltopdf had me beating my head against a wall because the header and footer both rendered in quirks mode when they weren't proper HTML documents, but that caused the footer to render, and not the header.
Stany has quit [Ping timeout: 276 seconds]
kies has joined #ruby
Jandre has joined #ruby
adefa has quit [Ping timeout: 246 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stoogenmeyer has joined #ruby
Torsten` has quit [Ping timeout: 244 seconds]
Jandre is now known as Guest72084
<sevenseacat> I've had really obscure bugs with wkhtmltopdf, like the time it inherited opacity on images from a div border set far far away
<sevenseacat> (and only on some images)
<sevenseacat> (and images that werent inside the div with the opacity set)
<sevenseacat> that took a good few days to figure out
_blizzy_ has quit [Max SendQ exceeded]
6JTABAN40 has quit [Ping timeout: 252 seconds]
duderonomy has quit [Read error: Connection reset by peer]
_blizzy_ has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
casadei has quit [Remote host closed the connection]
danman has joined #ruby
iamninja has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
timonv has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
nedp_ has joined #ruby
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
rbowlby has quit [Remote host closed the connection]
tagrudev has joined #ruby
nedp has quit [Ping timeout: 264 seconds]
lsmola has joined #ruby
at0m_ has joined #ruby
DoubleMalt has joined #ruby
<at0m_> can we adevlop andriod application with ruby??
Torsten` has joined #ruby
lxsameer has joined #ruby
danman has quit [Quit: danman]
* zotherstupidguy whoever posted the miku song, thank you, it so uplifting!!
<zotherstupidguy> at0m_ have you checked rubuto?
<at0m_> ya its chargeble
<at0m_> i want free version...
RegulationD has joined #ruby
David_H__ has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
fujimura has quit [Remote host closed the connection]
<zotherstupidguy> i dont see on their website that they charge money http://ruboto.org/
kies has quit [Ping timeout: 265 seconds]
<at0m_> jruby is java on ruby.... i want to know is there any syntax diff in jruby and ruby
David_H_Smith has quit [Ping timeout: 252 seconds]
<sevenseacat> jruby is not "java on ruby"
<sevenseacat> its ruby running on the jvm
Torsten` has quit [Ping timeout: 265 seconds]
<sevenseacat> no syntax difference, its just a different interpreter.
fujimura has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
sandstrom has joined #ruby
Rickmasta has joined #ruby
<at0m_> sevenseacat : no no its running of ruby code on java platform
duncannz has joined #ruby
meadhikari has joined #ruby
<sevenseacat> thats exactly what I just said.
* zotherstupidguy ruboto is getting FUDed
<baweaver> at0m_: wat
<baweaver> jvm == java virtual machine =~ java platform
techsethi has joined #ruby
<at0m_> that what i said on 11:14
fujimura has quit [Ping timeout: 258 seconds]
tsujp has joined #ruby
<baweaver> Yes, and we're replying by saying that's pretty much the exact same thing sevenseacat said at 11:41
<shevy> today is tease sevenseacat day
<baweaver> isn't that every day shevy
<sevenseacat> ;_;
<baweaver> shevy: what's your animal?
<shevy> baweaver dunno; it's like in a regular interval; first the old-time webchat-client dude, now at0m_ being a cute parrot
Rodya_ has joined #ruby
<shevy> I relate mostly to felines
<baweaver> We've already got beaver/lemur, seacat
<shevy> damn
chinmay_dd has joined #ruby
sinkensabe has joined #ruby
<shevy> there are not that many really great animals out there
atom_ has joined #ruby
<Aeyrix> help
<Aeyrix> people aren't understanding jruby
at0m_ has quit [Ping timeout: 246 seconds]
<baweaver> think we scared them off
* baweaver shrugs
<atom_> Aeyrix: its running ruby code on java platform simple...
ss1 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<atom_> refer to ruby under microscope
s2013 has joined #ruby
mrmargolis has joined #ruby
<zotherstupidguy> atom_ how can you do android without jvm?
<atom_> ya i know ,,, but i don't konw much about ruboto
<Aeyrix> Go, of course. :^)
Torsten` has joined #ruby
<shevy> oh
<shevy> atom_ is at0m_ ?
<Aeyrix> ya
<baweaver> pretty sure troll
apofis has quit [Quit: This computer has gone to sleep]
<shevy> I don't see any quit or join messages so it's confusing me a lot :)
Rodya_ has quit [Ping timeout: 256 seconds]
<atom_> shevy whats wrong. correct me if i am wrong...
robustus|Off has joined #ruby
<shevy> hmm?
<bnagy> atom_: I think the point is that "java platform" isn't a very precise term, just say JVM
<sevenseacat> my point was that he said 'java on ruby', when its quite the opposite.
<atom_> why someone told me troll???
<shevy> well ask the guy who did so :)
_blizzy_ has quit [Read error: Connection timed out]
_ht has quit [Ping timeout: 264 seconds]
<shevy> I am just idling really... to power
<baweaver> Technically android is Dalvik, but that's a different matter.
<Aeyrix> ART.
<baweaver> fine fine
s2013 has quit [Ping timeout: 265 seconds]
<atom_> no i never said java on ruby ,,, i said ruby on java platform
<Aeyrix> :D
_blizzy_ has joined #ruby
<bnagy> 13:40 < at0m_> jruby is java on ruby.... i want to know is there any syntax diff in jruby and ruby
<sevenseacat> [13:41:17] at0m_:jruby is java on ruby....
<zotherstupidguy> the daily spot a troll game, celebrate the culture! and you said java on ruby
<Aeyrix> ;_;
mrmargolis has quit [Ping timeout: 276 seconds]
robustus has quit [Ping timeout: 264 seconds]
robustus|Off is now known as robustus
meadhikari has quit [Quit: This computer has gone to sleep]
<baweaver> bnagy for that ninja win
Torsten` has quit [Ping timeout: 252 seconds]
meadhikari has joined #ruby
<baweaver> Aeyrix: been a while since I poked android if you can't tell
<bnagy> it's half a second faster to select a full line :P
<sevenseacat> bnagy: gets points for sharing my timezone
<atom_> okk thats was my fault...
_blizzy_ has quit [Max SendQ exceeded]
<Aeyrix> baweaver: Hahaha I only said it because we were being precise. ;)
<baweaver> Indeed indeed
oo_ has joined #ruby
<bnagy> sevenseacat: tbh only my shell server shares your timezone
* baweaver googles android runtime
spider-mario has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
spider-mario has joined #ruby
bkxd has joined #ruby
multi_io has quit [Ping timeout: 256 seconds]
timonv has joined #ruby
balazs has quit [Remote host closed the connection]
<atom_> tell me one thing why don't jruby completly dominant over ruby... means instead of learning jruby people says learn ruby
<sevenseacat> because a lot of people don't like/want/need the jvm.
<sevenseacat> plus a lot of ruby code is not compatible with it.
<bnagy> "a lot" ?
<atom_> is rvm better then jvm?
<atom_> how?
multi_io has joined #ruby
<sevenseacat> atom_: apples and nuclear warheads in that comparison
<baweaver> JVM startup time is slow
<Aeyrix> baweaver: tbh JVM startup time rivals rails.
fujimura has joined #ruby
fujimura has quit [Remote host closed the connection]
<Aeyrix> Rails isn't a fast beast to start up.
fujimura has joined #ruby
Miphix has joined #ruby
<baweaver> fair enough
<baweaver> then again this is #ruby
<sevenseacat> established rails apps are still almightily slow to start.
<atom_> but the run time of jruby is more
darkf_ has joined #ruby
<Aeyrix> But yeah, essentially the major reason is the fact it's not the current spec of Ruby.
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
<Aeyrix> And unless you need that extra JVM performance there's no reason. It's another complexity, another thing to debug.
darkf has quit [Disconnected by services]
darkf_ is now known as darkf
<Ox0dea> Fragmentation is hard; let's go shopping!
x1337807x has joined #ruby
<atom_> then there might be the chance that ruboto app will slow to start
<bnagy> you could mount a pretty compelling argument that it's easier to debug ruby on jvm than on mri
<Ox0dea> Crystal and Elixir are both on sale right now.
<Aeyrix> MRI is YARV now, right?
<Ox0dea> Oui.
<baweaver> Haskell is still in the bargain bin
<Aeyrix> Why don't people call it YARV dammit?
<atom_> right
<sevenseacat> YARV?
<bnagy> mri hasn't been mri for YEARS
<atom_> i think they are paying respect to matz ruby creator
<baweaver> Yet another Ruby VM
<sevenseacat> ah hah
<bnagy> but it's the cognate term
<sevenseacat> i've always heard mri called either mri or cruby
<sevenseacat> given its ruby implemented in C
<Ox0dea> >> RubyVM::InstructionSequence.of(->{}).to_a[0]
<ruboto> Ox0dea # => "YARVInstructionSequence/SimpleDataFormat" (https://eval.in/377161)
war_pigs has quit [Ping timeout: 246 seconds]
<atom_> correct
allomov has joined #ruby
<sevenseacat> hah
<Aeyrix> CRuby lol.
<Aeyrix> Do we have Cuby?
<Aeyrix> a la Cython?
<Aeyrix> Rubinus, maybe?
riotjones has joined #ruby
apofis has joined #ruby
<atom_> rubinus is just ruby on ruby
<Ox0dea> "Just"?
<Aeyrix> Something tells me you're not qualified to make that assessment, or that hedging qualifier.
<Aeyrix> help i used qualify twice in that sentence.
<Aeyrix> mods
Torsten` has joined #ruby
<atom_> ruby code are fragmentes into c code then into amchine code
<Aeyrix> Rubinius.
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Aeyrix> Yeah Rubinius is a JIT compiler.
<Aeyrix> B a l l e r
<bnagy> atom_: no
<bnagy> nothing turns ruby code into c code
<atom_> let me see
ReK2 has joined #ruby
x1337807x has quit [Ping timeout: 265 seconds]
<baweaver> I'd offer you a shovel but you're already quite capable of digging yourself a hole without one.
<Aeyrix> jej
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<certainty> moin hackers
<Aeyrix> u wot
Musashi007 has joined #ruby
riotjones has quit [Ping timeout: 265 seconds]
poguez_ has joined #ruby
benlieb_ has joined #ruby
Torsten` has quit [Ping timeout: 246 seconds]
codecop has joined #ruby
<shevy> Cuby Cython
<shevy> and
<atom_> zzzzzzzz
<shevy> Cthulhu!
thelastinuit has quit [Quit: Textual IRC Client: www.textualapp.com]
atom_ has quit [Quit: Page closed]
kerunaru has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stan has joined #ruby
<certainty> shevy: good call xD
<shevy> hey
<shevy> it's a legit language
<shevy> allow me to quote from its array of incantations
<certainty> yeah i know i know
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<shevy> ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
<shevy> this is hello world
<certainty> also it opens 3 of nine gates to hell
<Aeyrix> shevy: What does that compile to?
<Ox0dea> Aeyrix: Not all languages are programming languages.
aapole has joined #ruby
chinmay_dd has quit []
<wasamasa> lol
<Aeyrix> Ox0dea: I'll take "what is a joke" for $500, Jane.
IanVorn has joined #ruby
<shevy> Aeyrix not sure... ancient bytecode... the ghost in the shell... the inner matrix of the machine code universe
polysics_ has quit [Remote host closed the connection]
<Aeyrix> lmao
IanVorn has quit [Max SendQ exceeded]
<shevy> I remember the old Cthulhu RPG
polysics has joined #ruby
IanVorn has joined #ruby
<shevy> it was so difficult that the chars tended to die so quickly that you could never really build up any character for a longer while :)
<bnagy> that would be Azathoth, you're mixing up your Elder Gods and Outer Gods, shevy
<shevy> haha
duderonomy has joined #ruby
war_pigs has joined #ruby
araujo has joined #ruby
araujo has joined #ruby
war_pigs has quit [Max SendQ exceeded]
j4cknewt has joined #ruby
vdamewood has quit [Read error: Connection reset by peer]
vdamewood has joined #ruby
polysics has quit [Ping timeout: 252 seconds]
msnyon has quit [Ping timeout: 276 seconds]
Torsten` has joined #ruby
futilegames has joined #ruby
sandelius has joined #ruby
riotjones has joined #ruby
war_pigs has joined #ruby
j4cknewt has quit [Ping timeout: 256 seconds]
mc_fail_ has quit [Read error: Connection reset by peer]
IanVorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tvw has joined #ruby
Torsten` has quit [Ping timeout: 255 seconds]
IanVorn has joined #ruby
futilegames has quit [Quit: futilegames]
allomov has quit [Remote host closed the connection]
gix has quit [Ping timeout: 264 seconds]
<certainty> so shevy what are you going to do today?
<flughafen> ahoy
mc_fail has joined #ruby
IanVorn has quit [Client Quit]
vire has joined #ruby
ohaibbq has quit [Remote host closed the connection]
balazs has joined #ruby
ndrei has joined #ruby
houhoulis has quit [Remote host closed the connection]
datanoise has quit [Ping timeout: 256 seconds]
ahmetkapikiran has joined #ruby
jgt1 has joined #ruby
meadhikari has quit [Quit: This computer has gone to sleep]
troulouliou_dev has joined #ruby
gix has joined #ruby
zotherstupidguy has quit [Ping timeout: 256 seconds]
balazs has quit [Ping timeout: 246 seconds]
vire has quit [Ping timeout: 265 seconds]
mike___1234 has joined #ruby
ledestin has joined #ruby
ahmetkapikiran has quit [Client Quit]
bkxd has quit [Ping timeout: 272 seconds]
bkxd has joined #ruby
Torsten` has joined #ruby
Guest24 is now known as lele
gagrio has joined #ruby
techsethi has quit [Remote host closed the connection]
Torsten` has quit [Ping timeout: 245 seconds]
<certainty> flughafen: moin
GriffinHeart has quit [Remote host closed the connection]
meadhikari has joined #ruby
bruno- has joined #ruby
stoogenmeyer_ has joined #ruby
Ox0dea has left #ruby ["WeeChat 1.3-dev"]
gagrio has quit [Ping timeout: 265 seconds]
<flughafen> moin sevenseacat certainty
allenn has joined #ruby
allenn has joined #ruby
<sevenseacat> guten tag
stoogenmeyer has quit [Ping timeout: 252 seconds]
krz has quit [Quit: WeeChat 1.0.1]
<Aeyrix> hhhh
ahmetkapikiran has joined #ruby
zotherstupidguy has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
bruno- has quit [Ping timeout: 255 seconds]
lkba has joined #ruby
djbkd has quit [Quit: Leaving...]
fabrice31 has joined #ruby
pyo_ has joined #ruby
vire has joined #ruby
Pathfinder has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
<shevy> certainty I have lab work for 4 hours, starting in 3 hours, about gene expression analysis; I think today it is isolation of RNA for qPCR tomorrow or something
Scroff has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> it's too hot to want to stand in a lab
Torsten` has joined #ruby
polysics has joined #ruby
Xeago has joined #ruby
lkba_ has quit [Ping timeout: 256 seconds]
_seanc_ has quit [Quit: _seanc_]
zipace has joined #ruby
zipace has joined #ruby
arup_r has joined #ruby
DEA7TH has joined #ruby
Macaveli has joined #ruby
ghr has joined #ruby
Scroff has quit [Remote host closed the connection]
gagrio has joined #ruby
Forgetful_Lion has joined #ruby
Torsten` has quit [Ping timeout: 264 seconds]
Scroff has joined #ruby
Scroff has quit [Remote host closed the connection]
allomov has joined #ruby
gauke has joined #ruby
Rollabunna has joined #ruby
yaw has joined #ruby
ghr has quit [Ping timeout: 258 seconds]
dhjondoh has joined #ruby
towski_ has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
GriffinHeart has joined #ruby
oo_ has quit [Remote host closed the connection]
Rollabunna has quit [Ping timeout: 258 seconds]
andikr has joined #ruby
meadhikari has quit [Quit: This computer has gone to sleep]
revath has joined #ruby
quimrstorres has joined #ruby
meadhikari has joined #ruby
krz has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
riotjones has quit [Quit: Leaving...]
fabrice31 has quit [Remote host closed the connection]
Torsten` has joined #ruby
fabrice31 has joined #ruby
meadhikari has quit [Client Quit]
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<certainty> shevy: confess! you're making creating superhumans there
hanmac has quit [Ping timeout: 256 seconds]
yaw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
metallicrwr has quit [Ping timeout: 265 seconds]
zotherstupidguy has quit [Ping timeout: 252 seconds]
krz has quit [Read error: Connection reset by peer]
GPrime has joined #ruby
krz has joined #ruby
balazs_ has quit [Ping timeout: 265 seconds]
<certainty> -making
bkxd has quit [Ping timeout: 250 seconds]
sandstrom has joined #ruby
bkxd_ has joined #ruby
olistik has joined #ruby
nhhagen has joined #ruby
meadhikari has joined #ruby
oo_ has joined #ruby
towski_ has quit [Remote host closed the connection]
lkba_ has joined #ruby
Torsten` has quit [Ping timeout: 252 seconds]
affenhoden has quit [Quit: leaving]
olistik has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
<shevy> nah
<shevy> just following boring protocols
<shevy> it's like cooking
<shevy> except you don't eat up with being able to eat anything meaningful :(
<certainty> you cook new people
meadhikari has quit [Client Quit]
lkba_ has quit [Client Quit]
bemehow has quit [Remote host closed the connection]
devyn_ has joined #ruby
towski_ has joined #ruby
alex88 has joined #ruby
lkba has quit [Ping timeout: 258 seconds]
lkba_ has joined #ruby
<certainty> shevy: so you don't do anything meaningful?
<shevy> yup
hubcaps has quit [Ping timeout: 245 seconds]
<certainty> that's sad :(
olistik has joined #ruby
<shevy> yup!
devyn has quit [Ping timeout: 264 seconds]
vdamewood has quit [Quit: Life beckons.]
<noethics> implying you do
<certainty> or that i can relate
<certainty> because i don't as well
<noethics> o
anisha has joined #ruby
revath has quit [Quit: Leaving.]
<shevy> noethics is without words
fella5s has joined #ruby
revath has joined #ruby
<shevy> he now has only single letters
<noethics> words are hard
RegulationD has joined #ruby
baweaver has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
hanmac has joined #ruby
railsraider has joined #ruby
wldcordeiro has joined #ruby
Torsten` has joined #ruby
thelastinuit has joined #ruby
towski_ has quit [Remote host closed the connection]
exadeci has joined #ruby
balazs has joined #ruby
sinkensabe has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 245 seconds]
datanoise has joined #ruby
gsd_ has joined #ruby
revath has left #ruby [#ruby]
Torsten` has quit [Ping timeout: 244 seconds]
meadhikari has joined #ruby
GPrime has quit [Quit: Textual IRC Client: www.textualapp.com]
wldcordeiro has quit [Quit: Konversation terminated!]
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
CloCkWeRX has joined #ruby
balazs has quit [Ping timeout: 258 seconds]
amclain has quit [Quit: Leaving]
gsd_ has quit [Ping timeout: 265 seconds]
sameerynho has joined #ruby
Rodya_ has joined #ruby
OrbitalKitten has joined #ruby
nhhagen has quit [Remote host closed the connection]
iamninja has quit [Read error: Connection reset by peer]
bronson has joined #ruby
meadhikari has quit [Quit: This computer has gone to sleep]
iamninja has joined #ruby
dumdedum has joined #ruby
meadhikari has joined #ruby
nhhagen has joined #ruby
mrmargolis has joined #ruby
lxsameer has quit [Ping timeout: 255 seconds]
<shevy> anyone of you ever having autogenerated a larger .pdf document with prawn?
benlieb_ has quit [Quit: benlieb_]
Rodya_ has quit [Ping timeout: 244 seconds]
<shevy> it works... I have 33 pages... but the formatting is plain, which makes things very hard to read
SouL_|_ has joined #ruby
sinkensabe has joined #ruby
rubie has quit [Remote host closed the connection]
rbowlby has joined #ruby
<sevenseacat> as a text document with minimal layout tweaks, just text formatting mostly, yes
mandarinkin has joined #ruby
<shevy> but it's boring!
<shevy> it needs more pics
bronson has quit [Ping timeout: 264 seconds]
mrmargolis has quit [Ping timeout: 252 seconds]
bkxd_ has quit [Ping timeout: 264 seconds]
Torsten` has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
<zotherstupidguy> shevy not in the manual http://prawnpdf.org/manual.pdf ?
<zotherstupidguy> my internet is slow i cant even open it rightno
<adaedra> Bonjour, Hello, Hallo, Hallå
Hounddog has joined #ruby
<sevenseacat> adaedra: bonan matenon
yaw has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Torsten` has quit [Ping timeout: 256 seconds]
fujimura has quit [Remote host closed the connection]
<zotherstupidguy> adaedra saba7 saba7 ya3am el 7ag
unshadow has joined #ruby
meadhikari has quit [Quit: This computer has gone to sleep]
roolo has joined #ruby
krz has quit [Ping timeout: 256 seconds]
<ljarvis> moin
elia has joined #ruby
sinkensabe has joined #ruby
yaw_ has joined #ruby
yaw_ has quit [Max SendQ exceeded]
<shevy> Bonjour Baguette
terlar has quit [Quit: WeeChat 1.2]
yaw has quit [Ping timeout: 276 seconds]
ohaibbq has joined #ruby
bkxd has joined #ruby
chussenot has joined #ruby
dideler has quit [Remote host closed the connection]
bkxd has quit [Client Quit]
bkxd has joined #ruby
<zotherstupidguy> is there somthing like prawn but for latex?
fujimura has joined #ruby
yaw has joined #ruby
Scroff has joined #ruby
workmad3 has joined #ruby
ohaibbq has quit [Ping timeout: 265 seconds]
CustosLimen has quit [Ping timeout: 256 seconds]
ohaibbq has joined #ruby
ghr has joined #ruby
Torsten` has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
ohaibbq_ has joined #ruby
ohaibbq_ has quit [Read error: Connection reset by peer]
revath has joined #ruby
pwnz0r has quit [Remote host closed the connection]
nhhagen has quit [Read error: Connection reset by peer]
ndrei has quit [Ping timeout: 258 seconds]
unshadow has quit [Ping timeout: 246 seconds]
nhhagen has joined #ruby
sinkensabe has quit [Remote host closed the connection]
k3asd` has joined #ruby
pwnz0r has joined #ruby
CustosLimen has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
nhhagen has quit [Remote host closed the connection]
sinkensabe has joined #ruby
msgodf has joined #ruby
ohaibbq has quit [Ping timeout: 256 seconds]
unshadow has joined #ruby
Musashi007 has quit [Quit: Musashi007]
timonv has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 256 seconds]
Torsten` has quit [Ping timeout: 255 seconds]
ghr has joined #ruby
sinkensabe has quit [Remote host closed the connection]
mdz_ has joined #ruby
pwnz0r has quit [Ping timeout: 265 seconds]
<maloik> I could be wrong but isnt latex much like markdown in that it's "plaintext" that is then processed to look pretty?
zotherstupidguy has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
mdz_ has quit [Ping timeout: 250 seconds]
zotherstupidguy has joined #ruby
<ljarvis> it is plaintext yes
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
robbyoconnor has joined #ruby
Xeago has quit [Remote host closed the connection]
war_pigs has quit [Quit: later... computer is sleeping]
Xeago has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
chthon has quit [Remote host closed the connection]
thelastinuit has quit [Quit: Textual IRC Client: www.textualapp.com]
olistik has quit [Remote host closed the connection]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rdark has joined #ruby
Torsten` has joined #ruby
krz has joined #ruby
selu has joined #ruby
selu has quit [Client Quit]
Torsten` has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
CloCkWeRX has quit [Ping timeout: 264 seconds]
nhhagen has joined #ruby
blue_deref has joined #ruby
marr has joined #ruby
c0m0 has joined #ruby
lkba_ has quit [Ping timeout: 258 seconds]
Pathfinder has quit [Ping timeout: 265 seconds]
olistik has joined #ruby
rbowlby has quit [Remote host closed the connection]
revath has quit [Quit: Leaving.]
nhhagen has quit [Ping timeout: 250 seconds]
revath has joined #ruby
terlar has joined #ruby
Guest72084 has quit [Ping timeout: 272 seconds]
spider-mario has quit [Read error: Connection reset by peer]
khebbie has joined #ruby
Torsten` has joined #ruby
CloCkWeRX has joined #ruby
Pathfinder has joined #ruby
OrbitalKitten has joined #ruby
bruno- has joined #ruby
<maloik> random irc question, back in the day when I still used a GUI for irc there was a way to see someone's idle time (it was called extwhois i believe) - is there an irssi equivalent?
datanoise has quit [Ping timeout: 258 seconds]
<ljarvis> /whois ? :D
<maloik> nah that doesnt do it
kaspergrubbe has quit [Remote host closed the connection]
SOLDIERz has joined #ruby
Torsten` has quit [Ping timeout: 264 seconds]
<ljarvis> it depends on the server
<ljarvis> whois would do it though
<ljarvis> ah wait
<maloik> just found it though, apparently if you use the nickname twice it works
<ljarvis> type the name twice
<ljarvis> :P
<maloik> :D
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<apeiros> idle time is per server. whois with nick twice will query the server of the user. yes, irc is a ridiculous protocol.
<maloik> haha, sure is
<apeiros> and I think nick twice is even nonstandard
C1V0 has joined #ruby
<apeiros> i.e. standard would be to specify the server you want to query and then you'd have to query the user's server
Xeago_ has joined #ruby
bruno- has quit [Ping timeout: 252 seconds]
<apeiros> moin Xeago
revath has quit [Read error: Connection reset by peer]
zotherstupidguy has quit [Ping timeout: 252 seconds]
revath has joined #ruby
ponga has joined #ruby
Pathfinder has quit [Ping timeout: 276 seconds]
zotherstupidguy has joined #ruby
rubie has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 276 seconds]
<livcd> what are some of the advanced ruby patterns one should know ?
aapole has quit [Ping timeout: 276 seconds]
axl_ has joined #ruby
<jhass> that's kinda vague
<jhass> singleton classes are helpful to grok I guess
<ponga> >> 10.times.to_a.rotate
<ruboto> ponga # => [1, 2, 3, 4, 5, 6, 7, 8, 9, 0] (https://eval.in/377252)
<certainty> TEH patterns! you know!
<apeiros> livcd: all the indirection which can go on in ruby
mrsolo has joined #ruby
<apeiros> livcd: like all the ways to dynamically define a method, invoke a method, or receive a method
<apeiros> livcd: all the callbacks in ruby
rubie has quit [Ping timeout: 265 seconds]
Pathfinder has joined #ruby
<apeiros> livcd: and as jhass said - the specifics how singleton_class works
<livcd> apeiros: do you have any kind of resource that describes this
<jhass> wait I have a great video for that part
<livcd> or should i just check the official documentation and dig in
<apeiros> livcd: other than the ruby core docs - not really
CloCkWeRX has quit [Ping timeout: 256 seconds]
<livcd> ok danke
<apeiros> livcd: probably avdi's ruby tapas
<livcd> jhass: danke
bin_005 has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
yaw has quit [Ping timeout: 265 seconds]
nhhagen has joined #ruby
<apeiros> I've heard lots of good things about them and they seem to cover such topics. but I haven't watched them myself, so can't make a qualified statement.
Torsten` has joined #ruby
mercwithamouth has joined #ruby
<flughafen> holy crap, anybody here using phantomjs?
<sevenseacat> yes
<shevy> the phantomcat
<certainty> fan tomcat?
revath has quit [Quit: Leaving.]
<flughafen> sevenseacat: we're using cucumber/capybara/poltergeist, and it seems like it's still trying to contact selenium for taking a snapshot... we use render_base64 and embed it in the html
revath has joined #ruby
<sevenseacat> certainty: it gets the job done. most of the time.
IanVorn has joined #ruby
allomov has quit [Remote host closed the connection]
IanVorn has quit [Max SendQ exceeded]
DaniG2k has joined #ruby
bkxd has joined #ruby
IanVorn has joined #ruby
Torsten` has quit [Ping timeout: 272 seconds]
intinig has joined #ruby
<zotherstupidguy> ["val","val2"] is not equal ["val2","val"] , this is bugging me in tests, how can check if only the values exist in there but nothing more
<flughafen> undefined method `render_base64' for #<Capybara::Selenium::Driver:0x00000000f50eb0> (NoMethodError)
<sevenseacat> both test harnesses provide a way of matching arrays, regardless of order.
<tbuehlmann> zotherstupidguy, what testing framework do you use?
<flughafen> actualyl that fails for when we aren't using phantomjs now
<zotherstupidguy> minitest must_equal is faling me
Pathfinder has quit [Ping timeout: 255 seconds]
<apeiros> zotherstupidguy: this probably doesn't work in current test frameworks, but shows you how to generally do it: https://gist.github.com/apeiros/278fec21774f6dbe04a3
n008f4g_ has joined #ruby
<zotherstupidguy> apeiros thanks
<tbuehlmann> well, in rspec there's match_array
<apeiros> hm, and seems I got an old one. at least I think I did one where the message was more useful…
adefa has joined #ruby
<apeiros> and {} instead of do/end for side-effect block. definitively old :D
Xeago_ has quit [Remote host closed the connection]
ponga has quit [Quit: Leaving...]
vruz has joined #ruby
Pathfinder has joined #ruby
mc_fail has quit [Ping timeout: 258 seconds]
vruz has left #ruby [#ruby]
quimrstorres has joined #ruby
revath has quit [Read error: Connection reset by peer]
revath has joined #ruby
chipotles has joined #ruby
<zotherstupidguy> sevenseacat is this a a flaw in minitest over your beloved rspec?
<sevenseacat> ?
<zotherstupidguy> matching arrays regardless of order
adefa has quit [Ping timeout: 255 seconds]
<sevenseacat> minitest has a way to do it
<zotherstupidguy> sevenseacat ok,thanks
<sevenseacat> assert_match
CloCkWeRX has joined #ruby
intinig has quit [Remote host closed the connection]
arup_r has quit []
<apeiros> zotherstupidguy: not having all possible kinds of assertions in the test framework is IMO not a flaw.
<apeiros> it's easy enough to add a custom assert.
arup_r has joined #ruby
starfox_sf has quit [Ping timeout: 244 seconds]
<apeiros> and IMO that's something one should do anyway.
Rollabunna has joined #ruby
bkxd_ has joined #ruby
<flughafen> https://github.com/SUSE/spacewalk-testsuite-base/blob/manager21/features/support/env.rb sevenseacat does that look ok? it's the same error when we're using firefox/selenium now anyway
<zotherstupidguy> apeiros i will try to follow your footsteps as much as i can =)
<flughafen> which didn't happen before
<sevenseacat> flughafen: thats... a lot of code
<zotherstupidguy> sevenseacat thanks a million
GriffinHeart has quit [Remote host closed the connection]
Torsten` has joined #ruby
edwinvdgraaf has joined #ruby
bkxd has quit [Ping timeout: 265 seconds]
bin_005 has quit [Ping timeout: 264 seconds]
chipotles has quit [Quit: Textual IRC Client: www.textualapp.com]
tsujp has quit [Quit: tsujp is snoozing]
tsujp has joined #ruby
bin_005 has joined #ruby
unshadow has quit [Ping timeout: 272 seconds]
platzhirsch has joined #ruby
ndrei has joined #ruby
Rollabunna has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
Torsten` has quit [Ping timeout: 256 seconds]
codecop has quit [Remote host closed the connection]
blue_deref has quit [Quit: bbn]
unshadow has joined #ruby
dgutierrez1287 has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Yiota has joined #ruby
Yiota has quit [Client Quit]
SebastianThorn has joined #ruby
quimrstorres has joined #ruby
aapole has joined #ruby
dEPy has joined #ruby
RegulationD has joined #ruby
dgutierrez1287 has quit [Ping timeout: 272 seconds]
quimrstorres has quit [Remote host closed the connection]
agent_white has joined #ruby
<zotherstupidguy> assert_match doesnt seem to do the trick
<zotherstupidguy> Expected ["usera", "userb"] to match ["userb", "usera"].
ahmetkapikiran has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
<zotherstupidguy> however assert only passes the test!
mikecmpbll has joined #ruby
mister_solo has joined #ruby
ahmetkapikiran has quit [Client Quit]
<sevenseacat> ugh, dont tell me =~ for matching arrays is a rspec-ism
RegulationD has quit [Ping timeout: 272 seconds]
Torsten` has joined #ruby
<zotherstupidguy> nono
<flughafen> sevenseacat: sorry
CloCkWeRX has quit [Ping timeout: 250 seconds]
fsvehla has joined #ruby
Torsten` has quit [Ping timeout: 246 seconds]
rbowlby has joined #ruby
Rodya_ has joined #ruby
stamina has joined #ruby
mrmargolis has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
n008f4g_ has quit [Ping timeout: 245 seconds]
terlar has quit [Quit: WeeChat 1.2]
balazs has joined #ruby
CloCkWeRX has joined #ruby
mrmargolis has quit [Ping timeout: 245 seconds]
al2o3-cr has quit [Quit: the quieter you become, the more you are able to hear]
<apeiros> sevenseacat: yupp. =~ in ruby core is Object#=~, which is always nil
<sevenseacat> blargh.
<sevenseacat> sorry bout that.
<sevenseacat> thats nasty.
Torsten` has joined #ruby
balazs has quit [Ping timeout: 276 seconds]
<sevenseacat> (on rspec's part)
<apeiros> it's in that general direction why I can't warm up to rspec.
al2o3-cr has joined #ruby
<sevenseacat> theyve probably removed it as part of the no-monkey-patching stuff, but still
<sevenseacat> they have a matcher for it as well - match_array
<apeiros> (mind you - I have no issues with people using rspec)
<apeiros> dunno, I prefer my longer winded unordered_equal over the misunderstandable match
ndrei has joined #ruby
livathinos has joined #ruby
Torsten` has quit [Ping timeout: 245 seconds]
rbowlby has quit [Remote host closed the connection]
rubie has joined #ruby
timonv has joined #ruby
skade has joined #ruby
atom_ has joined #ruby
postmodern has quit [Quit: Leaving]
CloCkWeRX has quit [Ping timeout: 264 seconds]
futilegames has joined #ruby
bin_005 has quit [Ping timeout: 244 seconds]
rubie has quit [Ping timeout: 265 seconds]
SOLDIERz has quit [Ping timeout: 264 seconds]
strcmp1 has joined #ruby
bin_005 has joined #ruby
strcmp1 has left #ruby ["Leaving"]
ndrei has quit [Remote host closed the connection]
ndrei has joined #ruby
CustosLimen has quit [Read error: Connection timed out]
Torsten` has joined #ruby
ur5us has joined #ruby
bruno- has joined #ruby
intinig has joined #ruby
sevensea_ has joined #ruby
sevenseacat has quit [Ping timeout: 255 seconds]
CustosLimen has joined #ruby
pepperpot has joined #ruby
Torsten` has quit [Ping timeout: 264 seconds]
j4cknewt has joined #ruby
sevensea_ is now known as sevenseacat
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pepperpot> Download either SEO Analyzer full script, Website Value Calvulator Full Script, or Ajax Star Reviews script, all fully tested and working, download them for your website, you're welcome! https://www.criosphinx.net/forum/forumdisplay.php?fid=20
pepperpot has quit [Client Quit]
al2o3-cr has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
fabrice31_ has joined #ruby
ta has quit [Remote host closed the connection]
mister_s_ has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
livathinos has quit []
CloCkWeRX has joined #ruby
fabrice31 has quit [Ping timeout: 244 seconds]
mister_solo has quit [Ping timeout: 265 seconds]
atom_ has quit [Ping timeout: 246 seconds]
mhib has joined #ruby
<al2o3-cr> whats the difference between undef_method and remove_method?
krz has quit [Ping timeout: 265 seconds]
lkba_ has joined #ruby
Zai00 has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Torsten` has joined #ruby
krz has joined #ruby
lkba has quit [Ping timeout: 244 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
unshadow has quit [Ping timeout: 264 seconds]
krz has quit [Read error: Connection reset by peer]
krz has joined #ruby
sameerynho has quit [Quit: Leaving]
Rollabunna has joined #ruby
Torsten` has quit [Ping timeout: 250 seconds]
n008f4g_ has joined #ruby
A205B064 has quit [Ping timeout: 256 seconds]
vondruch has joined #ruby
meadhikari has joined #ruby
<wnd> tfm says remove_method only modifies immediate class, undef_method also goes to parent(s)
Rollabunna has quit [Client Quit]
grzywacz has joined #ruby
czj has joined #ruby
unshadow has joined #ruby
<al2o3-cr> wnd: ah that would explain the confusion
Rickmasta has joined #ruby
czj has left #ruby [#ruby]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ahmetkapikiran has joined #ruby
Pathfinder has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 245 seconds]
meadhikari has quit [Quit: This computer has gone to sleep]
Torsten` has joined #ruby
chussenot has quit [Quit: chussenot]
allomov has joined #ruby
phale has joined #ruby
<phale> hello rubyists
aapole has quit [Ping timeout: 255 seconds]
chussenot has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
Xeago has joined #ruby
Hirzu has joined #ruby
phale has left #ruby ["Leaving"]
Torsten` has quit [Ping timeout: 255 seconds]
ahmetkapikiran has joined #ruby
chussenot has quit [Client Quit]
noethics has quit [Remote host closed the connection]
Hirzu_ has joined #ruby
bin_005 has quit [Ping timeout: 265 seconds]
dhjondoh has quit [Ping timeout: 265 seconds]
axl__ has joined #ruby
axl_ has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
Hirzu has quit [Ping timeout: 246 seconds]
duncannz has quit [Ping timeout: 252 seconds]
oo_ has quit [Ping timeout: 256 seconds]
Hirzu_ has quit [Quit: Leaving...]
khebbie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
OrbitalKitten has joined #ruby
dhjondoh has joined #ruby
tsujp has quit [Quit: tsujp is snoozing]
poguez_ has quit [Quit: Connection closed for inactivity]
chthon has joined #ruby
datanoise has joined #ruby
olistik has quit [Remote host closed the connection]
barkerd427 is now known as zz_barkerd427
adefa has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CloCkWeRX has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
rodfersou has joined #ruby
thelastinuit has joined #ruby
benlovell has joined #ruby
adefa has quit [Ping timeout: 258 seconds]
furoido has quit [Quit: furoido]
SouL_|_ has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
banister has joined #ruby
Fooster has joined #ruby
futilegames has quit [Quit: futilegames]
SouL_|_ has joined #ruby
Pathfinder has joined #ruby
noethics has joined #ruby
sandelius has joined #ruby
skade has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
kerunaru has quit [Remote host closed the connection]
RegulationD has joined #ruby
dEPy has quit [Quit: (null)]
ur5us has quit [Remote host closed the connection]
vdamewood has joined #ruby
air_ has joined #ruby
musashi1 has quit [Ping timeout: 255 seconds]
DaniG2k_ has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
<apeiros> air_: can't see from what you gisted. what error do you get? (*always* include the error)
<apeiros> (and I assume line 1 is not part of your code…)
DaniG2k has quit [Ping timeout: 244 seconds]
gsd_ has joined #ruby
<air_> Oops, try again. It looks like you didn't include =begin. Make sure there's no space between the equals sign and the word begin!
<air_> this is the error
<air_> line 1 there it says to make a single line comment
SouL_|_ has quit [Ping timeout: 264 seconds]
<apeiros> air_: make a second file in your gist and put the full error there.
<air_> its on codeacedmy
<apeiros> your explanation of the error does not help.
centrx has joined #ruby
<apeiros> codeacademy? doesn't that have its own help channel?
<ljarvis> they're using codecademy (hence the error)
<ljarvis> heh slow ljarvis
workmad3 has joined #ruby
ag4ve has quit [Ping timeout: 248 seconds]
ndrei has quit [Ping timeout: 256 seconds]
<apeiros> air_: the problem with how you gist is that it's not clear what's part of your code and what is not
<sevenseacat> those online courses can be so buggy
<air_> there is space between question,code and error
<apeiros> I'm actually not even sure whether whitespace is allowed after =begin… *tries*
<apeiros> air_: use. multiple. files.
<sevenseacat> also, read the link that ljarvis posted.
Rodya_ has joined #ruby
gsd_ has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
<air_> that link works
<air_> thanks
<apeiros> ok, ruby itself doesn't care about whitespace after `=begin`. so IMO the course is indeed buggy :)
khebbie has joined #ruby
* apeiros wonders why they even teach =begin - nobody uses it. it's at best worth a footnote that it exists…
Yiota has joined #ruby
rubie has joined #ruby
<air_> then from where should a begineer learn?
meadhikari has joined #ruby
DaniG2k_ has quit [Quit: Lost terminal]
<air_> then where should a begineer learn
mrmargolis has joined #ruby
<apeiros> air_: the course having bugs doesn't mean it's overall bad.
<apeiros> since I haven't tried any of those online courses, I couldn't tell you which ones are good anyway.
<sevenseacat> or not read the link that ljarvis posted.
<air_> then go through pdf. only
Rodya_ has quit [Ping timeout: 258 seconds]
sarkyniin has joined #ruby
[gmi] has joined #ruby
Yiota has quit [Client Quit]
Yiota has joined #ruby
meadhikari has quit [Quit: This computer has gone to sleep]
serivich has joined #ruby
mrmargolis has quit [Ping timeout: 244 seconds]
fabrice31 has joined #ruby
Yiota has quit [Client Quit]
railsraider_ has joined #ruby
kerunaru has joined #ruby
meadhikari has joined #ruby
Zai00 has quit [Quit: Zai00]
railsraider has quit [Ping timeout: 258 seconds]
railsraider_ is now known as railsraider
fujimura has quit [Remote host closed the connection]
dgutierrez1287 has joined #ruby
fujimura has joined #ruby
fujimura has quit [Read error: Connection reset by peer]
centrx has quit [Quit: Shutting down, Please wait...]
nickmm has quit [Quit: Lost terminal]
nickmm has joined #ruby
nofxx__ has quit [Ping timeout: 252 seconds]
NeverDie has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
CloCkWeRX has joined #ruby
ndrei has joined #ruby
bkxd has joined #ruby
n008f4g_ has quit [Ping timeout: 250 seconds]
bkxd_ has quit [Ping timeout: 264 seconds]
CamonZ has joined #ruby
ItSANgo has joined #ruby
ItSANgo__ has joined #ruby
ItSANgo_ has joined #ruby
ItSANgo has quit [Client Quit]
gre_stag has joined #ruby
scripore has joined #ruby
ItSANgo_ has quit [Client Quit]
balazs has joined #ruby
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
d10n-work has joined #ruby
Zai00 has joined #ruby
x0f has quit [Ping timeout: 265 seconds]
fabrice31_ has joined #ruby
nolic has joined #ruby
balazs has quit [Ping timeout: 276 seconds]
fabrice31 has quit [Ping timeout: 264 seconds]
jcromartie has joined #ruby
ldnunes has joined #ruby
olistik has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
meadhikari has quit [Quit: This computer has gone to sleep]
serivichi has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
x0f has joined #ruby
fabrice31 has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
sdothum has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
serivich has quit [Ping timeout: 265 seconds]
weemsledeux has quit [Remote host closed the connection]
air_ has quit [Quit: Page closed]
ahmetkapikiran has joined #ruby
[gmi] has quit [Quit: Leaving]
kp666 has quit [Read error: Connection reset by peer]
AugustoCesar has joined #ruby
AugustoCesar has left #ruby [#ruby]
yalue has joined #ruby
dorei has joined #ruby
revath has quit [Quit: Leaving.]
revath has joined #ruby
NeverDie has quit [Quit: Textual IRC Client: www.textualapp.com]
serivich has joined #ruby
but3k4 has joined #ruby
C1V0 has quit []
serivichi has quit [Ping timeout: 272 seconds]
bkxd has quit [Ping timeout: 265 seconds]
jmignault has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
TheHodge has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
mister_s_ has quit [Ping timeout: 255 seconds]
gagrio has quit [Ping timeout: 246 seconds]
<livcd> what you guys think about rubymotion ?
lkba_ has quit [Quit: Bye]
lkba has joined #ruby
k3asd` has quit [Remote host closed the connection]
ItSANgo__ has quit [Quit: Leaving...]
bMalum has joined #ruby
juanpaucar has joined #ruby
chussenot has joined #ruby
bkxd has joined #ruby
k3asd` has joined #ruby
arup_r has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
zz_barkerd427 is now known as barkerd427
<ljarvis> livcd: it's awesome
AugustoCesar has joined #ruby
zotherstupidguy has quit [Ping timeout: 265 seconds]
segfalt has joined #ruby
mandarinkin has quit [Quit: Leaving]
yqt has joined #ruby
tkuchiki has quit [Ping timeout: 256 seconds]
Langlands has joined #ruby
apt-get_ has joined #ruby
yaw has joined #ruby
gre_stag has quit [Quit: Leaving]
Xeago has quit [Remote host closed the connection]
sarkyniin has quit [Ping timeout: 265 seconds]
SouL_|_ has joined #ruby
Xeago has joined #ruby
ntln has quit [Ping timeout: 265 seconds]
meadhikari has joined #ruby
gagrio has joined #ruby
NeverDie has joined #ruby
<apt-get_> class variables are shared among all instances of that class
<apt-get_> right
goodcodeguy has joined #ruby
<apt-get_> as opposed to instance variables which are tied to specific instances of that class
meadhikari has quit [Client Quit]
<bnagy> class variables are a design fault and shouldn't be used, ever
bayed has joined #ruby
<bnagy> nb: this assertion slightly controversial
<livcd> ljarvis: do you mind if i /q you ?
<bnagy> apt-get_: 99% of the time when people think they want @@classvars they actually want class @ivars
jerematic has joined #ruby
<apt-get_> bnagy: I want to create a class that lets me access google spreadsheets
<apt-get_> it takes time to load them so I want to load them only once
<apt-get_> but I want to create a method that allows me to update them
Chromium has joined #ruby
Scrofff has joined #ruby
<apt-get_> loading the spreadsheet every time I want to create a new instance of that class would be a hassle
<bnagy> I would probably factor the access and loading of the spreadsheets into a different class
atomical has joined #ruby
<bnagy> and just have one instance of that per user or spreadsheet or whatever
ndrei has quit [Ping timeout: 256 seconds]
tvw has quit [Remote host closed the connection]
<bnagy> then access it from multiple other objects somehow
<bnagy> assuming you want concurrent access to a spreadsheet, which sounds fiddly as all get out :)
dalafa has joined #ruby
<apt-get_> not necessarily concurrent
<bnagy> anyway, point being a class @ivar would be fine for that
Scroff has quit [Ping timeout: 264 seconds]
ndrei has joined #ruby
n80 has joined #ruby
fsvehla has quit [Quit: fsvehla]
yaogwai has joined #ruby
<bnagy> apt-get_: you can also explicitly use Singleton in your spreadsheet container / loading / reloading class
msgodf has quit [Remote host closed the connection]
<bnagy> which might make things less confusing if you want to write it using a singleton pattern
xenog has joined #ruby
yaw_ has joined #ruby
swistak35 has joined #ruby
yaw has quit [Ping timeout: 276 seconds]
<apeiros> apt-get_: class variables are shared more broadly than just among all instances.
<apeiros> they're also shared among the class, all its subclasses and all its subclasses' instances
daynets has joined #ruby
decoponio has joined #ruby
<bnagy> don't they go up as well? o_0
<apeiros> that's the part where I'm fuzzy about
<apeiros> they don't automatically go up
<apeiros> otherwise they'd be shared everywhere (common Object ancestor)
<apeiros> iirc it's some weird thing about "first seen spot = root"
<bnagy> oh, must be only when a parent class has that var
<apeiros> and yes, that makes it even worse
<bnagy> anyway, they're nuts :)
<apeiros> I should educate myself on that one day. just to be more effective in dissuading people from using them :D
<apeiros> best would be if we came up with some short quizz akin "what do you think will be the value of X here?"
ndrei has quit [Ping timeout: 276 seconds]
<apeiros> and then we simply link that quizz every time somebody thinks they want @@cvars
ta has joined #ruby
Chromium has quit [Ping timeout: 276 seconds]
barkerd427 is now known as zz_barkerd427
anisha has quit [Ping timeout: 250 seconds]
cajone has joined #ruby
<apeiros> ok, "first seen" isn't the rule. I wonder what the boundary was/is
pengin has joined #ruby
sankaber has joined #ruby
elev has joined #ruby
adefa has joined #ruby
havenwood has joined #ruby
zotherstupidguy has joined #ruby
elev is now known as master44
zz_barkerd427 is now known as barkerd427
<master44> How can I change the nam eof an array?
<master44> name of*
SouL_|_ has quit [Read error: Connection reset by peer]
tsujp has joined #ruby
IanVorn_ has joined #ruby
SouL_|_ has joined #ruby
<apeiros> master44: an array does not have a name
<master44> whaat?
<apeiros> therefore: you can't
<master44> well
<master44> the variable
IanVorn_ has quit [Max SendQ exceeded]
<apeiros> you can't change the name of a variable either.
<master44> names = ["james", "endre", "mathias"]
<master44> so I cant change the names=
<master44> =
<apeiros> you can assign the object the variable references to another variable with a different name
ta_ has joined #ruby
IanVorn_ has joined #ruby
<master44> ?*
<master44> how?
<apeiros> >> names = [1,2,3]; not_name = names; not_names
<ruboto> apeiros # => undefined local variable or method `not_names' for main:Object (NameError) ...check link for more (https://eval.in/377572)
<apeiros> grah
<apeiros> >> names = [1,2,3]; not_names = names; not_names
<ruboto> apeiros # => [1, 2, 3] (https://eval.in/377573)
davidhq has joined #ruby
Forgetful_Lion has quit [Remote host closed the connection]
<apeiros> remember that both variables reference *the same* object. assignment (=) does *not* copy/clone data.
<apeiros> >> names = [1,2,3]; not_names = names; names << 4; not_names
<ruboto> apeiros # => [1, 2, 3, 4] (https://eval.in/377575)
benlovell has quit [Quit: leaving]
IanVorn has quit [Ping timeout: 252 seconds]
CloCkWeRX has quit [Ping timeout: 258 seconds]
ag4ve_ has joined #ruby
adefa has quit [Ping timeout: 256 seconds]
RegulationD has joined #ruby
<master44> is it a easy way to change a variable?
ta has quit [Ping timeout: 252 seconds]
<master44> can I go like m = 12
<master44> n = m
barkerd427 is now known as zz_barkerd427
<master44> ?
<apeiros> yes. but how about you try and see?
<apeiros> pry/irb doesn't bite.
<master44> ok :D
<master44> so thats a way to do it easier
symm- has joined #ruby
b_hoffman has joined #ruby
<master44> I cant do it with a array
zz_barkerd427 is now known as barkerd427
SouL_|_ has quit [Ping timeout: 255 seconds]
SouL_|__ has joined #ruby
jas02 has joined #ruby
<apeiros> master44: I just showed you above that you can
<apeiros> >> names = [1,2,3]; not_name = names; not_names
<ruboto> apeiros # => undefined local variable or method `not_names' for main:Object (NameError) ...check link for more (https://eval.in/377578)
<apeiros> awesome. of course I copy the one with the typo
<apeiros> >> names = [1,2,3]; not_names = names; not_names
<ruboto> apeiros # => [1, 2, 3] (https://eval.in/377579)
<apeiros> master44: ^
yfeldblum has quit [Ping timeout: 265 seconds]
<master44> ah thanks :)
<master44> why you use the ; what does ; means?
<apeiros> same as newline
<master44> so same as \n?
<apeiros> yes
<apeiros> and I can't use a newline to eval code here.
<segfalt> it’s a new statement, in a real program you’d put them on different lines
<master44> so every tike I use \n I can just use ;?
<apeiros> that's why you'll see code with ; instead of newlines in irc.
b_hoffman has left #ruby [#ruby]
<master44> ah
<master44> so I cant use ; in sublime text?
<master44> in a program?
<apeiros> master44: I'm not sure whether *everywhere*. but yes.
pengin has quit [Remote host closed the connection]
<apeiros> yes, you can
<apeiros> and again: just try it.
<master44> so I never have to use the \n
<apeiros> yes. which is why it's pointless to say "I can do it in one line!"
<segfalt> master44: to be clear, not in string interpolation. you can’t replace puts “hi\n\nhi!” with puts “hi;;hi!”
<master44> ok
CustosLimen has quit [Ping timeout: 244 seconds]
arup_r has joined #ruby
CustosLimen has joined #ruby
msgodf has joined #ruby
anisha has joined #ruby
master44 has quit [Quit: Lost terminal]
ag4ve_ has quit [Ping timeout: 248 seconds]
sgambino has joined #ruby
yaw_ has left #ruby ["Textual IRC Client: www.textualapp.com"]
CloCkWeRX has joined #ruby
doertedev has joined #ruby
MasterPiece has joined #ruby
hanmac1 has joined #ruby
Chromium has joined #ruby
hinbody has joined #ruby
stoogenmeyer__ has joined #ruby
fgo has joined #ruby
CamonZ has quit [Read error: Connection reset by peer]
stoogenmeyer_ has quit [Ping timeout: 276 seconds]
<Chromium> b
<Chromium> k
<Chromium> oops
<Chromium> sorry
CloCkWeRX has quit [Ping timeout: 245 seconds]
dwithers1 is now known as pl1ght
kerunaru has quit [Quit: Textual IRC Client: www.textualapp.com]
ziprar has joined #ruby
ziprar has joined #ruby
Chromium is now known as chromium2222
imperator has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
harly has quit [Read error: Connection reset by peer]
jas02 has left #ruby [#ruby]
gagrio has quit [Ping timeout: 246 seconds]
<chromium2222> does anyone know any good learning resources for Ruby?
Rodya_ has joined #ruby
ndrei has joined #ruby
ESpiney has joined #ruby
jhooker has joined #ruby
mister_solo has joined #ruby
<jesterfraud> chromium2222, there are so many resources that you couldn't read them all in a lifetime!
<jesterfraud> I'm thinking this might be a good one: http://learnrubythehardway.org/book/
MyMind has joined #ruby
zipace has quit [Ping timeout: 244 seconds]
bruno- has quit [Ping timeout: 245 seconds]
<chromium2222> also is this the same thing as "Ruby on Rails" (sorry noob here)
<tobiasvl> rails is a ruby framework
<tobiasvl> it's not "the same thing" as ruby, no
<jesterfraud> so Ruby is the language
<havenwood> chromium2222: Ruby is the language that Rails and other things are written in.
<jesterfraud> you can write Ruby without Rails, but you can't write Rails with Ruby
<havenwood> chromium2222: See #rubyonrails for Rails.
<jesterfraud> * without Ruby, rather
Sembei has quit [Ping timeout: 258 seconds]
<havenwood> ?rails chromium2222
<ruboto> chromium2222, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<zzak> Wow! We broke 1k users!!
<havenwood> \o/
<zzak> OMG
<bnagy> I'm sure they're not _all_ broken
<jesterfraud> I'm 1/1030 important!
<chromium2222> yess! a maths joke
anisha has quit [Ping timeout: 245 seconds]
<chromium2222> ah thanks guys @havenwood @jesterfrau
<jesterfraud> ooh, I'm a clown's wife now ;)
SouL_|__ has quit [Remote host closed the connection]
<jesterfraud> no worries chromium2222
jcoe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_ht has joined #ruby
Rodya_ has quit [Ping timeout: 265 seconds]
jgpawletko has joined #ruby
chromium2222 is now known as Chromium2222
marr has quit [Ping timeout: 264 seconds]
dblessing has joined #ruby
<Chromium2222> so i should start here then? or would u recommend not?
juni0r has quit [Quit: WeeChat 0.3.8]
mathie has quit [Quit: Quitting...]
mathie has joined #ruby
<havenwood> Chromium2222: I'd suggest learning Ruby. :)
hinbody has quit [Ping timeout: 276 seconds]
DeBot has left #ruby [#ruby]
<hanmac1> zzak soon this channel will be OVER 9000! ;P
<zzak> OMG
jschoolcraft has joined #ruby
ruby-lang216 has joined #ruby
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
CloCkWeRX has joined #ruby
meadhikari has joined #ruby
scripore has joined #ruby
<imperator> any oauth2 users here? having trouble understanding the client credentials grant approach
nedp_ has quit [Remote host closed the connection]
<Chromium2222> havenwood is this a hard language? i only know PHP so i wanna work my way up lol
agent_white has quit [Quit: gngt]
Xeago has quit [Remote host closed the connection]
mdz_ has joined #ruby
tvw has joined #ruby
hinbody has joined #ruby
jas02_ has joined #ruby
CloCkWeRX has left #ruby [#ruby]
ruby-lang216 has quit [Ping timeout: 246 seconds]
j4cknewt has quit [Remote host closed the connection]
AhabsBeard has joined #ruby
<wnd> Personally I think Ruby is one of the easiest and nicest languages around. Easiest not because it allows anyone to do anything, but rather because things tend to be the way I expect them to be.
enebo has joined #ruby
Chromium2222 is now known as markturner
markturner is now known as MarkTurner
<wnd> also, I think it's worth mentioning that I hated object oriented languages before I came across Ruby
scripore has quit [Quit: This computer has gone to sleep]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<MarkTurner> object orientated?
<ljarvis> zzak: ZOMG
mrmargolis has joined #ruby
anisha has joined #ruby
symm- has quit [Ping timeout: 256 seconds]
scripore has joined #ruby
chussenot has quit [Quit: chussenot]
mdz_ has quit [Remote host closed the connection]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
workmad3 has quit [Ping timeout: 252 seconds]
MarkTurner has quit [Quit: Leaving]
aspiers has joined #ruby
MarkTurner has joined #ruby
war_pigs has joined #ruby
workmad3 has joined #ruby
dhjondoh has quit [Quit: dhjondoh]
Xeago has joined #ruby
dhjondoh has joined #ruby
war_pigs has quit [Max SendQ exceeded]
gagrio has joined #ruby
__chris has joined #ruby
nonparfumee has joined #ruby
lavros has joined #ruby
vdamewood has quit [Quit: Life beckons.]
<MarkTurner> I looked on website it said i should install RVM or rbenv
<MarkTurner> which?
<Aria> One of them!
<bnagy> neither!
<Aria> Or that.
dopie has joined #ruby
axilla has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
gagrio has quit [Ping timeout: 265 seconds]
<havenwood> MarkTurner: Do you want to switch between Rubies or just use one? What OS/distro are you on?
CustosLimen has quit [Ping timeout: 244 seconds]
<bnagy> so, genuine question, I thought the only real reason to use rvm instead of something lighter was gemsets
<bnagy> but don't all the kids use bundler now?
caseypatrickdris has joined #ruby
<apeiros> bnagy: I never used gemsets
livathinos has joined #ruby
<adaedra> bnagy: those are different things
<bnagy> as in what's the remaining rvm proposition
<apeiros> I used rvm because it was the first (afaik), and I keep using it because it so far didn't disappoint me
<havenwood> bnagy: RVM has patches to get older Rubies installed on older systems, etc.
cmisenas has joined #ruby
failshell has joined #ruby
Xeago_ has joined #ruby
daynets has quit [Quit: Leaving.]
<bnagy> not incredibly compelling :/
<apeiros> iow: in order to switch away from RVM, I'd either need a value proposition of other toolchains, or rvm would have to disappoint me somehow.
balazs has joined #ruby
<bnagy> apeiros: yeah I get inertia. rbenv was fine for me when I went chruby
<apeiros> by now, I find "works, and has worked for years" an incredibly compelling argument
<havenwood> bnagy: RVM even supports using chruby as the switcher, since it considers its primary job as installing.
<bnagy> o_0
dopie has quit [Client Quit]
<apeiros> there's so much shit which randomly breaks over time…
paulcsmith has joined #ruby
<bnagy> wow, that's a shift
ndrei has quit [Ping timeout: 255 seconds]
xenog has quit [Quit: Leaving.]
<bnagy> tbh it was mainly their switching approach I hated
<havenwood> bnagy: You have to enable it, but yeah it ships with support for chruby.
<bnagy> and the old installation recommendation :)
zz_Outlastsheep is now known as Outlastsheep
xenog has joined #ruby
Xeago has quit [Ping timeout: 272 seconds]
xenog is now known as xenog_
xenog_ is now known as xenog__
<havenwood> bnagy: RVM2 may just default to chruby, we'll see.
tsujp has quit [Quit: tsujp is snoozing]
mary5030 has joined #ruby
mhoungbo has joined #ruby
mhoungbo_ has joined #ruby
mhoungbo_ has quit [Client Quit]
xenog__ is now known as xenog
mary5030 has quit [Remote host closed the connection]
<bnagy> to be fair I haven't used ruby-install for a while but I never found it perfect
balazs has quit [Ping timeout: 244 seconds]
<bnagy> mostly for bleeding versions
<ddv> bnagy: get off my lawn.
<havenwood> bnagy: Yeah, not perfect but better than ruby-build. :P
<havenwood> bnagy: Getting better though! :)
<bnagy> but I think the hand hold installer is not one of the things I need
<ericwood> I have never gotten ruby-build to work :\
<bnagy> which is not something that can be said of every user
<havenwood> bnagy: indeed
<ericwood> and ruby-install is weird for me with JRuby but that's probably my fault
fujimura has joined #ruby
mary5030 has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
<havenwood> ericwood: What did you run into with JRuby?
<ericwood> I can't remember :(
<ericwood> it's been a while
iamninja has joined #ruby
Soda has joined #ruby
<MarkTurner> @havenwood I'm on Mac OSX. What do u mean by switching between Rubies? lol
<bnagy> building jruby from source has always been .. o_0
<bnagy> now they're shipping regular binaries so it's all good
<ericwood> I always just snagged the binary
coderhs has joined #ruby
<adaedra> MarkTurner: have multiple ruby installs (different versions/engines) and being able to choose which one you work with
<havenwood> MarkTurner: Say you have three projects, one each on Ruby 2.0, 2.1 and 2.2. If you don't need more than one version or implementation of Ruby you don't need to switch.
<Aria> level-geospatial Geospatial indexing for leveldb
<bnagy> ericwood: you know what they say - Once You Go Maven...
<Aria> er.
<ddv> MarkTurner: brew install chruby
<Aria> Wrong window
<bnagy> you drink to forget and then burn your computer and leave the country
* adaedra throws Aria through the window
caseypatrickdris has quit [Read error: Connection reset by peer]
<adaedra> now, was it the good window?
<MarkTurner> Why would i want multiple versions of Ruby?
<adaedra> :p
* Aria climbs back in and puts adaedra on the timeout couch for inappropriate physical contact.
<havenwood> ddv: OS X ships with Ruby, so you already have it. If you just want to get the latest Ruby (and are a brew user) you can: brew install ruby
<Aria> MarkTurner: testing, upgrade path
<adaedra> MarkTurner: different projects with different requirements, tests, fun
caseypatrickdris has joined #ruby
<adaedra> Aria: D:
<ddv> havenwood: why are you explaining this to me?
CustosLimen has joined #ruby
fujimura has quit [Ping timeout: 255 seconds]
chussenot has joined #ruby
<havenwood> ddv: Dunno, haven't had coffee. WHO ARE YOU? WHAT'S HAPPENING?
<MarkTurner> so brew install ruby into terminal?
<havenwood> MarkTurner: ^ my explanation to ddv was tab-fail, meant for you. >.>
<havenwood> MarkTurner: Are you a Homebrew user?
<ddv> havenwood: took you a long time to realize that
<havenwood> ddv: Just hitting tab, not looking. Thought last tell was from MarkTurner. I *really* haven't had coffee. Going to fix that!
<MarkTurner> no :/
<havenwood> MarkTurner: If you'd like to be, you can find the install script here: http://brew.sh/
<adaedra> MarkTurner: last OS X has ruby 2.0 iirc, so you can work with that.
<MarkTurner> @adedra i might as well be on the latest version lol
<adaedra> ruby 2.0.0p481, to be exact.
<MarkTurner> @havenwood ty got it
axl_ has joined #ruby
<MarkTurner> so is brew a package manager?
<adaedra> yes
<adaedra> it can install packages, and if needed compile them from source
<ddv> MarkTurner: home come you don't know brew?
<ddv> how*
<MarkTurner> im a noob lol
<havenwood> MarkTurner: While Homebrew is most popular, OS X has support for other package managers, like MacPorts, Fink and now pkgsrc too.
atm0sph has joined #ruby
<MarkTurner> ty @havenwood
<adaedra> Just don't mix them D:
snophey has joined #ruby
<Aria> Indeed.
<MarkTurner> so im on ruby 2.2.2 now
<ddv> forget about the other package managers tho
<adaedra> welcome to the future
<MarkTurner> is that all i need? i just run my programs in terminal?
ahmetkapikiran has joined #ruby
<adaedra> ah no, 2.2.2 is present, sorry
<Aria> Indeed.
<havenwood> adaedra: I'm using pkgsrc alongside brew at the moment with macports installed but disabled. :O
<Aria> Run things in the terminal; as daemons if you like.
<Aria> You can write gui apps, but that's a bit trickier.
<adaedra> havenwood: D:
<MarkTurner> i dont think ill be writting gui apps any time soon lol
<havenwood> adaedra: pkgsrc and brew actually play pretty nice
<adaedra> Ruby tools for GUI are not really good imo
NeverDie has joined #ruby
<atm0sph> ruby has too improve
<ddv> write a webapp
<ericwood> the latest iteration of Shoes is surprisingly good, but if you want to write big GUI apps Ruby isn't really recommended
<Aria> <3 Shoes.
<ericwood> it runs on JRuby now and is fairly great
<havenwood> hanmac: Grant us your bindings that we might GUI!
<atm0sph> ericwood it must be well known among folks
<Darkwater> did someone mention 'bindings' and 'GUI' in the same sentence here in #ruby?
<Darkwater> I must know more!
bmurt has joined #ruby
<MarkTurner> so is there a better compiler than terminal?
<adaedra> compiler?
<atm0sph> me too
mercwithamouth has quit [Ping timeout: 256 seconds]
<Darkwater> a terminal isn't a compiler lol
<adaedra> Terminal is not a compiler, and there's not really compilers for ruby
<Aria> MarkTurner: That's not quite the question you want to ask. The terminal just displays the output of the program; the ruby executable ~interprets your program.
<MarkTurner> sorry yeah i didnt mean that lol
griffindy has joined #ruby
<atm0sph> theres interpreter
<hanmac1> >> require "date"; "This ruby is %d days old." % (Date.today - Date.parse(RUBY_RELEASE_DATE))
<ruboto> hanmac1 # => "This ruby is 165 days old." (https://eval.in/377597)
<Darkwater> that's a young ruby
<adaedra> If you're speaking about environment, and that you would prefer IDEs to work, there are things like RubyMine, Eclipse or NetBeans that can do that, but ruby folks seems to usually stick to terminal + text editor, MarkTurner
nateberkopec has joined #ruby
<havenwood> MarkTurner: OS X primarily uses Clang but you can grab a recent GCC with brew: brew install gcc
<Aria> MarkTurner: you can run things in an editor with a debugger, and it may integrate the output, or you can run them headless. Lots of options. But being familiar with the terminal and command line does give you a lot of power. Most things fall down to that, since we can communicate commands in text much more easily than a GUI, and the tools compose better so there's less being locked into one particular tool.
<hanmac1> Darkwater: the ruby on my systems are daily-build ;P
Xeago_ has quit [Remote host closed the connection]
bruno- has joined #ruby
<havenwood> hanmac1: I use more of a fortnight-build.
Xeago has joined #ruby
<MarkTurner> i get ya
<MarkTurner> ty guys
NeverDie has quit [Client Quit]
<adaedra> and girls
<MarkTurner> ill get learning then
<MarkTurner> and girls sorry
<adaedra> :)
<havenwood> MarkTurner: Yell if you have Ruby questions.
<ddv> pretty sexist bro
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
<MarkTurner> Will do havenwood they may be annoying noob ones tho lol
yqt has quit [Ping timeout: 264 seconds]
<adaedra> There are no stupid questions
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<MarkTurner> i did just ask about compilers and terminal..... pretty stupid lol
<wmoxam> "Is this a stupid question?"
<wmoxam> ^^ Yes ;)
<atm0sph> no
<Darkwater> by the way, MarkTurner, I've been using ruby for one or two months now, and I rarely write terminal programs with them
<Darkwater> terminal program as in a program with it's interface in a terminal
<Aria> It was a pretty good question. It just didn't have much background informing it.
d10n-work has quit [Quit: Connection closed for inactivity]
<Darkwater> though I test them using a terminal since that's imo the easiest way in early stages
NeverDie has joined #ruby
jas02 has joined #ruby
<tenspeed705> Hey Guys, I am trying to use Mechanize to automate a daily task. I need to click a button in a form, but the HTML has no name attribute, Any way I can get around this?
Macaveli has joined #ruby
jas02_ has quit [Ping timeout: 250 seconds]
<Darkwater> anyway most are either websites or tools that contribute to my desktop environment
<wasamasa> tenspeed705: if it's always the nth child in locatable surroundings...
mc_fail has joined #ruby
CloCkWeRX has joined #ruby
<tenspeed705> wasamasa: I don't quite get what you mean?
<atm0sph> is there any way to make ios app on ruby which is free
mary5030_ has joined #ruby
<wasamasa> tenspeed705: the DOM is a tree
Langlands has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bootstrappm has joined #ruby
<wasamasa> tenspeed705: trees consist of nodes consist of nodes...
Pathfinder has quit [Remote host closed the connection]
arup_r has quit []
Penhead86 has joined #ruby
<tenspeed705> wasamasa: I get that, I don't see a way around it though
<atm0sph> is there any way to make ios app on ruby which is free?
scripore has joined #ruby
<wasamasa> tenspeed705: the children of a node can be accessed by their index
mary5030 has quit [Ping timeout: 255 seconds]
<tenspeed705> wasamasa: so, I should be able to use the value, and not the name?
<tenspeed705> wasamasa: Here is the button HTML
<tenspeed705> wasamasa: <input type="button" value="Submit" onclick="verify_entry();">
Xeago has quit [Remote host closed the connection]
khebbie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> tenspeed705: see what the selector 'input[type=button]' gets
<bootstrappm> morning
<apeiros> then refine
kaspergrubbe has joined #ruby
<apeiros> as wasamasa already said - most likely you can scope by its container
mary5030_ has quit [Remote host closed the connection]
<wasamasa> tenspeed705: once you have narrowed it down to the context, you can just select the first input element that's a button
<apeiros> in the worst case also use the value attribute in the selector. beware that it might be localized.
<wasamasa> tenspeed705: and then perform your desired action
c0m0 has quit [Ping timeout: 250 seconds]
mary5030 has joined #ruby
<tenspeed705> wasamasa: Thanks alot. I will give it a shot.
Xeago has joined #ruby
c0m0 has joined #ruby
Parker0 has quit [Quit: Textual IRC Client: www.textualapp.com]
<wasamasa> tenspeed705: I assumed you have had more than one button, for that case you could just use the nth you're going for
musgravejw has joined #ruby
<apeiros> wasamasa: IME nth is about the most fragile selector possible. I'd avoid that as much as possible.
atm0sph has quit [Quit: Page closed]
ndrei has joined #ruby
<MarkTurner> Sorry guys I already have a question lol
Parker0 has joined #ruby
<wasamasa> apeiros: indeed
mhib has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
<MarkTurner> in excercise 1 it's asking me to put "puts "Hello world"
mcclurmc has joined #ruby
<MarkTurner> but sometimes it uses ' instead of "
<MarkTurner> does it make a difference?
dhjondoh has quit [Quit: dhjondoh]
<apeiros> yes
<apeiros> in ', only \\ and \' are escaped
<adaedra> MarkTurner: interpolation. You may see that later
<adaedra> and escaping, too
<apeiros> in ", there are a lot of \ escape sequences, plus #{} will evaluate ruby code in it
whippythellama has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
musgravejw has quit [Quit: Leaving]
<apeiros> try: `puts "hello\nworld. 1+1=#{1+1}"` vs. `puts 'hello\nworld. 1+1=#{1+1}'`
Penhead86 has left #ruby [#ruby]
<MarkTurner> im baffled lol
pwattstbd has joined #ruby
<MarkTurner> im only on excercise 1
<MarkTurner> idk any other syntax or whatever lol
<adaedra> Maybe it's explained later :)
<adaedra> There's also the % %q and %Q strings :)
mcclurmc_ has joined #ruby
<MarkTurner> :S what have i got myself into
<MarkTurner> PHP was simple lol
<wasamasa> PHP only looks simple if you have no clue what you're doing
<adaedra> PHP also has ' vs "
coderhs has quit [Quit: Leaving]
Exuma has joined #ruby
<apeiros> you can use ruby in the same dummy mode as php
<apeiros> and gloss over all the details
<apeiros> see rack-server-pages
mcclurmc has quit [Ping timeout: 255 seconds]
<dudedudeman> happy monday folks!
mrsolo has joined #ruby
tenderlove has joined #ruby
mrmargolis has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
<bootstrappm> happy happy monday
<MarkTurner> i ran my first program lol
<adaedra> congrats
bantic has joined #ruby
<dudedudeman> yayyyy!
<dudedudeman> i need to do that
vire has quit [Ping timeout: 244 seconds]
mrmargol_ has joined #ruby
yoongkang has quit [Remote host closed the connection]
jhooker has quit [Ping timeout: 258 seconds]
fmcgeough has joined #ruby
d10n-work has joined #ruby
Synthead has quit [Remote host closed the connection]
_seanc_ has joined #ruby
aganov has quit [Quit: Leaving]
tagrudev has quit [Remote host closed the connection]
shellfu has joined #ruby
major_majors has joined #ruby
gambl0re has joined #ruby
<MarkTurner> I can now progress to excercise 3 xD
someword has joined #ruby
dseitz has joined #ruby
njs126 has joined #ruby
_seanc_ has quit [Client Quit]
jmignault has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chinmay_dd has joined #ruby
mdz_ has joined #ruby
allomov has quit [Remote host closed the connection]
polysics has quit [Remote host closed the connection]
Synthead has joined #ruby
kies has joined #ruby
polysics has joined #ruby
imperator has quit [Quit: Leaving]
imperator has joined #ruby
rindolf has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
<MarkTurner> I have another question lol
polysics has quit [Ping timeout: 244 seconds]
<MarkTurner> with this: puts "What is 5 - 7? #{5 - 7}"
codecop has joined #ruby
mdz_ has quit [Ping timeout: 265 seconds]
<MarkTurner> I thought # was a comment
<adaedra> not in a string
<dudedudeman> interpolate all the things!
<Aria> Yeah, inside a string or regex, the normal rules are gone and you're in a little minilanguage inside.
<adaedra> what does the code outputs, MarkTurner ?
<Aria> So #{} inside a string allows interpolation.
ndrei has quit [Ping timeout: 258 seconds]
Penhead86 has joined #ruby
<MarkTurner> What is 5 - 7? -2
<MarkTurner> oh so when its in a string it does something else
krz has joined #ruby
<adaedra> yes
<adaedra> what did it do here?
ahmetkapikiran has joined #ruby
chinmay_dd has quit []
<MarkTurner> it did the sum
<adaedra> and?
musgravejw has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
yardenbar has quit [Quit: Leaving]
<MarkTurner> so it does whatevers in the curley braces?
<MarkTurner> after #
<MarkTurner> in a string?
<adaedra> yes
<adaedra> it executes the code and replaces in the string
<dudedudeman> >> x = [1,2,3,4,5]; puts "This here be interpolation #{x}"
<ruboto> dudedudeman # => This here be interpolation [1, 2, 3, 4, 5] ...check link for more (https://eval.in/377604)
pwattstbd has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
<dudedudeman> obviously i didn't turn my array in to a string, but you can see how it passes the array in to the string that i printed out
<Aria> and >> puts "interpolate this: #{123; ''}!"
<Aria> >> puts "interpolate this: #{123; ''}!"
<ruboto> Aria # => interpolate this: ! ...check link for more (https://eval.in/377605)
bkxd has joined #ruby
bootstrappm has quit [Ping timeout: 276 seconds]
<Aria> It lets you use any ruby inside #{}, but only the last value gets used.
mcclurmc_ has quit [Read error: Connection reset by peer]
<shevy> wow! Aria is here!
freerobby has joined #ruby
mrmargol_ has quit [Remote host closed the connection]
mcclurmc has joined #ruby
<Aria> Indeed.
<adaedra> you can even go deeper
bronson has joined #ruby
<adaedra> >> " #{ " #{ " " } " } "
<ruboto> adaedra # => " " (https://eval.in/377608)
skade has quit [Quit: Computer has gone to sleep.]
Rickmasta has joined #ruby
Yiota has joined #ruby
aapole has joined #ruby
Zai00 has quit [Quit: Zai00]
hanmac1 has quit [Quit: Leaving.]
Outlastsheep is now known as zz_Outlastsheep
skade has joined #ruby
mrmargolis has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
MarkTurner has quit [Ping timeout: 256 seconds]
skade has quit [Client Quit]
unshadow has quit [Quit: leaving]
polysics has joined #ruby
nolic has quit [Quit: Quitte]
mister_solo has quit [Ping timeout: 246 seconds]
musgravejw has quit [Quit: Leaving]
GriffinHeart has joined #ruby
someword has quit [Quit: Leaving.]
Neomex has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
AhabsBeard has quit []
n1x has joined #ruby
jhooker has joined #ruby
ixti has joined #ruby
<ljarvis> why did i start redesigning my vm at the weekend
nateberkopec has quit [Remote host closed the connection]
nateberkopec has joined #ruby
<ljarvis> halp
AhabsBeard has joined #ruby
dopie has joined #ruby
<havenwood> why do we call it weekend instead of weekbetween
j4cknewt has joined #ruby
n1x has quit [Max SendQ exceeded]
casadei has joined #ruby
<ljarvis> week between what
<adaedra> because it's at the end of the week
<havenwood> ljarvis: another week
<havenwood> adaedra: it's also at the beginning of the next week
<adaedra> no
<ljarvis> because then you're just adding pointless words
Exuma has quit []
<adaedra> week begins on monday
<ljarvis> :D
<adaedra> monday is no week-end
<ljarvis> well technicalllylyyyyyy
n1x has joined #ruby
Xeago has quit [Remote host closed the connection]
<havenwood> let's ask Ruby what the first day of the week is... ;)
<ljarvis> lets just call them day 6 and 7
<ljarvis> or.. 7 and 1
<ljarvis> :o
<ljarvis> </controversial>
<maloik> a week is 7 days though
ndrei has joined #ruby
<maloik> so it's not really weekbetween either, its partoftheweek
<adaedra> What are the countries that still uses Sunday as week start? USA?
<havenwood> >> require 'date'; Date::DAYNAMES.first
<ruboto> havenwood # => "Sunday" (https://eval.in/377615)
<ljarvis> aka.. endoftheweek, aka weekend
msnyon has joined #ruby
<ljarvis> adaedra: most of them
<maloik> :D
<maloik> I'm so glad we can have very fruitful discussions on here
<ljarvis> aye
mrsolo has quit [Quit: This computer has gone to sleep]
<adaedra> ljarvis: not so sure
<ljarvis> now, who wants to help be build my vm
<havenwood> >> require 'time'; Time::RFC2822_DAY_NAME.first
<ruboto> havenwood # => "Sun" (https://eval.in/377616)
<ljarvis> where help = do it all
<maloik> what vm... development machine you mean?
<ljarvis> no im writing a vitual machine for a new lang
symbol has joined #ruby
<havenwood> ljarvis: i was debating whether you meant os or lang vm
<adaedra> ljarvis: rm -rf for quick development ;)
<ljarvis> well, rewriting
bruno- has quit [Ping timeout: 256 seconds]
<maloik> <insert homer backing into hedge gif>
<ljarvis> havenwood: i guess in the context of that question i have taken the easy way out
ogpastaling has joined #ruby
<ljarvis> maloik: GET BACK HERE
mercwithamouth has joined #ruby
bruno- has joined #ruby
<havenwood> ljarvis: well, debating between my os as in the one you're using and my vm as in the one you're writing
<havenwood> nvm
<ljarvis> it's all hand-written so it's easy to follow
<ljarvis> well, the first half of that statement is true
Papierkorb has joined #ruby
gamename has joined #ruby
ndrei has quit [Ping timeout: 255 seconds]
AhabsBeard has quit []
n1x has quit [Max SendQ exceeded]
Rodya_ has joined #ruby
<maloik> handwritten on a napkin?
<adaedra> “The international standard ISO 8601 for representation of dates and times, states that Monday is the first day of the week.”
ndrei has joined #ruby
<ljarvis> maloik: :D
doctorly has joined #ruby
tacit7` has joined #ruby
<havenwood> adaedra: But... Ruby says!
ogpastaling has quit [Read error: Connection reset by peer]
<adaedra> havenwood: it's okay
revath has quit [Read error: Connection reset by peer]
ogpastaling has joined #ruby
pwattstbd has joined #ruby
<adaedra> you'll learn to order the days, then to not put the day between the month and the year, then using metric system, and all of those will be good.
mercwithamouth has quit [Ping timeout: 265 seconds]
<adaedra> :)
revath has joined #ruby
<havenwood> adaedra: Actually RFC2822 specifies Mon first. That might be one to fix for Ruby 3.0. :O
Agoldfish has joined #ruby
Xeago has joined #ruby
<adaedra> May be based on USA 'standard'
daynets has joined #ruby
* havenwood goes back to using ddate
bkxd has quit [Ping timeout: 244 seconds]
<adaedra> and b/c backward compatibility, it may never change :(
pyo_ has quit []
<adaedra> The map of first day of weeks depending on the country is interesting
micmus has joined #ruby
AhabsBeard has joined #ruby
Zai00 has joined #ruby
fabrice31_ has joined #ruby
Rodya_ has quit [Ping timeout: 276 seconds]
marr has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
<apeiros> adaedra: I wonder about the map for days which are considered "week-end"
tacit7` has quit [Ping timeout: 255 seconds]
<apeiros> and how it correlates with that first-day-of-week map :)
<adaedra> I think I saw one
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
paulcsmith has joined #ruby
Xeago has quit [Ping timeout: 272 seconds]
<apeiros> not week numbering
<adaedra> look at it
websoftwarez has joined #ruby
<adaedra> there's two maps, the first day of week, and the holidays
websoftwarez has quit [Changing host]
websoftwarez has joined #ruby
<apeiros> doesn't really fit
Spami has joined #ruby
kobain has joined #ruby
mc_fail has quit [Ping timeout: 264 seconds]
<adaedra> ?
<apeiros> many countries don't just have sunday or saturday, but sunday + saturday. and those are labeled "week-end"
fabrice31_ has quit [Remote host closed the connection]
dblessing has quit [Read error: Connection reset by peer]
<apeiros> and my beef with that is when a country starts the week with sunday, but calls saturday+sunday "week-end". i.e., how can it be the end if it's the start?
<adaedra> Well, ask the US :)
dblessing has joined #ruby
fabrice31 has quit [Ping timeout: 276 seconds]
jas02 has quit [Quit: jas02]
lhobas has joined #ruby
lhobas has left #ruby ["Palaver http://palaverapp.com/"]
nhhagen has quit [Remote host closed the connection]
rbowlby has joined #ruby
bronson has joined #ruby
rbowlby has quit [Remote host closed the connection]
revath has quit [Quit: Leaving.]
revath has joined #ruby
workmad3 has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
Xeago has joined #ruby
Scroff_ has joined #ruby
mberk has joined #ruby
fgo has joined #ruby
pepperbreath1 has quit [Ping timeout: 256 seconds]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
Scrofff has quit [Ping timeout: 272 seconds]
Parker0 has quit [Remote host closed the connection]
n3vtelen has joined #ruby
<eam> apeiros: the start and end are both ends of a period :)
Parker0 has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
juanpaucar has quit [Remote host closed the connection]
commondream has joined #ruby
lordkryss has joined #ruby
stan has quit [Ping timeout: 265 seconds]
<segfalt> so a “Weekends” is the two day period from Saturday to Sunday?
endash has joined #ruby
<segfalt> :)
_seanc_ has joined #ruby
Xeago has quit [Remote host closed the connection]
GriffinHeart has quit [Remote host closed the connection]
<apeiros> eam: so array.last should return index -1 and 0? :-p
sinkensabe has quit [Remote host closed the connection]
kirun has joined #ruby
<eam> apeiros: end != last end :)
snockerton has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> array.first and array.last are the two ends of the array ;-)
<apeiros> ah, lol
<apeiros> I see what you mean
naftilos76 has joined #ruby
<adaedra> there's a flaw here
fgo has quit [Ping timeout: 265 seconds]
umgrosscol has joined #ruby
<adaedra> if it was that, it would be a 'week-ends', not a 'week-end'
<eam> the US date system is indefensible, I don't know why I'm trying to explain it
<apeiros> and now I get segfalt's comment
yeticry has quit [Ping timeout: 258 seconds]
paulcsmith has quit [Quit: Be back later ...]
<apeiros> I guess they got you, without the additional explanation :)
<eam> I think originally weeks may have ended on friday
revath has quit [Quit: Leaving.]
<segfalt> it goes perfectly fine with out measurement systems
<segfalt> *our
<maloik> oh, we're still on the same topic, awesome :D
<adaedra> Go home USA, you're drunk
<eam> how do I return the length of an array in hogs heads
mike___1234 has quit [Remote host closed the connection]
revath has joined #ruby
darkf has quit [Quit: Leaving]
Xeago has joined #ruby
<segfalt> [].size.to_us_furlongs
<adaedra> require 'us/crap_measurements'
snophey has quit [Ping timeout: 265 seconds]
<eam> well, you know what they say: There are two kinds of countries in this world. Those that use metric, and those that've landed on the moon
yeticry has joined #ruby
MarkTurner has joined #ruby
<Aria> Why is it the way it is? Because when we spell it out, we say things like "June nineteenth, eighteen sixty five" -> 6/19/1986
<Aria> ... y'know. 1986. 1865.
<adaedra> Aria: again, valid only for the US
<MarkTurner> ty @dudedudeman and @adaedra
<adaedra> well, english speaking countries, but heh
<Aria> Yeah. Exactly. Not an excuse. Just an explanation.
<MarkTurner> sorry had to take dog for walk
<eam> (which isn't entirely true, liberia and burma also don't use metric ...)
<bnagy> eh, it's not an english speaking thing
<ljarvis> yes, ruby!
<Aria> It is a bit.
<Aria> The legacy of colonialism is interesting.
<bnagy> au/uk would say "nineteenth of june"
paulcsmith has joined #ruby
<adaedra> 19 Juin, 19 Juni, ...
<Aria> Oh that is awesome ericwood
mike___1234 has joined #ruby
<adaedra> ericwood: haha
pepperbreath has joined #ruby
<apeiros> tbh, I prefer yyyymmdd in written
<apeiros> and IMO written doesn't need to match spoken
<apeiros> spoken carries tons of implicit context
<adaedra> well, I'm used to dd/mm/yyyy (jj/mm/aaaa haha)
<apeiros> and locality (temporal and spatial) is just one aspect of that implicit context
cmisenas has quit [Read error: Connection reset by peer]
MarkTurner has quit [Remote host closed the connection]
<apeiros> i.e. little endian makes sense in spoken, since "now" is easily the implicit context.
Xeago has quit [Remote host closed the connection]
doctorly has quit [Ping timeout: 265 seconds]
TheNet has joined #ruby
revath has quit [Ping timeout: 264 seconds]
<adaedra> apeiros: I think it's too keep logic. You'll write "19 Juni" so keep 19/6 to be logical.
<adaedra> But yeah, YYYY-MM-DD ftw
<apeiros> adaedra: I got that. and I say it's not a good idea. different use-cases.
<Aria> I write all my dates big endian.
<bnagy> o_0
<adaedra> But then, there's this american who writes a date and I miss my meeting because it was February 4th, not April 2nd.
<adaedra> :p
ndrei has joined #ruby
<bnagy> I think yyyymmdd is crazy but not as crazy as mmddyyyy
cmisenas has joined #ruby
snockerton1 has joined #ruby
<adaedra> bnagy: yyyy-mm-dd is the standard though.
<bnagy> like -> that way or <- that way I can live with
snockerton has quit [Ping timeout: 256 seconds]
<bnagy> pff
<adaedra> and very useful for sorting.
<bnagy> "standard"
<adaedra> yes
<ljarvis> #ruby-pointless-date-format-discussions
sevenseacat has quit [Quit: Me dun like you no more.]
Xeago has joined #ruby
<ljarvis> where is yorick when you need him
Limix has joined #ruby
<adaedra> who's yorick?
yoongkang has joined #ruby
<ljarvis> :o
<bnagy> a man of infinite jest
<ljarvis> some say he only comes out at night
<ljarvis> others say he is simply a myth
<apeiros> adaedra: I like the cat-formatted date
<adaedra> :D
hdev1 has joined #ruby
<ljarvis> we know him as sir-rant-a-lot
<apeiros> and mr. mongogoaway
<adaedra> wow, 1988
<ljarvis> mr activescale
<adaedra> I see
baweaver has joined #ruby
commondream has quit [Remote host closed the connection]
adefa has joined #ruby
* adaedra is happy than the french revolutionary calendar didn't last long
ixti has quit [Ping timeout: 255 seconds]
mercwithamouth has joined #ruby
MarkTurner has joined #ruby
rcvalle has joined #ruby
grzywacz has quit [Ping timeout: 256 seconds]
centrx has joined #ruby
<bnagy> it kept truncating the dates
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
Azure has quit [Ping timeout: 272 seconds]
fujimura has joined #ruby
Xeago has quit [Remote host closed the connection]
railsraider has quit [Quit: railsraider]
shock_one has joined #ruby
<shock_one> Hi. Isn't the super class body executed before inheritance? I expected B to have param set, but it's nil. And how would I fix it without repeating the remember_param call in B? https://gist.github.com/shockone/efc20af9a5cd599b9971
<adaedra> bnagy: :D
NeverDie has joined #ruby
kith_ is now known as kith
armyriad has quit [Ping timeout: 256 seconds]
armyriad has joined #ruby
fujimura has quit [Ping timeout: 265 seconds]
naftilos76 has quit [Remote host closed the connection]
mister_solo has joined #ruby
[H]unt3r has joined #ruby
gsd_ has joined #ruby
ixti has joined #ruby
gauke has quit [Quit: gauke]
rushed has quit [Quit: rushed]
chussenot has quit [Quit: chussenot]
balazs has joined #ruby
jpfuentes2 has joined #ruby
_ht has quit [Remote host closed the connection]
pdoherty has joined #ruby
_ht has joined #ruby
speakingcode has joined #ruby
bootstrappm has joined #ruby
Xeago has joined #ruby
doctorly has joined #ruby
gregf has quit [Quit: WeeChat 1.1.1]
Xeago has quit [Remote host closed the connection]
<shock_one> OK, the body is executed only once, and the value is stored in the instance of Class called A. That's why it wasn't present in B. Using a class variable I fixed the issue.
grzywacz has joined #ruby
gagrio has joined #ruby
balazs has quit [Ping timeout: 245 seconds]
chussenot has joined #ruby
edwinvdgraaf has quit [Ping timeout: 276 seconds]
baweaver has quit [Remote host closed the connection]
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aapole has quit [Ping timeout: 255 seconds]
skade has joined #ruby
<Penhead86> Howdy yall
Hounddog has quit [Read error: Connection reset by peer]
tacit7 has joined #ruby
<adaedra> Hi
musgravejw has joined #ruby
tacit7 has quit [Client Quit]
lele|w has joined #ruby
mberk has quit []
<jhass> shock_one: the class body is executed as the file is loaded
pandaant has joined #ruby
<shock_one> jhass: yes, I just had a moment of a disbelieve. :)
Macaveli has joined #ruby
stoogenmeyer__ has quit [Ping timeout: 264 seconds]
commondream has joined #ruby
vikaton has joined #ruby
cmisenas has quit [Ping timeout: 265 seconds]
mase-chatter has joined #ruby
livathinos has quit []
bronson has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
alex88 has quit []
nhhagen has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
dopie has quit [Quit: This computer has gone to sleep]
mdz_ has joined #ruby
chinmay_dd has joined #ruby
baweaver has joined #ruby
fedexo has joined #ruby
hdev1 has quit [Ping timeout: 245 seconds]
andikr has quit [Read error: Connection reset by peer]
skade has quit [Read error: Connection reset by peer]
bMalum_ has joined #ruby
skade has joined #ruby
mrsolo has joined #ruby
spider-mario has joined #ruby
nhhagen has quit []
bMalum has quit [Ping timeout: 264 seconds]
bMalum_ is now known as bMalum
lele|w has quit [Ping timeout: 272 seconds]
jacor has quit [Read error: Connection reset by peer]
jacor has joined #ruby
allenn has quit [Ping timeout: 245 seconds]
mike_bueti has joined #ruby
apt-get_ has quit [Remote host closed the connection]
lele|w has joined #ruby
hdev1 has joined #ruby
bricker has joined #ruby
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
Filete has joined #ruby
doctorly has quit [Ping timeout: 258 seconds]
GMka has joined #ruby
baweaver has quit [Remote host closed the connection]
tsujp has joined #ruby
GMka has quit [Max SendQ exceeded]
cmisenas has joined #ruby
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
musgravejw has quit [Quit: Leaving]
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
ogpastaling has quit [Remote host closed the connection]
paulcsmith has joined #ruby
__butch__ has joined #ruby
mistermocha has joined #ruby
Lucky__ has joined #ruby
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
skade has quit [Quit: Computer has gone to sleep.]
dopie has joined #ruby
nettoweb has joined #ruby
websoftwarez has quit [Quit: Leaving]
ogpastaling has joined #ruby
rdar has joined #ruby
doctorly has joined #ruby
mistermocha has quit [Remote host closed the connection]
pepperbreath1 has joined #ruby
atm0sphere has joined #ruby
mistermocha has joined #ruby
GnuYawk has joined #ruby
GnuYawk has quit [Changing host]
GnuYawk has joined #ruby
edwinvdgraaf has joined #ruby
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
mrsolo has quit [Quit: This computer has gone to sleep]
Penhead86 has left #ruby [#ruby]
<atm0sphere> is there any way to devlop ios app free like rubotos
rindolf has quit [Quit: http://www.shlomifish.org/ ; Yay! I'm a llama again.]
<jhass> doesn't apple charge $100 a year for the ability?
<izzol> I have an issue with my code :( I'm trying to unzip the file using 'zip' gem but I'm getting the error: `initialize': No such file or directory @ rb_sysopen - _rels/.rels (Errno::ENOENT).
<izzol> The file is docx.
<atm0sphere> ya they charge
<jhass> then the answer is no I guess
pepperbreath has quit [Ping timeout: 246 seconds]
<atm0sphere> but m talking about ruby motion
<jhass> izzol: sounds like you didn't specify the right path to your file
timonv has quit [Ping timeout: 256 seconds]
<izzol> I found the same problem (in java) here: http://stackoverflow.com/questions/26200550/rels-rels-open-failed-enoent-no-such-file-or-directory but no answers so far :(
duderonomy has quit [Ping timeout: 256 seconds]
Vile` has quit [Ping timeout: 276 seconds]
<izzol> jhass: the path looks fine to me. I think it's something else but not sure how to debug it :(
<bnagy> izzol: I never found any pure ruby way of working with docx
<bnagy> I advise shelling out
<jhass> I guess you can unzip those with standard zip utilities
<jhass> *can't
<bnagy> even if you get it unzipped you won't be able to zip it in a way that word will like
gianlucadv has quit [Ping timeout: 264 seconds]
<adaedra> <jhass> doesn't apple charge $100 a year for the ability?
<adaedra> dev tools are free
mdz_ has quit [Remote host closed the connection]
<adaedra> the cost is for being able to test on real devices and publish to the store
<jhass> izzol: maybe just skip that filename?
<adaedra> atm0sphere ^
Vile` has joined #ruby
rippa has joined #ruby
<bnagy> izzol: there's ruby-zip as well
<bnagy> sec let me dig up some old code
rodfersou has quit [Ping timeout: 272 seconds]
<izzol> It's really strange, since it's unzipping only first file, then there is an error.
bigkevmcd has joined #ruby
<bnagy> izzol: nah I can't even find the ruby way that got closest. I _think_ it was rubyzip
caseypat_ has joined #ruby
Eiam` has joined #ruby
<izzol> bnagy: ok I will try to find it.
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
railsraider has joined #ruby
anisha has quit [Quit: Leaving]
atm0sphere has quit [Ping timeout: 246 seconds]
mdw has joined #ruby
<apeiros> jhass: $100 is only to be allowed to deploy. devtools are free.
GMka has joined #ruby
jefus_ has joined #ruby
Limix has quit [Quit: Limix]
caseypatrickdris has quit [Ping timeout: 256 seconds]
jefus_ has quit [Client Quit]
edwinvdgraaf has quit [Remote host closed the connection]
apofis has quit [Quit: This computer has gone to sleep]
caseypat_ has quit [Read error: Connection reset by peer]
<izzol> bnagy: thanks, I will try to figure out how it works and why mine is not ;-)
mister_solo has quit [Ping timeout: 255 seconds]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
caseypatrickdris has joined #ruby
<bnagy> izzol: some of the zip header attributes are set "correctly" by the ruby libs but word won't accept them
deric_skibotn has joined #ruby
<bnagy> so you'd have to hack them quite deeply
<bnagy> but neither of them are that great to begin with imho so shelling out is going to be more reliable anyway
<bnagy> unless you're on windows, then you're kind of boned
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<vikaton> oh w0w
elia has quit [Quit: Computer has gone to sleep.]
<vikaton> 1068 ppl here
<bnagy> mingw I guess
<vikaton> havent seen that in a while
banister has joined #ruby
banister has quit [Max SendQ exceeded]
skade has joined #ruby
<bnagy> I hate posting years-old code. You immediately look at it and want to refactor :<
shock_one has quit [Remote host closed the connection]
atmosphere has joined #ruby
grzywacz has quit [Ping timeout: 265 seconds]
<atmosphere> hello my connection was lost and i missed my answer too once again can we devlop ios app on ruby
<apeiros> bnagy: hehe, I know that feel
mdz_ has joined #ruby
kinduff has joined #ruby
<apeiros> atmosphere: you can use rubymotion, yes
imperator has quit [Quit: This computer has gone to sleep]
<apeiros> atmosphere: they have a channel: #rubymotion
kinduff has quit [Changing host]
kinduff has joined #ruby
<atmosphere> thats chargeble
<apeiros> atmosphere: might want to state your requirements upfront
mikecmpbll has quit [Ping timeout: 250 seconds]
<izzol> bnagy: all what I want to do is to uncompress docx file :)
<atmosphere> m looking free service
<apeiros> atmosphere: afaik there's no free ruby toolchain for iOS
railsraider has quit [Quit: railsraider]
<atmosphere> that was what i was asking
<atmosphere> .
rkazak has quit [Ping timeout: 256 seconds]
<izzol> bnagy: I think I will come back to the open3. Unzip works fine in that case.
GMka has joined #ruby
gianlucadv has joined #ruby
GMka has quit [Max SendQ exceeded]
beneggett has joined #ruby
apurcell has joined #ruby
atmosphere has quit [Client Quit]
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
psy_ has quit [Quit: Leaving]
<bnagy> why do you need open3?
chussenot has quit [Quit: chussenot]
revoohc has joined #ruby
<izzol> bnagy: for the proper stderr.
imperator has joined #ruby
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
<bnagy> uh ok
c0m0 has quit [Ping timeout: 246 seconds]
kirun_ has joined #ruby
<izzol> bnagy: so I can do something like Open3.popen3('unzip file') { stderr ... }
<bnagy> yeah I know how it works
RegulationD has quit [Remote host closed the connection]
<bnagy> but if you're not pushing input to it or streaming output then you don't usually need open3, that's all
<bnagy> there are capture* methods for example
GMka has joined #ruby
chthon has quit [Ping timeout: 244 seconds]
<izzol> hmm, ok, I will check them. I never used Open3 before so it's good to check it :)
<bnagy> or, tbf, who cares about the command stderr, it worked or it didn't ;)
GMka has quit [Max SendQ exceeded]
kirun has quit [Ping timeout: 244 seconds]
<bnagy> anyway, have fun :)
<izzol> bnagy: I need to check if the zip file is protected by the password :-)
GMkaR has joined #ruby
GMkaR has quit [Max SendQ exceeded]
<izzol> so I'm sending "wrong password" and checking if there will be an error :0
skade has quit [Read error: Connection reset by peer]
<izzol> not sure if this is the best method but it works :P
banister has joined #ruby
skade has joined #ruby
Rodya_ has joined #ruby
wmoxam has quit [Quit: leaving]
nonparfumee has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has quit [Client Quit]
wmoxam has joined #ruby
TinkerTyper has quit [Quit: ZNC restarting...]
MarkTurner has quit [Ping timeout: 276 seconds]
GMkaR has joined #ruby
GMkaR has quit [Max SendQ exceeded]
Macaveli has joined #ruby
Limix has joined #ruby
bantic has quit [Quit: bantic]
Limix has quit [Client Quit]
GMkaR has joined #ruby
GMkaR has quit [Max SendQ exceeded]
pdoherty has quit [Ping timeout: 244 seconds]
chrisja has joined #ruby
Limix has joined #ruby
yeticry has quit [Ping timeout: 264 seconds]
bootstrappm has quit [Quit: bootstrappm]
TinkerTyper has joined #ruby
<bricker> What is this date format called? "2015-06-08 16:30:00 UTC" I can't get Javascript to understand it
GMkaR has joined #ruby
yeticry has joined #ruby
Rodya_ has quit [Ping timeout: 265 seconds]
GMkaR has quit [Max SendQ exceeded]
<dudedudeman> ew. javascript.
<Aria> That doesn't look like any particular standard I know of.
<dudedudeman> just kidding.
<Aria> ISO8601 and RFC 2822, and HTTP are the most common ones you see. It's not those.
<Aria> Transforming to ISO 8601 shouldn't be hard though
GMkaR has joined #ruby
GMkaR has quit [Max SendQ exceeded]
lkba has quit [Ping timeout: 265 seconds]
f00bo has joined #ruby
<f00bo> h
<bricker> Aria: it's not I'm just wondering why anything is outputting this format
<f00bo> did any of you guys see Crystal?
ghr has quit [Ping timeout: 255 seconds]
<bricker> its seems arbitrary
GMkaR has joined #ruby
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
GMkaR has quit [Max SendQ exceeded]
fedexo has quit [Ping timeout: 265 seconds]
fabrice31 has joined #ruby
GMkaR has joined #ruby
<Aria> bricker: it is!
GMkaR has quit [Max SendQ exceeded]
tsujp has quit [Quit: tsujp is snoozing]
vikaton has quit []
GMkaR has joined #ruby
<bricker> Aria: It says it's mimicking Ruby 1.9's "Time#to_s" format but I don't see it
GMkaR has quit [Max SendQ exceeded]
<Aria> Heh. Isn't to_s locale-dependent?
<jhass> f00bo: we got a channel btw, #crystal-lang ;)
pwattstbd has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<f00bo> >> Time.now.to_s
<ruboto> f00bo # => "2015-06-08 16:52:56 +0000" (https://eval.in/377673)
<bricker> Aria: what's even more annoying is that Chrome recognizes the date format, but not Safari
<bricker> (in javascript)
<f00bo> jhass:o
intinig has quit []
<izzol> jhass: what is cristal lang?
MarkTurner has joined #ruby
<Aria> Hehe. Dates in javascript are underspecified and horrible?! Say it ain't so!
NeverDie has joined #ruby
<Aria> bricker: Whatever claims to be mimicking 1.9 is just making bogus claims ;-)
GMkaR has joined #ruby
spyderman4g63 has joined #ruby
<jhass> izzol: a programming language
GMkaR has quit [Max SendQ exceeded]
fabrice31 has quit [Ping timeout: 256 seconds]
<jhass> 19>> Time.now.utc.to_s
<ruboto> jhass # => "2015-06-08 16:55:04 UTC" (https://eval.in/377674)
<jhass> is it?
mrsolo has joined #ruby
bronson has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cmisenas has quit [Ping timeout: 250 seconds]
GMkaR has joined #ruby
dfockler has joined #ruby
GMkaR has quit [Max SendQ exceeded]
TinkerTyper has quit [Quit: ZNC restarting...]
ESpiney has quit [Ping timeout: 276 seconds]
n008f4g_ has joined #ruby
<izzol> jhass: let me try ;-)
finisherr has joined #ruby
cmisenas has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
Spami has quit [Quit: This computer has gone to sleep]
GMkaR has joined #ruby
GMkaR has quit [Max SendQ exceeded]
yeticry has quit [Ping timeout: 265 seconds]
paulcsmith has joined #ruby
GMkaR has joined #ruby
yeticry has joined #ruby
GMkaR has quit [Max SendQ exceeded]
<dreinull75> before I start tinkering, I have image data as a blob in a db. I assume it's jpeg data. What's the easiest way to work with that data? Write to file and read it?
caseypatrickdris has quit [Read error: Connection reset by peer]
f00bo has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
TinkerTyper has joined #ruby
soulcake has quit [Quit: Quack.]
f00bo has joined #ruby
rindolf has joined #ruby
<rindolf> Hi all.
bronson has quit [Ping timeout: 272 seconds]
<dreinull75> it's meant for a sinatra app, i.e needs forwarding
f00bo has quit [Client Quit]
f00bo has joined #ruby
caseypatrickdris has joined #ruby
soulcake has joined #ruby
jenrzzz has joined #ruby
GMkaR has joined #ruby
GMkaR has quit [Max SendQ exceeded]
Scroff_ has quit [Ping timeout: 245 seconds]
MatthewsFace has joined #ruby
thiagovsk has joined #ruby
blackmesa has joined #ruby
f00bo has quit [Client Quit]
GMkaR has joined #ruby
GMkaR has quit [Max SendQ exceeded]
wallerdev has joined #ruby
<ddfreyne> Crystal is pretty nice. I've written some stuff in it, and I plan to use it for more things.
Eiam` is now known as Eiam-
<miah> sup
unshadow has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
Eiam has quit [Disconnected by services]
Eiam- is now known as Eiam
GMkaR has joined #ruby
GMkaR has quit [Max SendQ exceeded]
stamina has quit [Quit: WeeChat 1.2]
mdw has quit [Ping timeout: 250 seconds]
towski_ has joined #ruby
Eiam has left #ruby ["Textual IRC Client: www.textualapp.com"]
GMkaR has joined #ruby
GMkaR has quit [Max SendQ exceeded]
rodfersou has joined #ruby
gianlucadv has quit [Ping timeout: 264 seconds]
ESpiney has joined #ruby
kinduff has quit [Ping timeout: 264 seconds]
shock_one has joined #ruby
leeyaa has joined #ruby
<leeyaa> hello
meadhikari has quit [Quit: Leaving]
GMkaR has joined #ruby
GMkaR has quit [Max SendQ exceeded]
<leeyaa> trying to install barkeep, maybe someone has heard of it (not very good with ruby apps) and for some reason it fails with this error http://paste.ubuntu.com/11652559/
<leeyaa> any idea what the problem might be ?
snophey has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
GMkaR has joined #ruby
GMkaR has quit [Max SendQ exceeded]
<jhass> leeyaa: what's your output of the locale command?
jackjackdripper has joined #ruby
_seanc_ has quit [Quit: _seanc_]
Xeago has joined #ruby
kinduff has joined #ruby
<jhass> leeyaa: I'd suggest to configure your system to a UTF-8 locale
GMkaR has joined #ruby
nonparfumee has joined #ruby
<jhass> as a temporary measure you can try LC_ALL=en_US.UTF-8
GMkaR has quit [Max SendQ exceeded]
<havenwood> sudo dpkg-reconfigure locales
<jhass> (export, prepend to all commands, whatever)
<leeyaa> jhass: yeah that moved me forward a bit
<leeyaa> thanks
<havenwood> UTF-8 ALL THE THINGS \o/
<leeyaa> ruby apps not very smart it seems :D
ghr has joined #ruby
ruby-lang044 has joined #ruby
Xeago has quit [Ping timeout: 252 seconds]
<jhass> no, you not very smart for not using UTF-8 :P
mrmargolis has quit [Ping timeout: 250 seconds]
<leeyaa> jhass: thats default ubuntu config
<jhass> doubt that tbh
<jhass> never had to configure it for any of my ubuntus
<eam> posix/C locale is commonly used instead of utf8
<leeyaa> well the vm is default, im testing some code review app.
<eam> lots of reasons to avoid utf8
affenhoden has joined #ruby
<havenwood> all. the. things.
<leeyaa> none of my newest vms have locale configured to utf ;p
<leeyaa> even my ubuntu 6 vms dont have it rofl
mikecmpbll has joined #ruby
fujimura has joined #ruby
mrmargolis has joined #ruby
arup_r has joined #ruby
<leeyaa> anyway
<leeyaa> anyone used barkeep ?
<havenwood> leeyaa: cat /var/lib/locales/supported.d/local
<havenwood> cat /etc/default/locale
RegulationD has joined #ruby
cmisenas has quit [Ping timeout: 265 seconds]
jobewan_ has quit [Remote host closed the connection]
beneggett has quit [Ping timeout: 250 seconds]
<havenwood> "en_US.UTF-8" default at least on this Ubuntu box
kevkev has joined #ruby
cmisenas has joined #ruby
MarkTurner has quit [Quit: This is probably a wireless dropout]
beneggett has joined #ruby
CustosLimen has quit [Max SendQ exceeded]
fujimura has quit [Ping timeout: 255 seconds]
<kinduff> Saw this method: def yolo_require(lib); $-w = false; require lib; $-w = true; end, what does it do?
mrmargol_ has joined #ruby
bronson has joined #ruby
mrsolo_ has joined #ruby
mcpierce has quit [Ping timeout: 264 seconds]
<apeiros> it (potentially) disables warnings, requires the lib, then enables warnings
<apeiros> potentially because $-w might have been false prior to the yolo_require.
djbkd has joined #ruby
<havenwood> so presumably warnings were enabled before that method, or they are after it
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AhabsBeard has quit []
<kinduff> thank you, didn't knew what $-w meant
CustosLimen has joined #ruby
<havenwood> kinduff: $-w for -w and $-I for -I flag, etc
mrsolo has quit [Ping timeout: 250 seconds]
psy_ has joined #ruby
djbkd has quit [Remote host closed the connection]
<leeyaa> hm now this is the error http://paste.ubuntu.com/11652781/
djbkd has joined #ruby
mrmargolis has quit [Ping timeout: 252 seconds]
DoubleMalt has quit [Ping timeout: 244 seconds]
AlphaAtom has joined #ruby
mcpierce has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
msgodf has quit [Ping timeout: 265 seconds]
baweaver has joined #ruby
IanVorn_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ziprar is now known as zipace
mercwithamouth has quit [Ping timeout: 256 seconds]
__chris has quit [Quit: This computer has gone to sleep]
AlphaAtom has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
caseypatrickdris has quit [Read error: Connection reset by peer]
AhabsBeard has joined #ruby
baweaver has quit [Remote host closed the connection]
mdw has joined #ruby
caseypatrickdris has joined #ruby
mary5030_ has joined #ruby
ndrei_ has joined #ruby
jobewan has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
lsmola has quit [Ping timeout: 265 seconds]
colin_ is now known as discord
Spami has joined #ruby
Channel6 has joined #ruby
baweaver_ has joined #ruby
mister_solo has joined #ruby
mary5030 has quit [Ping timeout: 252 seconds]
Zai00 has quit [Quit: Zai00]
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/2015051400]]
yaw has joined #ruby
baweaver_ has quit [Ping timeout: 265 seconds]
fgo has joined #ruby
balazs has joined #ruby
Channel6 has quit [Quit: Leaving]
bruno- has quit [Ping timeout: 252 seconds]
<havenwood> leeyaa: barkeep_server.rb has a `require 'environment'` to load the environment.rb that sets that constant: https://github.com/ooyala/barkeep/blob/master/environment.rb#L26
mhoungbo has quit [Ping timeout: 256 seconds]
infinitone has joined #ruby
diegoviola has joined #ruby
<leeyaa> havenwood: so that should be resolveable or what ?
<havenwood> leeyaa: Did you delete or change the contents of environment.rb?
geggam has joined #ruby
mcpierce has quit [Ping timeout: 256 seconds]
<leeyaa> i did change some yeag
<leeyaa> unicorn variables
geggam has quit [Max SendQ exceeded]
ndrei has joined #ruby
<havenwood> leeyaa: Look for the line I linked ^
balazs has quit [Ping timeout: 256 seconds]
geggam has joined #ruby
baweaver has joined #ruby
fgo has quit [Ping timeout: 265 seconds]
mister_solo has quit [Ping timeout: 246 seconds]
ferr has joined #ruby
caseypatrickdris has quit [Read error: Connection reset by peer]
ndrei_ has quit [Ping timeout: 265 seconds]
caseypatrickdris has joined #ruby
slackbotgz has quit [Remote host closed the connection]
slackbotgz has joined #ruby
mcpierce has joined #ruby
hdev1 has quit [Ping timeout: 252 seconds]
mister_solo has joined #ruby
AhabsBeard has quit []
<leeyaa> havenwood: hm looks like i dont have ruby-oath2
<leeyaa> thanks for the help
__chris has joined #ruby
axl__ has quit [Ping timeout: 245 seconds]
stoogenmeyer__ has joined #ruby
<havenwood> leeyaa: you're welcome
<leeyaa> i think ill kill some developer tomorrow
<leeyaa> who the hell uses barkeep anyway
mister_solo has quit [Ping timeout: 264 seconds]
jgt1 has quit [Ping timeout: 264 seconds]
<miah> i havent; but i would.
<jhass> ffs microsoft
<jhass> rejecting mail from my server
<jhass> sorry, I should head to our new OT channel
<havenwood> ?ot
<ruboto> this seems to be off-topic. please move your discussion to #ruby-offtopic, to keep this channel free for ruby related problems. Thanks!
beneggett has quit [Read error: Connection reset by peer]
<havenwood> ;)
beneggett has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
mrmargolis has joined #ruby
<leeyaa> havenwood: still fails ;p
kevkev has quit [Quit: (null)]
d5sx43 has joined #ruby
djbkd has quit [Remote host closed the connection]
yardenbar has joined #ruby
mrmargol_ has quit [Ping timeout: 258 seconds]
fschuindt has joined #ruby
<miah> try passing --env <environment> to your unicorn command
<fschuindt> Guys, I am having trouble with a string like "\u0000I\u0000N\u0000S...". How can I convert it back to the normal? It prints "INSERT" but in the code is different from "INSERT" cause its like "\u0000I\u0000N\u0000S...". Any help?
doertedev has quit [Quit: Lost terminal]
<jhass> you got a 0-byte every other char? oO
<jhass> where do you get your input from...
kinduff has quit [Ping timeout: 255 seconds]
blackmesa has quit [Ping timeout: 256 seconds]
<fschuindt> jhass: Is that with me?
andikr has joined #ruby
djbkd has joined #ruby
GMkaE has joined #ruby
GMkaE has quit [Max SendQ exceeded]
<jhass> yes
djbkd has quit [Read error: Connection reset by peer]
nickfausnight has joined #ruby
djbkd has joined #ruby
<fschuindt> jhass: I dont understand what you mean by 0-byte every other char. But my input is by reading a .sql file. Hehe
<jhass> how exactly do you read it?
gauke has joined #ruby
<jhass> and how is that file created?
<jhass> a hexdump of it might be interesting too
<jhass> \u0000 is a 0 byte
<jhass> >> 0.chr
<ruboto> jhass # => "\x00" (https://eval.in/377711)
<fschuindt> jhass: Can you take a look to this snippet? Is all my code: https://gist.github.com/fschuindt/91673fe7ec85a6549490
<jhass> >> 0.chr == "\u0000"
<ruboto> jhass # => true (https://eval.in/377712)
<fschuindt> jhass: The file is a MSSQL dump from the MSSQL administration tool x.x
blue_deref has joined #ruby
cmisenas has quit [Ping timeout: 250 seconds]
<jhass> oh, microsoft, ruining your day since 1991
treehug88 has joined #ruby
<fschuindt> jhass: yes... x.x
<jhass> uh
<jhass> I think you apply the wrong encoding
<jhass> do you have the enca tool?
<fschuindt> jhass: what is enca?
<jhass> a tool
<jhass> like file, cp, mv
<havenwood> fschuindt: enca -- detect and convert encoding of text files
ogpastal_ has joined #ruby
<fschuindt> like brew install enca? haha
<fschuindt> I dont know
bantic has joined #ruby
<fschuindt> its installing
<havenwood> fschuindt: yup
<fschuindt> jhass: What I do with that? enca file.sql?
<jhass> yeah
<jhass> I think it wants a param for the language
khebbie has joined #ruby
mister_solo has joined #ruby
<jhass> -L english or something
khebbie has quit [Client Quit]
<fschuindt> will read about it, 1 min
gauke_ has joined #ruby
Cache_Money has joined #ruby
ogpastaling has quit [Ping timeout: 258 seconds]
yaw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gauke has quit [Ping timeout: 276 seconds]
gauke_ is now known as gauke
GriffinHeart has joined #ruby
<fschuindt> jhass: It returned: Universal character set 2 bytes; UCS-2; BMP CRLF line terminators; Byte order reversed in pairs (1,2 -> 2,1);
swgillespie has joined #ruby
postmodern has joined #ruby
<jhass> uh
<jhass> apeiros: ^ help :D
<jhass> what might the ruby encoding name for that be...
* apeiros blinks
caseypatrickdris has quit [Read error: Connection reset by peer]
<apeiros> Encoding.list. have fun :-p
<jhass> fancy name for UTF-16 apparently
twistedpixels has quit [Max SendQ exceeded]
<apeiros> afaik not
<apeiros> at least iirc ucs != utf
platzhirsch has quit [Quit: Leaving.]
<apeiros> both are in the unicode family, though. but not sure
<eam> I think it's similar with a few differences
<dfockler> is there an IETF RFC for a unicode api?
twistedpixels has joined #ruby
<fschuindt> oh hell, I am really confused hahaha
caseypat_ has joined #ruby
baweaver has quit [Remote host closed the connection]
joaomdmoura has joined #ruby
<havenwood> fschuindt: you have a primordial ancestor of utf-16 before it started emerging from the ooze
EllisTAA has joined #ruby
GriffinHeart has quit [Ping timeout: 250 seconds]
<fschuindt> havenwood: that don't sounds good :x
<apeiros> "UTF-16, an extension of UCS-2" from that wp article
joaomdmoura has quit [Read error: Connection reset by peer]
joaomdmoura_ has joined #ruby
joaomdmoura_ has quit [Client Quit]
sleungcy has joined #ruby
<fschuindt> how can I convert it? Like line.encode!('UTF-8', 'UTF-16')
<apeiros> so I'd say ucs2 is a subset of utf16, which would mean you can just treat it as utf16
<apeiros> don't forget to use the right endian
ldnunes has quit [Ping timeout: 265 seconds]
symm- has joined #ruby
joaomdmoura has joined #ruby
<jhass> fschuindt: uhm, is running iconv or enconv to convert it externaly an option for you? I don't see something in the ruby supported encodings
d5sx43 has quit [Quit: Leaving...]
bin_005 has joined #ruby
ndrei has quit [Ping timeout: 258 seconds]
<fschuindt> jhass: I don't know, let me check the encoding options for the dump exportation
<apeiros> jhass: as said, can just use utf-16
kinduff has joined #ruby
<jhass> that'd be good option too
<jhass> apeiros: oh? mh
<apeiros> all ucs-2 is valid utf-16 from what I can find
<apeiros> just don't forget BE/LE
<jhass> I'd still export it to UTF-8 instead if that's an option
<apeiros> sure
<apeiros> anything utf is better
<apeiros> ucs is obsolete
elev has joined #ruby
<fschuindt> apeiros: Can you show me a ruby command doing this convertion in a foo string?
<apeiros> foo.encode(from, to)
<fschuindt> nice
<jhass> fschuindt: or better yet stick it into your Foo.new/open call
<fschuindt> Will check the exportations options too
<apeiros> if you've read the data properly, just foo.encode(to), because the from encoding is already set on the string.
elev is now known as master44
hdev1 has joined #ruby
<apeiros> (you can read it using foo.encoding)
baroquebobcat has quit [Quit: baroquebobcat]
<jhass> encoding: "UTF-16LE"
ndrei has joined #ruby
<jhass> or whatever "reversed in pairs" means
edwinvdgraaf has joined #ruby
clone123 has joined #ruby
<apeiros> remember that foo.encoding only tells you what you told ruby the encoding of the string is supposed to be
<apeiros> it does NOT (and can't) figure out which encoding a random chunk of bytes has
khebbie has joined #ruby
baroquebobcat has joined #ruby
<jhass> apeiros: how's that article going that you could've linked instead btw? :P
<apeiros> (and "you told" can be indirect via Encoding.default_external, encoding comment etc.)
clone123 has left #ruby [#ruby]
<apeiros> jhass: waiting for more articles to join. but I don't see when I get around writing them :-|
<apeiros> maybe I'll push it up lonely as it is.
<jhass> yeah, see no reason not to
<apeiros> back to watching wwdc now :-p
chussenot has joined #ruby
<jhass> hf
_seanc_ has joined #ruby
lkba has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
CloCkWeRX has quit [Ping timeout: 276 seconds]
<jhass> fschuindt: so, if you can export as UTF-8, do that by all means, else stick encoding: "UTF-16LE" (or BE, I still don't know) into your File.new call and get rid of all that .ecnode! mess
<master44> What is a superclass and when can I use it?
<jhass> master44: if you have class A < B, B is the superclass of A
<fschuindt> jhass: Cool. The exportations options only talks about ANSI e Unicode.
<master44> ok
<master44> ty jhass
<jhass> fschuindt: ANSI?!
<jhass> ANSI is an encoding since... ?
tubuliferous_ has quit [Quit: ZNC - http://znc.in]
<fschuindt> jhass: Save as ANSI text or Save as Unicode text.
<fschuindt> haha
<fschuindt> Microsoft...
Scroff has joined #ruby
mercwithamouth has joined #ruby
<jhass> I mean... wth
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> "yeah, we know it's wrong, but we told everybody it's a thing so we stick to it"
anaeem1_ has joined #ruby
<fschuindt> jhass: LOL, and I will stick with the Unicode shit.
dumdedum has quit [Ping timeout: 256 seconds]
geggam has quit [Remote host closed the connection]
anaeem1_ has quit [Remote host closed the connection]
<master44> ;P
gauke has quit [Quit: gauke]
<jhass> notice the subtle "at least on Western/U.S. systems" on that SO answer
<jhass> ANSI = whatever your system encoding might be
x1337807x has joined #ruby
<fschuindt> jhass: Do you believe thats all Microsoft fault? I work to a company thar works to a state bank (named Banese). They are all microsoft, servers, computers, notebooks, every shit is microsoft. And guess what, I am Rails developer, lol.
d5sx43 has joined #ruby
Miphix has quit [Quit: Leaving]
<jhass> you have my condolences
<fschuindt> ty
Limix has quit [Quit: Limix]
khebbie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> and yes it's microsoft's fault because they can't admit their mistakes and keep "backwards compatibility" for the most silly things
<jhass> see I'm not saying nobody else made mistakes, but most of them at least get their shit together afterwards
Rodya_ has joined #ruby
allomov has joined #ruby
Rixius has quit [Ping timeout: 250 seconds]
mercwithamouth has quit [Ping timeout: 265 seconds]
<fschuindt> jhass: yes, sure
djbkd has quit [Remote host closed the connection]
joaomdmoura has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> anyway, gotta head to the grocery, as said try specifying UTF-16LE or UTF-16BE on the File.new/open call and get rid of the encode! calls
pwattstbd has joined #ruby
caseypatrickdris has joined #ruby
<fschuindt> ok
d5sx43 has quit [Client Quit]
caseypat_ has quit [Ping timeout: 246 seconds]
<fschuindt> jhass: Like: File.open(@file_name_prefix+@spliter_count.to_s+'.sql', "w+::UTF-16LE") ?
mercwithamouth has joined #ruby
<jhass> yeah that's one form iirc
joaomdmoura has joined #ruby
<fschuindt> ok
TheHodge has quit [Quit: Connection closed for inactivity]
Rodya_ has quit [Ping timeout: 272 seconds]
SiliconDon has joined #ruby
Filete has quit [Quit: Textual IRC Client: www.textualapp.com]
edwinvdgraaf has quit [Remote host closed the connection]
Filete has joined #ruby
djbkd has joined #ruby
caseypatrickdris has quit [Ping timeout: 265 seconds]
cmisenas has joined #ruby
<fschuindt> jhass: I got: ASCII incompatible encoding needs binmode (ArgumentError)
<fschuindt> think I will export to ASCI in the MS tool, do you think that gonna work?
yardenbar has quit [Quit: Leaving]
ebbflowgo has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aaeron has joined #ruby
snockerton1 has quit [Quit: Leaving.]
ghanima has joined #ruby
<ghanima> hello all
CustosLimen has quit [Ping timeout: 258 seconds]
<ghanima> the format of the file is as follows
mase-chatter has quit [Quit: Leaving]
<ghanima> I have file that someone provided me that was originally suppose to be csv but was incomplete
dalafa has quit [Ping timeout: 258 seconds]
<ghanima> "name=\"Zygmunt, Kenneth H, DPM\", address=\"552 S Washington St Ste 116 Naperville, IL 60540\", phone=\"(630)983-5694\", Other Languages Spoken=\" None\", NPI=\" 1154325074\", Board Certified=[\"Podiatry\"], Education=\" Illinois College Of Podiatric Medicine\", Residency=\" University of Illinois\", Graduation Date=\" 05/31/1981\", Provider Specialty=\" Podiatry\", Hospital Affiliations=\" Edward Hospital\", State=\
arup_r has joined #ruby
<ghanima> basically what I want to do is create a hash for every string connected via = sign
marr has quit [Ping timeout: 246 seconds]
<master44> y
djbkd has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
aotg has quit [Ping timeout: 272 seconds]
tekacs has quit [Ping timeout: 272 seconds]
allomov has quit [Remote host closed the connection]
<ghanima> I am not sure how to do that
<EllisTAA> hey do u guys see where i’m missing an end? https://gist.github.com/ellismarte/25b406d8d8c70abe73f9
SiliconDon has quit [Quit: SiliconDon]
belak has left #ruby ["WeeChat 1.2"]
d5sx43 has joined #ruby
<ghanima> I am looking at string methods to convert entries into an array, but I don't know of a clear way to convert into a hash
aotg has joined #ruby
edwinvdgraaf has joined #ruby
surrounder has quit [Quit: WeeChat 1.2]
tekacs has joined #ruby
zotherstupidguy has quit [Ping timeout: 256 seconds]
surrounder has joined #ruby
zotherstupidguy has joined #ruby
symm- has quit [Ping timeout: 246 seconds]
snockerton has joined #ruby
leeyaa has left #ruby [#ruby]
doctorly has quit [Ping timeout: 264 seconds]
anaeem1_ has joined #ruby
yalue has quit [Quit: return 0;]
dopie has quit [Quit: This computer has gone to sleep]
EllisTAA has quit [Quit: EllisTAA]
A124 has joined #ruby
yaogwai has quit [Ping timeout: 256 seconds]
tsujp has joined #ruby
dopie has joined #ruby
EllisTAA has joined #ruby
apurcell has quit [Read error: Connection reset by peer]
anaeem1_ has quit [Remote host closed the connection]
queequeg1 has joined #ruby
banister has joined #ruby
Ox0dea has joined #ruby
tsujp has quit [Client Quit]
<Ox0dea> >> require 'csv'; Hash[CSV.parse_line('a=1,b=2').map { |s| s.split '=' }]
<ruboto> Ox0dea # => {"a"=>"1", "b"=>"2"} (https://eval.in/377808)
<Ox0dea> ghanima: ^
scripore has joined #ruby
revath has joined #ruby
<Ox0dea> String#split does what it says on the tin, and Hash[...] constructs a Hash from array pairs.
queequeg1 has quit [Client Quit]
d5sx43 has quit [Quit: Leaving...]
<Ox0dea> EllisTAA: The "class" keyword, like all keywords in Ruby, is lower-cased.
<EllisTAA> yeah thanks i got it
queequeg1 has joined #ruby
decoponio has quit [Quit: Leaving...]
<EllisTAA> i appreciate that
<Ox0dea> You still don't seem to have fully grokked instance variables. :/
finisherr has quit [Quit: finisherr]
plashchynski has joined #ruby
ereslibre has quit [Ping timeout: 264 seconds]
baweaver has joined #ruby
joaomdmoura has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 1.0.1]
Asemace has joined #ruby
platzhirsch has joined #ruby
platzhirsch has quit [Client Quit]
joaomdmoura has joined #ruby
<Asemace> Test
<Asemace> ok
niemcu has joined #ruby
<Asemace> hi there
duderonomy has joined #ruby
<havenwood> hi
ernham has joined #ruby
starfox_sf has joined #ruby
Ox0dea has quit [Read error: Connection reset by peer]
ebbflowgo has quit [Quit: ebbflowgo]
baweaver has quit [Remote host closed the connection]
ebbflowgo has joined #ruby
<Asemace> haven, what kında stuff is allowed to Talk about here?mean, whats forbidden?
thelastinuit has quit [Quit: Textual IRC Client: www.textualapp.com]
<Aria> Point 10 particularly.
<havenwood> Asemace: ^ the link is also in the channel topic if you want to find it again.
balazs has joined #ruby
allomov has joined #ruby
chussenot has quit [Quit: chussenot]
sankaber has quit [Ping timeout: 272 seconds]
<Asemace> ok, got it, thanks
byprdct has joined #ruby
_seanc_ has quit [Quit: _seanc_]
<master44> when can I use the ===
fschuindt has quit [Ping timeout: 255 seconds]
byprdct has quit [Max SendQ exceeded]
<Asemace> got banned on efnet from several channels, althow i wasnt insulting Single persons, think gotta kinda mentallity difference, therefore im asking
ogpastal_ has quit [Remote host closed the connection]
<master44> ok
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/2015051400]]
byprdct has joined #ruby
<EllisTAA> getting a comparison of Fixnum with nil failed (ArgumentError) on line 15 https://gist.github.com/ellismarte/25b406d8d8c70abe73f9#file-quick_sort-rb-L15
finisherr has joined #ruby
shock_one has quit [Remote host closed the connection]
rindolf has quit [Quit: Leaving]
ogpastaling has joined #ruby
<havenwood> master44: When you use case statements.
byprdct has quit [Max SendQ exceeded]
mc_fail has joined #ruby
timonv has joined #ruby
<havenwood> master44: It's implicitly what's underneath.
byprdct has joined #ruby
<master44> ok
pwattstbd has quit [Quit: Textual IRC Client: www.textualapp.com]
<master44> Thats wried ellistaa
bin_005 has quit [Ping timeout: 246 seconds]
chussenot has joined #ruby
Kricir has joined #ruby
jgt1 has joined #ruby
byprdct has quit [Max SendQ exceeded]
<EllisTAA> master44: the error is weird?
mrsolo_ has quit [Quit: This computer has gone to sleep]
bin_005 has joined #ruby
<master44> lol yes xD
byprdct has joined #ruby
<EllisTAA> lol
<EllisTAA> yeah wtf
<master44> I dont find it sorry
ag4ve_ has joined #ruby
byprdct has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
<Asemace> ok, thanks, seeya later, bye
fujimura has joined #ruby
Asemace has left #ruby [#ruby]
byprdct has joined #ruby
ereslibre has joined #ruby
balazs has quit [Remote host closed the connection]
<jhass> EllisTAA: modifying the collection you iterate over is asking for such trouble
anaeem1_ has joined #ruby
sarink has joined #ruby
<EllisTAA> jhass: but i have to sort it so how do i sort it if i can’t modify it?
byprdct has quit [Max SendQ exceeded]
AhabsBeard has joined #ruby
allomov has quit [Remote host closed the connection]
<jhass> don't use internal iterators or operate on a copy
<jhass> the former means use array.size.times do |i|
<jhass> and the like
<EllisTAA> in my case what is my internal iterator?
<jhass> each_with_index
apofis has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
jgt1 has quit [Ping timeout: 256 seconds]
<jhass> everything that yields you actual items of the array is one
<EllisTAA> ok could u explain that a bit differently?
<jhass> I'm not sure
barkerd427 is now known as zz_barkerd427
<EllisTAA> for sure ill reread that and try stuff out
ag4ve_ has quit [Ping timeout: 248 seconds]
fujimura has quit [Ping timeout: 244 seconds]
<jhass> is there a word/term/phrase you don't understand maybe? like "yields"?
kinduff_ has joined #ruby
<EllisTAA> i didn’t understand “don’t use internal iterators or operate on a copy”
<EllisTAA> that means don’t use each with index?
<jhass> yes, since each_with_index is an internal iterator, since it yields you actual values of the array
serivich has quit [Quit: Leaving]
orionstein_ has joined #ruby
<jhass> let's think of a naive implementation of each_with_index
<jhass> def each_with_index; i = 0; loop do; yield self[i], i; i += 1; break if i == size; end; end;
grzywacz has joined #ruby
Rixius has joined #ruby
<jhass> wait, not naive enough :P
<EllisTAA> why is it called an INTERNAL iterator
<havenwood> EllisTAA: Here's a hint: [2, 4, nil]
kinduff has quit [Ping timeout: 276 seconds]
TDJACR has quit [Ping timeout: 276 seconds]
orionstein has quit [Ping timeout: 276 seconds]
avelldiroll has quit [Ping timeout: 276 seconds]
<EllisTAA> what is an EXTERNAL iterator
<jhass> because the iterator drives your code, opposed to an external iterator where you drive the iterator
niemcu has quit [Ping timeout: 255 seconds]
<EllisTAA> oh … i see ill google that to learnmore
<jhass> >> iterator = [1, 2, 3].each; iterator.next
<ruboto> jhass # => 1 (https://eval.in/377810)
<jhass> anyway
<jhass> def each_with_index; size.times do |i| yield self[i], i; end; end;
<jhass> consider this
<EllisTAA> so u were saying don’t use each with index because it is iterating internally so why would it ened to be external
<jhass> what happens if you delete an item while that's running?
Zai00 has joined #ruby
wallerdev has quit [Quit: wallerdev]
<jhass> well, Rubys external iterator interface (Enumerator) has the same problem, so I'm rather saying use external iteration
ereslibre_laptop has joined #ruby
ereslibre_laptop has joined #ruby
skade has joined #ruby
ereslibre has quit [Ping timeout: 245 seconds]
<jhass> like our naive each_with_index implementation above, except that you can react to changes you make and modify the i accordingly
EllisTAA has quit [Quit: EllisTAA]
<jhass> looks like I made their brain explode :P
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TDJACR_ has joined #ruby
symm- has joined #ruby
EllisTAA has joined #ruby
datanois1 has joined #ruby
<EllisTAA> jhass: what happens when you delete while iterating” - good point
anaeem1_ has quit [Remote host closed the connection]
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> and that's why you need external iteration, you need complete control over it
datanoise has quit [Ping timeout: 244 seconds]
Iskarlar has joined #ruby
<EllisTAA> ok cool i’m going to go back and rethink this
ndrei has quit [Ping timeout: 252 seconds]
administ1ador has joined #ruby
ogpastal_ has joined #ruby
omegahm has quit [Ping timeout: 265 seconds]
administ1ador has left #ruby [#ruby]
Iskarlar has quit [Client Quit]
<jhass> uh, new rubygems
mercwithamouth has quit [Ping timeout: 256 seconds]
<jhass> yay, with an CVE
frem has joined #ruby
<miah> got link?
mrsolo has joined #ruby
k3asd` has quit [Remote host closed the connection]
<jhass> no idea why the release only appeared now in my feedreader?
master44 has quit [Ping timeout: 276 seconds]
ndrei has joined #ruby
<jhass> it's from today, mh
Cache_Money has left #ruby [#ruby]
duderonomy has joined #ruby
<miah> thanks
ogpastaling has quit [Read error: Connection reset by peer]
chrishough has joined #ruby
ereslibre_laptop has quit [Ping timeout: 255 seconds]
duderonomy has quit [Max SendQ exceeded]
kinduff_ has quit [Ping timeout: 255 seconds]
kinduff has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
yqt has joined #ruby
shock_one has joined #ruby
Macaveli has joined #ruby
anaeem1 has joined #ruby
Iskarlar has joined #ruby
neanderslob has joined #ruby
paulcsmith has joined #ruby
anaeem1 has quit [Remote host closed the connection]
doctorly has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
k3asd` has joined #ruby
anaeem1_ has joined #ruby
arnie56 has joined #ruby
<arnie56> hey people, maybe some one can help me with something really simple
<arnie56> i have an array with 2 strings, and i want to swap between them evenly, unlike sample method who does this randomly
<arnie56> how can i do this?
railsraider has joined #ruby
plashchynski has quit [Quit: plashchynski]
niemcu has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
ogpastal_ has quit [Remote host closed the connection]
<mozzarella> cycle?
dopie has quit [Quit: This computer has gone to sleep]
<arnie56> cycle method?\
<mozzarella> yes
yalue has joined #ruby
<jhass> cycle iterates through all elements endlessly
Zai00 has quit [Quit: Zai00]
sandstrom has quit [Quit: My computer has gone to sleep.]
<jhass> >> [1, 2].cycle.take(10)
<ruboto> jhass # => [1, 2, 1, 2, 1, 2, 1, 2, 1, 2] (https://eval.in/377813)
kinduff has quit [Ping timeout: 264 seconds]
mike_bueti has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> >> [1, 2].cycle(5).to_a
snockerton has quit [Quit: Leaving.]
<ruboto> havenwood # => [1, 2, 1, 2, 1, 2, 1, 2, 1, 2] (https://eval.in/377814)
<arnie56> [1, 2].cycle(1) gives me 1 each time , i want first given 1 then 2 then 1 then 2 back
anaeem1_ has quit [Remote host closed the connection]
<jhass> arnie56: see above?
<jhass> havenwood: how can you remember all these..
<havenwood> jhass: how can you..
anaeem1 has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
<havenwood> jhass: the docs help ;)
anaeem1 has joined #ruby
<arnie56> thanks, i am even looking at a switch statement which gives out 1 string
<arnie56> and then another
<havenwood> arnie56: Show us what you have so far?
<arnie56> and switches between them
<havenwood> ?gist arnie56
<ruboto> arnie56, https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<arnie56> i have nothing really :D i just wanted to know this before i begin
fschuindt has joined #ruby
chinmay_dd has quit []
<jhass> I sense xy
<jhass> ?xy
<ruboto> it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
Musashi007 has joined #ruby
snockerton has joined #ruby
deric_skibotn has quit [Ping timeout: 256 seconds]
fschuindt has quit [Client Quit]
<havenwood> arnie56: Just to confirm you get what we've already said, in irb you might try: one_two = [1, 2].cycle # then check `one_two.size` and a few `one_two.next`s.
anaeem1 has quit [Remote host closed the connection]
moretti has joined #ruby
queequeg1 has quit [Quit: leaving]
<arnie56> thank you
anaeem1 has joined #ruby
railsraider has quit [Quit: railsraider]
plashchynski has joined #ruby
queequeg1 has joined #ruby
djbkd has quit [Remote host closed the connection]
zz_barkerd427 is now known as barkerd427
<havenwood> arnie56: From Pry: ls one_two
joaomdmoura has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> arnie56: Check out the Enumerator methods: http://ruby-doc.org/core/Enumerator.html
<Sou|cutter> Why is `pp` private?
<jhass> >> Kernel.pp
<ruboto> jhass # => undefined method `pp' for Kernel:Module (NoMethodError) ...check link for more (https://eval.in/377819)
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> :o
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> >> require "pp"; Kernel.pp
<havenwood> arnie56: And the even more handy Enumerable methods, which are also available to Enumerator: http://ruby-doc.org/core-2.2.2/Enumerable.html
<ruboto> jhass # => nil (https://eval.in/377820)
<jhass> Sou|cutter: because we have ^ version
MasterPiece has quit [Quit: Leaving]
<jhass> Sou|cutter: check the docs for module_function
beneggett has quit [Quit: ...zzz ¯\_(ツ)_/¯ zzz...]
nettoweb has quit [Quit: Textual IRC Client: www.textualapp.com]
anaeem1 has quit [Ping timeout: 264 seconds]
Zai00 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
kinduff has joined #ruby
nettoweb has joined #ruby
<Sou|cutter> jhass: Ah, it's a module function. Got it
ereslibre has joined #ruby
uri_ has joined #ruby
n008f4g_ has quit [Ping timeout: 265 seconds]
<havenwood> >> 1.upto 5, &Kernel.method(:puts)
<ruboto> havenwood # => 1 ...check link for more (https://eval.in/377821)
<havenwood> Ahem, I mean: 1.upto 5, &Kernel.public_method(:puts)
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
icarus has joined #ruby
<Sou|cutter> jhass: thanks!
railsraider has joined #ruby
freerobby has quit [Quit: Leaving.]
mister_solo has quit [Ping timeout: 245 seconds]
EllisTAA has quit [Quit: EllisTAA]
Kricir has quit []
freerobby has joined #ruby
<firevolt> I have a file that when I do File.readlines('file.ext') spits out an array of strings that look like this: "|\t\u0003 0.Gan`*.+^IJET\\O@GC<'PAMF.?\n" any idea what I can do to make this readable?
dopie has joined #ruby
ereslibre has quit [Ping timeout: 252 seconds]
timonv has quit [Ping timeout: 256 seconds]
kinduff has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
Iskarlar has joined #ruby
shock_one has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
arnie56 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Iskarlar has quit [Client Quit]
mercwithamouth has joined #ruby
<miah> write a parser
jcromartie has left #ruby ["Textual IRC Client: www.textualapp.com"]
<havenwood> firevolt: What is it? Where'd you get it? Some MS-DOS Norton Commander file?
Gnar has joined #ruby
<Gnar> ruby sucks
<firevolt> havenwood: It's a claim file from a company that won't give me the specs on it. It's a .hcfa0212 (name of the claim type) file
<havenwood> Gnar: Read the rules: http://ruby-community.com/pages/user_rules
<firevolt> If I open it in sublime I get lines that look like this: "7c09 0320 302e 4761 6e60 2a2e 2b5e 494a"
<Gnar> you read the rules fag
<havenwood> !mute Gnar
<Gnar> owned
dopie has quit [Quit: This computer has gone to sleep]
xenog has quit [Quit: Leaving.]
<havenwood> !ban Gnar !T 1d
Gnar was kicked from #ruby by ChanServ [User is banned from this channel]
Palmer11 has joined #ruby
mrmargolis has quit [Remote host closed the connection]
mrmargolis has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
Maxed has joined #ruby
aapole has joined #ruby
sinkensabe has quit [Remote host closed the connection]
jgt1 has joined #ruby
sandstrom has joined #ruby
tvw has quit [Remote host closed the connection]
shock_one has joined #ruby
_seanc_ has joined #ruby
bosnia has quit [Ping timeout: 255 seconds]
gamename has quit [Remote host closed the connection]
bantic has quit [Quit: bantic]
deric_skibotn has joined #ruby
gamename has joined #ruby
doctorly has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
<theRoUS> basic tcp question: i'm trying to interact with a service (mklivestatus) via a TCPSocket. i write my query with @sock.puts('string'), and i'm able to read the response -- but thereafter it behaves as though it's at eof. i can write more, but never read any more.
Limix has joined #ruby
revath has quit [Ping timeout: 265 seconds]
jcromart_ has joined #ruby
dionysus69 has joined #ruby
djbkd has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
djbkd has quit [Remote host closed the connection]
ebbflowgo has quit [Quit: ebbflowgo]
Limix has quit [Client Quit]
jcromar__ has joined #ruby
doctorly has joined #ruby
bantic has joined #ruby
EllisTAA has joined #ruby
rdar has quit [Ping timeout: 252 seconds]
gamename has quit [Ping timeout: 256 seconds]
sarink has quit [Remote host closed the connection]
sarkyniin has joined #ruby
blue_deref has quit [Ping timeout: 265 seconds]
yaw has joined #ruby
<jhass> theRoUS: but you don't have that behavior with e.g. netcat?
<theRoUS> jhass: nope.
jcromart_ has quit [Ping timeout: 256 seconds]
yaw has quit [Max SendQ exceeded]
<jhass> mmh, hard to debug without access to it tbh
<eam> theRoUS: apps can shutdown() half of a tcp connection without closing it
imperator has left #ruby ["Leaving"]
<eam> it's possible the remote end is doing so
dfockler has quit [Remote host closed the connection]
ereslibre has joined #ruby
EllisTAA has quit [Client Quit]
<theRoUS> if i talk to the port with netcat, i can send a query, and get a response. then send another query, and get another response.
bosma has joined #ruby
<theRoUS> in my ruby code, however, it appears that after the first response it's at 'eof' and won't read any more
<jhass> mmh, perhaps the server is sending something that makes ruby think so?
gsd_ is now known as gsd
mc_fail has quit [Ping timeout: 244 seconds]
gsd has quit [Changing host]
gsd has joined #ruby
<jhass> if you wireshark/tcpdump, is the server sending the response for the second query?
<theRoUS> jhass: i'll check that
griffindy has joined #ruby
Soda has quit [Remote host closed the connection]
tubuliferous_ has joined #ruby
moeSeth has joined #ruby
jacor has quit [Read error: Connection reset by peer]
jacor has joined #ruby
sinkensabe has joined #ruby
beneggett has joined #ruby
railsraider has quit [Quit: railsraider]
sinkensabe has quit [Remote host closed the connection]
<theRoUS> does netcat re-open the connexion if it gets an EOF ?
<jhass> I have no idea
ur5us has joined #ruby
<jhass> but I wouldn't expect so
<theRoUS> jhass: my second query is getting sent, but i'm not getting a response
<jhass> interesting
dnlbyl has joined #ruby
<jhass> any chance you can share the pcap of the first one + response + second query?
caseypatrickdris has joined #ruby
Kloerk has joined #ruby
Zai00 has quit [Quit: Zai00]
Rodya_ has joined #ruby
_ht has quit [Quit: Konversation terminated!]
anaeem1 has joined #ruby
Fooster has quit [Ping timeout: 256 seconds]
TheHodge has joined #ruby
ag4ve_ has joined #ruby
sleungcy has quit [Quit: Connection closed for inactivity]
wallerdev has joined #ruby
daynets has quit [Quit: Leaving.]
ogpastaling has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
grzywacz has quit [Quit: :wq]
cmisenas has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
Rodya_ has quit [Ping timeout: 245 seconds]
Zai00 has joined #ruby
nofxx__ has joined #ruby
victorkohl has joined #ruby
baweaver has quit [Remote host closed the connection]
victorkohl has quit [Max SendQ exceeded]
victorkohl has joined #ruby
<gambl0re> is dropbox down?
Fooster has joined #ruby
baweaver has joined #ruby
victorkohl has quit [Max SendQ exceeded]
IanVorn has joined #ruby
joaomdmoura has joined #ruby
fabrice31 has joined #ruby
baweaver_ has joined #ruby
mrmargol_ has joined #ruby
casadei has quit [Remote host closed the connection]
al2o3-cr has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
baweaver_ has quit [Read error: Connection reset by peer]
al2o3-cr has joined #ruby
baweaver_ has joined #ruby
mrmargolis has quit [Ping timeout: 265 seconds]
baweaver has quit [Ping timeout: 252 seconds]
lavros has quit [Quit: leaving]
fabrice31 has quit [Ping timeout: 245 seconds]
wallerdev has quit [Ping timeout: 246 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
hinbody has quit [Quit: leaving]
mello has joined #ruby
victorkohl has joined #ruby
Maxed has quit []
daynets has joined #ruby
mello is now known as mellohey
cmisenas has joined #ruby
bgmarx has joined #ruby
dfockler has joined #ruby
daynets1 has joined #ruby
cmisenas has quit [Client Quit]
dgutierrez1287 has quit [Remote host closed the connection]
mellohey is now known as mello
jackjackdripper1 has joined #ruby
daynets has quit [Ping timeout: 246 seconds]
gamename has joined #ruby
jummy has joined #ruby
jummy has quit [Client Quit]
rbowlby has joined #ruby
djbkd has joined #ruby
jackjackdripper has quit [Ping timeout: 265 seconds]
beneggett has quit [Quit: ...zzz ¯\_(ツ)_/¯ zzz...]
baroquebobcat has joined #ruby
stoogenmeyer__ has quit [Ping timeout: 258 seconds]
baroquebobcat has quit [Client Quit]
baweaver_ is now known as baweaver
rdark has quit [Quit: leaving]
ndrei_ has joined #ruby
Xeago has joined #ruby
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
Kloerk has quit [Ping timeout: 265 seconds]
Iskarlar has joined #ruby
ndrei has quit [Ping timeout: 256 seconds]
fold has quit [Ping timeout: 256 seconds]
EllisTAA has joined #ruby
dseitz has joined #ruby
devdazed has joined #ruby
devdazed has quit [Client Quit]
dgutierrez1287 has joined #ruby
Scroff has quit [Remote host closed the connection]
anaeem1 has quit [Ping timeout: 244 seconds]
bayed has quit [Quit: Connection closed for inactivity]
platzhirsch has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
platzhirsch has left #ruby [#ruby]
d5sx43 has joined #ruby
workmad3 has joined #ruby
fujimura has joined #ruby
millerti has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
pietr0 has joined #ruby
zipace has quit [Quit: Leaving]
__chris has quit [Quit: This computer has gone to sleep]
Langlands has joined #ruby
zotherstupidguy has quit [Ping timeout: 276 seconds]
andikr has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
bmurt has quit []
mello has quit [Ping timeout: 264 seconds]
fujimura has quit [Ping timeout: 245 seconds]
EllisTAA has quit [Quit: EllisTAA]
joaomdmoura has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
daynets1 has quit [Quit: Leaving.]
mdz_ has quit [Remote host closed the connection]
lkba_ has joined #ruby
yfeldblu_ has joined #ruby
shellfu has quit [Ping timeout: 246 seconds]
codelurker has joined #ruby
dgutierrez1287 has quit [Remote host closed the connection]
bin_005 has quit [Ping timeout: 255 seconds]
lkba has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
casadei has joined #ruby
chussenot has quit [Quit: chussenot]
jenrzzz has quit [Ping timeout: 244 seconds]
noethics has quit [Ping timeout: 255 seconds]
sandstrom has joined #ruby
diegoviola has quit [Quit: WeeChat 1.2]
GMkaE has joined #ruby
GMkaE has quit [Max SendQ exceeded]
nonparfumee has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bin_005 has joined #ruby
avelldiroll has joined #ruby
axisys has quit [Ping timeout: 276 seconds]
A124 has quit [Quit: Luke's IRC Client v0.94 build 682]
bgmarx has quit [Remote host closed the connection]
symbol has quit [Ping timeout: 265 seconds]
GMkaBB has joined #ruby
GMkaBB has quit [Max SendQ exceeded]
revoohc has quit [Quit: revoohc]
GMkaBB has joined #ruby
Hamburgl has quit [Quit: Textual IRC Client: www.textualapp.com]
GMkaBB has quit [Max SendQ exceeded]
GMkaBB has joined #ruby
GMkaBB has quit [Max SendQ exceeded]
yoongkang has quit [Remote host closed the connection]
yoongkang has joined #ruby
blackmesa has joined #ruby
icarus has quit [Quit: leaving]
x1337807x has joined #ruby
bgmarx has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
I has joined #ruby
I is now known as Guest87453
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fmcgeough has quit [Quit: fmcgeough]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
edwinvdgraaf has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
FernandoBasso has joined #ruby
deric_skibotn has quit [Ping timeout: 272 seconds]
swgillespie has joined #ruby
marr has joined #ruby
ernham has quit [Remote host closed the connection]
uri_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandstrom has quit [Quit: My computer has gone to sleep.]
sinkensabe has joined #ruby
Guest87453 has quit [Quit: Leaving]
dseitz has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sandstrom has joined #ruby
msnyon has quit [Read error: Connection reset by peer]
sinkensabe has quit [Remote host closed the connection]
chrisja has quit [Quit: leaving]
dseitz has joined #ruby
Langlands has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Agoldfish has quit [Ping timeout: 244 seconds]
ESpiney has quit [Read error: Connection reset by peer]
bosma has quit [Read error: Connection reset by peer]
pudidis has joined #ruby
bosma has joined #ruby
snophey has quit [Remote host closed the connection]
ereslibre has quit [Quit: No Ping reply in 180 seconds.]
ereslibre has joined #ruby
ereslibre has quit [Changing host]
ereslibre has joined #ruby
ferr has quit [Quit: WeeChat 1.2]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
a346 has joined #ruby
d5sx43 has quit [Quit: Leaving...]
bin_005 has quit [Ping timeout: 256 seconds]
bin_005 has joined #ruby
bruno- has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chronicrusader has joined #ruby
solars has quit [Ping timeout: 265 seconds]
phutchins has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vdamewood has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
dopie has joined #ruby
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swgillespie has joined #ruby
DEA7TH has quit [Ping timeout: 265 seconds]
Scroff has joined #ruby
rodfersou has quit [Quit: leaving]
micmus has quit [Quit: Leaving]
d5sx43 has joined #ruby
aapole has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
moretti has quit [Quit: Leaving...]
bMalum has quit [Quit: bMalum]
d5sx43 has quit [Client Quit]
aaeron has quit [Quit: aaeron]
pudidis_ has joined #ruby
pudidis has quit [Ping timeout: 264 seconds]
pudidis_ is now known as pudidis
skade has quit [Quit: Computer has gone to sleep.]
bronson has quit [Remote host closed the connection]
commondream has quit [Remote host closed the connection]
bantic has quit [Quit: bantic]
barkerd427 is now known as zz_barkerd427
TheNet has quit [Quit: Leaving...]
<shevy> dumdedum
__butch__ has quit [Quit: Linkinus - http://linkinus.com]
aaeron has joined #ruby
codecop has quit [Remote host closed the connection]
<havenwood> shevy: JRuby+Truffle Graal now runs Rack apps for adapters like Sinatra and Roda. The future is coming...
dgutierrez1287 has joined #ruby
dnlbyl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
ereslibre has quit [Ping timeout: 252 seconds]
Blaguvest has quit []
moretti has joined #ruby
n008f4g_ has quit [Ping timeout: 265 seconds]
freerobby has joined #ruby
freerobby has quit [Client Quit]
moretti has quit [Remote host closed the connection]
EllisTAA has joined #ruby
moretti has joined #ruby
pudidis has quit [Quit: pudidis]
EllisTAA has quit [Client Quit]
jhooker has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
symm- has quit [Ping timeout: 255 seconds]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mello has joined #ruby
premera has quit [Remote host closed the connection]
yoongkang has quit [Remote host closed the connection]
__chris has joined #ruby
Fooster has quit [Ping timeout: 245 seconds]
Filete has joined #ruby
apofis has quit [Read error: Connection reset by peer]
havenn has joined #ruby
apofis has joined #ruby
doctorly has quit [Ping timeout: 272 seconds]
<shevy> oh?
<shevy> I am not sure I understand the implications (because I am a web noob)
<shevy> jeremy evans, wasn't that the old rubinius guy?
agarie has joined #ruby
mello has quit [Ping timeout: 252 seconds]
<havenn> shevy: are you thinking evan phoenix?
havenwood has quit [Ping timeout: 276 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
premera has joined #ruby
nedp has joined #ruby
<havenn> shevy: jeremy evans won a ruby hero award this year. he's the long-term maintainer of the sequel gem and author of the roda gem.
axl_ has quit [Quit: axl_]
n80 has quit [Quit: n80]
finisherr has quit [Quit: finisherr]
Zai00 has quit [Quit: Zai00]
roolo has quit [Remote host closed the connection]
[H]unt3r has quit []
rodfersou has joined #ruby
aspiers has quit [Ping timeout: 244 seconds]
mahlon has quit [Ping timeout: 244 seconds]
k3asd` has quit [Ping timeout: 256 seconds]
<shevy> ah
<eam> evan is a pretty popular name for ruby people
<shevy> those names sound all the same :D
rdar has joined #ruby
<havenn> shevy: four /evan/ have one the ruby hero award. eam: aye
Filete has quit [Ping timeout: 250 seconds]
yfeldblu_ has quit [Remote host closed the connection]
<shevy> well ok that helps my brain separate
kirun_ has quit [Quit: Client exiting]
<dfockler> we're gonna have really fast Java VM based Ruby
mrmargol_ has quit [Remote host closed the connection]
dgutierrez1287 has quit [Remote host closed the connection]
dgutierrez1287 has joined #ruby
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
bigkevmcd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
<havenn> dfockler: That interoperates performantly with other langs including Java, though Graal VM instead of JVM.
whippythellama has quit [Quit: whippythellama]
x1337807x has joined #ruby
<dfockler> pretty soon, no body will actually care about what processor they are running
kies has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
<eam> they already don't
GGMethos has quit [Ping timeout: 256 seconds]
<dfockler> memory and cpu are like water and electricity
<Jamo> I'm trying to calculate a hash of uploaded file, it appears that the hash is always changing, even though the submitted file is always generated the seme way. This is how I try to calculate the hash `Digest::SHA256.file(@req['file'][:tempfile].path).hexdigest`
centrx has joined #ruby
havenn is now known as havenwood
bronson has joined #ruby
<eam> jamo: looks like you're hashing the filename, not the file contents?
Scroff has quit [Read error: Connection reset by peer]
<eam> if it's a tempfile, I presume the name will change regularly
greenbagels has joined #ruby
Scroff has joined #ruby
bantic has joined #ruby
<Jamo> yeah, its a tempfile, but I was looking into the http://ruby-doc.org/stdlib-2.1.0/libdoc/digest/rdoc/Digest.html -- # Compute digest for a file; Digest::SHA256.file 'testfile'
bricker has quit [Ping timeout: 265 seconds]
edwinvdgraaf has joined #ruby
<Jamo> and kinda assumed this .file would have read the contents of a file
<eam> oh sorry, I didn't see ow known as
<eam> er
<eam> didn't see SHA256.file
<eam> jamo: have you checked the actual file contents?
Rodya_ has quit [Ping timeout: 258 seconds]
greenbagels has quit [Client Quit]
greenbagels has joined #ruby
finisherr has joined #ruby
<shevy> what is the proper way to denote a ruby writer method for :foo - would it be ".foo()=" or would it be ".foo() =" I am wondering whether I should use a space; I need to document some things, hence why I wonder
<Jamo> nope, since the file gets deleted right after the request is completed. maybe I'll try copying it somewhere for closer inspection
hedgecore has quit [Ping timeout: 244 seconds]
enebo has quit [Quit: enebo]
<eam> jamo: another thing to consider is whether the file is being written to while you're checksumming it
deric_skibotn has joined #ruby
<Jamo> umm, I'm using rack, so I would have hoped that the file would have been uploaded/written before the app can access the tempfile.
Scroff has quit [Ping timeout: 256 seconds]
joaomdmoura has joined #ruby
edwinvdgraaf has quit [Ping timeout: 264 seconds]
<Jamo> ok, it appears that the file is written successfully before I'm copying it
djbkd has quit [Remote host closed the connection]
fabrice31 has joined #ruby
shock_one has quit [Remote host closed the connection]
GGMethos has joined #ruby
bantic has quit [Quit: bantic]
<Jamo> ok, the files get different checksums also from terminal (sha256sum) so guess the issue is not the calculating the hash
jackjackdripper has joined #ruby
apofis_ has joined #ruby
mahlon has joined #ruby
dgutierrez1287 has quit [Remote host closed the connection]
djbkd has joined #ruby
apofis has quit [Ping timeout: 255 seconds]
fabrice31 has quit [Ping timeout: 250 seconds]
umgrosscol has quit [Remote host closed the connection]
jackjackdripper1 has quit [Ping timeout: 258 seconds]
bgmarx_ has joined #ruby
bricker has joined #ruby
dudedudeman has quit [Ping timeout: 276 seconds]
commondream has joined #ruby
hahuang65 has joined #ruby
shock_on_ has joined #ruby
apofis_ is now known as apofis
bin_005 has quit [Ping timeout: 264 seconds]
commondream has quit [Remote host closed the connection]
commondream has joined #ruby
rdar has quit [Ping timeout: 265 seconds]
bgmarx has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
hahuang65 has quit [Client Quit]
agarie has quit []
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
RegulationD has quit [Remote host closed the connection]
apofis_ has joined #ruby
<Darkwater> is there a way to give a thread a custom name?
apofis has quit [Quit: Leaving]
rubymanCC has joined #ruby
apofis_ is now known as apofis
yfeldblum has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dgutierrez1287 has joined #ruby
jpfuentes2 has quit [Ping timeout: 256 seconds]
sarkyniin has quit [Quit: Quit]
swgillespie has joined #ruby
Filete has joined #ruby
rdar has joined #ruby
rdar has quit [Client Quit]
Eiam has joined #ruby
shock_on_ has quit [Remote host closed the connection]
infinitone has quit [Remote host closed the connection]
<havenwood> Darkwater: You could use a thread-local variable `:name`.
<Darkwater> havenwood: I mean for the system
<Darkwater> threads can have a custom name
rubymanCC has quit [Quit: Page closed]
<havenwood> Darkwater: For a process?
<havenwood> oh
<Darkwater> I think max 15 chars long
<Darkwater> probably 16 with a terminating nul byte
shock_one has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
mdz_ has joined #ruby
djbkd has joined #ruby
[1]abirazor has joined #ruby
moeSeth has quit [Quit: Connection closed for inactivity]
scripore has quit [Quit: This computer has gone to sleep]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> Darkwater: Just to confirm, you're talking threads not processes here?
<Darkwater> yeah threads
<Darkwater> though it might be cool to also do it for processes
<Darkwater> (just to know how to)
<Darkwater> anyway, what got me thinking was htop http://novaember.com/s/8f9453/Xr9sS5.png
<Darkwater> those appear to be named threads
<Darkwater> (the green ones)
[1]abirazor has quit [Client Quit]
idafyaid has quit [Ping timeout: 258 seconds]
<havenwood> Darkwater: There's an assignable $0 for the script name and Process.setproctitle for what ps sees: http://ruby-doc.org/core-2.2.2/Process.html#method-c-setproctitle
jerematic has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
shock_one has quit [Ping timeout: 265 seconds]
scripore has joined #ruby
djbkd has joined #ruby
abirazor has joined #ruby
<Darkwater> nice
<Darkwater> hm, pry seems to name threads
<Darkwater> made a new thread, shows up as (pry):1
fujimura has joined #ruby
<Darkwater> oh well, I'll further investigate tomorrow
<Darkwater> time to sleep, night
sandstrom has quit [Quit: My computer has gone to sleep.]
fold has joined #ruby
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
jmhmccr has quit [Quit: Connection closed for inactivity]
x1337807x has joined #ruby
dgutierrez1287 has quit [Remote host closed the connection]
dgutierrez1287 has joined #ruby
ogpastaling has quit [Remote host closed the connection]
codelurker has quit [Quit: Textual IRC Client: www.textualapp.com]
Eiam has joined #ruby
mdz_ has quit [Remote host closed the connection]
fujimura has quit [Ping timeout: 272 seconds]
plashchynski has quit [Quit: plashchynski]
__chris has quit [Ping timeout: 252 seconds]
plashchynski has joined #ruby
twistedpixels is now known as zz_twistedpixels
a346 has quit [Quit: a346]
abirazor has quit [Quit: HydraIRC -> http://www.hydrairc.com <- It'll be on slashdot one day...]
DLSteve has joined #ruby
AhabsBeard has quit []
plashchynski has quit [Client Quit]
daynets has joined #ruby
dgutierrez1287 has quit [Remote host closed the connection]
Deele has quit [Ping timeout: 256 seconds]
moretti has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bigkevmcd has joined #ruby
moretti has joined #ruby
moretti has quit [Remote host closed the connection]
daynets has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
blandflakes has joined #ruby
mrsolo has quit [Quit: Leaving]
DrBojingle has joined #ruby
AbinoamJr has joined #ruby
moretti has joined #ruby
moretti has quit [Remote host closed the connection]
Vile` has quit [Quit: .]
mary5030_ has quit [Remote host closed the connection]
<AbinoamJr> hi :all
Jandre has joined #ruby
Channel6 has joined #ruby
Jandre is now known as Guest36103
pdoherty has joined #ruby
<drbrain> $0 and Process.setproctitle do the same thing
DrBojingle has quit [Ping timeout: 245 seconds]
<drbrain> $0=, rather
jpfuentes2 has joined #ruby
aaeron has quit [Quit: aaeron]
a346 has joined #ruby
michael_mbp has quit [Excess Flood]
CloCkWeRX has joined #ruby
moretti has joined #ruby
joaomdmoura has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
michael_mbp has joined #ruby
a346 has quit [Client Quit]
moretti has quit [Client Quit]
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
musgravejw__ has joined #ruby
msnyon has joined #ruby
Vile` has joined #ruby
bronson has quit [Remote host closed the connection]
baweaver has joined #ruby
Fooster has joined #ruby
aaeron has joined #ruby
duderonomy has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
moretti has joined #ruby
Ropeney has joined #ruby
finisherr has quit [Quit: finisherr]
apofis has quit [Remote host closed the connection]
apofis has joined #ruby
tvw has joined #ruby
mark[oz] has joined #ruby
zz_twistedpixels is now known as twistedpixels
aaeron has quit [Quit: aaeron]
mdz_ has joined #ruby
mdz_ has quit [Remote host closed the connection]
mdz_ has joined #ruby
greenbagels_ has joined #ruby
mdz_ has quit [Remote host closed the connection]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apofis has quit [Ping timeout: 265 seconds]
bronson has joined #ruby
AbinoamJr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jpfuentes2 has joined #ruby
endash has quit [Read error: Connection reset by peer]
endash has joined #ruby
fgo has joined #ruby
dorei has quit []
RegulationD has joined #ruby
moretti has quit [Quit: Leaving...]
yaogwai has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
bgmarx_ has quit [Remote host closed the connection]
bootstrappm has joined #ruby
aaeron has joined #ruby
deric_skibotn has quit [Ping timeout: 250 seconds]
dgutierrez1287 has joined #ruby
bkxd has joined #ruby
datanois1 has quit [Ping timeout: 255 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
RegulationD has quit [Ping timeout: 255 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
n008f4g_ has joined #ruby
yaogwai has quit [Ping timeout: 272 seconds]
LicHacker has joined #ruby
towski__ has joined #ruby
yaogwai has joined #ruby
snockerton has quit [Quit: Leaving.]
towski_ has quit [Ping timeout: 255 seconds]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
blackmesa has quit [Ping timeout: 256 seconds]
Limix has joined #ruby
bgmarx has joined #ruby
_seanc_ has quit [Quit: _seanc_]
mistermocha has quit [Read error: Connection reset by peer]
serivich has joined #ruby
mistermocha has joined #ruby
CloCkWeRX has left #ruby [#ruby]
moretti has joined #ruby
djbkd has quit [Remote host closed the connection]
pietr0 has quit [Quit: pietr0]
wmoxam has quit [Ping timeout: 245 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
Ox0dea has joined #ruby
DLSteve has quit [Quit: Leaving]
wmoxam has joined #ruby
djbkd has joined #ruby
bigkevmcd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zz_barkerd427 is now known as barkerd427
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
hakunin has joined #ruby
mistermocha has quit [Ping timeout: 258 seconds]
victorkohl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
houhoulis has joined #ruby
mello has joined #ruby
mello has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tds5016 has joined #ruby
<tds5016> Can someone tell me how I would set the ssl version on faraday?
rkazak has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
bruno- has quit [Ping timeout: 264 seconds]
edwinvdgraaf has joined #ruby
mello has quit [Ping timeout: 258 seconds]
failshell has quit [Remote host closed the connection]
arescorpio has joined #ruby
dnlbyl has joined #ruby
podman has joined #ruby
victorkohl has joined #ruby
Azure has joined #ruby
musgravejw__ has quit [Quit: Page closed]
djbkd has quit [Remote host closed the connection]
niemcu has quit [Quit: Leaving]
dgutierrez1287 has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 258 seconds]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
dgutierrez1287 has joined #ruby
jack_rabbit has joined #ruby
Rodya_ has joined #ruby
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jpfuentes2 has joined #ruby
charliesome has joined #ruby
datanois1 has joined #ruby