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
<prometheanfire> ah
<prometheanfire> guess I could pass it in
esObe_ has quit [Remote host closed the connection]
<matthewd> Alternatively: if it needs instance state, maybe it should be an instance method
nachoman has quit []
centrx has joined #ruby
mula has joined #ruby
daxroc has quit []
daxroc has joined #ruby
SeepingN_ has joined #ruby
SeepingN has quit [Disconnected by services]
chouhoulis has joined #ruby
bkxd has joined #ruby
mula has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 260 seconds]
<prometheanfire> so, the problem I'm having is that I only want this method to run once, and store it's output in a variable instead of running it a the dozen or so times it's used in the class
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
username has quit [Ping timeout: 240 seconds]
<centrx> prometheanfire: Use a technique called "memoization"
username2 has quit [Ping timeout: 256 seconds]
username1 has quit [Ping timeout: 260 seconds]
<centrx> def my_method
<centrx> @my_method ||= one_line
<centrx> or
enterprisey has joined #ruby
<centrx> @my_method ||= begin...end (for multi-line
<prometheanfire> not familiar with ||=
<centrx> sets equal to unless already set
<centrx> or-equal
<prometheanfire> neat
<centrx> only caveat is if nil or false is an expected result
JeanCarloMachado has quit [Ping timeout: 258 seconds]
<centrx> then it's a little less clean
bkxd has quit [Ping timeout: 240 seconds]
<centrx> or it will re-run when the result is nil/false
<prometheanfire> it's not, so that's helpful
edliss has joined #ruby
djbkd has quit [Quit: My people need me...]
<prometheanfire> the slowness might not even be there too lol
snockerton has joined #ruby
<prometheanfire> ya, didn't help
JeanCarloMachado has joined #ruby
<prometheanfire> added @qatom || = begin to that method
tvw has joined #ruby
<centrx> is that extra space a typo
<centrx> what does it look like now?
<prometheanfire> it was only wrong in irc
<prometheanfire> only change the begin line to be '@qatom ||= begin'
edliss has quit [Ping timeout: 258 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Nicmavr has joined #ruby
Nicmavr is now known as Guest16174
lxsameer has quit [Quit: WeeChat 1.7]
lacrymology has quit [Ping timeout: 240 seconds]
CloCkWeRX has joined #ruby
<prometheanfire> ya, it's not the qatom calls
<prometheanfire> it'd add one sec at most
<prometheanfire> run 329 times at about 0.003 secs each (at the high end)
millerti has joined #ruby
<prometheanfire> I wonder if it's the eix_limit
hvn0413 has joined #ruby
tolerablyjake has joined #ruby
CloCkWeRX1 has joined #ruby
<centrx> prometheanfire: well if you change the begin line, there are three lines before that, so those could calling something that's slow
charliesome has joined #ruby
<matthewd> Protip: measure before you optimize
CloCkWeRX has quit [Ping timeout: 240 seconds]
brent__ has quit [Remote host closed the connection]
<prometheanfire> matthewd: doing that now :D
FooMunki has joined #ruby
<prometheanfire> found it
<prometheanfire> emerge --list-sets at the least
brent__ has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
mikeric has quit []
TomyLobo2 has quit [Ping timeout: 264 seconds]
hutch34 has joined #ruby
Vingador has quit [Remote host closed the connection]
gusrub has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 240 seconds]
xen0fon has joined #ruby
xen0fon has quit [Client Quit]
nadir has quit [Quit: Connection closed for inactivity]
mikecmpbll has quit [Quit: inabit. zz.]
bmurt has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
centrx has quit []
nachoman has joined #ruby
t-recx has joined #ruby
<prometheanfire> how can I get this to equal the output and not the function?
<prometheanfire> atom = qatom
<allisio> prometheanfire: Like that?
<prometheanfire> I thought so, but it's still running the function
<allisio> The one you memoized?
<prometheanfire> good point
Rodya_ has joined #ruby
<allisio> It works like this: https://eval.in/758018
<elomatreb> Instead of that heavily indented begin block you could also use an early return guard (https://eval.in/758019)
<prometheanfire> that's how I'm testing it more or less
<elomatreb> It's effectively the same thing, just avoids some indentation if you have a complicated method body
<prometheanfire> https://eval.in/758020
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
arescorpio has joined #ruby
<prometheanfire> so I feel it should be doing it
jane_booty_doe has joined #ruby
Derperperd has quit [Quit: WeeChat 1.5]
renatosilva has quit [Quit: http://renatosilva.net]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JeanCarloMachado has quit [Ping timeout: 256 seconds]
JeanCarloMachado has joined #ruby
shinnya has joined #ruby
SeepingN_ has quit [Quit: The system is going down for reboot NOW!]
daed_ is now known as daed
daed has quit [Changing host]
daed has joined #ruby
xzhao_ has joined #ruby
agent_white has joined #ruby
__Yiota has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
FooMunki has quit [Quit: FooMunki]
marr has quit [Ping timeout: 260 seconds]
snickers has quit [Quit: Snickers]
Pumukel has joined #ruby
saneax-_-|AFK is now known as saneax
nertzy has quit [Ping timeout: 240 seconds]
ramfjord_ has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
Pumukel has quit [Ping timeout: 246 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
nachoman has quit []
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
edliss has joined #ruby
tubuliferous has joined #ruby
mula has joined #ruby
edliss has quit [Ping timeout: 260 seconds]
nobitanobi has joined #ruby
Burgestrand has joined #ruby
astrobunny has joined #ruby
nachoman has joined #ruby
jane_booty_doe has quit [Quit: Leaving]
nobitanobi has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rodya_ has quit [Remote host closed the connection]
__Yiota has joined #ruby
bkxd has joined #ruby
Rodya_ has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 246 seconds]
Rodya_ has quit [Ping timeout: 260 seconds]
d^sh has joined #ruby
JeanCarloMachado has quit [Ping timeout: 258 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
sneakerhax has joined #ruby
tvw has quit []
Rodya_ has joined #ruby
saneax is now known as saneax-_-|AFK
__Yiota has joined #ruby
JoshS has joined #ruby
FooMunki has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
govg has quit [Ping timeout: 240 seconds]
govg has joined #ruby
mula has quit [Remote host closed the connection]
sneakerhax has quit [Ping timeout: 260 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rhyselsmore has quit [Ping timeout: 264 seconds]
saneax-_-|AFK is now known as saneax
ecksit has joined #ruby
antoniobeyah has quit [Quit: Connection closed for inactivity]
SeepingN has joined #ruby
jameser has joined #ruby
chouhoulis has quit [Remote host closed the connection]
__Yiota has joined #ruby
gusrub has joined #ruby
d3d1rty has quit [Ping timeout: 240 seconds]
__Yiota has quit [Client Quit]
sleetdrop has joined #ruby
gusrub has quit [Ping timeout: 246 seconds]
HoierM has quit [Ping timeout: 240 seconds]
libastral has quit [Ping timeout: 258 seconds]
libastral has joined #ruby
arescorpio has quit [Quit: Leaving.]
dviola has quit [Quit: WeeChat 1.7]
Chagel has joined #ruby
genpaku has quit [Remote host closed the connection]
genpaku has joined #ruby
snockerton has quit [Quit: Leaving.]
ecksit has quit [Ping timeout: 260 seconds]
AnoHito has quit [Ping timeout: 240 seconds]
chrickso has joined #ruby
bkxd has joined #ruby
Rodya_ has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chrickso has quit []
t-recx has quit [Quit: t-recx]
bkxd has quit [Ping timeout: 256 seconds]
Burgestrand has quit [Quit: Closing time!]
Pumukel has joined #ruby
saneax is now known as saneax-_-|AFK
brent__ has joined #ruby
ledestin has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
__Yiota has joined #ruby
brent__ has quit [Ping timeout: 246 seconds]
AnoHito has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
FooMunki has quit [Quit: FooMunki]
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
astrobun_ has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
Rodya_ has joined #ruby
charliesome has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
matcouto has joined #ruby
milardovich has joined #ruby
raspado has quit [Remote host closed the connection]
grant has joined #ruby
duderonomy has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
vcavallo has joined #ruby
hutch34 has joined #ruby
Pumukel has joined #ruby
djbkd has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
bocaneri has joined #ruby
skweek has quit [Ping timeout: 256 seconds]
spyder55 has joined #ruby
spyder55 has quit [Client Quit]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Remote host closed the connection]
gix has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
minimalism has quit [Quit: minimalism]
gix has joined #ruby
Pumukel has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
gusrub has joined #ruby
Pumukel has joined #ruby
mtg has joined #ruby
mtg has quit [Client Quit]
gusrub has quit [Ping timeout: 264 seconds]
dionysus69 has joined #ruby
patarr has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
nachoman has quit []
patarr has quit [Ping timeout: 260 seconds]
saneax-_-|AFK is now known as saneax
duderonomy has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
ericx2x has joined #ruby
cfec0b8d has joined #ruby
milardovich has quit [Ping timeout: 256 seconds]
Tharbakim has quit [Quit: Something has gone terribly wrong. Send help.]
ericx2x has quit [Remote host closed the connection]
bungoman_ has joined #ruby
bungoman has quit [Ping timeout: 246 seconds]
rippa has joined #ruby
matcouto_ has joined #ruby
Pumukel has left #ruby [#ruby]
jdm has joined #ruby
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
matcouto has quit [Ping timeout: 240 seconds]
roflmyeggo has joined #ruby
matcouto_ has quit [Ping timeout: 240 seconds]
haraoka has joined #ruby
Joufflu has joined #ruby
<Joufflu> Hi
ayonkhan has joined #ruby
ayonkhan has quit [Client Quit]
raul782 has quit [Remote host closed the connection]
BTRE has quit [Read error: Connection reset by peer]
Tharbakim has joined #ruby
Rodya_ has quit [Quit: Leaving...]
amclain has quit [Quit: Leaving]
nofxxxx has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 246 seconds]
bkxd has joined #ruby
nofxx has joined #ruby
milardovich has joined #ruby
BTRE has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
tmtwd has quit [Ping timeout: 246 seconds]
catenthusiast has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
xenops has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jane_booty_doe has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
sagax has quit [Quit: Konversation terminated!]
roflmyeggo has quit [Ping timeout: 260 seconds]
lightheaded has joined #ruby
rhyselsmore has joined #ruby
hvn0413 has quit [Quit: Connection closed for inactivity]
dionysus69 has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
marsjaninzmarsa has joined #ruby
tolerablyjake has joined #ruby
renchan has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
anisha has joined #ruby
zenguy_pc2 has quit [Ping timeout: 240 seconds]
mula has joined #ruby
electrostat has quit [Quit: uwotm8]
zenguy_pc has joined #ruby
mula has quit [Ping timeout: 240 seconds]
electrostat has joined #ruby
pombreda has joined #ruby
pombreda has left #ruby ["Leaving"]
doublemalt__ has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
enterprisey has quit [Ping timeout: 240 seconds]
doublemalt_ has quit [Ping timeout: 258 seconds]
saneax is now known as saneax-_-|AFK
cibs has joined #ruby
enterprisey has joined #ruby
tolerablyjake has quit [Ping timeout: 246 seconds]
dminuoso_ is now known as dminuoso
dminuoso has quit [Changing host]
dminuoso has joined #ruby
certainty has joined #ruby
hutch34 has joined #ruby
jane_booty_doe has quit [Quit: Leaving]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hutch34 has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
lightheaded has quit [Remote host closed the connection]
ziggysak has joined #ruby
lightheaded has joined #ruby
<ziggysak> hey folks
<ziggysak> anyone here
<c-c> hi anyone
charliesome has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
lightheaded has quit [Ping timeout: 258 seconds]
ziggysak has quit [Ping timeout: 260 seconds]
saneax-_-|AFK is now known as saneax
AnoHito has quit [Read error: Connection reset by peer]
AnoHito has joined #ruby
patarr has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
mooser has joined #ruby
montanonic has quit [Ping timeout: 260 seconds]
CloCkWeRX1 has quit [Quit: Leaving.]
Pumukel has joined #ruby
mooser has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
grant has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
varesa_ is now known as varesa
rhyselsmore has quit [Ping timeout: 246 seconds]
mooser has joined #ruby
sarbs has quit [Ping timeout: 258 seconds]
jgnagy has quit [Remote host closed the connection]
enterprisey has quit [Read error: Connection reset by peer]
sarbs has joined #ruby
edliss has joined #ruby
milardovich has joined #ruby
dhollinger has quit [Ping timeout: 264 seconds]
Mortomes|Work has joined #ruby
mooser has quit [Quit: Mutter: www.mutterirc.com]
bkxd has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
lhambley has joined #ruby
AnomalousBit has joined #ruby
edliss has quit [Ping timeout: 246 seconds]
mooser has joined #ruby
edliss has joined #ruby
mooser has quit [Remote host closed the connection]
bastrud has joined #ruby
kristofferR has quit [Read error: Connection reset by peer]
kristofferR has joined #ruby
cfec0b8d has quit [Ping timeout: 256 seconds]
last_staff has joined #ruby
conta has joined #ruby
bastrud has quit [Ping timeout: 268 seconds]
dhollinger has joined #ruby
mooser has joined #ruby
mooser has quit [Client Quit]
mostlybadfly has quit [Quit: Connection closed for inactivity]
mooser has joined #ruby
mooser has quit [Client Quit]
mooser has joined #ruby
unknown1 has joined #ruby
nadir has joined #ruby
stan_ has joined #ruby
mooser has quit [Client Quit]
muelleme has joined #ruby
xen0fon has joined #ruby
stan has quit [Ping timeout: 256 seconds]
milardovich has joined #ruby
lhambley has quit [Quit: Textual IRC Client: www.textualapp.com]
ta_ has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
bastrud has joined #ruby
bastrud has quit [Max SendQ exceeded]
lightheaded has joined #ruby
aganov has joined #ruby
esObe_ has joined #ruby
xsrpmx has joined #ruby
unknown1 has quit [Remote host closed the connection]
unknown1 has joined #ruby
andikr has joined #ruby
unknown1 has quit [Ping timeout: 246 seconds]
aufi has joined #ruby
spicerack has joined #ruby
Pumukel has joined #ruby
hvn0413 has joined #ruby
muelleme has quit [Ping timeout: 264 seconds]
agent_white has quit [Ping timeout: 246 seconds]
unknown1 has joined #ruby
mooser has joined #ruby
xsrpmx has quit [Remote host closed the connection]
mark_66 has joined #ruby
aupadhye has joined #ruby
unknown1 has quit [Read error: Connection reset by peer]
unknown1 has joined #ruby
AnomalousBit has quit [Quit: AnomalousBit]
unknown1 has quit [Read error: Connection reset by peer]
mooser has quit [Remote host closed the connection]
jamesaxl has joined #ruby
zacts has quit [Ping timeout: 256 seconds]
Joufflu_ has joined #ruby
jaequery has joined #ruby
vali has joined #ruby
jenrzzz has joined #ruby
patarr has joined #ruby
antgel has joined #ruby
Joufflu has quit [Ping timeout: 260 seconds]
nobitanobi has joined #ruby
catenthusiast has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vuoto has joined #ruby
patarr has quit [Ping timeout: 268 seconds]
tvw has joined #ruby
milardovich has joined #ruby
zacts has joined #ruby
teclator has quit [Remote host closed the connection]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mortomes|Work_ has joined #ruby
nowhereman has quit [Ping timeout: 268 seconds]
Mortomes|Work has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 240 seconds]
andikr has quit [Remote host closed the connection]
tubuliferous has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vuoto has quit [Remote host closed the connection]
tubuliferous has joined #ruby
djbkd has quit [Quit: Leaving...]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
dionysus69 has joined #ruby
nowhereman has joined #ruby
Snowy has joined #ruby
Snowy has quit [Remote host closed the connection]
<Joufflu_> why am I as unregistered
<Joufflu_> that's weird
jgnagy has joined #ruby
jgnagy has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
Snowy has joined #ruby
xenops has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
marr has joined #ruby
postmodern has quit [Quit: Leaving]
flying has joined #ruby
tomphp has joined #ruby
Silthias has quit [Read error: Connection reset by peer]
bigkevmcd has quit [Quit: Outta here...]
mim1k has joined #ruby
tvw has quit [Remote host closed the connection]
neuraload has joined #ruby
mooser has joined #ruby
catenthusiast has joined #ruby
Beams has joined #ruby
Snowy has quit [Remote host closed the connection]
toretore has joined #ruby
Snowy has joined #ruby
mooser has quit [Client Quit]
rhyselsmore has joined #ruby
xen0fon has quit [Quit: xen0fon]
znz_jp has quit [Remote host closed the connection]
znz_jp has joined #ruby
Snowy has quit [Ping timeout: 264 seconds]
brent__ has joined #ruby
mikecmpbll has joined #ruby
unshadow has joined #ruby
astrobun_ has quit [Remote host closed the connection]
unshadow_ has joined #ruby
brent__ has quit [Ping timeout: 256 seconds]
nowhereman has quit [Remote host closed the connection]
xenops has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhereman has joined #ruby
lxsameer has joined #ruby
naftilos76 has joined #ruby
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
CloCkWeRX has joined #ruby
ferr1 has joined #ruby
xenops has joined #ruby
ddffg has joined #ruby
neuraload has quit [Quit: Leaving]
doublemalt__ has quit [Ping timeout: 256 seconds]
alibby has joined #ruby
vuoto has joined #ruby
alibby1 has quit [Ping timeout: 260 seconds]
Silthias has joined #ruby
hvn0413 has quit [Quit: Connection closed for inactivity]
bkxd has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
kalyan57 has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
andikr has joined #ruby
doublemalt__ has joined #ruby
kristofferR has joined #ruby
pandaant has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bigkevmcd has joined #ruby
stan_ has quit [Remote host closed the connection]
tvw has joined #ruby
stan has joined #ruby
workmad3 has joined #ruby
__main__ has quit [Ping timeout: 260 seconds]
FooMunki has joined #ruby
patarr has joined #ruby
__main__ has joined #ruby
bkxd has joined #ruby
patarr has quit [Ping timeout: 246 seconds]
centrx has joined #ruby
rgr has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
itarato has joined #ruby
teddysmoker has joined #ruby
bkxd has joined #ruby
JaReAx has joined #ruby
certainty has quit [Ping timeout: 256 seconds]
nowhere_man has joined #ruby
nowhereman has quit [Read error: Connection reset by peer]
jameser has quit [Ping timeout: 240 seconds]
<Bish> how do i do the following in good style
<Bish> check if s[0] == '-' ? Sequel.desc(s[1..-1].to_sym) : Sequel.asc(s[1..-1].to_sym)
<Bish> AND s can be nil
<Bish> feels like if i write that very often, it's bad style
<Bish> inb4 don't write it very often
aufi has quit [Quit: Leaving]
Zequal has joined #ruby
aufi has joined #ruby
Sembei has joined #ruby
ledestin has quit [Quit: Textual IRC Client: www.textualapp.com]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mooser has joined #ruby
rgr has quit [Quit: Leaving]
Pisuke has quit [Ping timeout: 260 seconds]
rhyselsmore has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Burgestrand has joined #ruby
mooser has quit [Client Quit]
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
nadir has quit [Quit: Connection closed for inactivity]
Xiti has quit [Quit: Xiti]
kristofferR has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
jenrzzz has joined #ruby
Fernando-Basso has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
millerti has joined #ruby
FooMunki has quit [Quit: FooMunki]
hvn0413 has joined #ruby
<centrx> Bish: if you're writing something very often, make a method for it
<Bish> yeah i figured.
<centrx> one alternative: t = s[1..-1].to_sym if s.start_with?('-')
<Bish> which is the same thing
<Bish> without null check
jaruga has joined #ruby
jaruga has quit [Client Quit]
jaruga has joined #ruby
patarr has joined #ruby
xenops has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JeanCarloMachado has joined #ruby
Chagel has quit [Ping timeout: 260 seconds]
patarr has quit [Ping timeout: 260 seconds]
sarbs has quit [Ping timeout: 258 seconds]
ldnunes has joined #ruby
catenthusiast has quit [Quit: Textual IRC Client: www.textualapp.com]
ElDoggo has joined #ruby
JeanCarloMachado has quit [Ping timeout: 264 seconds]
sarbs has joined #ruby
ishe has joined #ruby
ishe has quit [Client Quit]
BSab has joined #ruby
ElDoggo has quit [Ping timeout: 268 seconds]
BSAlb has quit [Ping timeout: 246 seconds]
JeanCarloMachado has joined #ruby
jaruga has quit [Quit: jaruga]
milardovich has joined #ruby
_n3xus__ has joined #ruby
xenops has joined #ruby
veloutin_ has quit [Quit: ZNC - http://znc.in]
veloutin has joined #ruby
Zequal has quit [Quit: Lost terminal]
bkxd has quit [Ping timeout: 260 seconds]
epmvuj has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
synthroid has joined #ruby
aryaching has joined #ruby
aupadhye has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
jameser has joined #ruby
CloCkWeRX has joined #ruby
milardovich has joined #ruby
HoierM has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
naftilos76 has quit [Quit: Αποχώρησε]
FooMunki has joined #ruby
edliss has quit [Ping timeout: 246 seconds]
edliss has joined #ruby
rotty_ has joined #ruby
edliss has quit [Ping timeout: 240 seconds]
jdm has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
eugenmayer has joined #ruby
<eugenmayer> anybody in here, using intellij ( ultimate or rubymine ) and using/trying to use remote SDKs for development ( docker e.g. )
hurricanehrndz has quit [Remote host closed the connection]
cout_ is now known as cout
certainty has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
ddffg has quit [Ping timeout: 260 seconds]
hurricanehrndz has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
Lord_of_Life has quit [Excess Flood]
itarato has quit [Quit: WeeChat 1.4]
Lord_of_Life has joined #ruby
Verity has joined #ruby
<Verity> top 3 reasons to switch from python to ruby before I go too deep?
<Verity> go
<eugenmayer> not a single one.
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Verity> =\
<Verity> I couldnt decide between the two
<Verity> but I do more scientific than web
<Verity> so I chose python
<Verity> but ruby--- it has a better icon
<Verity> it sounds absurd, I know.
<eugenmayer> i couldnt make a up a single point were ruby is superior to python.
<Verity> and the syntax looks equally clear, so I wonder why choose one over the other
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Verity> hmm
<eugenmayer> you can argue with "frameworks" available like rails - but python has such too. Lanuguage wise python is superior in every single point
brent__ has joined #ruby
Mortomes|Work_ has quit [Ping timeout: 260 seconds]
<centrx> WRONG
<centrx> Python is hacky
<centrx> not bad though
<centrx> Verity: Model of Ruby is designed for programmer hapiness
Qchmqs has joined #ruby
<centrx> You can tell eugenmayer is lying/idiot because he acknowledges nothing good about Ruby
<centrx> Python is a solid language, definitely better for e.g. scientific computing
<centrx> Ruby as a language, syntax, semantics, etc. is better than every other language I've used (which is many)
<centrx> Verity: Ruby is much cleaner from an object-oriented perspective
<centrx> Verity: Python is, in an obscure technical sense, not an object-oriented language
warrshrike has joined #ruby
<centrx> Verity: Question is, what are your goals?
<warrshrike> has anyone managed to run rubymine with remote debugger?
CloCkWeRX has quit [Quit: Leaving.]
Beams_ has joined #ruby
tvw has quit []
Fernando-Basso has quit [Ping timeout: 258 seconds]
brent__ has quit [Ping timeout: 256 seconds]
<Verity> centrx, I feel behind starting school for coding late. I'm trying to "learn it all" I get obsessed just in general with trying to "master" something or understand it all
<Bish> > language wise python is superior in every single point
<Bish> lolz.
<Verity> but now with coding... thats not working
<Verity> I feel like I have to learn every language
<Verity> or pick the ones it makes sense to
suttonwilliamd has joined #ruby
<Verity> and I dont know how deep to go
<centrx> Verity: Ruby is definitely a good language to learn to take the next step
jud^ has joined #ruby
<Verity> its overwhelming
<centrx> Verity: It has a lot of aspects of functional programming
<centrx> Verity: It's pure object-oriented
Beams has quit [Ping timeout: 260 seconds]
<centrx> Verity: Take it easy
cyphase_eviltwin has quit [Ping timeout: 240 seconds]
<centrx> You've got low-level languages like Assembler, C
cyphase has joined #ruby
<centrx> C++ is a little goofy add-on to C (jk)
<centrx> Ruby follows the object-oriented model of an old disused language called Smalltalk
Fernando-Basso has joined #ruby
<centrx> Java causes brain damage, but Java and C# are another kind of language, heads above C++
<Bish> centrx: i really doubt your unordered random facts will contribute anything to a newby
<Bish> and opinion
<centrx> How dare you insult my random unordered facts!
<Bish> i didn't, i just called them as what they are
jud has quit [Ping timeout: 246 seconds]
<centrx> Like scattering gems along the sea shore, something will get through
<centrx> I don't know how nooby he is anyway
<Verity> I have some C++ background, im studying C on my own now. In classes we use C# and asm. I'm learning RE on my own. Now I'm trying to expand my abilities and I'm working with python because I wanted to try one of these very high level languages
<Verity> ands so I came to consider ruby
<Verity> I noticed its used for msf
<Verity> there is a lot to consider, it would seem
<centrx> Ruby is great for DSLs (domain-specific languages) (I think that's what you mean by msf - Metasploit)?
<dminuoso> 13:45 < centrx> Verity: Ruby is much cleaner from an object-oriented perspective
edliss has joined #ruby
<dminuoso> say what?
<centrx> Verity: Python is definitely a more common language
<Verity> centrx, yes
<centrx> dminuoso: In Ruby, everything is an object. In Python, technically, nothing is an object
<Bish> when it comes to me, ruby is the highest language there is, things you write in it ( if done well ) nearly read as you told the computer what to do in normal grammar
<dminuoso> centrx: In Ruby everything is not an object either.
<Bish> ruby is terribly slow, threading is a bitch, but developement speed is highest
<eugenmayer> centrx: you are in the "ruby" channel right? you call other languages
<dminuoso> centrx: But that's not what OOP entails -> there is no need for everything to be an object in order to qualify as OOP.
<eugenmayer> hacky? Are you serious? sounds like religion. Keep on
<Burgestrand> Verity flip a coin, they're similar enough for the decision not to make much difference to you.
<Verity> what about employability
<centrx> eugenmayer: You're the one who said Ruby is worse than Python in every single respect
<Verity> will one be better for that
<dminuoso> Verity: Depends. Do you want to work for google?
<centrx> Verity: Python is more common, so there will be more jobs for it
<eugenmayer> Bish: development speed is solid yes, if its a oneshot. Never come back fro maintainance or ever change the team to maintain.
<dminuoso> If so you better have python skills.
<dminuoso> Or Java or C++.
<centrx> Verity: On the other hand, Ruby is less common, so there are fewer programmers for it, less supply of labor
sleetdrop has quit [Quit: Computer has gone to sleep.]
<Bish> eugenmayer: and how is that different in python
<Verity> which book do you recommend?
<Bish> or any other language.
<eugenmayer> centrx: yes and i mean it by that - without having any buy in in python, nor using pythong broadly. I use ruby broadly, so thats quiet enough.
<Verity> I like to buy physical actual books
<Verity> to learn from
<dminuoso> centrx: All that OOP means, is that the language has the facility to do the horrible things that OOP advertises, not that it enforces it on every part of the language.
<centrx> Bish: Ruby MRI speed much better now, old stories of slowness not really founded now. Also JRuby
<Bish> trust me, i've put alot of work into this, and it sucks
<dminuoso> centrx: And as a random example: variables, methods, blocks or source code itself are not objects in Ruby.
<Bish> it always sucks
<eugenmayer> Bish: i would say, the archticture of gems and requires, but esp the horrible support of YARD in general kills anything bigger then a thor script.
<Bish> jruby doesn't let you have the gems you want like.. always
<Verity> !books
<Verity> .give verity books
<mwlang> centrx: where are the latest Ruby benchmarks comparing against other languages? I haven’t looked at these in a while.
<dminuoso> ?books
<ruby[bot]> You can find a list of recommended books at http://ruby-community.com/pages/links
<centrx> dminuoso: of course, but most of that is true of every language, so there is no such thing as total OOP, fine
<dminuoso> centrx: There is.
<dminuoso> centrx: LISP.
<centrx> LISP uses letters
<Verity> damn
<Verity> they are fakebooks
<centrx> source code in words, not objects
<dminuoso> centrx: Lisp is homoiconic.
<Verity> can someone recommend a printed book for a ruby beginner
<dminuoso> centrx: So source code ARE objects.
<mwlang> Verity: for books, look on pragmatic programmer’s bookshelf. Several high quality Ruby books there.
<dminuoso> centrx: You are just proving that you have never even studied lisp in the slightest.
<eugenmayer> Bish: we are using jruby, its ok. You are limited on native compiled gems as you mentioned, but mostly there are good replacements ( mostly ) development is not as easy, but it has other advantages i guess - just a tradeoff
<centrx> dminuoso: If I print it out on a piece of paper, the paper is an object sure
<Bish> Verity: they are too busy fighting, imho just do it
<Burgestrand> Verity most of the books at the bottom are dead-tree versions
<centrx> dminuoso: In any event, the comparison was to Python, not LISP
<Bish> eugenmayer: no shit
<dminuoso> centrx: You just kept making up arguments.
<centrx> Isn't that an argument you just made up?
<dminuoso> centrx: Which one? The fact that LISP is the ultimate homoiconic language?
<centrx> The fact that I am making up arguments
<centrx> that's an argument you just made up
<centrx> check-mate
<centrx> 4D chess victory, gotta go
<matthewd> >ot plz
<dminuoso> centrx: The fact that you claimed OOP required everything to be an object, the fact that homoiconic languages did not exist
<dminuoso> *the fact that you claimed that homoiconic...
<dminuoso> Yeah, sure. Thats made up. :o)
<centrx> dminuoso: What I said was Ruby is much more object-oriented than Python. You seemed to challenge that.
sepp2k has joined #ruby
<dminuoso> centrx: You said that Python was not object oriented on a technical level.
<dminuoso> Which is just nonsense.
<matthewd> centrx: dminuoso: .
nobitanobi has joined #ruby
* dminuoso hugs matthewd
<Bish> and why the fuck should 4d chess be a metaphor for a discussion, and why the fuck would chess skilly be a metaphor for intellect
<centrx> dminuoso: Python does not support encapsulation, I think that's pretty important
<Verity> ruby has associative container?
<centrx> dminuoso: it also does this nonsense where fundamental things like map, are first-level functions that you call like a C utility function
<matthewd> Verity: Hash
<dminuoso> centrx: So what? That has nothing to do whether it's object oriented. The syntax on where the receiver of a method is placed has no impact on what the code means.
<dminuoso> Whether you say method(receiver, args) or receiver.method(args) is of little relevance.
<Bish> >> ruby = {associative_container:'yo'}; ruby.has_key? :associative_container
<dminuoso> Besides, map is a horrible example because it's actually a purely functional concept.
<ruby[bot]> Bish: # => true (https://eval.in/758316)
<Verity> first level functions?
howdoi has joined #ruby
ramortegui has joined #ruby
<centrx> Verity: I mean function at the top level, e.g. print, you just type plain print
<dminuoso> centrx: Also data encapsulation is possible just fine in Python through name mangling.
<centrx> Verity: Ruby has that too, but it's really a method of Kernel
<dminuoso> centrx: Besides the argument whether Python is or is not object-oriented has nothing to do whether it's "nonsense" -> I admit it's certainly an annoyance.
<matthewd> Verity: Yes (though some syntax isn't as short as python/JS)
<Bish> >> ->(x) { p x.call }.call(->(){ return 'first level functions?' })
<ruby[bot]> Bish: # => "first level functions?" ...check link for more (https://eval.in/758318)
lightheaded has quit [Remote host closed the connection]
<dminuoso> And in the end it really depends on notion of "object oriented programming" you are talking about. If you ask alan kay he will tell you that messages is one of the most important concepts.
<Bish> matthewd: well certainly you can hide that fact
<eugenmayer> considering ruby to be "OOP" is at least a bad joke.
<dminuoso> Stroustrup will have a completely different notion.
<Verity> ruby + c++ arent OOP?
lightheaded has joined #ruby
<Verity> do you not make classes
lightheaded has quit [Remote host closed the connection]
<Verity> create object of class
<Verity> use method
lightheaded has joined #ruby
<dminuoso> eugenmayer: In the sense of Alan Kay it actually comes with full flegded smalltalk-kind of object orientation.
<Verity> have member vars
<Verity> declare private or public?
<Verity> will this all be different
<Bish> has it all.
<Verity> sorry, not C++
<Verity> python*
<Bish> oy.
<Verity> + ruby, have no oop?
<dminuoso> eugenmayer: It's just not immediately access, but through method_missing but that's actually just a cosmetic decision.
<dminuoso> *accessible
<eugenmayer> dminuoso: you even have hard times implementing the general patterns in ruby which you use in OOP. If we are talking about OOP being a "class is collection of methods with the same context and shared state", ok, ruby is OOP. The OOP we talked about 1995.
<dminuoso> (In the smalltalk sense OOP just means an object holds internal state and can receive/send messagess)
<dminuoso> eugenmayer: What do you mean? You have pseudo-multiple inheritance, data hiding..
<dminuoso> You can do pretty much any standard OOP pattern in Ruby if you want.
mula has joined #ruby
suttonwilliamd has quit [Read error: Connection reset by peer]
<dminuoso> The thing is just that Ruby advertises things like duck-typing, so people dont do it too much.
<Verity> I wish I understood more of this
<Verity> when will that happen
<eugenmayer> dminuoso: you can implement them a nonsense way. Ruby, cannot, by any means, be implemented in any way that classes actually have contracts / offer ones
Pumukel has quit [Remote host closed the connection]
<dminuoso> eugenmayer: Sure you can.
<dminuoso> eugenmayer: Its just that nobody does it out of convention.
<dminuoso> Or few people do it.
<eugenmayer> a class in ruby is just a collection of methods, pray you have a consistent behavior, pray you find the method you actually look for
Pumukel has joined #ruby
<Bish> #ruby-flamewars
<dminuoso> eugenmayer: What particular functionality are you missing?
<Verity> a class in ruby cant have properties?
<herwin> Verity: short summary to understand it: people have different definitions of OOP, and advertise their meaning as facts
<Bish> #my-language-brings-all-the-girls-to-the-yard
<matthewd> Verity: It's people arguing over definitions, so it's questionable whether anyone truly understands
<Bish> #itsbetterthanyours
<dminuoso> herwin: thanks, you couldnt have phrased it better :)
<eugenmayer> dminuoso: i would love to have 'include' being removed from ruby entirely.
<dminuoso> eugenmayer: So you think multiple inheritance/composition is a bad thing?
Pumukel has quit [Read error: No route to host]
<Bish> Verity: properties will be methods, ruby has helper for that to creat them
<Bish> Verity: basic ruby strucutre is super simple, everything is a object, objects have methods and instance_variables
<eugenmayer> herwin: there is a truth in that, but i guess, there is at least a "general sense" in what OOP is used in software-engineering. But i would argue taht ruby is meant to be used in the context of software-engineering so you might be right, that using OOP a different way could make sense
<Bish> classes are just modules with a constructor ( the new keyword, kinda like the c++ one )
<Bish> Verity: looking at an object from the outside, you only see it's methods
Pumukel has joined #ruby
<Verity> so an object cant have public properties
<Verity> only methods
<dminuoso> eugenmayer: In the end Ruby is a real multi-paradigm langauge in the end that can be used for purely FP concepts within some limits or for pure OOP concepts.
<Bish> Verity: well, i wouldn't say can't have.. because it really doesn't matter
<Bish> you simple create methods, that act like public agttributes
<dminuoso> Verity: Correct.
jgnagy has joined #ruby
<eugenmayer> dminuoso: no, rather the complete uncontrolled as include does. PHP traits are better, but still lack of really using them widely without concerns. I get that including behaviors makes sense at some point, esp since inheritence is a complicated topic to that. but including bahaviors widely, monkey patch methods, and mix that over levels is waht makes ruby completely useless long-term IMHO
<dminuoso> Verity: This is basically the small talk sense of it even. You can only interact with an object through messages.
<Bish> you can write "attr_accessor :some_word", what will give you obj.some_word = 'hello'; after what obj_some_word will be 'hello'
<Bish> in a class, that is
<Bish> while .some_word= is a method, and .some_word also
<Bish> .some_word just wants the value of the "public attribute"
<Bish> .some_word=*
senayar has joined #ruby
<Bish> php and better in one short sentence
<eugenmayer> dminuoso: i love ruby in the automation world with thor, but anything bigger i have seen, done, maintained has gone out of control if you maintain code you have not written, written a long time ago or the person has written it is not available to answer question. Using any IDE, code navigation is PITA, no matter you use YARD or not
<Bish> the end is near~
c137 has joined #ruby
<eugenmayer> Bish: i am not fighting on the PHP front, but PHP7.x is by any means better then ruby.
<centrx> eugenmayer: That could be a function of developer ability
<Bish> the eeeeeeend
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Bish> eugenmayer: everything is better than ruby as it seems
<centrx> eugenmayer: When a project does Ruby right, it's more maintainable and concise than anything
<Bish> while there is no "better"
<eugenmayer> centrx: yes, you can put it that way. Thats why ruby is getting so much popularity recently right - because its just "to hard to understand" .. make your point, its yours.
<dminuoso> eugenmayer: Agreed, Im slowly stepping away from Ruby for exactly that reason.
<Bish> dminuoso: to where?
<dminuoso> eugenmayer: JavaScript seems to be a slightly more elegant solution, it feels more robust in many ways.
<centrx> eugenmayer: I don't think it's hard, but I've seen a lot of bad code
<Bish> dminuoso: fo real?
<dminuoso> Bish: Yes.
jameser has joined #ruby
<Bish> how is that? doing es6 all the time
<Bish> it's hell
jgnagy has quit [Ping timeout: 240 seconds]
<dminuoso> What do you mean?
<Bish> it's the best you get in the browser, but it's hell.
<dminuoso> Bish: Well I should definitely try some of the more hipster FP languages like Elixir and Haskell
<eugenmayer> i am neither religious about ruby, php, python nor C# , C++ or Java - we do them all here. Javascript being the pure madness ( thank you typescript for fixing that ) ruby has the 2nd place in "horrible design language"
<Bish> dminuoso: are you making a parody now :D?
<dminuoso> Bish: But doing close to pure FP is pretty easy in JavaScript and it leads to really amazing code.
c137 has quit []
<dminuoso> No.
<dminuoso> Im quite honest.
<eugenmayer> of course, anything has its sweet spot, as ruby has. But IMHO, ruby is the wrong choice fro software / bigger web-apps which you do not dsign as one-shots / fire and forgety
<Bish> dminuoso: i agree, but i'd rather compile to javascript, than write it
<centrx> eugenmayer: So what's 1st place for the best?
<Bish> dminuoso: i was at a conference where 2 dudes built a webframework in haskell, top to bottom
<dminuoso> Bish: Well that simple fact that you can treat any function as a first-class citizen by simply not () calling it.. that alone is so amazing..
<dminuoso> Heh
<eugenmayer> C# for now - by far. Currently though we do Java and PHP most out of legacy reasons and also platform deps / cross platform specfics
<dminuoso> Bish: That must look and feel particularly strange.
<Bish> that was impressive, but it feels like to much of a hazzle
<eugenmayer> centrx: ^^
<Bish> no, actually it was straight forward
<Bish> they had js bindings for react
<dminuoso> Neat
<Bish> i really liked it, i was about to write something similiar in ruby
<dminuoso> React is what basically brought me to JS :)
<Bish> i even started doing it already
<Bish> dminuoso: i was stupid enough to get fooled by google ( angular )
<dminuoso> Heh, well angular I looked at very thoroughly. Im not entirely convinced yet.
<centrx> eugenmayer: yeah C# is solid
<Verity> if re.search(r"\b(?:word1|word2|word3|word4)\b", msg) or re.search(r"\b(?:word1|word2|word3|word4)\b", description):
<dminuoso> Bish: I think Vue is the best approach since it gives you the best of both.
<centrx> eugenmayer: too much like Java for me though, very long naming, lots of boilerplate
<eugenmayer> centrx: java 9 has made some progress, but still now way near to the way you can use generics in C#, the plain syntactical sugar, the lamda functions and the way you can really use them, is really solid in C#. But in the end, C# / Java, Cpp are all rock solid ( actually considering PHP7 to be joining those ) and choosing one of those will depend on you dest platform, you arch and you team in the end
<Verity> sorry wrong window <_>
<dminuoso> But it's not really adopted yet.
<Bish> angular is like rails for ruby
<Bish> i never liked rails either
<Verity> but mayeb that would be cleaner in ruby
<Bish> but angular i liked, but it's too much shit
<Bish> dminuoso: ruby-hyperloop, they try to create react-bindings in ruby
<dminuoso> Well angular feels just awkward but I havent used it much so I cant judge it.
<eugenmayer> Bish: please what, ng2 is like rails for ruby? please srsly stop it.
<Bish> eugenmayer: no, you stop with your annoying "x is better than y" shit
<eugenmayer> ng2 / ng / ember / react are complete different patterns in every single point, goodness
<centrx> PHP7 is like Microsoft. It's had 20 years to get it right, why bother?
<Bish> i was just referencing the fukin framework-style, in the sense that it tells you how to do it
<eugenmayer> centrx: well, i guess, i cant argue it has take a lot of time. But in the end i could not care less when considering what a solid
<dminuoso> Bish: Absolutely yeah. ReactJS is a much more sensible approach because all you have is raw JS code that you can either opt-in to use or not.
<dminuoso> You can even debug ReactJS if you wanted to.
<Bish> dminuoso: it looks actually very mature ( ruby-hyperloop ), have tried it, but .js files will get really big.
<dminuoso> Good luck debugging Angular apps .. :-)
<Bish> reactjs is basicially a dom-cache.. and let's you implement your own logic
<eugenmayer> centrx: it stuck for waaay to long time in 5.1 due to yahoos blockers, but finally, after 5.4 - 7, things had a lot of drive. right now PHP seems to be serious about pushing itself back into the game
<Bish> angular will lead to 10000 mio files, which all look the same
<dminuoso> Bish: Ive seen it but it felt completely silly for many reasons. I just write native JS code.
<Bish> and weird attributes that will fuck yo up
<dminuoso> But I think in the end thats just a preference thing.
<eugenmayer> dminuoso: well with ng2 its easy. But yes, you need tool support (including browser plugins ). Zone.js here to help you
<eugenmayer> Bish: FUD.
<Bish> tired ng2, it's even worse there, and that is fukin opinion whats so hard to understand about that
<eugenmayer> reactjs is domcache, dud are you on drugs? Yo are taking the one framework which has no single attachment to DOM and putting it as dom cache :)
<Bish> metaphor, and i didn't ask you for you opinion
<eugenmayer> Nonsense to even argue.
nadir has joined #ruby
<Bish> what is wrong with you, jesus
<centrx> Obligatory http://imgur.com/pG3q7
<Bish> eugenmayer: how on earth is rendering to dom, not a attachment to dom
<eugenmayer> React has nothing to do with DOM. Nothing.
mula has quit []
<Bish> ... yeah it has a virtual-dom.. and needs to react-dom to synchronize those two
millerti has joined #ruby
<eugenmayer> as ng2 is. ng is using DOM events and DOM storage, so its more or less a dom wrapper
<Bish> now everyone knows how clever you are, congratulations
<eugenmayer> its not virtual DOM, no dom at all.
centrx has quit []
<Bish> so.. what doe react do?
<Bish> enlighten people that are less omnipotent as you
FooMunki has quit [Quit: FooMunki]
Derperperd has joined #ruby
<Bish> dminuoso: might be, i gotta try reactjs, i have a feeling that this will not make me sad... but that's what i thought when started using angular
<Bish> and i hate it, even though it's not really bad.
<eugenmayer> React does not require any DOM to run or offer any functionality. It has an own even-queue ( as ng2 has ) has a dom-dettached rendering pipeline ( html/DOM is just a template enging ). Thats why react is used so widely for node-based backends, or stuff like https://facebook.github.io/react-native/ or even electron with cocoa. The interesting point on react is that it does not need DOM.
<Bish> eugenmayer: wow that is really intresting random information
<Bish> which nobody asked for
<Bish> ruby does not need openssl either.. did you know?
<dminuoso> Bish: React just enforces a couple of rules on you, beyond that you can step outside the framework as much as you want.
<Bish> dminuoso: yeah, that's exactly what i want, but i didn't know that yet :(
DLSteve has joined #ruby
<Bish> s/yet/back then/
<Burgestrand> React certainly gives you more room to dictate your own architecture, and thus screw it up too.
<Bish> :3
<eugenmayer> Burgestrand: fully second this.
baked__beans has joined #ruby
<dminuoso> I like having a shotgun to shoot my own foot with.,
<Burgestrand> Me too!
<eugenmayer> Burgestrand: also harder to maintain long term, since you have to keep the router, template engine/DAL choices upgrades consistent yourself on the long run, upgrading the right way, right timing
<Burgestrand> eugenmayer Using react successfully requires you to dictate your own architecture and stick to it, if you're a lone developer you can go cowboy/girl but if there's more than one it can cause headaches if you're not careful.
<eugenmayer> But its initial boostrap-time is impressive, even with ng2 on AOT
haraoka has quit [Ping timeout: 264 seconds]
agent_white has joined #ruby
<eugenmayer> Burgestrand: yeah. React is about really being a veteran, but then, you do build impressive stuff.
<eugenmayer> Burgestrand: we have chosen ng2 since finding ressources is a bit easier, since the matrix of routers / engines is limited, thus people know the stack a lot faster, while with react it slike "what react stacks do yo know"
BSAlb has joined #ruby
<eugenmayer> Burgestrand: but react is a hack of attractive. Still looking envy on it :)
<Burgestrand> eugenmayer How does ng2 compare to ng1 when one considers ng1 a framework and react a library?
<eugenmayer> ng2 does in first temrs not compare to ng1 at all.
<Burgestrand> eugenmayer Would you say it provides architecture?
<eugenmayer> If you got that, you can compare ng2 to react freely. React is more a lib/core "small core", like a microkernel
prometheanfire has left #ruby [#ruby]
^jud has joined #ruby
<eugenmayer> ng2 is more a prepicked-framework with consistent integration. i think react will spread a lot more, since its microkernel DNA will ensure it is used as part o other frameworks, a bit like symfony is used in a lot of other (also legacy) PHP frameworks nowdays
<eugenmayer> Burgestrand: so yo do not have the same "
roflmyeggo has joined #ruby
BSaboia has joined #ruby
velocity64 has joined #ruby
<eugenmayer> "freedome" in choice in ng2 - thats a pro and con at the same time i would guess
bmurt has joined #ruby
BSab has quit [Ping timeout: 268 seconds]
<Burgestrand> eugenmayer alright, so ng2 does dictate some more what and where you should put your code/
<Burgestrand> eugenmayer less than ng1, but more than react
duckpuppy has joined #ruby
velocity64 has quit [Remote host closed the connection]
<Burgestrand> I've actively avoided ng2 partly because it's new, and partly because ng1 was such a screwup.
<eugenmayer> Burgestrand: more the components are dictated, but yes, its opinianated ( but a really really good way ). Components in ng2 are the most superior component encapsulation i have ever seen ( any language/framework_)
jud^ has quit [Ping timeout: 258 seconds]
<eugenmayer> Burgestrand: ng1 was plain PITA - but do not do not make the mistake to compare both. ng1 does not share a single line of code with ng2. Migrating from ng1 to ng2 means complete rewrite.
<Burgestrand> eugenmayer Sounds good.
BSAlb has quit [Ping timeout: 260 seconds]
<eugenmayer> Burgestrand: still, if you are used to reactjs, i would say, stick with it. Its harder to learn, harder to get used to but for sure far more flexible in its scenarios. You can use it on mobiles, on backends, on client-side apps or as a non-single-page backend2frontend bridge. ng2 is not as flexible ( its more heavy duty )
<eugenmayer> Burgestrand: one of the biggest pros on ng2 is its 100% pure consistent typescript implementation. It really gives you a lot.
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
hutch34 has joined #ruby
<Burgestrand> eugenmayer I'm not a mono-framework person, frankly not too happy about react either, but it's the correct poison in some situations.
<eugenmayer> Burgestrand: same here. Neither a mono-framework nor a mono-language person :) Picking the best weapon…and due to docker microservices got so much effordable that using "the perfect weapon for aspect A, different for aspect B" becomes a really interesting strategy
<Burgestrand> Been peeking a bit at vue lately, but in the end they're all the same anyway!
lightheaded has quit [Remote host closed the connection]
DLSteve has joined #ruby
<Burgestrand> We're all still stuck in the 1980's, might as well have some fun.
lightheaded has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<agent_white> Mornin' folks
<Burgestrand> Mornin'!
<Burgestrand> agent_white Do you shift colors during the day?
<agent_white> Depends how much caffeine I've taken in.
<agent_white> :)
<Burgestrand> :)
<eugenmayer> agent_white: so its basically a transition from white to brown? :)
lightheaded has quit [Read error: No route to host]
vuoto has quit [Remote host closed the connection]
<agent_white> I haven't seen Agent Brown in years... not since the incident in Indonesia.
lightheaded has joined #ruby
* agent_white shudders
jaruga has joined #ruby
lightheaded has quit [Ping timeout: 260 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skweek has joined #ruby
<Verity> what is the ruby equivalent of pythonic
<Verity> rubic?
arooni has quit [Quit: ZNC - http://znc.in]
jameser has joined #ruby
last_staff has quit [Quit: last_staff]
igniting has joined #ruby
lightheaded has joined #ruby
Lord_of_Life has quit [Excess Flood]
Snowy has joined #ruby
<Burgestrand> Verity I just say "idiomatic ruby", but it's easy to accidentally misuse that term for personal preferences too, so I try to avoid it.
arooni has joined #ruby
raul782 has joined #ruby
__Yiota has joined #ruby
Lord_of_Life has joined #ruby
Qchmqs has quit [Quit: Konversation terminated!]
<herwin> "the way rubocop stops complaining"
<Burgestrand> Verity when comparing the two I believe you'll find that ruby is generally more loose in what is considered the right way, which leads to "idiomatic code" being not so important.
Miron has quit [Ping timeout: 264 seconds]
<Burgestrand> herwin :)
<Burgestrand> Verity that said, there are certainly things that are more in line with The Ruby Way than others.
millerti has joined #ruby
<Burgestrand> I don't see many FactoryFactoryBean.
jsrn_ has joined #ruby
neuraload has joined #ruby
sonOfRa has quit [Remote host closed the connection]
roflmyeggo has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
neuraload has quit [Client Quit]
sonOfRa has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harfangk has joined #ruby
kobain has joined #ruby
lightheaded has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
Miron has joined #ruby
certainty has quit [Ping timeout: 268 seconds]
cdg has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
jameser has joined #ruby
anisha has quit [Quit: Leaving]
vuoto has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
jameser has quit [Ping timeout: 268 seconds]
bkxd has quit [Ping timeout: 260 seconds]
jaruga has quit [Quit: jaruga]
lacrymology has joined #ruby
jenrzzz has joined #ruby
Fin1te has joined #ruby
vuoto has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
lightheaded has joined #ruby
vuoto has joined #ruby
lightheaded has quit [Remote host closed the connection]
kalyan57 has quit [Ping timeout: 258 seconds]
lightheaded has joined #ruby
ta_ has quit [Remote host closed the connection]
ledestin has joined #ruby
t-recx has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
<dminuoso> 189 files changed, 9901 insertions(+), 690 deletions(-)
* dminuoso sighs
lightheaded has quit [Ping timeout: 260 seconds]
synthroid has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
jdeen has joined #ruby
<Bish> git commit -am "i do not care anymore"
<jdeen> Hello channel... I am interested in advice for debugging Ruby apps in VIM. I see this is old and there is an issue saying it doesn't work for 2+ https://github.com/astashov/vim-ruby-debugger - any other suggestions?
vuoto has joined #ruby
synthroid has joined #ruby
<Bish> get an editor </startsFlamewar>
vali has quit [Ping timeout: 258 seconds]
<Bish> no, i actually like vim, i say this because i have this question: is hours of confugurating vim worth it?
c137 has joined #ruby
<Verity> ruby has libs?
<Verity> support fb graph api?
<eugenmayer> rubygems.org
<jdeen> Bish: I have used RubyMine, but now moved away. Currently considering VSCode and Atom.
<eugenmayer> jdeen: OSX?
<jdeen> Bish: to answer your question, i think yes, for some wired reason i love how vim feels..s
<jdeen> eugenmayer: nack, Ubuntu
workmad3 has joined #ruby
<eugenmayer> jdeen: well, install the vim plugin for rubymine and have the same feeling, but also the integrations to not have any questions on how to configure the debugger :)
<eugenmayer> jdeen: i you use vim as an editor for this purpose, there should be one rule: you do not have any questions :)
polishdub has joined #ruby
shinnya has joined #ruby
<jdeen> eugenmayer: I was using it... i am not religious about vim, but the vim way is efficient... I moved away from RubyMine because I work on a non ssd machine and it loads really slow... on my personal laptop with SSD the project opens well within 2 mins and in my office laptop it takes 15 mins to load. I go make a coffee, have a standup and come some times it is still loading -_- :D
<eugenmayer> Solve your hardware problem then :) Or activate the "powersave mode" in rubymine
<eugenmayer> disable some inspections and things like that. But yes, the amount of symbol/class/file lookups and the speed rubymine offers that needs indexing and that needs initial time, so thats what you refer to
Derperperd has quit [Max SendQ exceeded]
sagax has joined #ruby
stan has quit [Remote host closed the connection]
<eugenmayer> jdeen: but your question was about vim - not need to answer this with "use a proper IDE". I cannot help you with vim, so i shut up :)
Derperperd has joined #ruby
roamingdog has joined #ruby
<jdeen> eugenmayer: your ideas are highly appreciated... i also had that feeling today... (day is over in Sri Lanka)...
<jdeen> i am going to try not run the indexes, asked for an ssd upgrade, the meintanane guys are sleeping... thanks anyways
<eugenmayer> SSD is not your issue, CPU is (indexing) and later RAM is ( it it needs a lot of time accessing symbols, since it is paging out the index )
stan has joined #ruby
<eugenmayer> I mean, beside that, SSD is a must, right? Period :)
c137 has quit []
<Bish> jdeen: yeah im not monk-ish enough to learn every shortcut there is, i switched to atom with vim-mode
<Bish> i guess basicially features like debuggers would make sense there, too
edliss has quit [Ping timeout: 260 seconds]
<eugenmayer> Stuff like remote SDK support is simpley inreplaceable nowdays, i would say
<eugenmayer> remote SDK implies proper remote debugging support and a far better path mapping support and also, shareability of the IDE settings
meowzus has joined #ruby
<meowzus> hi, does anyone know how to print CDATA stuff inside a node using nokogiri?
<meowzus> it just shows up as blank for me but in the raw xml i can see its !CDATA[]
edliss has joined #ruby
lmc has joined #ruby
antoniobeyah has joined #ruby
nikivi has joined #ruby
duckpupp1 has joined #ruby
Fin1te has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Silthias has quit [Ping timeout: 260 seconds]
tubuliferous has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<meowzus> fixed it, was using the html parser instead of the xml parser
meowzus has left #ruby ["Textual IRC Client: www.textualapp.com"]
duckpuppy has quit [Ping timeout: 260 seconds]
<eugenmayer> HTML parser for XML - have fun :)
Fin1te has joined #ruby
choke has joined #ruby
lightheaded has joined #ruby
synthroid has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 256 seconds]
jaruga has joined #ruby
Silthias has joined #ruby
ta_ has joined #ruby
jgnagy has joined #ruby
hxegon_afk is now known as hxegon
elaptics has joined #ruby
skweek has joined #ruby
Silthias1 has joined #ruby
synthroid has joined #ruby
vuoto has quit [Quit: Lost terminal]
Silthias has quit [Ping timeout: 258 seconds]
bkxd has joined #ruby
cdg_ has joined #ruby
mim1k has joined #ruby
unshadow_ has quit [Quit: leaving]
tubuliferous has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
unshadow has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 260 seconds]
tubuliferous has quit [Client Quit]
cdg_ has quit [Ping timeout: 246 seconds]
flying has quit []
johnbat26 has joined #ruby
tubuliferous has joined #ruby
dionysus69 has joined #ruby
warrshrike has quit [Ping timeout: 260 seconds]
Verity has quit [Quit: Leaving]
psychicist__ has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
minimalism has joined #ruby
Burgestrand has quit [Quit: Closing time!]
aufi has quit [Ping timeout: 260 seconds]
cs_0x6373 has joined #ruby
certainty has joined #ruby
<jdeen> eugenmayer: SSD, yah it is a must IMO, but we still get old fashioned mechanical disks...
<jdeen> eugenmayer: SSD, yah it is a must IMO, but we still get old fashioned mechanical disks...
brent__ has joined #ruby
<jdeen> eugenmayer: btw, remote debugging - you mean some thing like a production app?
jdm has joined #ruby
<cs_0x6373> @jhass: not sure if you remember me, i asked some month ago regarding ruby on AIX with some weird problem opening files in /dev
<eugenmayer> jdeen: depends on your workflow, we use docker to use production stack in development and reduce the OS-level deps on development. thus we need remote debuggin even in development - but its then the same for both cases
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
<cs_0x6373> @jhass: i finally found the issue and opened bug #13349. Spent the last 3 working days hunting this down...
<jdeen> Bish: yah, I was checking out Atom y'day and it is great. But later I checked out Visual Studio Code which is free and on Electron... i like it becuase I felt its VIM plugin works better than the one for Atom...
milardovich has joined #ruby
<jdeen> eugenmayer: ah yah... good point... thanks...
<jdeen> Bish: but I had issues with RVM, i had to do `code .` in the project directory to get a rails app in debugging as it uses the default ruby version and default gemset and not the ones specified in the .ruby-version and .ruby-gemset
ozcanesen has joined #ruby
<jdeen> but i noticed an atom plugin for just that...
<havenwood> jdeen: Another trick is to open `atom` from the command line so it has access to your ENV vars.
<havenwood> jdeen: That way it plays nice with RVM/chruby/whatever else relies on properly set environment variables to select your Ruby.
milardovich has quit [Remote host closed the connection]
Pumukel has quit [Remote host closed the connection]
milardovich has joined #ruby
Pumukel has joined #ruby
<eugenmayer> what do you guys actually suppose to be used, rvm, rbenv or chruby? Seems like a neverending nonsense battle, partially supported here by tools there. Anything really "the defacto standard" right now?
mim1k has quit [Ping timeout: 246 seconds]
<havenwood> eugenmayer: chruby
<eugenmayer> most tools yet do not support it, we still stuck with rbenv ( not that we really like it .. )
<havenwood> eugenmayer: What doesn't support chruby?
<eugenmayer> tools like boxen, intellij, CI tools seem to not adapt chruby ;/
patarr has joined #ruby
<eam> remember the good old days where you'd just put the interpreter you wanted in your PATH?
<eugenmayer> (we went to chruby once with boxen and gone back since it was simply nightmare ;/ )
<eugenmayer> eam: works when you consider having one ruby
<havenwood> eugenmayer: Inteillij should have chruby support: https://youtrack.jetbrains.com/issue/RUBY-14086
<eugenmayer> eam: stops working when you have different ruby verssions for the projects in projects/A projects/B .. or for CI tools not yet on docker
<havenwood> eugenmayer: With CI tools it's easy enough to replace RVM if you care to.
<eam> eugenmayer: not really, just adjust path accordingly
<havenwood> or rbenv
roamingdog has quit [Remote host closed the connection]
<eugenmayer> havenwood: so you would suggest chruby (now/ in the future?)
roamingdog has joined #ruby
<havenwood> eugenmayer: I've not used boxen, dunno.
[Butch] has joined #ruby
<havenwood> eugenmayer: I'd suggest it now. It's only a hundred lines of code and is the simplest thing that can possibly work.
roamingdog has quit [Remote host closed the connection]
<eugenmayer> eam: i have no clue how you plan to do this. Entering projectB needs ruby 2.1, entering projectC needs ruby3…how you want to do this with $PATH - no clue.
<eam> eugenmayer: set path when you enter each project
roamingdog has joined #ruby
Pumukel has quit [Ping timeout: 258 seconds]
ElDoggo has joined #ruby
<eugenmayer> eam: great, than simplifies a lot.
<havenwood> eugenmayer: I've not seen and IDE that takes much to configure. Though like I said I've not experienced boxen.
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
<eugenmayer> havenwood: the problem with IDEs are more when they try to be clever on remote SDK support sucking gems "locally"
<Bish> eugenmayer: thats why you choose python, they just made 2 entirely different programming languges
* Bish ducks
<eugenmayer> havenwood: thanks anyway, i trigger that, so we rethink chruby / retry it
roamingdog has quit [Remote host closed the connection]
<eam> ultimately that's how all these multi-ruby tools work anyway, but because they implement their own way of doing things tools need integration
<eam> instead of just "use this interpreter"
<eugenmayer> eam: simply not. think about shims.
roamingdog has joined #ruby
<eugenmayer> wont be even close to as easy when you think about thor bin stubs.
roamingdog has quit [Remote host closed the connection]
<eam> yeah uh, when I say I miss the good old days I'm talking about before rubygems and other components that break this simple model
roamingdog has joined #ruby
<eam> I know it won't work well with today's ruby environment
<havenwood> eugenmayer: I'd use RVM to install old Rubies that need patches. I'd use rbenv with a non-posixy shell. Otherwise chruby is quite simple and just works.
jameser has joined #ruby
roamingdog has quit [Remote host closed the connection]
<havenwood> eugenmayer: And if I don't need to switch Rubies (like on a server) I don't use a Ruby version switcher.
roamingdog has joined #ruby
<eam> I am also similarly cranky about the gem model vs just LOAD_PATH
roamingdog has quit [Remote host closed the connection]
amclain has joined #ruby
<eugenmayer> yeah sure in production we hardly use it anymore havenwood, since the apps are packaged in docker containers and thats basically "that one ruby". But on the other side, e.g. you need ruby for tiller, but we need jruby for "the app" - so again, you sometimes need RVM*
<eam> in production we bundle a ruby with each application and don't use any of these tools
<eam> tends to be you want to roll out your ruby interpreter changes in conjunction with your ruby source deployments anyway
<eugenmayer> eam: software become too complex - we better start acknowledge that but creating tools to help us humans to abstract and still cope with it /me my 5 cents
Beams_ has quit [Quit: .]
<eam> eugenmayer: no beef with abstrations, just a beef with poor ones :)
jdm has quit [Remote host closed the connection]
<eugenmayer> eam: yeah, got you on this, Sure.
<havenwood> eugenmayer: RVM is tens of thousands of lines. Rbenv replaces shell bulitins with C-extensions. It's madness out there!
jameser has quit [Client Quit]
<havenwood> ;-)
<matthewd> > Rbenv replaces shell bulitins with C-extensions
<matthewd> wha?
nobitanobi has quit [Remote host closed the connection]
<havenwood> matthewd: realpath was too slow so...: https://github.com/rbenv/rbenv/tree/master/src
hutch34 has quit [Ping timeout: 256 seconds]
<havenwood> matthewd: But it ends up that chruby is less code than just rbenv's shell replacements.
juggler has joined #ruby
<havenwood> matthewd: That doesn't bother me as much as ruby-build shipping it's own OpenSSL though.
<matthewd> Oh, I don't use bash
<havenwood> I've seen multiple people get burned by that one.
<havenwood> <3 zsh
<eugenmayer> wat? there are other shells?
* havenwood eyes Fish
username1 has joined #ruby
username2 has joined #ruby
username3 has joined #ruby
cfec0b8d has joined #ruby
<matthewd> tbh I adopted rbenv before chruby was a thing, mangled it to make it do what I want, then just haven't had sufficient cause to revisit
<havenwood> I'm glad there's an rbenv though. Great for non-posix shells.
username3 has quit [Client Quit]
username1 has quit [Client Quit]
username2 has quit [Client Quit]
<eugenmayer> havenwood: sometimes zsh can be pitty two, e.g. rake options PITA. But yeah, lovely little livesafer
<matthewd> Story of my life, I guess... I believe modern bash covers many of the things I once switched to zsh for, too
eugenmayer has quit [Read error: Connection reset by peer]
eugenmayer has joined #ruby
eugenmayer has quit [Client Quit]
pandaant has quit [Remote host closed the connection]
<havenwood> I wish Bash 3 would just go away already. It's a shame macOS, etc, won't switch to Bash 4 because of licensing.
mim1k has joined #ruby
ta_ has quit [Remote host closed the connection]
<havenwood> Because of Bash 3 we can't have nice associative arrays in tools like Ruby-version-switchers.
<havenwood> Portable shell... ¯\_(ツ)_/¯
raspado has joined #ruby
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
<herwin> anybody else who uses the badum shell?
<herwin> *badump-sh*
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
<hxegon> lol
<baweaver> I like this person
<baweaver> shelling out the puns early in the morning
baked__beans has quit [Read error: Connection reset by peer]
<baweaver> you sed it havenwood
<hxegon> ?rimshot
<baweaver> well that was awkward
<hxegon> hmm... it's on the facts list: https://ruby-community.com/ruboto/facts
<havenwood> baweaver: ack, just like you sed
<hxegon> promise I'm not crazy
<havenwood> awk* >.>
marxarelli has joined #ruby
<eam> zsh you guys
<baweaver> havenwood: ack ^
hahuang62 has quit [Ping timeout: 264 seconds]
<baweaver> (ag is faster, and there was another tool in Rust recently that beat ag as well)
username1 has joined #ruby
mcantor has joined #ruby
<mcantor> Where is Psych::Parser#parse defined?
Derperperd has quit [Max SendQ exceeded]
montanonic has joined #ruby
hvn0413 has quit [Quit: Connection closed for inactivity]
baked__beans has joined #ruby
<baweaver> https://github.com/BurntSushi/ripgrep - there it is
<matthewd> mcantor: https://github.com/ruby/psych/blob/master/ext/psych/psych_parser.c#L244.. but that sounds like a bit of a "why do you ask?" question
SeepingN has joined #ruby
<baweaver> they're just trying to psych you out matthewd
certainty has quit [Ping timeout: 260 seconds]
<matthewd> Syck.f
<mcantor> ahh of course. forgot that it's partially defined in C
<mcantor> matthewd: I'm trying to build my own <Handler/Parser/ToRubyVisitor>, and I'm just getting a sense of the library so I can decide which of those things are the correct thing for me to build
ResidentBiscuit has joined #ruby
<mcantor> matthewd: https://gist.github.com/mcantor/197ef3c4c69983dcaa27e9dc39ccdc9b <-- that's the basic kind of functionality I'm looking for
<mcantor> I very much doubt I'll need to write any C for a while, but I was curious
raul782 has quit [Remote host closed the connection]
AnomalousBit has joined #ruby
raul782 has joined #ruby
<matthewd> mcantor: Umm... you know you're reproducing a built-in yaml feature, right?
<matthewd> >> require 'yaml'; YAML.load("First Name: &x Max\nLast Name: Cantor\nDisplay Name: *x")
<ruby[bot]> matthewd: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
duderonomy has quit [Ping timeout: 240 seconds]
baked__beans has quit [Ping timeout: 240 seconds]
jdm has joined #ruby
certainty has joined #ruby
<mcantor> matthewd: Yes indeed! Anchors & Aliases are an excellent feature, and I want to expand on it
FooMunki has joined #ruby
rahul_bajaj has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
<mcantor> For example, I want to be able to do "Formatted: !template [!bind Last Name, ', ', !bind First Name]"
<mcantor> which will result in { "Formatted" => "Cantor, Max" }
baked__beans has joined #ruby
<matthewd> Seems a bit outside of the YAML parser's remit IMO.. simpler to implement as a hash transform afterwards
Suslov has joined #ruby
duckpuppy has joined #ruby
<mcantor> matthewd: I disagree! I think it's simpler if I can just read a YAML file and have everything already set up. But you're correct in that the default YAML parser doesn't do what I'm looking for
<mcantor> That's why I'm writing my own!
certainty has quit [Ping timeout: 258 seconds]
ferr1 has quit [Quit: WeeChat 1.7]
duckpupp1 has quit [Ping timeout: 240 seconds]
aganov has quit [Remote host closed the connection]
<matthewd> I meant simpler to implement; that the caller treats it as a single LoadMagicYamlPlus() call makes it simple for them, but that doesn't affect whether the load is a one- or two-step process internally.
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<matthewd> You're the one implementing it though, so it doesn't really matter what I think :)
Xiti has joined #ruby
<mcantor> Oh, you're absolutely right about it being simpler to implement. I'm pathologically incapable of doing things the easy way, though ;-)
stan has quit [Remote host closed the connection]
lmc has quit [Remote host closed the connection]
lmc has joined #ruby
<Bish> mcantor: you're wrong in #ruby
Beams has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
hutch34 has joined #ruby
<Bish> you could do write some haskell, would make use of yor pathological condiiton :D
stan has joined #ruby
<hxegon> I would think writing a parser in haskell would be easier, if you separate the difficulty of learning the language...
<Bish> i said some haskell, not "do that thing" in haskell
<hxegon> ah
<Bish> which would be "doing it the hard way", but would forcefully be correct due to the pure functional nature of haskell
<mcantor> Bish: I've dipped my toes in functional languages several times, but never managed to get past inertia
certainty has joined #ruby
lmc has quit [Ping timeout: 240 seconds]
Guest94 has joined #ruby
Guest94 is now known as postmodem
<Bish> i would love to be "able" to do that, since it seems the right way to do
<mcantor> it does. the more ruby I write, the more I yearn for functional fluency in my tools
<Bish> but i have a feeling thats again not the holy grail
<mcantor> haha, what is the holy grail?
<Bish> i don't know, when i read myself into haskell, i felt like it is
<Bish> ruby is like the other extreme, having state everywhere
postmodem has quit [Client Quit]
* baweaver gets out his bingo board and a bag of popcorn
<Bish> baweaver: you're too late for flamewars
<hxegon> One can never be too late for flame wars. Flame war, flame war never changes...
<baweaver> the fallout is real
<Bish> they're both great languages, i won't flame either of them D: except for it's syntax
<Bish> is syntax on your board?
<Bish> haskelldesigners smoked crack when they designed that
<baweaver> monad monoid endofunctor functor khleesi bind etc etc etc
<Bish> khleesi is that the walking eyebrow from game of thrones?
<Papierkorb> baweaver: muh curryin'
<Bish> baweaver: im not haskelteer enough to talk about these smart things
<hxegon> "*Proper* static typing"
rahul_bajaj has quit [Ping timeout: 240 seconds]
<Bish> s/talk/flame
certainty has quit [Ping timeout: 264 seconds]
<baweaver> kleisli
<baweaver> that's what it was
<baweaver> dangit GoT
<hxegon> Bish: Did you just refer to me as a noun, shitlord? /s
<Bish> herwin: i did what?
montanonic has quit [Ping timeout: 258 seconds]
<herwin> who
<Bish> hxegon: *
<Bish> herwin: sorry!
<hxegon> Bish: joke about refering to functional programmers as nouns, see: http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html
<baweaver> Anyways, #ruby-offtopic if we want to delve this one
<Bish> justDoIt
<Bish> i chuckled
jaequery has joined #ruby
conta has quit [Ping timeout: 258 seconds]
roamingdog has joined #ruby
Derperperd has joined #ruby
Snowy has quit [Quit: ragequit]
sneakerhax has joined #ruby
nobitanobi has joined #ruby
jnoob22 has quit [Ping timeout: 260 seconds]
roamingdog has quit [Ping timeout: 240 seconds]
rgr has joined #ruby
stan has quit [Remote host closed the connection]
stan has joined #ruby
gusrub has joined #ruby
crst_ has joined #ruby
<crst_> Hi, I forked a gem and modified some code and would like to use that gem on my local machine... how can I do that?
jsrn_ has quit [Read error: Connection reset by peer]
Beams has quit [Quit: .]
<hxegon> crst_: you can add a github repo in your gemfile, but there are other ways too
<crst_> headius: can I just check if it's any good locally?
aufi has joined #ruby
juggler has quit [Remote host closed the connection]
rahul_bajaj has joined #ruby
<crst_> hxegon: ^ sorry
spicerack has joined #ruby
<hxegon> crst_: what do you mean by "check if it's any good"?
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lightheaded has quit [Remote host closed the connection]
<Disavowed> crst_: Sure! I'm by no means an expert, but I think what you want it gem build <gemname>.gemspec and then gem install gemname-version
mark_66 has quit [Remote host closed the connection]
lightheaded has joined #ruby
<crst_> hxegon: like just quickly testing what I have done, if it's working etc. without comitting pushing etc?
Fin1te has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<hxegon> crst_: what Disavowed said
<baweaver> better answer ^
jenrzzz has joined #ruby
<baweaver> gem 'gemname', path: path/to/local/gem
<baweaver> crst_ ^
<Disavowed> TIL
<baweaver> you can also point it at Git with git: repo-link iirc
<baweaver> I use it if a certain gem is screwy and I want to make sure that's what broke it
gusrub has quit [Remote host closed the connection]
<baweaver> instead of hot-patching the game
<baweaver> gem*
<hxegon> damn it baweaver, I haven't lost the game in like, 2 years
gusrub has joined #ruby
<baweaver> !kic....
* baweaver puts down banhammer slowly
* baweaver breathes
<baweaver> anyways
lightheaded has quit [Ping timeout: 246 seconds]
<crst_> baweaver: phantastic, thanks!
jenrzzz has quit [Ping timeout: 240 seconds]
montanonic has joined #ruby
skweek has joined #ruby
bkxd has joined #ruby
DTZUZU has quit [Ping timeout: 260 seconds]
mzo has joined #ruby
kenichi_ is now known as kenichi
bkxd has quit [Ping timeout: 240 seconds]
mitt3ns has joined #ruby
cagomez has joined #ruby
mzo has quit [Client Quit]
bocaneri has quit [Remote host closed the connection]
hahuang62 has joined #ruby
mitt3ns has quit [Ping timeout: 246 seconds]
gusrub has quit [Remote host closed the connection]
lmc has joined #ruby
avrelaun has quit [Remote host closed the connection]
avrelaun has joined #ruby
synthroid has quit [Remote host closed the connection]
Toledo is now known as croberts
Derperperd has quit [Ping timeout: 264 seconds]
mzo has joined #ruby
Suslov has quit [Quit: Leaving...]
patarr_ has joined #ruby
igniting has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 240 seconds]
millerti has joined #ruby
andikr has quit [Remote host closed the connection]
gusrub has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
certainty has joined #ruby
noan_ is now known as noan
chouhoulis has joined #ruby
johnbat26 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
crst_ has quit [Ping timeout: 260 seconds]
jdm has quit [Remote host closed the connection]
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
djbkd has joined #ruby
al2o3-cr has quit [Ping timeout: 256 seconds]
synthroid has joined #ruby
shinnya has quit [Ping timeout: 268 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub has quit [Remote host closed the connection]
choke has quit [Ping timeout: 268 seconds]
gusrub has joined #ruby
gusrub has quit [Remote host closed the connection]
Mia has quit [Read error: Connection reset by peer]
TomyLobo2 has joined #ruby
nobitanobi has quit [Remote host closed the connection]
elaptics has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
edliss has quit [Ping timeout: 260 seconds]
bigkevmcd has quit [Quit: Outta here...]
tubuliferous has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
aufi has quit [Quit: Leaving]
naprimer_2 has quit [Remote host closed the connection]
enterprisey has joined #ruby
jenrzzz has joined #ruby
crst has joined #ruby
certainty has quit [Ping timeout: 260 seconds]
naprimer has joined #ruby
hahuang62 has quit [Ping timeout: 264 seconds]
lxsameer has quit [Quit: WeeChat 1.5]
newdan has joined #ruby
rahul_bajaj has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 260 seconds]
Fin1te has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<newdan> Does anyone know the Ruby equivalent to `def something(*args, **kwargs):` in Python?
hahuang62 has joined #ruby
mim1k has joined #ruby
<newdan> I think I can use the same *args syntax to get varargs, but what's the equivalent for Ruby's keyword arguments?
hobodave has joined #ruby
ramfjord has joined #ruby
<newdan> ...ah nevermind it is apparently the exact same syntax, cool
tenderlove has joined #ruby
oncall-pokemon has quit [Quit: Connection closed for inactivity]
tvon has joined #ruby
bastrud has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
gusrub has joined #ruby
renchan has quit [Quit: Leaving...]
psychicist__ has quit [Read error: Connection reset by peer]
senayar has quit []
psychicist__ has joined #ruby
lmc has quit [Remote host closed the connection]
gypsydave5 has joined #ruby
nowhere_man has quit [Ping timeout: 246 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
HoierM has quit [Remote host closed the connection]
jonjitsu has joined #ruby
senayar has quit [Client Quit]
antgel has quit [Ping timeout: 240 seconds]
epmvuj has quit [Remote host closed the connection]
chopin has joined #ruby
ramfjord has joined #ruby
JoshS has quit [Quit: Leaving]
iceden has joined #ruby
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
t-recx has quit [Read error: No route to host]
renchan has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
t-recx has joined #ruby
jamesaxl has joined #ruby
roamingdog has joined #ruby
nowhere_man has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
nowhereman has joined #ruby
gypsydave5 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
roamingdog has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
<Disavowed> How do people unit test gems written for Rails?
edliss has joined #ruby
<havenwood> Disavowed: Often with the suite of unit testing facilities that ships with Ruby called Minitest.
d5sx43 has joined #ruby
d5sx43 has quit [Client Quit]
anisha has joined #ruby
montanonic has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
DTZUZU has joined #ruby
sepp2k has quit [Ping timeout: 264 seconds]
ResidentBiscuit has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
bkxd has joined #ruby
muelleme has joined #ruby
<Disavowed> havenwood: Thanks for the pointer - treading new territory. I'll be fine with rspec (theoretically) though right?
<Disavowed> Is there something I have to do to set up Rails correctly in my tests? https://bpaste.net/show/b0917f12da58
JeanCarloMachado has quit [Ping timeout: 260 seconds]
<Disavowed> Oh, ignore all that. I just discovered: http://guides.rubyonrails.org/plugins.html - Serves me right for using DDG instead of Google! Thanks for the help though havenwood.
bkxd has quit [Ping timeout: 256 seconds]
HoierM has joined #ruby
mrmortondk has joined #ruby
Fernando-Basso has quit [Quit: WeeChat 1.5]
duderonomy has joined #ruby
jaequery has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
skweek has quit [Ping timeout: 256 seconds]
renatosilva has joined #ruby
Renich has joined #ruby
pytuger has quit [Ping timeout: 240 seconds]
pytuger has joined #ruby
pytuger has quit [Changing host]
pytuger has joined #ruby
raspado has quit [Remote host closed the connection]
username1 has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
muelleme has quit [Ping timeout: 240 seconds]
kitikonti has joined #ruby
lacrymology has quit [Ping timeout: 240 seconds]
<mcantor> x86_64-darwin15/readline.bundle
<mcantor> "library not loaded", "image not found"
jdm has joined #ruby
djbkd has quit [Ping timeout: 268 seconds]
newdan has left #ruby ["ERC (IRC client for Emacs 25.1.1)"]
anisha has quit [Quit: Leaving]
lmc has joined #ruby
tvon has quit []
djbkd has joined #ruby
yehowyada has joined #ruby
olivi____ has joined #ruby
<mcantor> aarghghghgh
<mcantor> why can't I run pry anymore?!
dionysus69 has quit [Remote host closed the connection]
Derperperd has joined #ruby
dionysus69 has joined #ruby
kirun has joined #ruby
<mwlang> Disavowed: DDG is a nice idea, but definitely leaves me wanting for something more every time I try the service out.
roamingdog has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
DLSteve has joined #ruby
<Disavowed> mwlang: I've had more success since I discovered you can prefix searches with g!, m! and i! which will anonymously search Google, Google Maps and Google Images directly - I wish I'd known that starting out!
renchan has quit [Remote host closed the connection]
<mcantor> whoa, that's rad
<Disavowed> Happy to help :)
<dminuoso> Disavowed: If only ddg was as quick and nimble as google.
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> Disavowed: It's quite amazing that it's super frustrating to have to wait more than 100ms until the page is rendered to the point where elements don't keep rearranging.
MarioEIU has joined #ruby
<Disavowed> dminuoso: I couldn't agree more. I've been making a bit more of an effort to extricate myself from google, and I don't think things like DDG, Firefox for Android or Safari on OS X are as good as their Google counterparts. OsmAnd pisses on Google maps though!
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Renich__ has joined #ruby
Renich__ has quit [Remote host closed the connection]
JeanCarloMachado has joined #ruby
Renich has quit [Ping timeout: 246 seconds]
username has joined #ruby
lmc has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
bastrud has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
lmc has joined #ruby
chopin_ has joined #ruby
lmc has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
[Butch] has quit [Quit: I'm out . . .]
hahuang62 has quit [Quit: WeeChat 1.7]
hahuang65 has joined #ruby
JeanCarloMachado has quit [Ping timeout: 264 seconds]
chopin has quit [Ping timeout: 246 seconds]
hobodave has quit [Ping timeout: 260 seconds]
Derperperd has quit [Max SendQ exceeded]
umdstu has quit [Remote host closed the connection]
Derperperd has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
hobodave has joined #ruby
gusrub has quit [Remote host closed the connection]
jamesaxl has joined #ruby
hahuang65 has quit [Client Quit]
milardovich has quit [Remote host closed the connection]
djbkd has joined #ruby
milardovich has joined #ruby
hahuang65 has joined #ruby
certainty has joined #ruby
jenrzzz has joined #ruby
SilentNinja1 has joined #ruby
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mwlang> Disavowed: oh, nice! I didn’t know about that feature.
<SilentNinja1> HI, Can anyone help? When I run bundle exec --verbose rake db:migrate --trace, I get stuck on Execute environment
<SilentNinja1> even with verbose and --trace I get not errors
<SilentNinja1> my MYSQL environment variables are all set correctly in database.yml
ozcanesen has joined #ruby
<SilentNinja1> any help would be appreciated. thanks
lmc has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
milardovich has quit [Ping timeout: 260 seconds]
<mwlang> SilentNinja1: what does “I get stuck on Execute environment” mean? a little vague…perhaps a gist of the error?
<SilentNinja1> it stays there
SeepingN has joined #ruby
<SilentNinja1> ** Invoke db:migrate (first_time)
<SilentNinja1> ** Execute environment
<SilentNinja1> ** Invoke environment (first_time)
<SilentNinja1> doesn't event connect to database
<mwlang> Ah…so it’s timing out on connecting to the database?
hahuang65 has quit [Quit: WeeChat 1.7]
MarioEIU is now known as amargherio
croberts has quit [Remote host closed the connection]
<SilentNinja1> if it timesout it should exit, correct?
bastrud has joined #ruby
<baweaver> Is the database even running?
<SilentNinja1> bundle -v Bundler version 1.14.6
<baweaver> local environment?
<mwlang> well, actually, if you have timeout 0 and you’re doing a migration that just plain takes a while, you’ll sit watching until it completes.
srl295 has joined #ruby
<baweaver> `ps aux | grep mysql` if you're looking to find if it is running
<mwlang> I’ve had some migrations take 20 ~ 30 minutes to run, but I can’t really say if that’s your issue or not. If you’re not making a connection at all, the connect/open attempt usually times out in 30 to 45 seconds.
<SilentNinja1> the local DB is running,I'm on it using SequelPro and don't see the other connection or any process runing
<SilentNinja1> with show processlist
<baweaver> You tried restarting yet?
<SilentNinja1> OK, I'l try to restart the DB
<SilentNinja1> mariadb shouldn't matter, correct?
<baweaver> not that I know of
<baweaver> failing that restart the computer.
hahuang65 has joined #ruby
<Disavowed> mwlang: an argument could be made for it being the best feature of DDG :P
<dminuoso> Guys. Is there a RubyVM precompiler around?
rgr has quit [Ping timeout: 256 seconds]
<dminuoso> Im dead sick of rails taking like 20s to boot every time.
<dminuoso> Im willing to bet a good portion of that is just spend on IO, parsing and compiling.
amargherio has quit [Quit: amargherio]
<Papierkorb> dminuoso: haven't used Rails in ages, but Ruby 2.4 improved loading times for libs like ActiveSupport for me
amargherio has joined #ruby
<dminuoso> Papierkorb: How significantly?
<SilentNinja1> still no luck after restart MariaDB
<Papierkorb> dminuoso: In a stupid test, 40-50% faster
<mwlang> dminuoso: no precompiler that I’m aware of, but spring and zeus oughta make warmups a good deal faster for you.
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> dminuoso: Yup, precompile your Ruby (.rb) to YARV bytecode (.yarb): https://github.com/ko1/yomikomu#readme
<dminuoso> havenwood: That's beautiful, the gem looks exactly what I was looking for.
<havenwood> About a 30% speedup it looks like.
<havenwood> dminuoso: It's pretty nifty. We'll see if it makes it into Ruby 3.
<dminuoso> Oh that's from from Koichi :)
<havenwood> dminuoso: yup!
brent__ has quit [Remote host closed the connection]
<havenwood> dminuoso: They discussed yomikomu a bit in this interview: https://blog.heroku.com/ruby-3-by-3
montanonic has joined #ruby
<havenwood> "It’s only a small improvement, I think, maybe 30%."
<havenwood> :-)
jenrzzz has quit [Ping timeout: 268 seconds]
duckpuppy has quit [Ping timeout: 260 seconds]
<dminuoso> Heh
Toledo has joined #ruby
<dminuoso> Well, considering their goal of 300% it's certainly not a major part.
<havenwood> "30% is huge." ~Matz
<dminuoso> havenwood: Incidentally it implies that 30% of the time must be spent in the lexer/parser/compiler
<dminuoso> Which is crazy.
<havenwood> dminuoso: Indeeeed!
Burgestrand has joined #ruby
lmc has quit [Remote host closed the connection]
duckpuppy has joined #ruby
<dminuoso> havenwood: There seems to be a quite awkward mistranslation in there.
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> havenwood: Either the word "guild" is grossly mistranslated, or they coined a new term there.
<dminuoso> It's really hard to say.
zeroDi has joined #ruby
<matthewd> I can't speak to the term's origins, but guilds is indeed the name of the planned concurrency system
Burgestrand has quit [Ping timeout: 260 seconds]
jamesaxl has quit [Ping timeout: 240 seconds]
<Bish> dminuoso: do you live here, whenever i come here you're there aswell
olivi____ has quit [Remote host closed the connection]
<Joufflu_> ^means you live here too
Joufflu_ has quit [Quit: Leaving]
olivi____ has joined #ruby
rgr has joined #ruby
<Bish> that one didn't really focus in 1 semstre cs
<Bish> i could come here once a year, and that statement would still be true
* baweaver lives in a tent in the back
<Bish> as long as it has irc
olivi____ has quit [Ping timeout: 240 seconds]
duckpuppy has quit [Ping timeout: 264 seconds]
enterprisey has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 240 seconds]
hahuang65 has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
certainty has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
<dminuoso> Bish: Without knowing where there is, I cannot answer that question with anything other than "I do not know"
<cagomez> is there a difference between foo | bar and foo || bar?
<dminuoso> cagomez: Yes.
vali has joined #ruby
rhyselsmore has joined #ruby
<cagomez> dminuoso: can you explain?
bkxd has joined #ruby
<dminuoso> asm>> 1 | 2
<ruby[bot]> dminuoso: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
synthroid has quit []
<dminuoso> asm>> 1 | 2
<ruby[bot]> dminuoso: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
Xaitec has joined #ruby
ta_ has joined #ruby
<dminuoso> cagomez: One is a method and the other one is the boolean or operator.
<havenwood> #=> [[:binary, [:@int, "1", [1, 0]], :|, [:@int, "2", [1, 4]]]]
<dminuoso> havenwood: Close.
bastrud has quit [Ping timeout: 264 seconds]
<dminuoso> havenwood: I asked for asm not ast :P
hobodave has quit [Read error: Connection reset by peer]
hobodave_ has joined #ruby
<havenwood> ahh, right, hah
gnufied has quit [Ping timeout: 246 seconds]
<dminuoso> >> class Foo; define_method(:|) { |other| puts "#{self} called with #{other}" }; end; Foo.new | 1
* dminuoso kicks ruby[bot]
<ruby[bot]> dminuoso: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<havenwood> #=> #<Foo:...> called with 1
<havenwood> #=> nil
<havenwood> I'm a bad REPL. I need to work on consistency.
<dminuoso> cagomez: ^-
bkxd has quit [Ping timeout: 246 seconds]
<dminuoso> cagomez: The only special thing about | is that you can't define it with "def" directly I think, otherwise it's kinda like #+ or #* - it means whatever you define it to be.
lmc has joined #ruby
<dminuoso> elomatreb: Mm yeah. Dunno why pry was hating me a moment ago.
<dminuoso> cagomez: Conventionally this method is used for union semantics though.
matcouto has joined #ruby
<dminuoso> >> [1,2,3] | [4,5]
<ruby[bot]> dminuoso: # => [1, 2, 3, 4, 5] (https://eval.in/758566)
<elomatreb> >> 2 | 1 # Or bitwise-or
<ruby[bot]> elomatreb: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<elomatreb> ... it would return 3
<dminuoso> elomatreb: Interesting, I just realized that even for bitwise-or it's still union semantics on a bit level.
<dminuoso> kind of
davic has quit [Quit: Connection closed for inactivity]
electrostat has quit [Quit: uwotm8]
electrostat has joined #ruby
gnufied has joined #ruby
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hobodave_ has quit [Quit: Computer has gone to sleep.]
djbkd has quit [Remote host closed the connection]
hobodave has joined #ruby
psychicist__ has quit [Ping timeout: 260 seconds]
gnufied has quit [Ping timeout: 246 seconds]
<Bish> dminuoso: this channel ofc, don't act like that
djbkd has joined #ruby
deviation has joined #ruby
deviation is now known as Deviated
jaruga has quit [Quit: jaruga]
<Deviated> I think I accidentally uninstalled a gem the wrong way, is there some standard way to clean it up?
<Deviated> # vagrant /usr/lib/ruby/2.3.0/rubygems.rb:241:in `bin_path': can't find gem vagrant (>= 0.a) (Gem::GemNotFoundException) from /usr/local/bin/vagrant:22:in `<main>'
<Deviated> That gem shouldn't be present
<Deviated> I tried 'gem uninstall <gem>', but it doesn't print any output
ldnunes has quit [Quit: Leaving]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
username1 has joined #ruby
Fin1te has quit [Quit: Later, tater.]
jenrzzz has quit [Read error: Connection reset by peer]
edliss has quit [Ping timeout: 260 seconds]
gnufied has joined #ruby
<hxegon> Deviated: Hmm... Try gem uninstall <gem> --debug
<Deviated> Thanks hxegon
<Deviated> I think I found my problem, on jenkins I had an environment variable set to point to another gem location
<Deviated> rvm + jenkins is messing me up.. there are jobs that use 2 different ruby versions
<Deviated> separate jobs, i mean
hobodave has quit [Quit: Computer has gone to sleep.]
FooMunki has quit [Quit: FooMunki]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ramortegui has quit [Remote host closed the connection]
millerti has joined #ruby
Deviated has quit [Quit: Page closed]
bronson has joined #ruby
Synthead has joined #ruby
aryaching has quit [Quit: Bye]
aryaching has joined #ruby
hobodave has joined #ruby
tubuliferous has joined #ruby
agent_white has quit [Remote host closed the connection]
hinbody has quit [Quit: leaving]
bkxd has joined #ruby
milardovich has joined #ruby
ddv has joined #ruby
ddv has left #ruby ["Leaving"]
agent_white has joined #ruby
marxarelli is now known as marxarelli|afk
bkxd has quit [Ping timeout: 260 seconds]
hobodave has quit [Ping timeout: 240 seconds]
milardovich has quit [Remote host closed the connection]
davic has joined #ruby
<hxegon> Bish: Reading that flame war from earlier, do you know if there's a video about that haskell talk you were referencing?
<hxegon> s/about/of
bastrud has joined #ruby
Lord_of_Life has quit [Excess Flood]
charliesome has joined #ruby
Lord_of_Life has joined #ruby
charliesome has quit [Client Quit]
milardovich has joined #ruby
JeanCarloMachado has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
<Bish> hxegon: no, but i know their project, they wrote it for
<Bish> and there is no video as far as i know
hinbody has joined #ruby
raspado has joined #ruby
<Bish> https://www.herculus.io/ they put all this weird effort into their framework to built a fancy version of exce
agent_white has quit [Quit: goinghome]
nobitanobi has joined #ruby
<Bish> at the conference, i asked them if i could see their framework, and they were like "well, we talked about it, doing something on your own would be very easy"
<Bish> -_-
renatosilva has quit [Quit: http://renatosilva.net]
<Bish> they wrote their own webserver backend with haskell, have models in there, which code gets reused on client-side
<Bish> which is very impressive
<Bish> they use ghcjs and it's ffi to create reactjs bindings
<Bish> that's all there is according to them
<Bish> im building something like that myself in ruby, but there is always that thing that demotivates me.. compiled code size, and startup time
<Bish> maybe now where webassembly is a thing, i might be able to create something usable
<Bish> as soon as opal / something else compiles to wasm
yehowyada has quit [Quit: Textual IRC Client: www.textualapp.com]
<hxegon> Crazy, didn't know Haskell had a JS transpiler, but hey, what doesn't these days.
<Bish> it's not transpiled, i think it's compiled
<Bish> not sure.
nobitanobi has quit [Remote host closed the connection]
vali has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
<Bish> hxegon: opal is more impressive if you ask me
<Bish> pretty flawless ruby mapping
<Bish> except for mutability of strings
roamingdog has quit [Remote host closed the connection]
amargherio has quit [Quit: amargherio]
SilentNinja1 has quit [Ping timeout: 264 seconds]
lmc has quit [Quit: Leaving...]
raspado has quit [Remote host closed the connection]
raspado has joined #ruby
gusrub has joined #ruby
baked__beans has quit [Ping timeout: 240 seconds]
bastrud has quit [Ping timeout: 260 seconds]
Derperperd has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crst has quit [Remote host closed the connection]
gusrub_ has joined #ruby
tomphp has joined #ruby
hahuang65 has joined #ruby
mzo has quit [Quit: :*]
djbkd has quit [Remote host closed the connection]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub has quit [Ping timeout: 260 seconds]
chopin has joined #ruby
LuckyABA has joined #ruby
djbkd has joined #ruby
LuckyABA has quit [Client Quit]
<Disavowed> Opal is one of the most impressive libraries I've used in Ruby. I notice a lot of Haskell talk in this channel - is Ruby to Haskell a particularly well trodden path? I ask because I'm getting my feet wet with Haskell at present and am finding it more than a little challenging.
mim1k has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
reihar_ has quit [Ping timeout: 240 seconds]
Azure has quit [Read error: Connection reset by peer]
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
Azure has joined #ruby
marxarelli has joined #ruby
LuckyABA has joined #ruby
chopin_ has quit [Ping timeout: 268 seconds]
<hxegon> Disavowed: Well, I can't speak for everyone else, but it's a path I've been dipping my toes in for a long time. The biggest obstacle for me personally isn't the shift from OO -> FP, but from dynamic to static typing, and interpreted to compiled. One of the biggest reasons I'm looking into elixir now.
username has quit [Quit: Lost terminal]
jenrzzz has quit [Ping timeout: 240 seconds]
<Papierkorb> Disavowed: That interest in functional programming isn't special to Rubyists, but a trend in general for the last two years
<havenwood> Disavowed: Maybe give Elm a look.
hahuang65 has quit [Ping timeout: 258 seconds]
raspado has quit [Quit: Leaving...]
mim1k has quit [Ping timeout: 246 seconds]
certainty has joined #ruby
<Papierkorb> Disavowed: Many think of it as the holy grail, which is questionable. But looking into them is a good idea, there are some things common in Ruby that stem from there from a high-level perspective, like map'ing stuff could be attributed to that
<Papierkorb> Disavowed: In the end, if you end up liking it you have another valuable tool in your box, and if you don't like it, you know what you don't want to pursue, which is also fine
<elomatreb> E.g. you're already using some "functional" concepts if you're using map/select/inject in Ruby
<Disavowed> Papierkorb: Nothing raised my programming game more than learning Clojure - it was so alien to me from a Python/Ruby background. I'm a big fan of FP (particularly when compared with OO!)
<Disavowed> I hear great things about Elm. It's one of those things that seems so well designed but seems to lack the uptake. Like Nim I guess.
<hxegon> Clojure felt like a very natural language coming from ruby. Out of all the languages I've dabbled in, I felt the most at home with Clojure.
<Disavowed> I really want to like Elixir too. I'm yet to have that 'Aha' moment that everyone at Ruby meetups seems to have had almost immediately
<Disavowed> hxegon: I think I made learning it more difficult than it needed to be!
araujo has quit [Read error: Connection timed out]
<Papierkorb> I've been using Crystal now for some months and really like it. Sadly, no big corporate backing, so it's moving slower and has a few bugs. Still impressive considering that it's working fine
araujo has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
<Papierkorb> Feels like a natural progression, taking the good parts and improving on the bad
djbkd has quit [Remote host closed the connection]
<hxegon> Crystal looks great, but since they are so close to 1.0 (from what I've heard), I figure I'll just wait a minute and try then.
<Disavowed> Papierkorb: I've never heard of Crystal before. It looks interesting. What does it do differently to Ruby? I notice the syntax is pretty similar!
<hxegon> Disavowed: for one it's statically typed
<Papierkorb> hxegon: Don't hold your breath if you can't for about 10 months at least :) Just give it a try now, you can still decide to back off and try again in six months or so
<Disavowed> hxegon: Just read that the moment you wrote it!
<hxegon> Disavowed: but it has type inference so it doesn't look too different in that respect
<Disavowed> Oooh macros
<Papierkorb> Disavowed: TL;DR is: Ruby (syntax, ideas, ...) with static typing (and type deduction), go-style concurrency and of course, compiled language
CloCkWeRX has joined #ruby
charliesome has joined #ruby
<Disavowed> Concurrency is a big one. Nice.
<Papierkorb> Disavowed: tbh, it's way too fast for what it is. I was constantly impressed before getting used to it ;)
rhyselsmore has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Papierkorb> Oh and yeah, macros are fantastic. I abuse them here and there hehe
<Papierkorb> We're active in #crystal-lang too, so if you have questions or whatever, please join
moei has quit [Quit: Leaving...]
<Disavowed> Papierkorb: That's always the temptation with macros. You know, I might give it a look later this week. Thank you for putting me onto it - I'd never have known otherwise.
<Papierkorb> Disavowed: Of course, macros should be avoided. But I don't like damning a technology, I want to teach them so people know their bounds and make effective use of them instead. They have many insanely powerful capabilities
bastrud has joined #ruby
<Papierkorb> You can literally walk the AST if you need (I haven't yet)
xzhao_ has quit [Ping timeout: 246 seconds]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
<Disavowed> That's insanely cool! I'm disliking Python more each day!
<havenwood> Question at RubyConf: Will Ruby ever get macros?
<havenwood> Matz: Short answer, "No." Long answer, "No way!"
<Papierkorb> Why would Ruby need macros?
<havenwood> Papierkorb: There is more than one way to do it? :-P
<Papierkorb> havenwood: `alias macro instance_exec`
<Papierkorb> “Close Enough”
JeanCarloMachado has joined #ruby
<havenwood> I'm not advocating for macros.
* havenwood shivers
<baweaver> Use these then :D
<Bish> Disavowed: didn't read the discussion after that but your question
<Bish> imho, ruby and haskell are two extremes, which should be, which is impossible
<Bish> like.. that is how the universe works
<Bish> which should be one
dviola has joined #ruby
<Bish> there is complexity, there is entropy, there is state, there is no state, there is ruby, there is haskell
<baweaver> Ruby is super hybrid
<Bish> im making it a bit philosophical and mystical, but i think that's what a programmer has to master
<Bish> the sweespot between state and not state, in order to write good code
<Bish> i guess thats why people talk about functional programming languages in here
<Bish> they come to ruby, because it's awesome, and then notice that being at that end of the extreme sucks, too
<hxegon> *A* sweetspot certainly, I feel.
<Bish> you can never have what you want
<Bish> baweaver: that's just bullshit
xzhao_ has joined #ruby
<Bish> the functional capabilities of ruby are not usuable to large degree
* baweaver wants whatever bish is smoking
ruby[bot] has quit [Remote host closed the connection]
<Bish> the most awesome implications of having a pure functional languages are not usuble in ruby
<Bish> just because you have map you don't have a functional language nor a hybrid
ruby[bot] has joined #ruby
<baweaver> To say that Ruby is the opposite extreme of Haskell though is pretty far fetched
djbkd has joined #ruby
<Bish> baweaver: well, what does an object have, if it's not state
<baweaver> Java, maybe, but even that's a stretch
<Disavowed> Bish: This is a really interesting take
<Bish> ikr
<nofxx> Bish, bullshit what y'r saying... you can write both extremes in ruby, dunno another lang soh flexible
<Bish> nofxx: you just have no clue
<baweaver> Fine fine
<Bish> and even if you could, which you can't, the coolest features of being "pure"-functional will not apply in ruby
<Bish> like transactional memory
<baweaver> Bish: stop being condescending
bastrud has quit [Ping timeout: 240 seconds]
<Bish> wait, let me google that work
<Bish> word*
aaooki has joined #ruby
<Bish> will do
mzo has joined #ruby
<nofxx> manual memory management is the coolest feat in a lang? But anyways, which lang is more flexible Bish?
<Bish> what language are you talking about, and i never said ruby wasn'T flexible
<Bish> whatever flexible means in this context
<nofxx> and again, not that it's a feat... actually is funny, you look at some ruby codes and say .. hm, this guy is PHP... but 90% will be java
kristofferR has joined #ruby
<Bish> sorry, i have no clue what you are even talking about
<nofxx> OO <> functional, kinda parachuted in the subject .... wasn't the argue? heh
<elomatreb> Aren't there actually object-oriented Haskell variants?
<Bish> aren't typeclasses in haskell kinda like objects? that's not what i mean
Burgestrand has joined #ruby
<Bish> nofxx: and what has java and php to do with it, i really can't follow you, im sorry
<elomatreb> I'm only halfway through my Haskell tutorial, but from what I understand typeclasses are more like interfaces?
kristofferR has quit [Read error: Connection reset by peer]
kristofferR has joined #ruby
<Bish> afaik you can say, what a certain can do, which feels a bit like methods
<Bish> but as soon as you have state, you're not function.. objects or not, basicially i mean the state
<Bish> objects are pretty pointless without state imho
<Bish> but i am writing mad, since im overtired
<Bish> so alot that i write doesn't make sense :D
rhyselsmore has joined #ruby
<nofxx> Bish, just a practical point of ruby flexibility, you can write in so many ways... that the programmer's mindflow keeps the same
<Bish> even oo-haskell won't be buckets sending messages to each other
<nofxx> kinda like, ok I'll adapt to you (the tool, ruby), not the other way around
<Bish> nofxx: i love ruby, this is not a flamewar, imho it's the best language, besides being slow and not good for threading
Burgestrand has quit [Ping timeout: 240 seconds]
Snowy2525 has joined #ruby
<nofxx> kinda why I like emacs for vim too
<Bish> i was denying the fact that ruby is a "hybrid"
<nofxx> over vim*
certainty has quit [Ping timeout: 240 seconds]
<Snowy2525> what's a "hybrid" ??
<Bish> Snowy2525: lol i dunno
<Snowy2525> LOL
<Snowy2525> me dunno 2
<nofxx> that's the argue ...
<Snowy2525> @Bish IRC is kinda dead these days ...
<Bish> no, it's an assumption
<Snowy2525> @Bish asl?
<nofxx> Bish, yup, wrong assumption
<Bish> are you a) the worst bot in history b) the worst troll in history
<Snowy2525> b
<Bish> do you a) trying to pass the turing test b) got really nothing better to do
<Snowy2525> b
<Bish> poor you, i hope your day gets better
<Snowy2525> :D :D :D
<elomatreb> What do you think of functional programming though
JeanCarloMachado has quit [Ping timeout: 260 seconds]
<Snowy2525> @all good chan
gusrub_ has quit [Remote host closed the connection]
rhyselsmore has quit [Read error: Connection reset by peer]
<Bish> im heading to bed, sorry for mad talk
<Snowy2525> @Bish then go sleep now bitch ;-)
<Bish> huehue
<hxegon> g'night Bish
<Snowy2525> ehehehhehe
<Disavowed> elomatreb: Which tutorial are you using?
<Snowy2525> @Disavowed what is a tutorial??
<Bish> hxegon,all: gn!
<Snowy2525> n8 Bish
<elomatreb> Disavowed: learnyouahaskell.com, someone in here recommended it iirc
<Snowy2525> @Biah I ain't got no YT connection
<Snowy2525> mistype :-/
<Snowy2525> damn
<Snowy2525> @Bish I ain't got no YT connection
<Disavowed> elomatreb: Ah I know the one.
<Snowy2525> @Disavowed from where??
<elomatreb> I'll have to learn Haskell for university next semester anyway, so I figured I'd just go ahead and do it on my own
bastrud has joined #ruby
alan_w has quit [Quit: WeeChat 1.4]
bungoman has joined #ruby
bungoman_ has quit [Ping timeout: 246 seconds]
fnux has quit [Ping timeout: 264 seconds]
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LuckyABA has joined #ruby
<Disavowed> Snowy2525: here: http://learnyouahaskell.com
<Disavowed> elomatreb: I've heard worse reasons!
lacrymology has joined #ruby
<hxegon> elomatreb: I'd start now for sure. Maybe you'll have better luck than I have, but I keep bouncing off of it.
bastrud has quit [Ping timeout: 264 seconds]
<Disavowed> hxegon: Same. I'm not sure why.
<Disavowed> I've never met a bad programmer who knew Haskell.
<elomatreb> Actually programming in it is probably a different thing, but I like the concepts so far
kirun has quit [Quit: Konversation terminated!]
Xaitec has quit [Remote host closed the connection]
RX14 has joined #ruby
<hxegon> I get most of the concepts, but there's something I'm missing. My current theory is that I'm used to a more "spike/refactor" style, where I'm not exactly sure what I need, but if I get started i'll figure it out as I'll go along, and I don't think that works quite as well in haskell, at least not for a semi-beginner.
LuckyABA has quit [Ping timeout: 268 seconds]
cibs has quit [Ping timeout: 240 seconds]
fnux has joined #ruby
rgr has quit [Quit: Leaving]
raspado has joined #ruby
<nofxx> oh, now I rememberWhatIDidntLikeInHaskell
cibs has joined #ruby
RX14 has left #ruby ["Leaving"]
pytuger has quit [Ping timeout: 246 seconds]
<Aeyris> Camel case?
hahuang65 has joined #ruby
gusrub has joined #ruby
kitikonti has quit [Quit: Textual IRC Client: www.textualapp.com]
<nofxx> Aeyris, and all this functional thing that is just -> arrow magic... but that's me, think my brain don't like to work functionally
rgr has joined #ruby
bastrud has joined #ruby
<hxegon> nofxx: you mean type signatures? like sum :: Num a => [a] -> a
Trynemjoel has quit [Ping timeout: 245 seconds]
hahuang65 has quit [Ping timeout: 260 seconds]
<elomatreb> Defining a multi-parameter function like `=> a -> a -> a` seems really weird at first but suddenly makes a lot of sense once you get to currying
<nofxx> mother of all those is lisp, all the other feel like was a spin off from a guy who's church doesn't permit parenthesis =P
Snowy2525 has quit []
aaooki has quit [Quit: leaving]
<nofxx> hxegon, just glanced, no idea
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has quit [Quit: WeeChat 1.7]
montanonic has quit [Read error: Connection reset by peer]
<Disavowed> elomatreb: I'm just at the currying part. I understand it conceptually, but I don't understand why it is a good approach. I suspect my Lambda Calculus knowledge (or lack thereof) is what is holding me back there.
montanonic has joined #ruby
<hxegon> Disavowed: You should check out the haskell book ( which I'll link in a second )
teddysmoker has quit [Quit: Konversation terminated!]
<hxegon> Disavowed: http://haskellbook.com/
<elomatreb> Disavowed: I'm not a math person either, but the reason (from what I understand) currying is useful is e.g. because you can use any function for things like map, without needing a construct like Ruby blocks
<hxegon> First bit is about lambda calculus.
roamingdog has joined #ruby
<hxegon> It's a super thorough book, about ~2000ish pages
<hxegon> another example
hahuang65 has joined #ruby
bkxd has joined #ruby
<hxegon> reduce takes 3 arguments, the function, the collection, and an initial value
icarus has joined #ruby
<hxegon> in ruby you can define sum like this:
<hxegon> >> def sum(list); list.reduce(0, &:+); end; sum [1, 2, 3]
<ruby[bot]> hxegon: # => 6 (https://eval.in/758666)
<hxegon> with currying, you could just say def sum; reduce 0 &:+; end
JeanCarloMachado has joined #ruby
<Disavowed> hxegon: This is the exact text I'm working through currently! I've never read anything that can make me feel so dim!
<Disavowed> hxegon: Oh I see. That's pretty neat
<hxegon> It's point free syntax, but currying helps with a lot of other stuff.
<hxegon> for example: def increment; + 1; end
bkxd has quit [Ping timeout: 260 seconds]
<hxegon> It's much simpler (IMO) once you get past the initial wierdness
<hxegon> s/wierd/weird
<Disavowed> Yeah I can see that. Nice.
rgr has quit [Quit: Leaving]
polishdub has quit [Quit: leaving]
FooMunki has joined #ruby
Trynemjoel has joined #ruby
maattdd has quit [Ping timeout: 268 seconds]
montanonic has quit [Ping timeout: 256 seconds]
BSaboia has quit [Read error: Connection reset by peer]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby