havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: 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
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bhootrk_ has quit [Ping timeout: 255 seconds]
Bhootrk_ has joined #ruby
aspiers has quit [Quit: ZNC - http://znc.sourceforge.net]
sepp2k has quit [Ping timeout: 240 seconds]
Uranio has quit [Quit: while you read this, a kitty dies]
MrBusiness has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
jameser has joined #ruby
Cohedrin has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zululee_ has joined #ruby
zululee_ has quit [Remote host closed the connection]
eightlimbed has quit [Ping timeout: 255 seconds]
zululee has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Bounga has joined #ruby
duderonomy has quit [Ping timeout: 246 seconds]
cschneid_ has joined #ruby
charliesome has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
Bounga has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
Hunter1 has quit [Remote host closed the connection]
Hunter1 has joined #ruby
TinkerTyper has quit [Ping timeout: 268 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TinkerTyper has joined #ruby
ur5us has joined #ruby
charliesome has joined #ruby
marr has quit [Ping timeout: 260 seconds]
graft has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
zepy_aq has quit [Quit: Leaving]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
brent__ has quit [Ping timeout: 240 seconds]
cadillac_ has quit [Ping timeout: 240 seconds]
hightower2 has quit [Ping timeout: 255 seconds]
lowtide has joined #ruby
<lowtide> is it okay to indent with spaces
<Papierkorb> lowtide: "2 spaces" for indention is community standard
d10n-work has quit [Quit: Connection closed for inactivity]
nankyokusei has joined #ruby
duderonomy has joined #ruby
nertzy has quit [Read error: Connection reset by peer]
nankyokusei has quit [Ping timeout: 255 seconds]
eblip has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
eb0t has quit [Ping timeout: 255 seconds]
eb0t_ has quit [Ping timeout: 260 seconds]
Mia has quit [Ping timeout: 255 seconds]
eb0t has joined #ruby
Hunter1 has quit [Remote host closed the connection]
Cohedrin has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
Hunter1 has joined #ruby
<havenwood> ?tabs
<ruby[bot]> Ruby community standards recommend using 2 spaces as indentation (see https://github.com/bbatsov/ruby-style-guide#spaces-indentation and https://ukupat.github.io/tabs-or-spaces/).
<lowtide> ?ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
poloych has joined #ruby
arescorpio has joined #ruby
Bounga has joined #ruby
skweek has joined #ruby
username has quit [Ping timeout: 246 seconds]
Bounga has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
ketan has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
ketan has quit [Ping timeout: 246 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
KeyJoo has quit [Ping timeout: 258 seconds]
herbmillerjr has joined #ruby
lagweezle is now known as lagweezle_away
astrobunny has joined #ruby
d^sh has quit [Ping timeout: 255 seconds]
astrobunny has quit [Remote host closed the connection]
benlieb has joined #ruby
d^sh has joined #ruby
astrobunny has joined #ruby
lowtide has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
herbmillerjr has quit [Remote host closed the connection]
astrobunny has quit [Ping timeout: 258 seconds]
dh64 has quit [Remote host closed the connection]
poloych has quit [Remote host closed the connection]
nerglish has quit [Quit: nerglish]
_whitelogger has joined #ruby
genpaku has quit [Remote host closed the connection]
genpaku has joined #ruby
FastJack has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Bounga has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Bounga has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
FastJack has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
hutch34 has quit [Ping timeout: 246 seconds]
ornerymoose has joined #ruby
FastJack has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
uZiel has joined #ruby
ryzokuken_ has joined #ruby
gothicsouth has joined #ruby
ur5us has quit [Ping timeout: 246 seconds]
borei1 has left #ruby [#ruby]
d3d1rty has joined #ruby
jerryskye has joined #ruby
FastJack has joined #ruby
ivanskie has joined #ruby
d^sh has quit [Ping timeout: 255 seconds]
d^sh has joined #ruby
nankyokusei has joined #ruby
kies has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 255 seconds]
t-recx has quit [Quit: t-recx]
jerryskye has left #ruby [#ruby]
tubuliferous has joined #ruby
skweek has quit [Remote host closed the connection]
skweek has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patarr has joined #ruby
jjunior_ has quit [Quit: Connection closed for inactivity]
hutch34 has joined #ruby
Bounga has joined #ruby
ryzokuken_ has quit [Ping timeout: 246 seconds]
patarr has quit [Ping timeout: 240 seconds]
Bounga has quit [Ping timeout: 255 seconds]
hutch34 has quit [Ping timeout: 246 seconds]
lacuna has joined #ruby
arescorpio has quit [Quit: Leaving.]
ketan has joined #ruby
kent\n has quit [Quit: No Ping reply in 180 seconds.]
kent\n has joined #ruby
ketan has quit [Ping timeout: 255 seconds]
lacuna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix has quit [Ping timeout: 240 seconds]
cadillac_ has joined #ruby
eightlimbed has joined #ruby
Guest85918 is now known as aidalgol
gix has joined #ruby
hutch34 has joined #ruby
ryzokuken_ has joined #ruby
ornerymoose has quit [Quit: ornerymoose]
segy has quit [Ping timeout: 260 seconds]
bauruine has quit [Ping timeout: 240 seconds]
segy has joined #ruby
bauruine has joined #ruby
rideh has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
rideh has joined #ruby
skweek has quit [Read error: Connection reset by peer]
skweek has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
Silthias has quit [Ping timeout: 240 seconds]
Silthias has joined #ruby
Bounga has joined #ruby
eightlimbed has quit [Ping timeout: 246 seconds]
nowhereman_ has quit [Quit: Konversation terminated!]
nowhere_man has joined #ruby
Kug3lis_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bounga has quit [Ping timeout: 255 seconds]
cadillac_ has quit [Ping timeout: 246 seconds]
kies has joined #ruby
ur5us has joined #ruby
dlitvak has quit [Quit: Connection closed for inactivity]
ur5us has quit [Ping timeout: 240 seconds]
bauruine has quit [Ping timeout: 246 seconds]
charliesome has joined #ruby
bauruine has joined #ruby
nankyokusei has joined #ruby
ivanskie has quit [Quit: Textual IRC Client: www.textualapp.com]
hkdsun has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
hkdsun has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
synstack_ is now known as synstack
nocaberi has joined #ruby
nocaberi has quit [Max SendQ exceeded]
podlech has joined #ruby
nocaberi has joined #ruby
patarr has joined #ruby
podlech has quit [Client Quit]
Bounga has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
Bounga has quit [Ping timeout: 240 seconds]
ketan has joined #ruby
tubuliferous has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
moei has quit [Quit: Leaving...]
ketan has quit [Ping timeout: 255 seconds]
that2 has joined #ruby
that2 has left #ruby [#ruby]
nowhere_man has quit [Ping timeout: 255 seconds]
tubuliferous has joined #ruby
rohitpaulk has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
quobo has joined #ruby
KeyJoo has joined #ruby
dviola has quit [Quit: WeeChat 1.8]
_whitelogger has joined #ruby
dmtd has quit [Quit: Connection closed for inactivity]
khaki has quit [Quit: WeeChat 1.8]
brent__ has joined #ruby
latemus has quit [Quit: leaving]
hutch34 has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
harfangk has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
khaki has joined #ruby
creshiem has joined #ruby
^mtkd has quit [Read error: Connection reset by peer]
username has joined #ruby
mtkd has joined #ruby
latemus has joined #ruby
TomyLobo has joined #ruby
Bounga has joined #ruby
username has quit [Ping timeout: 246 seconds]
creshiem has quit [Quit: WeeChat 1.8]
bkxd_ has joined #ruby
bkxd has joined #ruby
Bounga has quit [Ping timeout: 255 seconds]
dionysus69 has joined #ruby
dionysus69 has quit [Client Quit]
bkxd_ has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 255 seconds]
rippa has joined #ruby
khaki has quit [Quit: WeeChat 1.8]
ur5us has joined #ruby
dionysus69 has joined #ruby
KeyJoo has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 246 seconds]
lacuna has joined #ruby
andrzejk_ has joined #ruby
lacuna has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ruby
muelleme_ has joined #ruby
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
muelleme_ has quit [Ping timeout: 240 seconds]
enterprisey has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
uZiel has quit [Ping timeout: 248 seconds]
drptbl has joined #ruby
bauruine has quit [Ping timeout: 240 seconds]
ericmathison has joined #ruby
bauruine has joined #ruby
tubuliferous has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
muelleme_ has joined #ruby
Abhijit has joined #ruby
<Abhijit> hi
<Abhijit> whats the Ruby way to decide if date is in future, past or in between two dates
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
<apeiros> one way would be: if date > end_date then … future … elsif date < start_date then … past … else … between … end
<Abhijit> this will work for DateTime or Date object?
<apeiros> yes
<Abhijit> ok
<elomatreb> Can't you use ranges with dates?
<apeiros> sure
<apeiros> but if you need all 3 branches, I see no point
<elomatreb> Oh, true
<apeiros> also if you only want "between a & b" I prefer between? over ranges too
<apeiros> date.between?(start_date, end_date)
postmodern has quit [Quit: Leaving]
patarr has joined #ruby
<elomatreb> I was thinking of coaxing this to a case switch, but since there are three branches that probably won't work
<apeiros> ranges are mighty nice if you have multiple "slots", though: case date; when in_range1 then … when in_range2 …
<apeiros> it would, but you'd need special "smaller than all" and "bigger than all" objects like these: https://github.com/apeiros/sorting/blob/master/lib/sorting/smaller.rb and https://github.com/apeiros/sorting/blob/master/lib/sorting/bigger.rb
<elomatreb> Doesn't Date.new return the lowest representable date at least? So you could cover past, the timespan, and everything else is the future
bkxd has joined #ruby
bauruine has quit [Ping timeout: 258 seconds]
<apeiros> no, Date.new return a "base date"
Bounga has joined #ruby
<apeiros> >> [Date.new.year, Date.civil(-5000).year)]
<ruby[bot]> apeiros: # => /tmp/execpad-8d86f552d7f6/source-8d86f552d7f6:2: syntax error, unexpected ')', expecting ']' ...check link for more (https://eval.in/818073)
<apeiros> >> [Date.new.year, Date.civil(-5000).year]
<ruby[bot]> apeiros: # => uninitialized constant Date ...check link for more (https://eval.in/818074)
<apeiros> >> require 'date'; [Date.new.year, Date.civil(-5000).year]
<ruby[bot]> apeiros: # => [-4712, -5000] (https://eval.in/818075)
<elomatreb> Mh, what's the significance of -4712?
<apeiros> google julian date
patarr has quit [Ping timeout: 255 seconds]
<elomatreb> Ooh
<apeiros> The Julian Day Number (JDN) is the integer assigned to a whole solar day in the Julian day count starting from noon Universal time, with Julian day number 0 assigned to the day starting at noon on January 1, 4713 BC, proleptic Julian calendar (November 24, 4714 BC, in the proleptic Gregorian calendar)
<apeiros> (wikipedia)
belmoussaoui has quit [Ping timeout: 240 seconds]
Bounga has quit [Ping timeout: 255 seconds]
ketan has joined #ruby
bauruine has joined #ruby
Lyubo1 has quit [Ping timeout: 246 seconds]
ketan has quit [Ping timeout: 240 seconds]
bkxd_ has joined #ruby
Lyubo1 has joined #ruby
Mutter has joined #ruby
Mutter has quit [Remote host closed the connection]
andrzejk_ has quit [Ping timeout: 246 seconds]
mahlon_ has joined #ruby
mahlon has quit [Ping timeout: 240 seconds]
mahlon_ is now known as mahlon
Mutter has joined #ruby
bkxd_ has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 255 seconds]
Silthias has quit [Ping timeout: 240 seconds]
Mutter has quit [Ping timeout: 246 seconds]
Silthias has joined #ruby
brent__ has joined #ruby
enterprisey has quit [Remote host closed the connection]
tubuliferous has joined #ruby
govg has quit [Ping timeout: 240 seconds]
govg has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
fxa90id has joined #ruby
hightower2 has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
moei has joined #ruby
tubuliferous has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has quit [Ping timeout: 260 seconds]
govg has joined #ruby
andrzejk_ has joined #ruby
svkurowski has quit [Ping timeout: 260 seconds]
Bounga has joined #ruby
hightower2 has quit [Ping timeout: 240 seconds]
FastJack has quit [Read error: Connection reset by peer]
FastJack_ has joined #ruby
mahlon has quit [Ping timeout: 240 seconds]
Bounga has quit [Ping timeout: 240 seconds]
mahlon has joined #ruby
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
acalycine has joined #ruby
<acalycine> How can I access the name of a method from inside it? Is there a var for this?
<apeiros> __method__
<ineb> ofc __meth...
<ineb> aw
<apeiros> though usually you should know what method you defined :-p
<acalycine> Yeah, just for debugging purposes.
<acalycine> Thanks :)
Abhijit has quit [Quit: Bye.]
govg has quit [Ping timeout: 240 seconds]
govg has joined #ruby
biberu has joined #ruby
cadillac_ has joined #ruby
nofxxxx has joined #ruby
bauruine has quit [Ping timeout: 240 seconds]
govg has quit [Ping timeout: 240 seconds]
govg has joined #ruby
biberu has quit []
nofxxx has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
bauruine has joined #ruby
biberu has joined #ruby
<ineb> ytti: and this glitch was caused by ruby how?
ur5us has quit [Remote host closed the connection]
<ytti> i doubt so, considering ruby doesn't have fixed size integers
nankyokusei has joined #ruby
acalycine has quit [Quit: bye]
roshanavand has joined #ruby
acalycine has joined #ruby
meshsmith has joined #ruby
Murda has joined #ruby
uZiel has joined #ruby
psychicist__ has joined #ruby
nankyokusei has quit [Ping timeout: 255 seconds]
rohitpaulk has quit [Ping timeout: 255 seconds]
rohitpaulk has joined #ruby
Silthias has quit [Quit: Leaving.]
Mon_Ouie has joined #ruby
ur5us has joined #ruby
ur5us_ has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
marr has joined #ruby
andrzejk_ has quit [Ping timeout: 268 seconds]
uZiel has quit [Ping timeout: 248 seconds]
patarr has joined #ruby
jaruga_________ has joined #ruby
ryzokuken_ is now known as double-c3
lxsameer has quit [Ping timeout: 258 seconds]
cfec0b8d has joined #ruby
Bounga has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
rohitpaulk has quit [Read error: Connection reset by peer]
sleetdrop has joined #ruby
rohitpaulk has joined #ruby
Bounga has quit [Ping timeout: 246 seconds]
ketan has joined #ruby
acalycine has quit [Quit: bye]
double-c3 has quit [Ping timeout: 240 seconds]
rohitpaulk has quit [Ping timeout: 260 seconds]
rohitpaulk has joined #ruby
ketan has quit [Ping timeout: 246 seconds]
ddffg has joined #ruby
ryzokuken_ has joined #ruby
roshanavand has quit [Ping timeout: 255 seconds]
lowtide has joined #ruby
roshanavand has joined #ruby
dasher00 has joined #ruby
bauruine has quit [Max SendQ exceeded]
graft has joined #ruby
graft has joined #ruby
graft has quit [Changing host]
biberu has quit []
cadillac_ has quit [Ping timeout: 240 seconds]
roshanavand has quit [Ping timeout: 258 seconds]
bauruine has joined #ruby
ski4x7 has joined #ruby
bkxd has joined #ruby
bkxd_ has joined #ruby
acalycine has joined #ruby
ski7777 has quit [Ping timeout: 240 seconds]
Bhootrk_ has quit [Read error: Connection reset by peer]
blackwind_123 has joined #ruby
ur5us_ has quit [Remote host closed the connection]
ur5us has joined #ruby
jaruga_________ has quit [Quit: jaruga_________]
hutch34 has joined #ruby
jaruga_________ has joined #ruby
acalycine has quit [Quit: bye]
ski4x7 has quit [Ping timeout: 255 seconds]
bkxd_ has quit [Ping timeout: 246 seconds]
bkxd has quit [Ping timeout: 246 seconds]
hutch34 has quit [Ping timeout: 246 seconds]
Fernando-Basso has joined #ruby
rohitpaulk has quit [Ping timeout: 240 seconds]
acalycine has joined #ruby
brent__ has joined #ruby
patarr has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 255 seconds]
Bounga has joined #ruby
jaruga_________ has quit [Quit: jaruga_________]
Murda_ has joined #ruby
Bounga has quit [Ping timeout: 240 seconds]
Murda has quit [Ping timeout: 240 seconds]
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
Murda has joined #ruby
Murda_ has quit [Ping timeout: 240 seconds]
aguynamedben has quit [Remote host closed the connection]
giraffe has quit [Remote host closed the connection]
tpendragon has quit [Remote host closed the connection]
rohitpaulk has joined #ruby
ecuanaso has joined #ruby
[ohjn] has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
BTRE has joined #ruby
nankyokusei has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
uZiel has joined #ruby
belmoussaoui has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
belmoussaoui has quit [Ping timeout: 240 seconds]
hightower2 has joined #ruby
ski7777 has joined #ruby
arup_r has joined #ruby
dasher00 has quit [Ping timeout: 240 seconds]
A124 has quit [Quit: '']
Bounga has joined #ruby
minimalism has quit [Quit: minimalism]
dasher00 has joined #ruby
A124 has joined #ruby
ketan has joined #ruby
Bounga has quit [Ping timeout: 255 seconds]
lowtide has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
xenops has joined #ruby
ketan has quit [Ping timeout: 240 seconds]
belmoussaoui has joined #ruby
arup_r has quit [Remote host closed the connection]
ryzokuken_ has quit [Ping timeout: 240 seconds]
ryzokuken_ has joined #ruby
ryzokuken_ has quit [Max SendQ exceeded]
meshsmith has quit [Remote host closed the connection]
ryzokuken_ has joined #ruby
ornerymoose has joined #ruby
ryzokuken_ has quit [Max SendQ exceeded]
ryzokuken_ has joined #ruby
ledestin has quit [Ping timeout: 240 seconds]
ryzokuken_ has quit [Max SendQ exceeded]
ddffg has quit [Read error: Connection reset by peer]
ryzokuken_ has joined #ruby
ryzokuken_ has quit [Max SendQ exceeded]
ryzokuken_ has joined #ruby
ryzokuken_ has quit [Max SendQ exceeded]
ryzokuken_ has joined #ruby
andrzejk_ has joined #ruby
ryzokuken_ has quit [Max SendQ exceeded]
ketan has joined #ruby
dances_with_taco has quit [Remote host closed the connection]
ornerymoose has quit [Quit: ornerymoose]
rohitpaulk has quit [Remote host closed the connection]
rohitpaulk has joined #ruby
sepp2k has joined #ruby
rohitpaulk has quit [Remote host closed the connection]
acalycine has quit [Quit: bye]
ketan has quit [Remote host closed the connection]
ketan has joined #ruby
jjunior_ has joined #ruby
mathys has joined #ruby
Kug3lis has joined #ruby
Bounga has joined #ruby
Bounga has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
mathys has quit [Quit: Leaving]
sagax has joined #ruby
belmoussaoui has quit [Ping timeout: 258 seconds]
belmoussaoui has joined #ruby
andrzejk_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
belmoussaoui has quit [Ping timeout: 260 seconds]
________ has quit [Quit: Connection closed for inactivity]
ejnahc_ has quit [Remote host closed the connection]
ejnahc has joined #ruby
Disavowed_ has left #ruby [#ruby]
nankyokusei has joined #ruby
herbmillerjr has joined #ruby
xenops has quit [Quit: Textual IRC Client: www.textualapp.com]
uZiel has quit [Ping timeout: 248 seconds]
nankyokusei has quit [Ping timeout: 246 seconds]
astrobunny has joined #ruby
sepp2k1 has joined #ruby
tubuliferous has joined #ruby
sepp2k has quit [Ping timeout: 255 seconds]
centrx has joined #ruby
GodFather has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
astrobunny has quit [Remote host closed the connection]
bweston92 has quit [Quit: Connection closed for inactivity]
Bounga has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andrzejk_ has joined #ruby
Bounga has quit [Ping timeout: 255 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
giraffe has joined #ruby
tpendragon has joined #ruby
lucasb has joined #ruby
reacquaint has joined #ruby
xenops has joined #ruby
rohitpaulk has joined #ruby
Hunter1 has quit [Remote host closed the connection]
herbmillerjr has quit [Remote host closed the connection]
Hunter1 has joined #ruby
herbmillerjr has joined #ruby
DLSteve has joined #ruby
reacquaint has quit []
dviola has joined #ruby
jaruga_________ has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
Bounga has joined #ruby
jameser has joined #ruby
Bounga has quit [Ping timeout: 255 seconds]
rohitpaulk has quit [Ping timeout: 240 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackwind_123 has quit [Ping timeout: 255 seconds]
blackwind_123 has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
blackwind_123 has quit [Client Quit]
yeticry_ has joined #ruby
d^sh has joined #ruby
andrzejk_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
blackwind_123 has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
nankyokusei has joined #ruby
marr has quit [Ping timeout: 255 seconds]
Captain has joined #ruby
Captain is now known as Guest7383
nankyokusei has quit [Ping timeout: 240 seconds]
Guest7383 has quit [Client Quit]
Guest7383 has joined #ruby
tubuliferous has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest7383 has quit [Client Quit]
captain_murphy has joined #ruby
kspencer has quit [Ping timeout: 246 seconds]
hutch34 has joined #ruby
jjunior_ has quit [Quit: Connection closed for inactivity]
meshsmith has joined #ruby
Ken has joined #ruby
Ken is now known as Guest22821
jaruga_________ has quit [Quit: jaruga_________]
tubuliferous has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
captain_murphy has left #ruby ["Leaving"]
captain_murphy has joined #ruby
roshanavand has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
nocaberi has quit [Ping timeout: 240 seconds]
<captain_murphy> ruby REGISTER g1f1y1z1 murphyscalligraphy@gmail.com
<captain_murphy> wtf?
blackwind_123 has joined #ruby
<centrx> captain_murphy: change it quick!
<apeiros> nice password
<captain_murphy> lol
matugm has joined #ruby
<centrx> Captain Murphy, you've been demoted
<apeiros> not very secure, but nice
<matugm> Hi
<matugm> So I'm looking at the method cache implementation in MRI & I see that for a cache entry to be valid both the Global state & the class serial have to match.
<matugm> ent->method_state == GET_GLOBAL_METHOD_STATE() && ent->class_serial == RCLASS_SERIAL(klass)
<matugm> If that's the case, then why they are different values?
lucasb has quit [Quit: leaving]
bazzy has quit [Ping timeout: 246 seconds]
larissa has quit [Ping timeout: 246 seconds]
tsul has quit [Ping timeout: 268 seconds]
captain_murphy has quit [Quit: Leaving]
duracrisis has quit [Ping timeout: 240 seconds]
iomotoko has joined #ruby
bogdanteleaga has quit [Ping timeout: 240 seconds]
D9 has quit [Ping timeout: 240 seconds]
sparr has quit [Ping timeout: 240 seconds]
gf3 has quit [Ping timeout: 245 seconds]
chrisarcand has quit [Ping timeout: 260 seconds]
pupsicle has quit [Ping timeout: 240 seconds]
z64 has quit [Ping timeout: 240 seconds]
tw1sted_ has quit [Ping timeout: 240 seconds]
montyboy_ has quit [Ping timeout: 260 seconds]
dyyylan- has quit [Ping timeout: 260 seconds]
gsingh93 has quit [Ping timeout: 260 seconds]
ddrmanxbxfr has quit [Ping timeout: 245 seconds]
biox has quit [Ping timeout: 268 seconds]
daed has quit [Ping timeout: 240 seconds]
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
adam12 is now known as adam
Bounga has joined #ruby
S007 has quit [Quit: Quit]
chrisarcand has joined #ruby
montyboy_ has joined #ruby
adam is now known as Guest97411
gsingh93 has joined #ruby
captain_murphy has joined #ruby
bazzy has joined #ruby
jaruga_________ has joined #ruby
tw1sted has joined #ruby
gf3 has joined #ruby
tsul has joined #ruby
D9 has joined #ruby
duracrisis has joined #ruby
dyyylan has joined #ruby
bogdanteleaga has joined #ruby
cam27 has joined #ruby
larissa has joined #ruby
S007 has joined #ruby
Bounga has quit [Ping timeout: 255 seconds]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cdg has joined #ruby
z64 has joined #ruby
daed has joined #ruby
biox has joined #ruby
pupsicle has joined #ruby
swills_ is now known as swills
sparr has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<cam27> Just finished reading “The Well Grounded Rubyist” I have two other books, but I’m wondering what would be a good book for working with Databases with ruby?
<cam27> Controller code in rails is my weakness
<matthewd> matugm: Don't they get incremented separately?
belmoussaoui has joined #ruby
belmoussaoui has quit [Ping timeout: 240 seconds]
belmoussaoui has joined #ruby
_sfiguser has joined #ruby
meshsmith has quit [Remote host closed the connection]
chalkmonster has joined #ruby
<centrx> cam27: Have you gone through the relevant parts of the Hartl Rails Tutorial?
<cam27> centrx, yes, I’ve coded the whole book out with him. But then when I went to make a checkout for a fun demo project, I screwed it up, and could bnever get my item into the basket
<cam27> I probably could have just found a gem that did the checkout process, but I wanted to manually try to work with the data
<centrx> What was the problem?
<matugm> matthewd: Yes, they do, but I'm trying to understand why.
<cam27> I couldn’t get the item to add to the shopping cart (item count and price)
GodFather has quit [Read error: Connection reset by peer]
xall has joined #ruby
<cam27> I’ve been away from Rails for a year, so I’m getting back into it now, so I might not rememebr everything, but when I first developed in it I never really knew Ruby. And I still look at things like params[:card] and wonder if that is an array named params with a symbol :card?
<cam27> Ruby is just so much more advanced than Java to me :)
<matthewd> matugm: AIUI, the alternative would be to bump every single class's serial when defining a method on Object/Kernel, which does seem less than ideal
Hunter1 has quit [Remote host closed the connection]
DLSteve has joined #ruby
Hunter1 has joined #ruby
<matugm> matthewd: I see, thanks for the answer :)
<cam27> THis is a hash that hold arrays right? card: params[:stripe_token]
<matthewd> cam27: It's [seemingly] a hash; what it holds is up to it
elifoster has joined #ruby
<cam27> but params[] is an array correct? Just realized I could probably start pasting things like that inot irb and see what it returns, that will help a lot when reading code
<matthewd> No, params is a hash
<cam27> so it would be a hash of hashes
<cam27> irb didn’t like it, so that didn’t work lol
<matthewd> You'd need a params value first
blackwind_123 has quit [Ping timeout: 255 seconds]
rohitpaulk has joined #ruby
chalkmonster has quit [Quit: Daddy's flown, 'cross the ocean.]
blackwind_123 has joined #ruby
<cam27> matthewd, I’m on chapter 4 of the RSpec Book, after that I’m going to finsih the “Rails, ANgular, Postgres, Bootstrap” book and then try to find good material on Service Layers. do you have any advice to get the most out of my time? I’ve read the Hartl and Well Grounded Rubyist book so far
Cohedrin has joined #ruby
Bounga has joined #ruby
dasher00 has quit [Ping timeout: 240 seconds]
t-recx has joined #ruby
rohitpaulk has quit [Ping timeout: 240 seconds]
Bounga has quit [Ping timeout: 255 seconds]
<matthewd> My only general advice would be to pick a thing to make, and then use reference material to aid that effort... personally, my learning tapers off after a while when reading material without a concrete objective
<cam27> I see. Well I think I’m gonna just read as much as I can and put it to use in the end, since I’ve been building, without knowing for awhile.
raul782 has joined #ruby
meshsmith has joined #ruby
rohitpaulk has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
ahrs has quit [Remote host closed the connection]
belmoussaoui has joined #ruby
ahrs has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
nankyokusei has joined #ruby
ketan has quit [Ping timeout: 255 seconds]
cschneid has quit [Ping timeout: 258 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
cschneid has joined #ruby
nerglish has joined #ruby
herbmillerjr has quit [Remote host closed the connection]
rohitpaulk has quit [Ping timeout: 255 seconds]
cdg has quit [Remote host closed the connection]
rohitpaulk has joined #ruby
cam27 has quit [Quit: cam27]
lowtide has joined #ruby
herbmillerjr has joined #ruby
herbmillerjr has quit [Remote host closed the connection]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
roshanavand has quit [Ping timeout: 246 seconds]
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
saschavoid has joined #ruby
Demo318 has joined #ruby
Demo318 has quit [Client Quit]
centrx has quit [Read error: Connection reset by peer]
centrx has joined #ruby
Bounga has joined #ruby
Esf has joined #ruby
lxsameer has joined #ruby
Esf has quit [Client Quit]
Bounga has quit [Ping timeout: 255 seconds]
mtkd has quit [Read error: Connection reset by peer]
^mtkd has joined #ruby
vuoto has joined #ruby
Cohedrin has joined #ruby
jaruga_________ has quit [Quit: jaruga_________]
cam27 has joined #ruby
muelleme_ has quit [Ping timeout: 246 seconds]
t-recx has quit [Quit: t-recx]
Truenigma has quit [Remote host closed the connection]
mitt3ns has joined #ruby
helpa-bot has joined #ruby
Yxhuvud has quit [Remote host closed the connection]
jdelstrother has joined #ruby
scorphus has joined #ruby
seggy has joined #ruby
jdelstrother is now known as Guest1272
Yxhuvud has joined #ruby
Truenigma has joined #ruby
helpa has quit [Write error: Broken pipe]
agent_white has quit [Remote host closed the connection]
rt has quit [Excess Flood]
helpa-bot has quit [Remote host closed the connection]
helpa has joined #ruby
raul782 has quit [Remote host closed the connection]
rt has joined #ruby
radic has quit [Ping timeout: 263 seconds]
radic has joined #ruby
jinie has quit [Ping timeout: 240 seconds]
unsymbol has quit [Ping timeout: 240 seconds]
jinie_ has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
jinie has joined #ruby
KillerFox has quit [Write error: Broken pipe]
forgot has quit [Write error: Broken pipe]
FastJack_ has quit [Excess Flood]
KillerFox has joined #ruby
forgot has joined #ruby
FastJack has joined #ruby
jinie_ has joined #ruby
unsymbol has joined #ruby
dasher00 has joined #ruby
xenops has quit [Quit: Textual IRC Client: www.textualapp.com]
hutch34 has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
muelleme_ has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
belmoussaoui has joined #ruby
gothicsouth has joined #ruby
lxsameer has quit [Ping timeout: 255 seconds]
moonpie has joined #ruby
TheBrayn has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
belmoussaoui has quit [Ping timeout: 255 seconds]
belmoussaoui has joined #ruby
Guest22821 is now known as kspencer
hightower2 has quit [Ping timeout: 260 seconds]
c0mrad3 has joined #ruby
jaruga_________ has joined #ruby
raul782 has joined #ruby
^mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
ecuanaso has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
raul782 has quit [Ping timeout: 240 seconds]
moonpie has quit [Quit: Textual IRC Client: www.textualapp.com]
muelleme_ has quit [Ping timeout: 268 seconds]
belmoussaoui has quit [Ping timeout: 246 seconds]
marr has joined #ruby
xall has quit [Quit: xall]
TheBrayn has joined #ruby
Bounga has joined #ruby
dviola has quit [Quit: WeeChat 1.8]
thekingofbandit has quit [Ping timeout: 246 seconds]
anisha has joined #ruby
TheBrayn has quit [Client Quit]
belmoussaoui has joined #ruby
TheBrayn has joined #ruby
Bounga has quit [Ping timeout: 255 seconds]
whippythellama has quit [Quit: WeeChat 1.4]
belmoussaoui has quit [Read error: Connection reset by peer]
jottr has quit [Quit: WeeChat 1.8]
spider-mario has quit [Quit: WeeChat 1.7.1]
tomaw| has quit [Quit: Quitting]
tomaw has joined #ruby
spider-mario has joined #ruby
forgot has quit [*.net *.split]
FastJack has quit [*.net *.split]
KillerFox has quit [*.net *.split]
roychri has quit [*.net *.split]
mattp_ has quit [*.net *.split]
tessi_zz has quit [*.net *.split]
DarkBushido has quit [*.net *.split]
machty has quit [*.net *.split]
peteretep has quit [*.net *.split]
boxrick1 has quit [*.net *.split]
uranellus has quit [*.net *.split]
lipoqil has quit [*.net *.split]
Majost has quit [*.net *.split]
gmcintire_ has quit [*.net *.split]
ewilliam___ has quit [*.net *.split]
zeroDivisible has quit [*.net *.split]
jimeh_ has quit [*.net *.split]
rann has quit [*.net *.split]
stephenh has quit [*.net *.split]
mikeiniowa has quit [*.net *.split]
shtirlic has quit [*.net *.split]
mjuhl has quit [*.net *.split]
HashNuke has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
rileyy_ has quit [*.net *.split]
Aeyris has quit [*.net *.split]
wsmoak has quit [*.net *.split]
t-richards has quit [*.net *.split]
discopatrick has quit [*.net *.split]
kireevco has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
greister has quit [*.net *.split]
johnkpaul has quit [*.net *.split]
auv has quit [*.net *.split]
Lloyd has quit [*.net *.split]
mclee has quit [*.net *.split]
gbailey has quit [*.net *.split]
dukedave has quit [*.net *.split]
mitsuhiko has quit [*.net *.split]
err_ok has quit [*.net *.split]
mroth has quit [*.net *.split]
DK2 has quit [*.net *.split]
nrk has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
bjmllr has quit [*.net *.split]
callahanrts has quit [*.net *.split]
\13k has quit [*.net *.split]
dfoolz has quit [*.net *.split]
mr_rich101 has joined #ruby
rileyy has joined #ruby
tubuliferous has quit [Quit: Textual IRC Client: www.textualapp.com]
uranellus_ has joined #ruby
DarkBushido has joined #ruby
DarkBushido has joined #ruby
greister has joined #ruby
bjmllr has joined #ruby
mclee has joined #ruby
tessi_zz has joined #ruby
dfoolz has joined #ruby
shtirlic has joined #ruby
mattp_ has joined #ruby
mjuhl has joined #ruby
peteretep has joined #ruby
BackEndCoder has joined #ruby
\13k has joined #ruby
zeroDivisible has joined #ruby
HashNuke has joined #ruby
jimeh_ has joined #ruby
gmcintire_ has joined #ruby
Lloyd has joined #ruby
nrk has joined #ruby
callahanrts has joined #ruby
discopatrick has joined #ruby
wsmoak has joined #ruby
t-richards has joined #ruby
DK2 has joined #ruby
stephenh has joined #ruby
ewilliam___ has joined #ruby
rann has joined #ruby
gbailey has joined #ruby
boxrick1 has joined #ruby
johnkpaul has joined #ruby
mitsuhiko has joined #ruby
Aeyris has joined #ruby
lipoqil has joined #ruby
auv has joined #ruby
Apocalypse has joined #ruby
kireevco has joined #ruby
machty has joined #ruby
dukedave has joined #ruby
err_ok has joined #ruby
mroth has joined #ruby
jaruga_________ has quit [Quit: jaruga_________]
Majost has joined #ruby
duracrisis has quit [Ping timeout: 240 seconds]
bokayio has quit [Ping timeout: 240 seconds]
Paradox has quit [Ping timeout: 240 seconds]
unsymbol has quit [Ping timeout: 260 seconds]
dcluna has quit [Ping timeout: 240 seconds]
thekingofbandit has joined #ruby
Bock has joined #ruby
Paradox has joined #ruby
bokayio has joined #ruby
unsymbol has joined #ruby
dcluna has joined #ruby
duracrisis has joined #ruby
TheBrayn has quit [Ping timeout: 260 seconds]
nothingnew has quit [Remote host closed the connection]
ryzokuken_ has joined #ruby
dviola has joined #ruby
chihhsin has quit [Ping timeout: 268 seconds]
johnzorn has quit [Ping timeout: 268 seconds]
TheBrayn has joined #ruby
ketan has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
johnzorn has joined #ruby
bauruine has quit [Ping timeout: 255 seconds]
Fridtjof has quit [Ping timeout: 246 seconds]
nankyokusei has joined #ruby
dionysus69 has joined #ruby
ketan has quit [Ping timeout: 255 seconds]
cdg has joined #ruby
ryzokuken_ has quit [Quit: Leaving]
bauruine has joined #ruby
nankyokusei has quit [Ping timeout: 246 seconds]
lowtide has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
chihhsin has joined #ruby
dionysus69 has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 260 seconds]
dionysus69 has joined #ruby
ryzokuken_ has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mtkd has joined #ruby
latemus has quit [Quit: leaving]
chihhsin has quit [Ping timeout: 246 seconds]
muelleme_ has joined #ruby
gnufied has quit [Ping timeout: 255 seconds]
chihhsin has joined #ruby
gnufied has joined #ruby
yegortimoshenko has joined #ruby
<yegortimoshenko> looking for a ruby gig
muelleme_ has quit [Ping timeout: 240 seconds]
Sammichmaker has joined #ruby
Sammichmaker has joined #ruby
Sammichmaker has quit [Changing host]
KeyJoo has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
d^sh has joined #ruby
<havenwood> yegortimoshenko: remote or in a certain place?
Bounga has joined #ruby
<yegortimoshenko> havenwood: remote
<havenwood> yegortimoshenko: Here's on remote job board: https://weworkremotely.com/
belmoussaoui has joined #ruby
<yegortimoshenko> havenwood: i'd prefer something on short-term side, like a single project
<havenwood> yegortimoshenko: What's your experience level? Do you prefer Rails or other Rack apps or non-web Ruby or either?
<yegortimoshenko> havenwood: actually I prefer pure Rack apps. i've made a few commits to Sinatra in the past
<havenwood> yegortimoshenko: You might want to check back here during the work day EST. There's a lot more activity then.
<havenwood> yegortimoshenko: There's also #sinatra, #roda, #rubyonrails, etc.
Bounga has quit [Ping timeout: 255 seconds]
<yegortimoshenko> havenwood: thanks.
<havenwood> yegortimoshenko: Do you mind PMs from folk who might be interested?
<havenwood> (private messages)
<yegortimoshenko> sure. i don't mind, but i don't idle forever. here's my github (https://github.com/yegortimoshenko), it has my email
<havenwood> yegortimoshenko: perfect
andrzejk_ has joined #ruby
Murda has quit [Ping timeout: 240 seconds]
rohitpaulk has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby
centrx has quit []
hightower2 has joined #ruby
captain_murphy has quit [Read error: Connection reset by peer]
lowtide has joined #ruby
blackwind_123 has quit [Ping timeout: 255 seconds]
eoconnell has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
t-recx has joined #ruby
Kug3lis has joined #ruby
vuoto has quit [Client Quit]
GodFather has joined #ruby
vuoto has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
nerglish has quit [Quit: nerglish]
Rutix has quit []
eoconnell has quit [Ping timeout: 260 seconds]
Esf has joined #ruby
Esf has quit [Client Quit]
Esf has joined #ruby
minimalism has joined #ruby
vuoto has quit [Remote host closed the connection]
Esf has quit [Client Quit]
elifoster has quit [Ping timeout: 240 seconds]
ryzokuken_ has quit [Quit: Leaving]
hutch34 has joined #ruby
vuoto has joined #ruby
belmoussaoui has quit [Ping timeout: 240 seconds]
belmoussaoui has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
vuoto has quit [Client Quit]
muelleme_ has joined #ruby
ski7777 has quit [Ping timeout: 246 seconds]
chihhsin has quit [Ping timeout: 260 seconds]
ski7777 has joined #ruby
muelleme_ has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
ozcanesen has joined #ruby
Bounga has joined #ruby
chihhsin has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
hutch34 has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
Bounga has quit [Ping timeout: 255 seconds]
andrzejk_ has quit [Quit: Textual IRC Client: www.textualapp.com]
selu has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
dionysus70 has joined #ruby
dionysus70 is now known as dionysus69
vuoto has joined #ruby
govg has quit [Ping timeout: 240 seconds]
vuoto has quit [Remote host closed the connection]
jaruga_________ has joined #ruby
ketan has joined #ruby
postmodern has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
nankyokusei has joined #ruby
`tim` has joined #ruby
ketan has quit [Ping timeout: 240 seconds]
dasher00 has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 246 seconds]
jackrandom has joined #ruby
dcluna has quit [Ping timeout: 240 seconds]
blackwind_123 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dcluna has joined #ruby
herbmillerjr has joined #ruby
bmurt has joined #ruby
jaruga_________ has quit [Quit: jaruga_________]
psychicist__ has quit [Ping timeout: 240 seconds]
bsamorim has joined #ruby
antgel_ has quit [Ping timeout: 255 seconds]
<bsamorim> Hello, ruby community! Is anyone here a racc ninja?
eightlimbed has joined #ruby
jackrandom has quit [Ping timeout: 240 seconds]
lowtide has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
lowtide has joined #ruby
<bsamorim> is this a dead channel, like ruby itself?
lowtide has left #ruby [#ruby]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackwind_123 has quit [Ping timeout: 268 seconds]
t-recx has quit [Quit: t-recx]
Bounga has joined #ruby
<havenwood> bsamorim: Please don't troll!
blackwind_123 has joined #ruby
<bsamorim> havenwood: sorry...programming binge!
<bsamorim> won't happen again (:
<havenwood> bsamorim: Whacha doing with racc?
<havenwood> 🏸
<havenwood> >> 'racc'.succ.succ.succ.succ.succ.succ.succ.succ
<ruby[bot]> havenwood: # => "rack" (https://eval.in/818266)
raul782 has joined #ruby
swills has quit [Ping timeout: 260 seconds]
<bsamorim> havenwood: basically, what I have so far is a parser that yields '4' for the expression '2+2'...and my goal is to build an AST for ruby code...so, as you can see, I'm really helpless
<bsamorim> I suppose my first question in this overflowed stack of mine, would be: how do I employ recursive rules?
<havenwood> >> require 'ripper'; Ripper.sexp '2+2'
<ruby[bot]> havenwood: # => [:program, [[:binary, [:@int, "2", [1, 0]], :+, [:@int, "2", [1, 2]]]]] (https://eval.in/818270)
gothicsouth has joined #ruby
ecuanaso has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> bsamorim: Mmm, good question.
Bounga has quit [Ping timeout: 255 seconds]
<bsamorim> havenwood: Yeah, I imagine there's an AST builder implemented for ruby, but my goal is actually greater...I am working on a project that extracts information from code in arbitrary languages
belmoussaoui has quit [Ping timeout: 246 seconds]
<havenwood> >> RubyVM::InstructionSequence.compile('2+2').to_a.last
<ruby[bot]> havenwood: # => [1, [:trace, 1], [:putobject, 2], [:putobject, 2], [:opt_plus, {:mid=>:+, :flag=>16, :orig_argc=>1}, ...check link for more (https://eval.in/818271)
<havenwood> bsamorim: Yeah, there are a variety of AST builder gems.
Fysicus has joined #ruby
<bsamorim> havenwood: I'm a complete noob to ruby and I was shocked to see how abandoned every project in the 'pure ruby' (ruby - rails) world is
<bsamorim> (no troll intended)
<bsamorim> Take racc itself
eightlimbed has quit [Ping timeout: 240 seconds]
_sfiguser has quit [Quit: Leaving]
<bsamorim> The docs seem to be there just as a reminder of how lonesome existence can be
<havenwood> bsamorim: Non Rack gems are thriving. Some fall by the way.
muelleme_ has joined #ruby
<havenwood> LALR parsers written in Ruby that generate Ruby programs aren't terribly popular.
<havenwood> Maybe they should be.
<havenwood> But it doesn't reflect the state of Ruby gems.
anisha has quit [Quit: This computer has gone to sleep]
<bsamorim> havenwood: actually, I was impressed at how LALR parser generators are impopular in general..... I mean, for some dumb fella like me, it would be really great to just see one whose interface's input would just be a .bnf grammar
<bsamorim> I ain't no computer scientist! I'm just a simple country boy from texas
<yegortimoshenko> if you plan to parse multiple programming languages, you may want to look into combinator parsers like Parsec
fxa90id has quit [Ping timeout: 240 seconds]
<yegortimoshenko> probably going to be easier in the long run to parse all of them from one environment, than having each parser written in its own programming language. and ML/Haskell is great at this particular job
<bsamorim> yegortimoshenko: that's exactly what my genius brother recommended...but my Haskell/monads knowledge is non-existent
<bsamorim> do you think it can be learned without diving into category theory?
<yegortimoshenko> bsamorim: you don't need no monads for actual parsing, it's straightforward
<bsamorim> yegortimoshenko: OK, i'll take your word for it and try some! thanks for the tip!
<yegortimoshenko> bsamorim: i wrote a Slim (http://slim-lang.com) parser in Parsec without much prior Haskell knowledge and for me it was way easier than say writing a LALR grammar
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
<bsamorim> yegortimoshenko: I just don't understand how you would manipulate the input stream's "head" in a stateless language like haskell
swills has joined #ruby
<bsamorim> did you learn to use parsec with its manuals, or do you have some good tutorial you could recommend?
<yegortimoshenko> bsamorim: well, technically your function takes parser as an input and outputs a parser
<yegortimoshenko> bsamorim: i do, here's in my opinion a good tutorial: https://github.com/JakeWheat/intro_to_parsing/blob/master/VerySimpleExpressions.lhs
<bsamorim> yegortimoshenko: Thanks very much, i'll check it out!
bauruine has quit [Quit: ZNC - http://znc.in]
swills has quit [Ping timeout: 258 seconds]
bauruine has joined #ruby
swills has joined #ruby
swills has quit [Remote host closed the connection]
swills has joined #ruby
eightlimbed has joined #ruby
swills has quit [Remote host closed the connection]
swills has joined #ruby
swills has quit [Changing host]
swills has joined #ruby
jjunior_ has joined #ruby
PonyDevil has joined #ruby
muelleme_ has quit [Ping timeout: 258 seconds]
dionysus69 has quit [Ping timeout: 255 seconds]
_whitelogger has joined #ruby
mathys has joined #ruby
mathys_ has joined #ruby
mathys has quit [Read error: Connection reset by peer]
mathys_ has quit [Remote host closed the connection]
eoconnell has joined #ruby
eoconnell has quit [Quit: leaving]
bsamorim has quit [Quit: Ex-Chat]
Bounga has joined #ruby
Fernando-Basso has quit [Quit: WeeChat 1.8]
Greencoat421 has joined #ruby
Bounga has quit [Ping timeout: 240 seconds]
t-recx has joined #ruby
cdg has quit [Remote host closed the connection]
elifoster has joined #ruby
saschavoid has quit [Quit: leaving]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
cam27 has quit [Quit: cam27]
mesamoo has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
weaksauce has quit [Read error: Connection reset by peer]
weaksauce has joined #ruby
mitt3ns is now known as agent_white
SuperLag has joined #ruby
nerglish has joined #ruby
`tim` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ketan has joined #ruby
oleo has quit [Read error: Connection reset by peer]
cam27 has joined #ruby
nankyokusei has joined #ruby
ketan has quit [Ping timeout: 240 seconds]
jaruga_________ has joined #ruby
muelleme_ has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
cdg has joined #ruby
saschavoid has joined #ruby
muelleme_ has quit [Ping timeout: 240 seconds]
PonyDevil has quit [Quit: Textual IRC Client: www.textualapp.com]
cdg has quit [Ping timeout: 240 seconds]
meshsmith has quit [Remote host closed the connection]
lagweezle_away is now known as lagweezle
saschavoid has quit [Quit: leaving]
xco has joined #ruby
Bounga has joined #ruby
PaulCapestany has joined #ruby
ornerymoose has joined #ruby
nofxxxx has quit [Ping timeout: 240 seconds]
Bounga has quit [Ping timeout: 255 seconds]
SuperL4g has joined #ruby
nofxxxx has joined #ruby
SuperLag has quit [Ping timeout: 246 seconds]
sepp2k has quit [Read error: Connection reset by peer]
cam27 has quit [Quit: cam27]
nofxxxx has quit [Ping timeout: 260 seconds]