baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.0, 2.3.3 & 2.2.6: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
cdg has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Remote host closed the connection]
ruid has quit [Ping timeout: 240 seconds]
unmanbearpig has joined #ruby
cschneid_ has joined #ruby
whathappens has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
marxarelli has joined #ruby
unmanbearpig has quit [Ping timeout: 260 seconds]
Derperperd has joined #ruby
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
choke has joined #ruby
bkxd has joined #ruby
gsilva has quit [Remote host closed the connection]
Derperperd has quit [Ping timeout: 260 seconds]
volty has joined #ruby
tau has quit [Remote host closed the connection]
Derperperd has joined #ruby
ColeHub has quit [Quit: Bye.]
drzel has quit [Ping timeout: 240 seconds]
montanonic has quit [Ping timeout: 260 seconds]
planigan has joined #ruby
Derperperd has quit [Max SendQ exceeded]
snowball has joined #ruby
Derperperd has joined #ruby
CloCkWeRX has joined #ruby
bmurt has joined #ruby
last_staff has quit [Quit: last_staff]
planigan has quit [Remote host closed the connection]
<snowball> how do scopes work in this thing. i'm trying to have an instance method create rake tasks, but it's unable to find the "task", "file" and "rule" functions
<snowball> if i place them outside the class in the same file it works
planigan has joined #ruby
<marchelzo> snowball: how are you doing today?
roamingdog has joined #ruby
<snowball> oki doki
[ohjn] has joined #ruby
<marchelzo> oh good
haraoka has joined #ruby
<marchelzo> snowball: what is this thing
hooper has quit [Quit: Leaving.]
<snowball> "this thing" refers to ruby
<marchelzo> oh haha
<marchelzo> can i see your program
blackmes1 has quit [Ping timeout: 260 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
modlin has joined #ruby
marr has quit [Ping timeout: 268 seconds]
Channel6 has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
<snowball> something like this http://pastebin.com/VeAJ3gHk
<ruby[bot]> snowball: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/6397705f539100ff8c5a0a4f51c605f7
<ruby[bot]> snowball: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elomatreb> snowball: Any reason you can't just have the task calling the method in a block?
Jackneill_ has quit [Ping timeout: 240 seconds]
el_ocho[m] has quit [Ping timeout: 240 seconds]
jakebriggs[m] has quit [Ping timeout: 245 seconds]
travisr has quit [Ping timeout: 246 seconds]
velu_aon[m] has quit [Ping timeout: 258 seconds]
daveyboi[m] has quit [Ping timeout: 258 seconds]
dman[m] has quit [Ping timeout: 246 seconds]
Giphy[m] has quit [Ping timeout: 246 seconds]
bascht1 has quit [Ping timeout: 258 seconds]
<snowball> elomatreb my goal is to create multiple objects and have each one of them generate their own tasks
raspado has quit [Quit: Leaving...]
M107262[m] has quit [Ping timeout: 276 seconds]
M-manveru has quit [Ping timeout: 276 seconds]
aviraldg has quit [Ping timeout: 276 seconds]
bkxd has quit [Ping timeout: 256 seconds]
ruid has joined #ruby
ruid has joined #ruby
ruid has quit [Changing host]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
LuckyABA_ has joined #ruby
whathappens is now known as Guest7418
bascht1 has joined #ruby
daveyboi[m] has joined #ruby
M-manveru has joined #ruby
M107262[m] has joined #ruby
BabyMario has quit [Quit: bye]
Guest7418 has quit [Ping timeout: 256 seconds]
el_ocho[m] has joined #ruby
unmanbearpig has joined #ruby
velu_aon[m] has joined #ruby
gloscombe_ has quit [Quit: gloscombe_]
username1 has quit [Ping timeout: 260 seconds]
Giphy[m] has joined #ruby
unmanbearpig has quit [Ping timeout: 240 seconds]
jakebriggs[m] has joined #ruby
dman[m] has joined #ruby
aviraldg has joined #ruby
travisr has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
ruid has quit [Ping timeout: 246 seconds]
rkazak has joined #ruby
newrubycoder has joined #ruby
padi_ has quit [Remote host closed the connection]
Meeh has quit [Remote host closed the connection]
Meeh has joined #ruby
saneax is now known as saneax-_-|AFK
matp has quit [Remote host closed the connection]
Meeh has quit [Remote host closed the connection]
Meeh has joined #ruby
cibs has quit [Ping timeout: 260 seconds]
Meeh has quit [Remote host closed the connection]
cibs has joined #ruby
Meeh has joined #ruby
Meeh has quit [Remote host closed the connection]
Meeh has joined #ruby
marxarelli is now known as marxarelli|afk
Meeh has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
[ohjn] has quit [Remote host closed the connection]
[ohjn] has joined #ruby
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
grant has joined #ruby
ramfjord has joined #ruby
Rodya_ has joined #ruby
[ohjn] has quit [Ping timeout: 246 seconds]
`0x00` has quit [Ping timeout: 268 seconds]
volty has quit [Quit: Konversation terminated!]
arescorpio has joined #ruby
djbkd has quit [Quit: My people need me...]
[ohjn] has joined #ruby
jenrzzz has joined #ruby
`0x00` has joined #ruby
roamingdog has quit [Remote host closed the connection]
cschneid_ has joined #ruby
snowball has left #ruby [#ruby]
cxr has quit [Ping timeout: 258 seconds]
Meeh has joined #ruby
roamingdog has joined #ruby
astrobunny has joined #ruby
brent__ has quit [Remote host closed the connection]
Meeh has quit [Remote host closed the connection]
Meeh has joined #ruby
Meeh has quit [Remote host closed the connection]
blackwind_123 has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
charliesome has joined #ruby
Meeh has joined #ruby
Meeh has quit [Remote host closed the connection]
Meeh has joined #ruby
Meeh has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
[ohjn] has quit []
ResidentBiscuit has quit [Remote host closed the connection]
Channel6 has quit [Ping timeout: 246 seconds]
ResidentBiscuit has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
Meeh has joined #ruby
Rodya_ has quit [Remote host closed the connection]
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Meeh has quit [Remote host closed the connection]
benlieb has joined #ruby
Meeh has joined #ruby
ResidentBiscuit has quit [Ping timeout: 246 seconds]
bkxd has joined #ruby
hutch34 has quit [Ping timeout: 256 seconds]
roamingdog has joined #ruby
eblip has quit [Quit: WeeChat 1.4]
tau has joined #ruby
jameser has joined #ruby
Channel6 has joined #ruby
roamingdog has quit [Remote host closed the connection]
`0x00` has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
unmanbearpig has joined #ruby
whathappens has joined #ruby
whathappens is now known as Guest18290
t-recx has quit [Quit: t-recx]
eblip has joined #ruby
roamingdog has quit [Ping timeout: 240 seconds]
unmanbearpig has quit [Ping timeout: 240 seconds]
`0x00` has joined #ruby
hotpancakes has joined #ruby
duderonomy has quit [Ping timeout: 246 seconds]
_aeris_ has quit [Ping timeout: 240 seconds]
TPug has joined #ruby
cibs has quit [Ping timeout: 260 seconds]
enterprisey has joined #ruby
Rodya_ has joined #ruby
cibs has joined #ruby
skolman_ has quit [Remote host closed the connection]
skolman has joined #ruby
d^sh has quit [Ping timeout: 258 seconds]
myk267 has joined #ruby
uavcaptian has joined #ruby
hotpancakes has quit [Remote host closed the connection]
d^sh has joined #ruby
cdg_ has joined #ruby
_aeris_ has joined #ruby
skolman has quit [Ping timeout: 260 seconds]
enterprisey has quit [Remote host closed the connection]
elifoster has joined #ruby
cdg has quit [Ping timeout: 256 seconds]
bkxd has quit [Ping timeout: 264 seconds]
nowhere_man has joined #ruby
hotpanca_ has joined #ruby
cxr has joined #ruby
enterprisey has joined #ruby
cdg has joined #ruby
cdg_ has quit [Ping timeout: 246 seconds]
safetypin has joined #ruby
hutch34 has joined #ruby
paradisaeidae has joined #ruby
paradisaeidae_ has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
tvw has quit [Ping timeout: 240 seconds]
sepp2k has quit [Quit: Leaving.]
hotpanca_ has quit [Remote host closed the connection]
libastral has quit [Ping timeout: 258 seconds]
libastral has joined #ruby
Immune has quit [Quit: ZzzZZZzzzz]
jeyraof^mbpr has joined #ruby
gusrub has quit [Remote host closed the connection]
hotpancakes has joined #ruby
roamingdog has joined #ruby
unmanbearpig has joined #ruby
gusrub has joined #ruby
gusrub has quit [Client Quit]
Confiks has left #ruby [#ruby]
grant has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cibs has quit [Ping timeout: 240 seconds]
harfangk has joined #ruby
browndawg has joined #ruby
cibs has joined #ruby
roamingdog has quit [Ping timeout: 258 seconds]
uavcaptian has quit []
unmanbearpig has quit [Ping timeout: 268 seconds]
yvear has joined #ruby
<yvear> has anyone here used lmdb in a rails app before?
safetypin has quit [Quit: Textual IRC Client: www.textualapp.com]
yfeldblum has joined #ruby
modlin has quit [Ping timeout: 264 seconds]
antgel_ has joined #ruby
maloik44 has quit [Remote host closed the connection]
maloik has joined #ruby
arescorpio has quit [Ping timeout: 246 seconds]
Derperperd has quit [Max SendQ exceeded]
Derperperd has joined #ruby
cschneid_ has quit [Read error: Connection reset by peer]
pilne has quit [Quit: Quitting!]
cschneid_ has joined #ruby
tmtwd has joined #ruby
bkxd has joined #ruby
tau has quit [Quit: finding someone who wants your love is harder than finding someone who wants to give you love.]
thoolihan has joined #ruby
Phytyca has joined #ruby
browndawg has quit [Quit: *Mic Drop*]
<Phytyca> Hey all -- just curious about a language feature I found today if someone has a minute
zacts has joined #ruby
<Phytyca> found an implementation of quicksort and in the recursive return part, they're putting *'s before the fucntion calls, what does that mean in ruby?
<Phytyca> return *quicksort(*left), pivot, *quicksort(*right)
<Phytyca> it looks like that
rkazak has quit [Quit: Sleep.....ing....]
<Phytyca> I know that the splats in the vars can mean a list, etc
<Phytyca> I lied I figured it out myself...the splat is referring to the return value which will be a list
<Phytyca> my bad
<Phytyca> sorry I should have thought about it more before coming on and asking
yvear has left #ruby ["Leaving"]
cdg has quit [Remote host closed the connection]
antgel_ has quit [Ping timeout: 240 seconds]
Phytyca has quit [Ping timeout: 256 seconds]
skweek has quit [Ping timeout: 260 seconds]
planteater has joined #ruby
modlin has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
`0x00` has quit [Quit: leaving]
cbyrda has joined #ruby
xall has joined #ruby
u0_a61 has joined #ruby
u0_a61 is now known as `0x00`
unmanbearpig has joined #ruby
skweek has joined #ruby
`0x00` has quit [Client Quit]
blackwind_123 has joined #ruby
`0x00` has joined #ruby
`0x00` has quit [Client Quit]
koldbrutality has quit [Remote host closed the connection]
unmanbearpig has quit [Ping timeout: 260 seconds]
`0x00` has joined #ruby
Verity has quit [Quit: Leaving]
`0x00` has quit [Client Quit]
`0x00` has joined #ruby
`0x00` has quit [Client Quit]
`0x00` has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
Oldn0rse has quit [Remote host closed the connection]
paradisaeidae has quit [Quit: ChatZilla 0.9.93 [Firefox 51.0.1/20170125094131]]
paradisaeidae_ has quit [Quit: ChatZilla 0.9.93 [Firefox 51.0.1/20170125094131]]
skolman_ has joined #ruby
myk267 has quit [Quit: myk267]
akkad has quit [Excess Flood]
Sammichmaker has joined #ruby
skolman_ has quit [Ping timeout: 240 seconds]
gix has quit [Ping timeout: 256 seconds]
cschneid_ has quit [Remote host closed the connection]
TPug has quit [Quit: Textual IRC Client: www.textualapp.com]
Rodya_ has quit [Quit: Leaving...]
akkad has joined #ruby
myk267 has joined #ruby
gix has joined #ruby
cbyrda has quit [Quit: leaving]
cbyrda has joined #ruby
cbyrda has quit [Client Quit]
dlitvak has quit [Quit: Connection closed for inactivity]
myk267 has quit [Ping timeout: 246 seconds]
myk267 has joined #ruby
zacts has quit [Quit: WeeChat 1.5]
KicStart has quit [Quit: Leaving.]
hutch34 has joined #ruby
myk267 has quit [Ping timeout: 246 seconds]
Trynemjoel has quit [Quit: Quitting]
jenrzzz has quit [Ping timeout: 246 seconds]
enterprisey has quit [Read error: Connection reset by peer]
hutch34 has quit [Ping timeout: 246 seconds]
Channel6 has quit [Quit: Leaving]
nanoz has joined #ruby
username_ has joined #ruby
zacts has joined #ruby
myk267 has joined #ruby
__Yiota has joined #ruby
cxr has quit [Ping timeout: 240 seconds]
modlin has quit [Quit: Konversation terminated!]
jeyraof^mbpr has quit [Quit: This computer has gone to sleep]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeyraof^mbpr has joined #ruby
roamingdog has joined #ruby
cxr has joined #ruby
Oldn0rse has joined #ruby
igniting has quit [Ping timeout: 258 seconds]
unmanbearpig has joined #ruby
jeyraof^mbpr has quit [Client Quit]
tau has joined #ruby
roamingdog has quit [Ping timeout: 268 seconds]
Oldn0rse has quit [Ping timeout: 240 seconds]
Irishluck83 has joined #ruby
unmanbearpig has quit [Ping timeout: 264 seconds]
Irishluck83 has quit [Client Quit]
jeyraof^mbpr has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
reverberations has joined #ruby
BabyMario has joined #ruby
BabyMario has quit [Client Quit]
squ has joined #ruby
Anonymoose2 has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
brent__ has joined #ruby
lightheaded has joined #ruby
ianmethyst has joined #ruby
lightheaded has quit [Client Quit]
hotpancakes has quit [Remote host closed the connection]
username_ has quit [Ping timeout: 260 seconds]
hotpancakes has joined #ruby
hotpancakes has quit [Ping timeout: 256 seconds]
minimalism has quit [Quit: minimalism]
renchan has joined #ruby
marcdel has quit [Ping timeout: 240 seconds]
ponga has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
saneax-_-|AFK is now known as saneax
igniting has joined #ruby
akkad has quit [Excess Flood]
hotpanca_ has joined #ruby
montanonic has joined #ruby
brent__ has quit [Remote host closed the connection]
akkad has joined #ruby
djbkd has joined #ruby
anisha has joined #ruby
yfeldblum has quit [Remote host closed the connection]
brent__ has joined #ruby
montanonic has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
cxr has quit [Ping timeout: 268 seconds]
Oldn0rse has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
aupadhye has joined #ruby
Oldn0rse has quit [Ping timeout: 240 seconds]
tildes has joined #ruby
unmanbearpig has joined #ruby
nofxxx has joined #ruby
Guest18290 has quit [Remote host closed the connection]
whathappens has joined #ruby
whathappens is now known as Guest83065
Xiti has quit [Quit: Xiti]
skweek has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
brent__ has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 240 seconds]
unmanbearpig has quit [Ping timeout: 268 seconds]
haraoka has quit [Ping timeout: 268 seconds]
Guest83065 has quit [Ping timeout: 240 seconds]
pawnbox has quit [Ping timeout: 246 seconds]
GGMethos has quit [Quit: WeeChat 1.4]
skweek has quit [Read error: Connection reset by peer]
montanonic has joined #ruby
GGMethos has joined #ruby
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skolman has joined #ruby
skolman has quit [Ping timeout: 240 seconds]
jeyraof^mbpr has quit [Quit: This computer has gone to sleep]
nanoz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
amclain has quit [Quit: Leaving]
skweek has joined #ruby
montanonic has quit [Ping timeout: 246 seconds]
last_staff1 has joined #ruby
ResidentBiscuit has joined #ruby
last_staff1 is now known as last_staff
n1ce_ is now known as n1ce
n1ce has quit [Changing host]
n1ce has joined #ruby
Derperperd has quit [Ping timeout: 268 seconds]
ResidentBiscuit has quit [Ping timeout: 246 seconds]
hutch34 has joined #ruby
pawnbox has joined #ruby
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
Oldn0rse has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
hutch34 has quit [Ping timeout: 268 seconds]
bkxd has joined #ruby
interki has joined #ruby
kristofferR has joined #ruby
Oldn0rse has quit [Ping timeout: 260 seconds]
xall has quit [Ping timeout: 240 seconds]
fclausen has quit [Quit: leaving]
interki has quit [Client Quit]
unmanbearpig has joined #ruby
dionysus69 has joined #ruby
unmanbearpig has quit [Ping timeout: 260 seconds]
tau has quit [Quit: kk]
hanetzer has joined #ruby
<hanetzer> anoldhacker: yep, apparently it wasn't my pebcak, upstream fixed it :D
CloCkWeRX has quit [Quit: Leaving.]
<hanetzer> So rubyists, apparently something changed between 2.2.3->2.4.0 in the build process, in that the old steps I took are no longer giving me a static library.
certainty has joined #ruby
<dminuoso> hanetzer: What do you mean by build process? Are you building a native extension?
<hanetzer> dminuoso: no, I mean building ruby itself. I'm a sometimes maintainer for mingw-w64-ruby on the archlinux user repo.
minimalism has joined #ruby
<dminuoso> hanetzer: What library in particular are you referring to?
<hanetzer> libruby-static.a; it has a different name under mingw, something like libmsvcrt-ruby-static.a
<dminuoso> hanetzer: Can you tell me how you invoke the build process? I'd like some testcase so I can reproduce it and look at the build process myself.
<dminuoso> 2.2.3 was the last known good version right?
<hanetzer> yeah. one sec...
<hanetzer> ./configure --enable-static --prefix=/usr/${_arch} --build=$CHOST --host=${_arch} --disable-install-{doc,rdoc,capi} --with-out-ext=readline,sdbm[,fiddle] --disable-ipv6 --with-static-linked-ext
unmanbearpig has joined #ruby
bkxd_ has joined #ruby
<hanetzer> ${_arch} is either {i686,x86_64}-w64-mingw32, $CHOST is actual linux gcc triplet, and on x86_64 fiddle is disabled.
bkxd has quit [Ping timeout: 258 seconds]
<hanetzer> then make.
astrobunny has quit [Remote host closed the connection]
tildes has quit [Ping timeout: 260 seconds]
aufi has joined #ruby
<hanetzer> oh, and then make DESTDIR=some/dir; that dir is what ends up in the arch package itself, so whatever is there, is packaged.
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ledestin has quit [Ping timeout: 240 seconds]
cibs has quit [Ping timeout: 264 seconds]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
Burgestrand has joined #ruby
teclator has quit [Remote host closed the connection]
cibs has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
hotpancakes has joined #ruby
conta has joined #ruby
Burgestrand has quit [Quit: Closing time!]
stomar has joined #ruby
hotpancakes has quit [Ping timeout: 246 seconds]
dionysus69 has quit [Read error: Connection reset by peer]
newrubycoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ta_ has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 246 seconds]
Derperperd has joined #ruby
OTORelic has joined #ruby
ramfjord has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Derperperd has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
Cohedrin has joined #ruby
jeyraof^mbpr has joined #ruby
nowhere_man has quit [Ping timeout: 258 seconds]
ramfjord has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 264 seconds]
rikkipitt has joined #ruby
govg has quit [Ping timeout: 240 seconds]
charliesome has quit [Ping timeout: 264 seconds]
ponga has quit [Quit: Connection closed for inactivity]
frostbit has joined #ruby
<frostbit> hey
<hanetzer> sup frosty
<frostbit> ok, this might start a war or something
<frostbit> but anyways
<frostbit> rspec vs minitest
<frostbit> which should i use in which scenario
Pumukel has joined #ruby
* hanetzer ducks and covers
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
sleetdrop has joined #ruby
blackmes1 has joined #ruby
TomyWork has joined #ruby
jakebriggs[m] has quit [Remote host closed the connection]
aviraldg has quit [Read error: Connection reset by peer]
M107262[m] has quit [Write error: Connection reset by peer]
dman[m] has quit [Read error: Connection reset by peer]
bascht1 has quit [Read error: Connection reset by peer]
daveyboi[m] has quit [Remote host closed the connection]
M-manveru has quit [Read error: Connection reset by peer]
travisr has quit [Read error: Connection reset by peer]
Giphy[m] has quit [Read error: Connection reset by peer]
velu_aon[m] has quit [Read error: Connection reset by peer]
el_ocho[m] has quit [Read error: Connection reset by peer]
vondruch has joined #ruby
pawnbox has joined #ruby
dionysus69 has joined #ruby
emin has joined #ruby
xall has joined #ruby
frostbit has quit [Quit: WeeChat 1.6]
hotpancakes has joined #ruby
rikkipitt has quit [Ping timeout: 258 seconds]
haennar has joined #ruby
certainty has quit [Ping timeout: 260 seconds]
dyjakan has quit [Quit: leaving]
bascht1 has joined #ruby
certainty has joined #ruby
rikkipitt has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
sleetdrop has joined #ruby
hotpancakes has quit []
Burgestrand has joined #ruby
benlieb has quit [Quit: benlieb]
<dminuoso> hanetzer: If Im not responding it's because I'm currently busy doing something for my salary. But I have not forgotten, so if you'll stick around Ill get to it if nobody else does.
haennar has quit [Ping timeout: 256 seconds]
<dminuoso> 09:09 < frostbit> which should i use in which scenario
<dminuoso> ^- the better one.
skolman_ has joined #ruby
<hanetzer> dminuoso: actually I figured it out. --disable-install-static-library=no was wrong (didn't originally have it, but found and tried it); --enable-install-static-library is the correct option to add :)
djbkd has quit [Quit: Leaving...]
akkad has quit [Excess Flood]
xen0fon has quit [Quit: xen0fon]
Burgestrand has quit [Read error: Connection reset by peer]
Burgestr_ has joined #ruby
akkad has joined #ruby
skolman_ has quit [Ping timeout: 260 seconds]
teclator has joined #ruby
ledestin has joined #ruby
<dminuoso> hanetzer: Great. :)
akkad has quit [Excess Flood]
ResidentBiscuit has joined #ruby
<hanetzer> dminuoso: don't suppose you know the proper way to transition from rb_data_typed_object_alloc to rb_data_typed_object_wrap?
ramfjord has joined #ruby
Burgestr_ has quit [Read error: Connection reset by peer]
Burgestrand has joined #ruby
<dminuoso> hanetzer: You shouldn't use the raw functions. There are macros for this.
<hanetzer> dminuoso: I'm not the one doing it
cfec0b8d has quit [Ping timeout: 260 seconds]
<dminuoso> hanetzer: It's deprecated and you should be deprecation warnings or errors.
<dminuoso> Oh
<dminuoso> Haha.
<dminuoso> You are getting this warning, and are wondering how to do this.
<dminuoso> :-)
<dminuoso> Sorry.
<hanetzer> 'zactly
ResidentBiscuit has quit [Ping timeout: 246 seconds]
roamingdog has joined #ruby
<dminuoso> hanetzer: Just replace the function, the signature is the same.
hutch34 has joined #ruby
<hanetzer> ah, cool.
troulouliou_div2 has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
akkad has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
certainty has quit [Ping timeout: 256 seconds]
zenspider has quit [Changing host]
zenspider has joined #ruby
flying has joined #ruby
hutch34 has quit [Ping timeout: 268 seconds]
mikecmpbll has joined #ruby
<zenspider> frostbit: rspec
<zenspider> obvs
<hanetzer> zenspider: minitest or riot
<dminuoso> hanetzer: I use riot for testing.
<zenspider> I like the idea of riot... but it gets its speed by being dirty... and that can lead to invalid tests
<hanetzer> TIL riot is a ruby thing
<dminuoso> Or rather I want to.
<zenspider> dminuoso: I'd be careful if I were you
<dminuoso> How's that?
<zenspider> minitest (and everything else that I'm aware of) instantiates a new object on each test, runs setup in that, runs the test, and throws it away (if passed). riot doesn't... so state from one test can and will infect another
<zenspider> leading to false positives, at the very least
<zenspider> probably false negatives too, if you run a subset
<zenspider> (not sure if you can)
rikkipitt has quit [Remote host closed the connection]
<zenspider> minitest does a much better job of ensuring safe testing environment... with only a slight degradation in speed (still the fastest of the "proper" test frameworks)
<zenspider> (still -> forever)
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso> zenspider: Mmm, well Im currently an rspec user.. so..
<zenspider> so you want your tests to be slow... gotcha
<mikecmpbll> denies? 😲
Giphy[m] has joined #ruby
daveyboi[m] has joined #ruby
M107262[m] has joined #ruby
M-manveru has joined #ruby
travisr has joined #ruby
jakebriggs[m] has joined #ruby
aviraldg has joined #ruby
dman[m] has joined #ruby
velu_aon[m] has joined #ruby
el_ocho[m] has joined #ruby
<zenspider> mmmm split
<zenspider> it's too bad that riot is basically dead
<dminuoso> zenspider: Well, speed is definitely an issue.
<mikecmpbll> i'd never even heard of it before.
<dminuoso> But I just like the expressivity and richness of rspec.
jenrzzz has quit [Ping timeout: 246 seconds]
j416 has quit [Quit: o/]
jsrn_ has joined #ruby
ianmethyst has quit [Quit: WeeChat 1.7]
patarr has joined #ruby
postmodern has quit [Quit: Leaving]
roamingdog has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 268 seconds]
colegatron has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ddffg has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
Mr_Pancake has quit [Quit: Yes, I'm flour]
xall has quit [Ping timeout: 240 seconds]
cibs has quit [Ping timeout: 246 seconds]
xall has joined #ruby
cibs has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Quit: WeeChat 1.7]
nadir has quit [Quit: Connection closed for inactivity]
Revya has joined #ruby
tomphp has joined #ruby
skolman has joined #ruby
Pumukel has quit []
skweek has quit [Ping timeout: 240 seconds]
ddffg has joined #ruby
emin has quit [Read error: Connection reset by peer]
Beams has joined #ruby
al2o3-cr has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ramfjord has joined #ruby
EV3RYDAYPR0GRESS has quit [Read error: Connection reset by peer]
EV3RYDAYPR0GRESS has joined #ruby
skolman has quit [Ping timeout: 246 seconds]
mercerist has joined #ruby
ta_ has joined #ruby
mercerist has quit [Client Quit]
Revya has quit [Remote host closed the connection]
mercerist has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
xall has quit [Ping timeout: 260 seconds]
jeyraof^mbpr has quit [Quit: Leaving]
sleetdrop has joined #ruby
demin has joined #ruby
Derperperd has joined #ruby
elifoster has quit [Quit: sleep]
Violentr has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
demin has quit [Remote host closed the connection]
blackmes1 has joined #ruby
xall has joined #ruby
Derperperd has quit [Ping timeout: 260 seconds]
Violentr has quit [Ping timeout: 260 seconds]
xen0fon has joined #ruby
certainty has joined #ruby
ta_ has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 260 seconds]
ponga has joined #ruby
blackmes1 has joined #ruby
ta_ has joined #ruby
rikkipitt has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
roamingdog has joined #ruby
ferr1 has joined #ruby
last_staff has quit [Quit: last_staff]
skweek has joined #ruby
marr has joined #ruby
CloCkWeRX has joined #ruby
pandaant has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
haennar has joined #ruby
biberu has joined #ruby
Mon_Ouie has joined #ruby
workmad3 has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
roamingdog has quit [Ping timeout: 240 seconds]
cyphase has quit [Ping timeout: 260 seconds]
lel has quit [Ping timeout: 260 seconds]
aryaching has quit [Ping timeout: 264 seconds]
jdm_ has joined #ruby
xen0fon has quit [Remote host closed the connection]
xen0fon has joined #ruby
tlaxkit has joined #ruby
lel has joined #ruby
certainty has quit [Ping timeout: 260 seconds]
ftlava has joined #ruby
Mon_Ouie has quit [Ping timeout: 258 seconds]
mikecmpb_ has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
cyphase has joined #ruby
prestorium has joined #ruby
squ has quit [Remote host closed the connection]
jdm has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
roamingdog has joined #ruby
mikecmpb_ has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
certainty has joined #ruby
dyjakan has joined #ruby
ramfjord has joined #ruby
OTORelic has quit [Ping timeout: 256 seconds]
dyjakan has quit [Client Quit]
hutch34 has joined #ruby
dyjakan has joined #ruby
roamingdog has quit [Remote host closed the connection]
dyjakan has quit [Client Quit]
xen0fon has quit [Quit: xen0fon]
ta_ has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
rikkipitt has quit [Remote host closed the connection]
j416 has joined #ruby
certainty has quit [Ping timeout: 240 seconds]
rikkipitt has joined #ruby
zack6849 has quit [Ping timeout: 252 seconds]
hutch34 has quit [Ping timeout: 260 seconds]
dyjakan has joined #ruby
jaruga________ has joined #ruby
dyjakan has quit [Client Quit]
rikkipitt has quit [Ping timeout: 256 seconds]
dyjakan has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
blackmes1 has quit [Ping timeout: 240 seconds]
roamingdog has joined #ruby
milardovich has joined #ruby
utd_1997_ has joined #ruby
<utd_1997_> hey
<utd_1997_> anybody online....I have a question
t-recx has joined #ruby
<utd_1997_> Is there any lib or gem in ruby to output the integration of a linear equation
mekeor has joined #ruby
lel has quit [Ping timeout: 240 seconds]
blackmes1 has joined #ruby
ftlava has quit [Ping timeout: 240 seconds]
lel has joined #ruby
Reihar-_- has quit [Ping timeout: 260 seconds]
patarr has joined #ruby
Violentr has joined #ruby
<leandroalemao> utd_1997_ : like this one? https://github.com/maxmilan/mathpack#integration
patarr has quit [Ping timeout: 240 seconds]
Violentr has quit [Ping timeout: 264 seconds]
nofxxx has quit [Ping timeout: 240 seconds]
certainty has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: Closing time!]
Burgestrand has joined #ruby
certainty has quit [Ping timeout: 260 seconds]
maattdd has joined #ruby
<utd_1997_> leandroalemao : I think that lib only return the value of a single var , but not the equation.
<utd_1997_> Is there one for the linear equation and other advanced integrations
mercerist has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
JeanCarloMachado has joined #ruby
patarr has joined #ruby
maattdd_ has quit [Ping timeout: 260 seconds]
vicks has quit [Quit: Page closed]
last_staff has joined #ruby
ldnunes has joined #ruby
zack6849 has joined #ruby
zack6849 has joined #ruby
zack6849 has quit [Changing host]
Burgestrand has quit [Read error: Connection timed out]
Burgestrand has joined #ruby
ramfjord has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Client Quit]
Burgestrand has joined #ruby
mekeor has quit [Ping timeout: 246 seconds]
vondruch_ has joined #ruby
psychicist__ has joined #ruby
rikkipitt has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
dlitvak has joined #ruby
Derperperd has joined #ruby
allisio has quit [Quit: WeeChat 1.8-dev]
psychicist__ has quit [Remote host closed the connection]
hutch34 has joined #ruby
dyjakan has quit [Quit: Lost terminal]
Burgestrand has quit [Quit: Closing time!]
fergal has joined #ruby
Burgestrand has joined #ruby
dyjakan has joined #ruby
Derperperd has quit [Ping timeout: 268 seconds]
<fergal> hi guys, if i have a module like: `module Test @@myvar = “dummy” end`, how can i can i access myvar? in my current implementation, i have a method lik `self.myvar do @@myvar end` but is that unneccesary?
Reihar-_- has joined #ruby
<fergal> i can’t figure out how else to access it…Test::myvar doesn’t work
ramfjord has quit [Remote host closed the connection]
ta_ has joined #ruby
<dminuoso> fergal: First, avoid class variable unless you really need them. Generally class instance variables have less suprising moments.
<dminuoso> fergal: Second, let me tell you what went wrong.
<dminuoso> fergal: module Foo; def self.bar; end; end -> defines a method on the singleton class of Foo.
<dminuoso> So inside @@myvar would be a class variable of Foo's singleton class.
colegatron has left #ruby ["Leaving"]
<Mon_Ouie> >> module A; @@foo = 3; def self.foo; @@foo; end; end; A.foo
<ruby[bot]> Mon_Ouie: # => 3 (https://eval.in/747056)
<dminuoso> o.o
* dminuoso hides
malconis has joined #ruby
mercerist has quit [Remote host closed the connection]
catphish has joined #ruby
<fergal> Mon_Ouie: yeah that’s what i have currently, and it works, i’m just curious if that’s the only way to access the var?
<Mon_Ouie> The class in which class variables are looked up depends on scoping, not on what self is. Everything inside the class block accesses the same class variables.
<Mon_Ouie> Interestingly, this works:
<Mon_Ouie> >> class Foo; @@foo = 3; def String.foo; @@foo; end; end; String.foo
<ruby[bot]> Mon_Ouie: # => 3 (https://eval.in/747058)
<catphish> what's the best way to resolve a hostname to an ip address in ruby? ie just a standard lookup as something like TCPSocket.new would perform?
<dminuoso> Mon_Ouie: What the heck.
<Mon_Ouie> fergal: Class variables, like instance variables, require you to define reader methods to access them from outside the class
Burgestrand has quit [Quit: Closing time!]
<dminuoso> &ri Resolv catphish
<dminuoso> catphish: Keep in mind there's some subtleties depending on what system you run with.
<Mon_Ouie> Unlike for instance variables, there's no attr_reader-like method that you can use to define those automatically
<catphish> dminuoso: i'm not after a DNS resolver on this occasion
<dminuoso> "what's the best way to resolve a hostname to an ip address in ruby?"
<dminuoso> Im sorry, what did I misunderstand about that part?
Burgestrand has joined #ruby
<catphish> to clarify, i want to do a "system" hostname lookup, not a DNS lookup
<catphish> the results are likely to be the same, but i assume one doesn't normally a DNS client to to a name lookup
<catphish> *to do
<dminuoso> you still a verb.
<catphish> lol
<dminuoso> 13:10 < catphish> to clarify, i want to do a "system" hostname lookup, not a DNS lookup
<dminuoso> What do you mean :S
<dminuoso> What is a system hostname lookup?
<al2o3-cr> fergal: Foo.class_variable_get(:@@whatever)
<catphish> dminuoso: i want to resolve a hostname to an ip address, the normal way to do this is not to write a DNS client, but to simply ask the OS to do it
<dminuoso> catphish: And that's what Resolv does by default.
<dminuoso> On some systems.
<catphish> dminuoso: oh, is it? i thought resolv was a DNS client
<dminuoso> catphish: No. Only if you use resolv-replace.rb
<dminuoso> catphish: Otherwise it uses the standard libc resolved by your system.
<dminuoso> resolver.
haennar has quit [Ping timeout: 240 seconds]
<al2o3-cr> catphish: why not use IPSocket.getaddress
<catphish> interesting, wonder why resolv only uses DNS
* catphish looks up al2o3-cr's suggestion
<dminuoso> catphish: The whole Resolv module is a bit messy for some reasons. al2o3-cr's solution is sound
vondruch__ has joined #ruby
mercerist has joined #ruby
<dminuoso> it uses rsock_getaddress under the hood
<dminuoso> Which does things
vondruch_ has quit [Ping timeout: 240 seconds]
<catphish> i like the look of IPSocket.getaddress
<dminuoso> >> def foo; .foo; end
<ruby[bot]> dminuoso: # => /tmp/execpad-5700686d2020/source-5700686d2020:2: syntax error, unexpected '.' ...check link for more (https://eval.in/747061)
<catphish> thanks both!
<catphish> interesting, IPSocket.getaddress appears to call getaddrinfo which is probably exactly what i want
<catphish> SocketError: getaddrinfo: Name or service not known
<al2o3-cr> catphish: i was gonna say if you need all addresses use getaddrinfo directly
<catphish> well i really just want one address, but theres a caveat that if ipv6 fails, i probably want to try ipv4
mekeor has joined #ruby
<catphish> Socket.getaddrinfo is perhaps what i really want
<al2o3-cr> yep, i agree
<catphish> i suddenly realise my initial question was stupid, there's no "best" way :)
blackmes1 has quit [Ping timeout: 258 seconds]
<catphish> just a way that meets my requirements
Burgestrand has quit [Quit: Closing time!]
<catphish> al2o3-cr: Socket.getaddrinfo looks perfect, i can pick the first ipv6 and ipv4 address, or loop through all of them if i want failover
<catphish> thanks
utd_1997_ has quit [Quit: Page closed]
ta_ has quit [Remote host closed the connection]
Burgestrand has joined #ruby
<al2o3-cr> catphish: np, there is also Addrinfo.getaddrinfo is you need a address info obj
<catphish> i actually want a string, so thats fine
troulouliou_div2 has joined #ruby
<al2o3-cr> okay dokay
<catphish> i want to connect to a destination host via a proxy that doesn't itself support hostname resolution, so i just need to look up an address, then send the address as a string to the proxy
<catphish> so this is ideal :)
<al2o3-cr> catphish: cool :)
<al2o3-cr> btw use #gethostbyname #gethostbyaddr with #getnameinfo #getaddrinfo resp as the former are deprecated
KicStart has joined #ruby
<catphish> i'm using getaddrinfo
KicStart has quit [Changing host]
KicStart has joined #ruby
<catphish> that's the correct one?
<al2o3-cr> sweet!
<catphish> cool
<al2o3-cr> yep
<catphish> Socket.getaddrinfo('google.com', 80, :AF_INET6, :STREAM)
<catphish> works perfectly
<catphish> i can also ask for ipv6 as needed
<catphish> *ipv4
ddffg has quit [Ping timeout: 240 seconds]
<al2o3-cr> I, :)
sai has joined #ruby
catphish has left #ruby ["Leaving"]
<sai> what's the best way to test your gems (other than using spec tests) and using bundler?
sai is now known as tchme_sensei815
KicStart has quit [Quit: Leaving.]
KicStart has joined #ruby
Reihar-_- has quit [Ping timeout: 264 seconds]
dyjakan has quit [Quit: Lost terminal]
troulouliou_div2 has quit [Quit: Leaving]
cibs has quit [Ping timeout: 260 seconds]
<mikecmpbll> [offtopic] is there a place to seek consultants/specialists in certain tech areas?
dyjakan has joined #ruby
rikkipitt has quit [Quit: Leaving...]
cibs has joined #ruby
<mikecmpbll> not that familiar with using consultants so don't know how people typically find them and make sure they're good :'d
<marchelzo> mikecmpbll: i can consult for u
<mikecmpbll> marchelzo : i didn't say what it was yet ? :D
<marchelzo> what area are u looking for a specialist in?
<mikecmpbll> lol, that doesn't fill me with confidence.
<marchelzo> mikecmpbll: well yeah but i'm a specialist in every area so it doesn't matter
<mikecmpbll> space exploration.
<marchelzo> oh can't help u there
ddffg has joined #ruby
newrubycoder has joined #ruby
<tchme_sensei815> can someone guide me on testing out gems using bundler?
<marchelzo> newrubycoder: hi
<newrubycoder> hey marchelzo :)
<mikecmpbll> it's mysql really. but meh. i'm fairly experienced with it but this issue is fucking me up.
<marchelzo> newrubycoder: how have you been?
<marchelzo> mikecmpbll: ok i can help u there. you will have to fly me in, and i charge $200 usd / hour.
<mikecmpbll> :]
<newrubycoder> good, im learning every day, i need more discipline tho, hope i can get more than 2 hours of work done per day eventually, how about you?
tchme_se_ has joined #ruby
blackmes1 has joined #ruby
iwmrby has joined #ruby
<newrubycoder> i've made a connect 4 game, everything is working except the win conditions, which is hard to do without brute force
resin has joined #ruby
<canton7> it's not exactly brute force over a large area - it's not the end of the world
<marchelzo> newrubycoder: you inspire me
tchme_sensei815 has quit [Read error: Connection reset by peer]
mercerist has quit [Quit: Computer has gone to sleep.]
yusrideb has joined #ruby
<newrubycoder> well i can either write down like 160 arrays or i can make logic to check it
skolman has joined #ruby
<newrubycoder> thanks marchelzo lol
<marchelzo> lol the 160 arrays approach is a definite no-go
<newrubycoder> is it possible to incorporate `if`into `each` commands? like the each method will only iterate if a condition is met?
mercerist has joined #ruby
<marchelzo> just put the condition inside the block you pass to each
resin has left #ruby [#ruby]
<newrubycoder> ah okay
mercerist has quit [Remote host closed the connection]
skolman has quit [Ping timeout: 260 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ResidentBiscuit has joined #ruby
resin has joined #ruby
nowhere_man has joined #ruby
ferr1 has quit [Read error: Connection reset by peer]
<herwin> or .select{ ..condition here }.each{ ... }
blackmes1 has quit [Read error: Connection reset by peer]
ferr1 has joined #ruby
nobitanobi has joined #ruby
ResidentBiscuit has quit [Ping timeout: 246 seconds]
jameser has joined #ruby
slackbotgz has joined #ruby
d0nn1e has quit [Ping timeout: 256 seconds]
haennar has joined #ruby
d0nn1e has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
haennar has quit [Ping timeout: 240 seconds]
shinnya has joined #ruby
jameser has joined #ruby
millerti has joined #ruby
jameser has quit [Client Quit]
gnufied has quit [Quit: Leaving]
haennar has joined #ruby
Violentr has joined #ruby
brent__ has joined #ruby
rippa has joined #ruby
tchme_se_ has quit []
nowhere_man has quit [Ping timeout: 240 seconds]
nadir has joined #ruby
brent__ has quit [Ping timeout: 260 seconds]
roamingdog has quit [Remote host closed the connection]
Derperperd has joined #ruby
tyang has joined #ruby
gnufied has joined #ruby
rwb has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
nowhere_man has joined #ruby
vinumq has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
xen0fon has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
aspiers has quit [Ping timeout: 255 seconds]
slackbotgz has quit [Remote host closed the connection]
jameser has joined #ruby
Xentil has joined #ruby
jose_leeto has joined #ruby
maattdd_ has joined #ruby
Derperperd has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
jameser has quit [Client Quit]
__Yiota has joined #ruby
shelling___ has quit [Quit: Connection closed for inactivity]
maattdd has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
jschoolcraft has quit [Quit: peace]
kent\n has quit [Quit: No Ping reply in 180 seconds.]
vondruch__ is now known as vondruch
kent\n has joined #ruby
vinumq has quit [Remote host closed the connection]
ruid has joined #ruby
ResidentBiscuit has joined #ruby
GodFather has joined #ruby
ResidentBiscuit has quit [Ping timeout: 246 seconds]
xen0fon has left #ruby [#ruby]
last_staff has quit [Quit: last_staff]
OMGtechy has joined #ruby
Suresh has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
Derperperd has joined #ruby
ramortegui has joined #ruby
<mekeor> (how) can i make this ruby-snippet print "Hello world"? -> http://sprunge.us/iNAZ
<mekeor> i need to find the right alternative to "self" in "(arg = self.to_s)" on line 3
<mekeor> oh, i'm sorry. the code is incomplete because Log is my own class. gimme a sec
<mekeor> of course, i mean this code: http://sprunge.us/GZcZ
tlaxkit has quit [Quit: ¡Adiós!]
Oldn0rse has joined #ruby
<mekeor> in the definition of a class method `m`, can i reference the `self` of the function which called `m`?
<Papierkorb> mekeor: function calls as default arguments are always evaluated in the context of the object the method is in when the method is called
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<tobiasvl> can you just define m so it takes an argument, and call it as m(self)?
<mekeor> uhm, i'm having a hard time understanding your terminology. could you maybe paste a modification of my snippet from above?
Xiti has joined #ruby
AckZ has joined #ruby
bmurt has joined #ruby
lizard2010 has joined #ruby
lizard2010 has quit [Client Quit]
ruid has quit [Ping timeout: 260 seconds]
Suresh has left #ruby [#ruby]
tvw has joined #ruby
Oldn0rse has quit [Remote host closed the connection]
Oldn0rse has joined #ruby
<tobiasvl> mekeor: instead of `def self.hello(arg = self.to_s)`, just do `self.hello(arg = self)`, and instead of `Say.hello`, do `Say.hello(self)` ?
blackmes1 has joined #ruby
Reihar-_- has joined #ruby
fuzzyhorns has joined #ruby
<mekeor> tobiasvl: i'd prefer to avoid adding explicit parameters at the invokation of `Say.hello` within the definition of `world`.
baked__beans has joined #ruby
<tobiasvl> mekeor: you need to pass the context of world somehow
<mekeor> tobiasvl: can i do that implicitely? like, without writing it explicitely? e.g. using default arugment values?
DLSteve_ has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
<tobiasvl> mekeor: no, because like Papierkorb said the default argument is evaluated in the context it's defined in
<tobiasvl> not in the caller's
<tobiasvl> otherwise it wouldn't be a good default, wouldn't it then act like a regular argument?
nowhere_man has joined #ruby
rwb has joined #ruby
<mekeor> alright, i give up. thank you :)
Derperperd has quit [Ping timeout: 240 seconds]
flying has quit []
nowhere_man has quit [Ping timeout: 264 seconds]
skolman has joined #ruby
aupadhye has quit [Quit: Leaving]
maattdd has joined #ruby
Derperperd has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maattdd_ has quit [Ping timeout: 268 seconds]
skolman has quit [Ping timeout: 256 seconds]
nowhere_man has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
iwmrby has quit [Quit: WeeChat 1.7]
certainty has joined #ruby
Derperperd has quit [Ping timeout: 240 seconds]
LuckyABA_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jsrn__ has joined #ruby
jdm_ has quit [Ping timeout: 264 seconds]
jsrn_ has quit [Ping timeout: 264 seconds]
buzz0763 has joined #ruby
Silthias1 has joined #ruby
tmtwd has quit [Ping timeout: 258 seconds]
Silthias has quit [Ping timeout: 256 seconds]
agent_white has joined #ruby
rcruz has joined #ruby
eqxakv has joined #ruby
gsilva has joined #ruby
`0x00` has quit [Quit: leaving]
`0x00` has joined #ruby
lxsameer has joined #ruby
aspiers has joined #ruby
lxsameer is now known as Guest56190
u0_a61 has joined #ruby
tau has joined #ruby
<agent_white> Mornin' folks
jsaak has quit [Quit: leaving]
jsaak has joined #ruby
anisha has quit [Quit: Leaving]
statelesscode has quit [Quit: statelesscode]
Violentr has quit [Ping timeout: 268 seconds]
dmn_ has joined #ruby
Violentr has joined #ruby
railswebdev has joined #ruby
nowhere_man has quit [Ping timeout: 264 seconds]
catphish has joined #ruby
<dmn_> Hello. what can be wrong here: <%= if conf.has_key?('dstdir') ? conf['dstdir'] : conf['srcdir'] -%>"
ddffg has quit [Remote host closed the connection]
<dmn_> this is a part of puppet template and it produces this error: http://paste.org.ru/?f1pl51
shinnya has quit [Ping timeout: 240 seconds]
<dmn_> ^ points to ) there: conf['srcdir'] ).to_s
<catphish> i have an openssl socket, epoll says it's writeable, but a non-blocking write to it raises OpenSSL::SSL::SSLErrorWaitWritable, and trying to write to it again raises "OpenSSL::SSL::SSLError: SSL_write: bad write retry", i don't know how to deal with this, does anyone have any suggestions?
planteater has quit [Quit: WeeChat 1.6]
blackmes1 has quit [Quit: WeeChat 1.6]
certainty has quit [Ping timeout: 258 seconds]
skweek has joined #ruby
igniting has quit [Ping timeout: 240 seconds]
fergal has quit [Quit: fergal]
planteater has joined #ruby
renchan has quit [Quit: Leaving...]
Violentr has quit [Ping timeout: 260 seconds]
u0_a61 has quit [Quit: leaving]
brent__ has joined #ruby
<catphish> "IO::WaitWritable means SSL needs to write internally so #write_nonblock should be called again after underlying IO is writable"
jsrn_ has joined #ruby
<catphish> i need to epoll the underlying socket
brent__ has quit [Ping timeout: 240 seconds]
jsrn__ has quit [Ping timeout: 264 seconds]
nowhere_man has joined #ruby
aaaaaaaabbbbbbb has joined #ruby
aaaaaaaabbbbbbb has quit [Client Quit]
<newrubycoder> im trying to check horizontal wins in connect four, does anyone know how to make the each/for command increase the X and Ys? here is my code https://gist.github.com/anonymous/7762efb21b5fa409ded946a3df448b1d
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
patarr has joined #ruby
Guest56190 has quit [Quit: WeeChat 1.6]
planteater has quit [Quit: WeeChat 1.6]
sepp2k has joined #ruby
<catphish> i get the same error even when i check the underlying IO :(
aryaching has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
zacts has quit [Quit: WeeChat 1.5]
saneax is now known as saneax-_-|AFK
renchan has joined #ruby
<catphish> so, my OpenSSL write_nonblock is raising OpenSSL::SSL::SSLErrorWaitWritable, according to the documentation this shouldn't be the case :(
milardovich has quit [Ping timeout: 260 seconds]
<catphish> ah, it includes the exception it's supposed to raise, that's fine
mekeor has quit [Remote host closed the connection]
cschneid_ has joined #ruby
Trynemjoel has joined #ruby
nowhere_man has quit [Ping timeout: 258 seconds]
teclator has quit [Remote host closed the connection]
alchermd has joined #ruby
jaruga________ has quit [Quit: jaruga________]
conta has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Remote host closed the connection]
<catphish> well i'm pretty confused, epoll says my ssl socket is writeable, but write_nonblock says it's not, not sure what else to look at [sadface]
rakm has joined #ruby
nowhere_man has joined #ruby
blackwind_123 has joined #ruby
`0x00` has quit [Ping timeout: 268 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ferr1 has quit [Quit: WeeChat 1.7]
snowball has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
marcdel has joined #ruby
<baweaver> newrubycoder: I'm going to let you spend some more time working that out for yourself. I will give you a hint though, you switched x and y in the array accessors and that'll be annoying later.
roamingdog has joined #ruby
<newrubycoder> im trying but each is so hard, i might try a loop instead
<baweaver> Visualize this:
<baweaver> _ | _ | _
<baweaver> _ | _ | _
<baweaver> _ | _ | _
<newrubycoder> yeah
<baweaver> If you put those in arrays, each row would be a collection of 3 empty cells
<baweaver> How is each hard?
<agent_white> "each is so hard, i might try a loop instead" "loops is hard, I might try a loop instead"
<agent_white> ;)
dcluna has quit [Ping timeout: 268 seconds]
<snowball> why can't i access rake functions from inside a class, what's going on with the scoping here https://gist.github.com/anonymous/1fcd6eabafd8ec5b700f63c4d03ca3ae
dcluna has joined #ruby
<baweaver> well I wasn't going to out and say it, but yeah, what agent_white said
<baweaver> How does it know where the rake task is?
robnester has quit [Quit: I wonder what this button does...?]
<baweaver> What did you try to make it?
<newrubycoder> its hard to write blocks, espeically stuff like |i|, like how would i increase the i etc.
<baweaver> That's a bit silly newrubycoder
<baweaver> open up irb
<baweaver> and put in this: [1,2,3].each { |element| puts element }
alchermd has quit [Quit: Page closed]
<baweaver> the name of the block variable is irrelevant. It could be foobarbaz and it'd still be assigned to each element as it goes through the block
robnester has joined #ruby
roamingdog has quit [Ping timeout: 246 seconds]
<baweaver> but in this specific case each is not what you need.
nowhere_man has quit [Ping timeout: 240 seconds]
<baweaver> (well, technically it is as all Enumerable functions implement each, but that's besides the point)
<snowball> baweaver pardon?
<baweaver> How does your file know where to look for the rake task snowball?
<baweaver> Is it required somewhere?
SuperLag_ has joined #ruby
<baweaver> assuming it is, are you sure that's how you call one inside a Ruby file?
<snowball> yeah, creating tasks works outside the class
<snowball> inside it can'r resolve the name
aufi has quit [Remote host closed the connection]
<snowball> can't*
ozcanesen has joined #ruby
<baweaver> Since I just realized that that file is your rakefile, and not an arbitrary class calling it
SuperLag has quit [Ping timeout: 260 seconds]
* baweaver needs to drink more coffee
TomyWork has quit [Remote host closed the connection]
<baweaver> newrubycoder: what defines a horizontal win?
<snowball> it's not a rake issue, it's a my-understanding-of-scopes issue
<baweaver> (and note you're checking for vertical wins right now, you want grid[y][x])
<newrubycoder> 4 "X"es in a row horizontally
Ishido has joined #ruby
<newrubycoder> in any possible place but it must be consecutive
<baweaver> start by writing out the horizontal wins by hand
<baweaver> condition_1 || condition_2 || ....
<baweaver> and just newline them for now
OTORelic has joined #ruby
<baweaver> then once you have them all written out, look for a way they're similar
<baweaver> and think about how you would use this function:
<baweaver> &ri Enumerable#times
<`derpy> No results
<baweaver> ....fixnum
<baweaver> &ri Fixnum#times
<`derpy> No results
<newrubycoder> should i bruteforce it? that would be like 30
<baweaver> &ri Integer#times
<baweaver> third time's the charm
<baweaver> for a 4x4 grid and only horizontal wins?
brent__ has joined #ruby
<newrubycoder> its 7*6 i think
<newrubycoder> this is the loop im thinking off, it checks x 4 times then goes to a new row as y increase https://gist.github.com/anonymous/a5b66f15e7444328a9fb3b1e6cd45c41
<baweaver> Ah, that it is.
<baweaver> you're making it overly complicated.
<newrubycoder> brb 2 sec
<baweaver> There are two ways to approach this one: enumerate all possible wins or depth first search
chouhoulis has joined #ruby
<baweaver> snowball: then don't put rake tasks inside of classes.
<baweaver> Rake tasks are by nature just that: tasks. They don't need to be wrapped in classes
chouhoulis has quit [Remote host closed the connection]
OMGtechy has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 256 seconds]
username1 has joined #ruby
roamingdog has joined #ruby
skolman has joined #ruby
Derperperd has joined #ruby
<newrubycoder> ok im back
nowhere_man has joined #ruby
OTORelic1 has joined #ruby
<marchelzo> welcome back
benlieb has joined #ruby
<newrubycoder> ty
jottr has joined #ruby
snowball has left #ruby [#ruby]
<newrubycoder> baweaver: im not sure what enumerate or enumerable is, i know it's something in the source code, but not sure how to call on it etc.
<baweaver> Enumerate - write out every
<baweaver> To enumerate all options is to get all options
<newrubycoder> ah ok
skolman has quit [Ping timeout: 260 seconds]
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
OTORelic has quit [Ping timeout: 258 seconds]
nOwz has quit [Quit: WeeChat 1.7]
szulak has joined #ruby
whathappens has joined #ruby
whathappens is now known as Guest9018
DTZUZU has quit [Quit: WeeChat 1.5]
<baweaver> slight spoiler: you're likely going to need pathfinding type algorithms using recursion, this isn't an absolutely trivial problem
<baweaver> in fact I would almost suggest tabling it for now as it'll be beyond you for a while
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
Axelay has quit [Ping timeout: 240 seconds]
preyalone has joined #ruby
<baweaver> the simplest solution is basically brute forcing it with loops and enumerating every solution.
<baweaver> though even that's a slightly difficult problem
<baweaver> Try making TicTakToe first.
amclain has joined #ruby
olspookishmagus has quit [Ping timeout: 245 seconds]
nobitanobi has quit [Ping timeout: 240 seconds]
pandaant has quit [Remote host closed the connection]
olspookishmagus has joined #ruby
renchan has quit [Remote host closed the connection]
olspookishmagus is now known as Guest96018
renchan has joined #ruby
mikecmpbll has quit [Ping timeout: 260 seconds]
<newrubycoder> yeah you're right
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rakm has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gsilva has quit [Ping timeout: 256 seconds]
pawnbox_ has joined #ruby
dionysus69 has joined #ruby
bkxd_ has quit [Ping timeout: 268 seconds]
Mia has quit [Read error: Connection reset by peer]
roamingdog has quit [Remote host closed the connection]
skolman has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
eqxakv has quit [Remote host closed the connection]
xzhao has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Guest9018 has quit [Remote host closed the connection]
pgm has joined #ruby
jsrn_ has quit [Quit: Leaving]
buzz0763 has quit [Ping timeout: 268 seconds]
<pgm> I'm having cucumber issues with RubyMine..
<pgm> I think I have it installed, but when I try to run a feature, it says Cucumber Gem isn't installed for ruby-2.0.0-p648 SDK
<pgm> what gives?
nowhere_man has quit [Ping timeout: 240 seconds]
TomyLobo has joined #ruby
<catphish> i'm a bit confused about OpenSSL, is it part of core ruby? i see https://github.com/ruby/openssl
<catphish> or are several gems pulled into core ruby when its packaged?
<leah2> latter
<catphish> thanks
<pgm> im just trying to run cucumber tests :(
[Butch] has joined #ruby
<baweaver> pgm: then it's not installed
gusrub has joined #ruby
Anonymoose2 has joined #ruby
<baweaver> catphish: It is. There are several features which come prepackaged. http://ruby-doc.org/stdlib-2.4.0/libdoc/openssl/rdoc/OpenSSL.html
Lord_of_Life has quit [Excess Flood]
<pgm> baweaver: how do I install it correctly? I've tried command line, I've tried from within preferences on rubymine
<pgm> im at a loss now
<baweaver> run: ruby -v
<baweaver> and: which ruby
__Yiota has joined #ruby
<baweaver> and throw together a gist of the commands you're using to install / run it
<baweaver> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<baweaver> not enough information to debug currently.
<catphish> baweaver: thanks, is there a way to know what openssl is shipped with my ruby?
milardovich has joined #ruby
<baweaver> It's an interface library
<baweaver> not OpenSSL itself
Lord_of_Life has joined #ruby
<pgm> ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]
<pgm> and /usr/bin/ruby
<baweaver> then gist the complete errors / commands you're using
reverberations has quit [Ping timeout: 240 seconds]
<baweaver> So MacOSX with default Ruby
fuzzyhorns has quit [Quit: Leaving.]
<catphish> baweaver: sorry, i mean which version of the openssl binding
<catphish> the ruby library
<havenwood> catphish: ruby -ropenssl -e "puts OpenSSL::VERSION"
<catphish> havenwood: thankls
<pgm> baweaver: There really isnt much to show except that when in Ruby mine I try to run a feature, it gives me this error:Error running tests.feature: Cucumber Gem isn't installed for ruby-2.0.0-p648 SDK
<pgm> so im not sure what to put into the gist
<catphish> it says 1.1.0, there seems to be no such tag at https://github.com/ruby/openssl/
<baweaver> all the commands you're using to run it
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<baweaver> and you'd be surprised what an error message can tell
<pgm> but im running it from within the IDE
<pgm> so I'm not sure what to do
<pgm> idk.. does that help?
cfec0b8d has joined #ruby
<baweaver> one sec, looking at some work things
<baweaver> havenwood might have a sec
patarr has quit [Ping timeout: 246 seconds]
<pgm> all right
<havenwood> pgm: What OS/distro?
m4yfield_ has joined #ruby
<pgm> osx capitan
<havenwood> pgm: sudo gem install cucumber
<havenwood> pgm: or point your RubyMine at a Ruby other than your system Ruby
<pgm> ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/cucumber
<pgm> works ok if I do sudo gem install -n /usr/local/bin cucumber, though
nowhere_man has joined #ruby
<havenwood> pgm: So `sudo gem install cucumber` works but then you get that ^ error when you try to use it with RubyMine?
<pgm> no I get that error from command line
<havenwood> pgm: `sudo gem install cucumber` should work...
<havenwood> System Integrity Protection?
<havenwood> Likely
<pgm> maybe. it's my work computer
edwinvdg_ has joined #ruby
<havenwood> pgm: You could `csrutil disable` and reboot :-P but yeah, that's likely SIP
<havenwood> pgm: You might want to go ahead and switch off of your system Ruby.
eregon_ has joined #ruby
<pgm> ok
<pgm> ill give that a try
Hates__ has joined #ruby
<havenwood> pgm: You could use the Homebrew Ruby or ruby-install + chruby is a popular option for Ruby devs.
danzilio_ has joined #ruby
chromis_ has joined #ruby
rann_ has joined #ruby
troulouliou_div2 has joined #ruby
dukedave_ has joined #ruby
cardoni_ has joined #ruby
Yxhvd has joined #ruby
Some-body_ has joined #ruby
podman_ has joined #ruby
yo61_ has joined #ruby
caw__ has joined #ruby
daxroc_ has joined #ruby
kireevco_ has joined #ruby
rikai_ has joined #ruby
boshhead_ has joined #ruby
Antiarc_ has joined #ruby
machty_ has joined #ruby
kmhn has joined #ruby
armin_ has joined #ruby
ytti_ has joined #ruby
Marsjan has joined #ruby
Kestrel-029 has joined #ruby
Kuukunen has joined #ruby
zzxc- has joined #ruby
adgtl- has joined #ruby
lianj_ has joined #ruby
lianj_ has joined #ruby
lianj_ has quit [Changing host]
Kestrel-029 is now known as Guest69206
hxegon has joined #ruby
shadeslayer_ has joined #ruby
PaulePan1er has joined #ruby
Freijo has joined #ruby
nibbo_ has joined #ruby
balo_ has joined #ruby
SpComb^ has joined #ruby
ljarvis_ has joined #ruby
LiquidIn1ect has joined #ruby
zacts has joined #ruby
ltd_ has joined #ruby
xsdg has joined #ruby
jrmhurst92 has joined #ruby
zacts is now known as Guest88848
cb_ has joined #ruby
twe4ked_ has joined #ruby
coatezy_ has joined #ruby
<havenwood> pgm: Some folk launch RubyMine with `mine` from the Terminal so it gets their env vars. Try that once you get your new shiny Ruby setup.
swills_ has joined #ruby
larissa_ has joined #ruby
<pgm> havenwood: will do.
Guest88848 has quit [Client Quit]
SirFunk_ has joined #ruby
LikeGecko has joined #ruby
kies^ has joined #ruby
quarcu has joined #ruby
agit0 has joined #ruby
mr_rich101 has joined #ruby
Qommand0r_ has joined #ruby
Sou|cuttr has joined #ruby
Seich_ has joined #ruby
zenguy_pc2 has joined #ruby
zacts_pi has joined #ruby
john3 has joined #ruby
OTORelic1 has quit [Ping timeout: 264 seconds]
SirCmpwn_ has joined #ruby
admin1 has joined #ruby
jakebriggs[m]1 has joined #ruby
fedruantine_ has joined #ruby
Olipro_ has joined #ruby
jakebriggs[m] has quit [*.net *.split]
marsjaninzmarsa has quit [*.net *.split]
twe4ked has quit [*.net *.split]
teotwaki has quit [*.net *.split]
endemic has quit [*.net *.split]
larissa has quit [*.net *.split]
Hates_ has quit [*.net *.split]
danzilio has quit [*.net *.split]
cardoni has quit [*.net *.split]
eregon has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
kies has quit [*.net *.split]
fedruantine has quit [*.net *.split]
swills has quit [*.net *.split]
mayfield has quit [*.net *.split]
zzxc has quit [*.net *.split]
weaksauce has quit [*.net *.split]
tessi_zz has quit [*.net *.split]
Klumben has quit [*.net *.split]
zenguy_pc has quit [*.net *.split]
znz_jp has quit [*.net *.split]
cb has quit [*.net *.split]
Soulcutter has quit [*.net *.split]
Olipro has quit [*.net *.split]
quarcu_ has quit [*.net *.split]
coatezy has quit [*.net *.split]
armin has quit [*.net *.split]
chromis has quit [*.net *.split]
podman has quit [*.net *.split]
klaas has quit [*.net *.split]
adgtl has quit [*.net *.split]
rikai has quit [*.net *.split]
Satyajit has quit [*.net *.split]
ikopico has quit [*.net *.split]
gizmore has quit [*.net *.split]
mburns has quit [*.net *.split]
svkurowski has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
kireevco has quit [*.net *.split]
moufl has quit [*.net *.split]
deimos has quit [*.net *.split]
dukedave has quit [*.net *.split]
Iacobus has quit [*.net *.split]
yo61 has quit [*.net *.split]
machty has quit [*.net *.split]
rann has quit [*.net *.split]
SirFunk has quit [*.net *.split]
bastelfreak has quit [*.net *.split]
oblique has quit [*.net *.split]
pjaspers has quit [*.net *.split]
mr_rich102 has quit [*.net *.split]
xsdg_ has quit [*.net *.split]
ljarvis has quit [*.net *.split]
Kuukunen- has quit [*.net *.split]
hxegon_ has quit [*.net *.split]
jrmhurs102 has quit [*.net *.split]
kmhn_ has quit [*.net *.split]
daxroc has quit [*.net *.split]
alamar has quit [*.net *.split]
edwinvdgraaf has quit [*.net *.split]
Antiarc has quit [*.net *.split]
saneax-_-|AFK has quit [*.net *.split]
Fraeon has quit [*.net *.split]
Lyubo1 has quit [*.net *.split]
Nicmavr has quit [*.net *.split]
lianj has quit [*.net *.split]
skmp has quit [*.net *.split]
caw has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
ytti has quit [*.net *.split]
Qommand0r has quit [*.net *.split]
tabakhase has quit [*.net *.split]
boshhead has quit [*.net *.split]
balo has quit [*.net *.split]
llua has quit [*.net *.split]
SpComb has quit [*.net *.split]
nibbo has quit [*.net *.split]
cats has quit [*.net *.split]
x0f has quit [*.net *.split]
bathtub_shark has quit [*.net *.split]
SirCmpwn has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
Seich has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
Yxhuvud has quit [*.net *.split]
ltd has quit [*.net *.split]
DrCode has quit [*.net *.split]
fuzzyfuzz has quit [*.net *.split]
Some-body_ is now known as DarthGandalf
twe4ked_ is now known as twe4ked
LikeGecko is now known as cats
snapcase has quit [*.net *.split]
coatezy_ is now known as coatezy
Marsjan is now known as marsjaninzmarsa
cb_ is now known as cb
oblique- has joined #ruby
Beams has quit [Quit: .]
<havenwood> catphish: 1.1.0 is the version of OpenSSL itself, not the openssl gem
gizmore has joined #ruby
bastelfreak1 has joined #ruby
moufl- has joined #ruby
x0f has joined #ruby
pjaspers has joined #ruby
svkurowski has joined #ruby
teotwaki has joined #ruby
ikopico has joined #ruby
tessi_zz has joined #ruby
endemic has joined #ruby
cardoni_ is now known as cardoni
znz_jp has joined #ruby
tabakhase has joined #ruby
moufl- is now known as moufl
Olipro_ is now known as Olipro
mburns has joined #ruby
danzilio_ is now known as danzilio
llua has joined #ruby
catphish has quit [Quit: Leaving]
chouhoulis has joined #ruby
fuzzyhorns has joined #ruby
Hates__ is now known as Hates_
podman_ is now known as podman
alamar has joined #ruby
xzhao has quit [Remote host closed the connection]
alamar is now known as Guest90403
bathtub_shark has joined #ruby
pizzaops has quit [Ping timeout: 255 seconds]
pifon has quit [Ping timeout: 258 seconds]
rann_ is now known as rann
SirCmpwn_ is now known as SirCmpwn
chromis_ is now known as chromis
deimos has joined #ruby
machty_ has quit [Ping timeout: 240 seconds]
daxroc_ is now known as daxroc
troulouliou_div2 has quit [Quit: Leaving]
skmp has joined #ruby
ahrs has quit [Ping timeout: 240 seconds]
kireevco_ is now known as kireevco
saneax-_-|AFK has joined #ruby
ahrs has joined #ruby
dukedave_ is now known as dukedave
yo61_ is now known as yo61
machty_ has joined #ruby
caw__ is now known as caw
tildes has joined #ruby
whathappens has joined #ruby
whathappens is now known as Guest67133
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
pifon has joined #ruby
pizzaops has joined #ruby
tildes has quit [Ping timeout: 240 seconds]
DrCode has joined #ruby
jdm has joined #ruby
patarr has joined #ruby
<pgm> curl: (22) The requested URL returned error: 503 Error: Failed to download resource "chruby" Download failed: https://github.com/postmodern/chruby/archive/v0.3.9.tar.gz
<pgm> :/
<pgm> nothing can go right
Cohedrin has joined #ruby
Derperperd has quit [Max SendQ exceeded]
Derperperd has joined #ruby
marchelzo has quit [Quit: :*]
haennar has quit [Ping timeout: 258 seconds]
zacts_pi has quit [Ping timeout: 240 seconds]
bigkevmcd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has joined #ruby
rikai_ is now known as rikai
armin_ is now known as armin
unmanbearpig has quit [Remote host closed the connection]
unmanbearpig has joined #ruby
GodFather has quit [Read error: No route to host]
kies^ has quit [Ping timeout: 240 seconds]
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
aaaaaaaabbbbbbb has joined #ruby
gusrub has quit [Ping timeout: 240 seconds]
jdm has quit [Remote host closed the connection]
jdm has joined #ruby
tau has quit [Remote host closed the connection]
kies^ has joined #ruby
pilne has joined #ruby
Burgestrand has quit [Quit: Closing time!]
sylario has joined #ruby
Fernando-Basso has joined #ruby
tfitts has joined #ruby
montanonic has joined #ruby
Klumben has joined #ruby
snapcase has joined #ruby
klaas has joined #ruby
klaas has quit [Max SendQ exceeded]
tildes has joined #ruby
klaas has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
pawnbox_ has quit [Read error: Connection reset by peer]
Silthias1 has quit [Ping timeout: 240 seconds]
oblique- is now known as oblique
oblique has quit [Changing host]
oblique has joined #ruby
xen0fon has joined #ruby
djbkd has joined #ruby
Silthias has joined #ruby
xall has quit [Ping timeout: 258 seconds]
pawnbox_ has joined #ruby
swills_ has quit [Read error: Connection reset by peer]
duderonomy has quit [Ping timeout: 260 seconds]
swills_ has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
Lucky_ABA has joined #ruby
ericx2x has joined #ruby
SuperLag_ is now known as SuperLag
cibs has quit [Ping timeout: 258 seconds]
SuperLag has quit [Changing host]
SuperLag has joined #ruby
aaaaaaaabbbbbbb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jgnagy> it is a crazy long shot and a really weird question, but has anyone heard of an issue with ruby 2.1.7 reading from /proc (specifically /proc/pid#/io) on Ubuntu 12.04 amd64 running kernel 3.2?
<jgnagy> specifically resulting in `Psych::SyntaxError: (<unknown>): could not find expected ':' while scanning a simple key at line 8 column 1`
cibs has joined #ruby
<jgnagy> which is mysterious, as there should be no line 8
<jgnagy> and it seems it only intermittently happens
wrkrcoop has joined #ruby
<jgnagy> I am struggling to reproduce this problem, but I'm just covering all my bases trying to find an answer
<wrkrcoop> does this look wrong? res = Net::HTTP.post_form(uri, 'username' => autodesk_email, 'password' => password, 'host' => host, 'isEnabled' => true, 'name' => name, 'port' => port)
<wrkrcoop> getting `post_form': undefined method `user' for #<String:0x007fae0db0d1d8> (NoMethodError)
<jgnagy> I've looked over the psych gem's github issues (closed ones, even), I've looked at libyaml source for around 2012, I've looked at fs/proc/base.c in the linux kernel source
<jgnagy> and I can't find anything in the ubuntu release notes for 12.10 or after that indicates it being a problem that was fixed
boshhead_ is now known as boshhead
Guest67133 has quit [Quit: Leaving...]
pgm has quit [Ping timeout: 260 seconds]
<jgnagy> wrkcoop, looks like your uri isn't a URI object
<jgnagy> try
<jgnagy> es = Net::HTTP.post_form(URI(uri), 'username' => autodesk_email, 'password' => password, 'host' => host, 'isEnabled' => true, 'name' => name, 'port' => port)
cdg has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
<jgnagy> since Net::HTTP.post_form does things with the first param (in your case, `uri`), like call #user on it
<jgnagy> sorry, I meant wrkrcoop
<wrkrcoop> oh
<wrkrcoop> uri object …
<jgnagy> yes, I bet your `uri` there is a string
<jgnagy> given your error
nobitanobi has joined #ruby
cfec0b8d has quit [Ping timeout: 260 seconds]
<jgnagy> probably something like `uri = 'http://foo.com/'`
<wrkrcoop> hmm ok thanks
<jgnagy> just need to do `URI(uri)` or `uri = URI('http://foo.com/')`
skweek has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #ruby
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skweek has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
baked__beans has quit [Ping timeout: 240 seconds]
OMGtechy has joined #ruby
bkxd has joined #ruby
Fernando-Basso has quit [Quit: WeeChat 1.7]
marr has quit [Ping timeout: 240 seconds]
doublemalt_ has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
whathappens has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
Derperperd has quit [Max SendQ exceeded]
Derperperd has joined #ruby
doublemalt__ has quit [Ping timeout: 246 seconds]
ta_ has joined #ruby
Lucky_ABA has joined #ruby
gusrub has joined #ruby
hotpancakes has joined #ruby
bocaneri has quit [Read error: Connection reset by peer]
jdm has quit [Remote host closed the connection]
bilal80 has joined #ruby
jottr_ has joined #ruby
Sou|cuttr has quit [Quit: WeeChat 1.4]
Sou|cutter has joined #ruby
balazs has quit [Remote host closed the connection]
Iacobus has joined #ruby
raspado has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
marr has joined #ruby
Jayson_Virissimo has joined #ruby
hotpancakes has quit [Remote host closed the connection]
duderonomy has joined #ruby
baked__beans has joined #ruby
AckZ has quit []
wrkrcoop has joined #ruby
newrubycoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
enterprisey has joined #ruby
solocshaw has joined #ruby
solocshaw has quit [Client Quit]
safetypin has joined #ruby
govg has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
gusrub has quit [Ping timeout: 240 seconds]
gusrub has joined #ruby
jenrzzz has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
gsilva has joined #ruby
dionysus69 has joined #ruby
Derperperd has quit [Max SendQ exceeded]
Derperperd has joined #ruby
hotpancakes has joined #ruby
postmodern has joined #ruby
haylon has joined #ruby
<haylon> Hey everyone. If I want to compare to hashes using MiniTest, would assert_equal be what I want to use?
JeanCarloMachado has quit [Ping timeout: 268 seconds]
geekb4ck_ has quit [Quit: Page closed]
ramortegui has quit [Quit: Ex-Chat]
chouhoul_ has joined #ruby
Silthias1 has joined #ruby
Derperperd has quit [Ping timeout: 260 seconds]
Silthias has quit [Ping timeout: 260 seconds]
<OMGtechy> depends why you want to compare hashes :)
chouhoulis has quit [Ping timeout: 240 seconds]
wilbert has joined #ruby
<haylon> I'm having my function return a Hash rather than a formatted JSON. I think I might have figured out my issue. Reading the docs, it says that it compares the diffs as though they're being printed to STDOUT. Since its just outputting it as a single line, but the expectation is pretty formatted, there's an option I had to use called make_my_diff_pretty!
antoniobeyah has joined #ruby
wrkrcoop has joined #ruby
hotpancakes has quit [Remote host closed the connection]
gusrub_ has joined #ruby
hotpancakes has joined #ruby
nobitanobi has joined #ruby
gusrub has quit [Ping timeout: 260 seconds]
gsilva has quit [Ping timeout: 260 seconds]
gusrub_ has quit [Remote host closed the connection]
gusrub has joined #ruby
Jayson_V_ has joined #ruby
Jayson_Virissimo has quit [Read error: Connection reset by peer]
GinoManWorks has quit [Quit: Leaving]
montanonic has quit [Ping timeout: 240 seconds]
username1 has quit [Ping timeout: 260 seconds]
davezd has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
roamingdog has joined #ruby
nobitanobi has quit [Remote host closed the connection]
workmad3 has joined #ruby
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
whathappens is now known as Guest45208
[Butch]_ has joined #ruby
roamingd_ has joined #ruby
roamingdog has quit [Ping timeout: 258 seconds]
Guest45208 has quit [Remote host closed the connection]
xzhao has joined #ruby
xzhao has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 268 seconds]
[Butch] has quit [Ping timeout: 260 seconds]
[Butch]_ is now known as [Butch]
haylon has quit [Quit: Leaving]
byte512 has quit [Ping timeout: 264 seconds]
GinoManWorks has joined #ruby
hotpancakes has quit [Remote host closed the connection]
jdm has joined #ruby
gusrub_ has joined #ruby
hotpancakes has joined #ruby
griffindy has joined #ruby
nobitanobi has joined #ruby
raatiniemi has joined #ruby
lacour has joined #ruby
gusrub_ has quit [Client Quit]
Derperperd has joined #ruby
gusrub has quit [Ping timeout: 240 seconds]
montanonic has joined #ruby
mtkd has quit [Ping timeout: 246 seconds]
chouhoul_ has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mtkd has joined #ruby
gusrub has joined #ruby
boombox_ has joined #ruby
aaaaaaaabbbbbbb has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
tfitts has quit [Quit: Connection closed for inactivity]
boombox_ has quit [Remote host closed the connection]
SeepingN has joined #ruby
ElDoggo has joined #ruby
hotpancakes has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
<wrkrcoop> i need to make an xml post request, and send over my username and password, does anyone know if i just send this: <username>myname</username><password>mypassword</password><data>mydata</data>
<ElDoggo> Anyone know why this regex matches in Rubular, but '123-23-1234'.scan(the_regex) returns an empty array?
<ElDoggo> \b(?!000|666){3}[0-8][0-9]{2}-(?!00)[0-9]{2}-(?!0000)[0-9]{4}\b
<ElDoggo> I'm using Regexp.new('\b(?!000|666){3}[0-8][0-9]{2}-(?!00)[0-9]{2}-(?!0000)[0-9]{4}\b') to create the regex
hotpancakes has joined #ruby
nofxx has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<c-c> wrkrcoop: thats not a valid xml doc
<wrkrcoop> c-c: do you know how id send username and password + the other piece of data i need to send?
<apeiros> ElDoggo: works for me. which ruby version are you using?
<c-c> ElDoggo: its missing a group
<ElDoggo> 2.31
<apeiros> ElDoggo: https://eval.in/747616 - works fine. you're doing something else wrong.
<c-c> wrkrcoop: I don't but start with using nokogiri to create a valid xml doc
ecksit has joined #ruby
username1 has joined #ruby
djbkd has joined #ruby
<apeiros> (the result is the same for Regexp.new, just that there's no point in using that verbose way)
<c-c> wrkrcoop: or, if you are making xmlhttprequests, use appropriate library
Lord_of_Life has quit [Excess Flood]
binaryplease has joined #ruby
<ElDoggo> Thank you. I was passing the regex to Regexp.new in quotes
<ElDoggo> Appreciate it.
<apeiros> double quotes instead of single quotes like you showed here?
<ElDoggo> double quotes
jenrzzz has quit [Ping timeout: 260 seconds]
<apeiros> and *that's* why you copy paste the code and don't give a randomly different representation when asking stuff :-p
<apeiros> good you found it :)
newrubycoder has joined #ruby
<ElDoggo> :-D
t-recx has quit [Quit: t-recx]
Lord_of_Life has joined #ruby
workmad3 has joined #ruby
tomphp has joined #ruby
<OMGtechy> wrkrcoop, please don't send a password in plain text </3
<wrkrcoop> OMGtechy: the request is to https? doesnt that mean not plaintext
raspado has quit [Quit: Leaving...]
OMGtechy has quit [Quit: Leaving]
Jayson_V_ has quit [Remote host closed the connection]
Jayson_Virissimo has joined #ruby
Jayson_Virissimo has quit [Read error: Connection reset by peer]
Jayson_Virissimo has joined #ruby
aaaaaaaabbbbbbb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AnoHito has quit [Quit: Leaving]
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
cdg has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
montanonic has quit [Ping timeout: 246 seconds]
montanonic has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
Jayson_Virissimo has quit []
ldnunes has quit [Quit: Leaving]
elifoster has joined #ruby
griffindy has quit [Quit: Textual IRC Client: www.textualapp.com]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
<SeepingN> that does not mean plaintext, no
igniting has joined #ruby
AnoHito has joined #ruby
<jhass> no
jottr_ has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 268 seconds]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
PaulePan1er is now known as PaulePanter
tau has joined #ruby
byte512 has joined #ruby
Qommand0r_ has quit [Quit: WeeChat 1.7]
SCHAAP137 has quit [Read error: Connection reset by peer]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
gusrub has quit [Remote host closed the connection]
wrkrcoop has quit [Quit: wrkrcoop]
wrkrcoop has joined #ruby
wrkrcoop has quit [Client Quit]
gusrub has joined #ruby
Pumukel has joined #ruby
whathappens has joined #ruby
AngryNorsMan has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
whathappens is now known as Guest7673
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ozcanesen has quit [Read error: Connection reset by peer]
newrubycoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
SCHAAP137 has joined #ruby
AngryNorseMan has quit [Ping timeout: 268 seconds]
ozcanesen has joined #ruby
mikecmpbll has joined #ruby
wilbert has quit [Ping timeout: 268 seconds]
rwb has quit [Ping timeout: 240 seconds]
zacts has joined #ruby
workmad3 has joined #ruby
montanonic has quit [Ping timeout: 260 seconds]
ta_ has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
szulak has joined #ruby
sepp2k has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
blackmesa has joined #ruby
binaryplease1 has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 260 seconds]
montanonic has joined #ruby
binaryplease has quit [Ping timeout: 240 seconds]
fuzzyhorns has quit [Quit: Leaving.]
binaryplease1 is now known as binaryplease
roamingd_ has quit [Remote host closed the connection]
zacts has quit [Quit: WeeChat 1.5]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
roamingdog has joined #ruby
djbkd has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
aaaaaaaabbbbbbb has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
renchan has quit [Remote host closed the connection]
ecksit has quit [Ping timeout: 260 seconds]
nowhere_man has joined #ruby
wrkrcoop has joined #ruby
tildes has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby
jdm has quit [Remote host closed the connection]
jdm has joined #ruby
tildes has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackwind_123 has quit [Ping timeout: 240 seconds]
wrkrcoop_ has joined #ruby
wrkrcoop has quit [Ping timeout: 246 seconds]
wrkrcoop_ is now known as wrkrcoop
montanonic has quit [Ping timeout: 258 seconds]
last_staff has joined #ruby
blackwind_123 has joined #ruby
tyang has quit [Quit: Leaving]
edwinvdg_ has quit [Remote host closed the connection]
tildes has quit [Read error: No route to host]
tildes has joined #ruby
montanonic has joined #ruby
professor_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
professor_ has quit [Client Quit]
patarr has quit [Ping timeout: 256 seconds]
[Butch] has quit [Quit: I'm out . . .]
jose_leeto has quit [Quit: Leaving.]
Prof has joined #ruby
<Prof> hi
Prof is now known as Guest21174
<Guest21174> I read that Perl6 is a language" for the next 100 years"
<Guest21174> is this real?
prestorium has quit [Quit: Leaving]
<Guest21174> How does Ruby's future compare?
baked__beans has quit [Ping timeout: 260 seconds]
<DLSteve_> At least 200 years.
<Guest21174> I love Ruby and hope it will also live for a century.
swills_ is now known as swills
<bhaak> I didn't know that matz and the designers of Perl6 have a crystal ball
<Guest21174> but "crystal" exists ;)
<DLSteve_> Fortran will be around for at least another 500 years.
<Guest21174> why Fortran?
<jhass> why not
<DLSteve_> You think banks are ever going to spend the money to migrate off of the mainframes?
<eam> they already did in quite a few areas
<Guest21174> and what do the mainframes run?
<jhass> Cobol
<Guest21174> Still???
<DLSteve_> eam, Was a joke. We are in the process of migrating off of our mainframe and it has been very expensive.
<Guest21174> I thought that was ancient history
<eam> ;)
<eam> Guest21174: there have never been more cobol programmers and programs in the world than there is today
<eam> it's a growing industry
<eam> it's just growing far, far slower than the rest of the industry around it
<Guest21174> I understand the logic
<Guest21174> just never heard it before
<DLSteve_> cobol programmers can make a lot of money as well.
adam12 is now known as adam
<eam> perl's shaping up to be the next cobol. Looking forward to huge consulting payouts as a perl expert in a decade or so
adam is now known as Guest18238
<Guest21174> you mean perl 5 or 6?
<eam> perl 5
<eam> perl6 will never be used anywhere meaningful
<DLSteve_> Same for Python 2
<Guest21174> if you are a long time perl 5 user, what do you think of perl 6?
<Guest21174> oh ok
<Guest21174> i thought perl5 and python2 will stop being supported. How can they have a future and the new versions not?
<eam> who said perl5 will stop being supported?
<bhaak> look how we programmed 50 years ago
<DLSteve_> Because so much legacy code is written in them.
<bhaak> I hope we will programm differently than today in 50 years
* baweaver looks at Lisp and Haskell
<bhaak> well, hopefully. it's possible that computers will program themselves in 50 years :)
* baweaver chuckles
hotpancakes has quit [Remote host closed the connection]
<DLSteve_> Hopefully on my quantum computer.
tildes has quit [Ping timeout: 240 seconds]
<Guest21174> so would you advise beginners to learn python2 and perl5?
<baweaver> fine fine....
yusrideb has quit [Quit: yusrideb]
<baweaver> Why are we asking about Perl and Python in the Ruby channel?
hotpancakes has joined #ruby
<elomatreb> WHAT ABOUT JAVASCRIPT
<jhass> depending on the needs of the beginner probably neither
<DLSteve_> python2 is not too bad as it's very similar to 3, Not sure about Perl.
<bhaak> elomatreb: I hope it dies a painful death
<elomatreb> (Why do I even have a capslock key?)
<jhass> elomatreb: it's old, the future is wasm. Directly.
<Guest21174> it's my fault
montanonic has quit [Ping timeout: 240 seconds]
<DLSteve_> elomatreb, Which version? ES5, ES6, ES2048, FaceookScript?
jose_leeto has joined #ruby
<Guest21174> I was comparing the claim of Perl6 being for a 100 years to Ruby's future viability
blackmesa has quit [Ping timeout: 260 seconds]
<baweaver> That's rather asinine. No one has that type of foresight.
<DLSteve_> No one knows, any one who says they do is lying.
<elomatreb> "Ruby is for the next 500 years" -- There, now you have a similar claim for Ruby
<Guest21174> I'm a Rubyist but I'm interested in lots of languages
<baweaver> Program for now and let the doomsayers on Hackernews blow themselves dry.
<Guest21174> I know what you mean. But I got the feeling the claim was for a reason
montanonic has joined #ruby
<baweaver> Yeah, zealotry
<Guest21174> maybe because everything was adaptable in the language
<Guest21174> so it could be constantly adapted and not go obsolete .... just what I thought they meant
<eam> it's a good idea to learn perl if you want to know why ruby is the way it is
<Guest21174> I've tearned a few others and I always end up thinking, "Holy crap I'm glad I have Ruby"
<bhaak> it's not a good idea that every programmer can be a language designer
<c-c> dsl's are bad?
<bhaak> most dsls are poorly done
<bhaak> error handling is often bad
<c-c> bhaak: many eons ago, ancient propheciers gathered the wisdom from many a haxorer, and wrote the mythos: "any sufficiently complicated program will be a half-assed implementation of lisp"
<baweaver> ....including Common Lisp
<baweaver> Greenspun's Law and Corollary.
<c-c> Some guy called Greenspun made a law of it since
<baweaver> "Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp."
rwb has joined #ruby
<bhaak> yeah, it's much better of having the half-assed implementation of lisp in your language. and I mean that seriously
Guest21174 has quit [Quit: Page closed]
<baweaver> Morris's Corollary, that's what it was.
<c-c> bhaak: its much better of than was is?
djbkd has quit [Remote host closed the connection]
<bhaak> c-c: I mean having some of the lisp features directly incorportated in the programming language is better than the ad-hoc implementation in your program
wrkrcoop has quit [Quit: wrkrcoop]
Oldn0rse has quit []
<c-c> hm, ok, which ones do you like, bhaak
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
szulak has joined #ruby
<bhaak> that depends on the problem I want to solve :-)
stomar has quit [Ping timeout: 240 seconds]
AlexRussia_ has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
nobitanobi has joined #ruby
ElDoggo has quit [Remote host closed the connection]
jottr_ has joined #ruby
lxsameer has joined #ruby
nobitanobi has quit [Ping timeout: 260 seconds]
ElDoggo has joined #ruby
cibs has quit [Ping timeout: 258 seconds]
ElDoggo_ has joined #ruby
enterprisey has quit [Remote host closed the connection]
`0x00` has joined #ruby
jottr has joined #ruby
ElDoggo has quit [Remote host closed the connection]
cibs has joined #ruby
roamingdog has joined #ruby
jottr_ has quit [Ping timeout: 268 seconds]
last_staff has quit [Quit: last_staff]
AlexRussia_ has joined #ruby
roamingdog has quit [Ping timeout: 240 seconds]
raspado has joined #ruby
bastelfreak1 is now known as bastelfreak
safetypin has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
gusrub has quit [Remote host closed the connection]
saneax-_-|AFK is now known as saneax
aaaaaaaabbbbbbb has quit [Quit: Textual IRC Client: www.textualapp.com]
jdm has quit [Remote host closed the connection]
ericx2x has quit [Quit: Leaving]
ptx0 has quit [Ping timeout: 264 seconds]
jdm has joined #ruby
eblip has quit [Quit: WeeChat 1.4]
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
eb0t has quit [Quit: WeeChat 1.4]
volty has joined #ruby
enterprisey has joined #ruby
nowhere_man has quit [Ping timeout: 246 seconds]
DLSteve_ has quit [Quit: All rise, the honorable DLSteve has left the channel.]
ericx2x has joined #ruby
t-recx has joined #ruby
barajasfab has joined #ruby
nowhere_man has joined #ruby
ericx2x has quit [Client Quit]
akkad has quit [Excess Flood]
ericx2x has joined #ruby
montanonic has quit [Ping timeout: 240 seconds]
akkad has joined #ruby
brendan- has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
nofxx has quit [Read error: Connection reset by peer]
Guest7673 has quit [Quit: Leaving...]
gusrub has joined #ruby
bkxd_ has joined #ruby
Pumukel has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 258 seconds]
ozcanesen has quit [Quit: Textual IRC Client: www.textualapp.com]
Pumukel has joined #ruby
ecksit has joined #ruby
barajasfab has quit [Quit: Ex-Chat]
cagomez has joined #ruby
CmndrSp0ck has joined #ruby
myk267 has quit [Quit: myk267]
<cagomez> re: rspec example https://gist.github.com/subdigital/972835#file-better_card_spec-rb . can I work with `subject` before it's defined in L5-7, such as before L4?
CmndrSp0ck has quit [Read error: Connection reset by peer]
gusrub_ has joined #ruby
CmndrSp0ck has joined #ruby
nofxx has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
CmndrSp0ck has quit [Read error: Connection reset by peer]
CmndrSp0ck has joined #ruby
Pumukel has joined #ruby
Lucky_ABA has joined #ruby
gusrub has quit [Ping timeout: 246 seconds]
lxsameer has quit [Quit: WeeChat 1.6]
agent_white has quit [Quit: baibai]
jhack has joined #ruby
jhack has joined #ruby
jhack has quit [Changing host]
binaryplease has quit [Quit: binaryplease]
DryBreadAddict has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
rcruz has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
wrkrcoop has joined #ruby
nothingnew has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
nowhere_man has quit [Ping timeout: 260 seconds]
cschneid_ has quit [Remote host closed the connection]
zel has joined #ruby
zel is now known as Guest18540