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
BabyMario has quit [Client Quit]
jaequery has joined #ruby
tyang_ has joined #ruby
rwb has joined #ruby
houhoulis has quit [Remote host closed the connection]
DTZUZO has quit [Read error: Connection reset by peer]
tyang__ has quit [Ping timeout: 268 seconds]
IRCFrEAK has joined #ruby
tyang_ has quit [Ping timeout: 240 seconds]
<qmr> getting Feb 20 16:08:19 gems ruby[23895]: configuration /config.ru not found from systemd
milardovich has quit [Remote host closed the connection]
<qmr> now it's working-ish, but service geminabox start is not returning
DTZUZO has joined #ruby
krobzaur1 has joined #ruby
rgiscard has quit [Remote host closed the connection]
krobzaur_ has quit [Ping timeout: 260 seconds]
pwnd_nsfw has quit [Ping timeout: 255 seconds]
pwnd_nsfw` has joined #ruby
KCmetro has quit [Remote host closed the connection]
rgiscard has joined #ruby
kht has joined #ruby
IRCFrEAK has quit [K-Lined]
war_pigs has quit [Quit: later... computer is sleeping]
milardovich has joined #ruby
kht has quit [Client Quit]
Mattx has joined #ruby
<Mattx> Hey people! Why would system("foo") differ from running "foo" directly in a console on linux?
<Mattx> I'm getting different results
war_pigs has joined #ruby
<Mattx> system("ps -Ao pid,rss,cmd | grep -v grep | grep -i app_here") == false
milardovich has quit [Ping timeout: 240 seconds]
KCmetro has joined #ruby
jcao219 has joined #ruby
KCmetro has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
shinnya has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 260 seconds]
gusrub has quit [Remote host closed the connection]
mim1k has joined #ruby
hutch34 has joined #ruby
<Mattx> oh, I see. sh -c is added
milardovich has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 240 seconds]
rgiscard has quit [Quit: Gone fishing]
esObe has quit [Remote host closed the connection]
esObe has joined #ruby
esObe has quit [Remote host closed the connection]
esObe has joined #ruby
milardovich has joined #ruby
roychri has joined #ruby
AndBobsYourUncle has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
LegenTeri has quit [Ping timeout: 240 seconds]
CloCkWeRX has joined #ruby
esObe has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 240 seconds]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Slinky_Pete has joined #ruby
tyang has joined #ruby
tyang_ has joined #ruby
axsuul has joined #ruby
bmurt has joined #ruby
milardovich has joined #ruby
krobzaur1 has quit [Quit: WeeChat 1.5]
Slinky_Pete has quit [Ping timeout: 260 seconds]
tyang has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 255 seconds]
jcao219 has quit [Ping timeout: 260 seconds]
skweek has quit [Ping timeout: 260 seconds]
gusrub has joined #ruby
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
gusrub has quit [Ping timeout: 240 seconds]
Tharbakim has quit [Read error: Connection reset by peer]
DTZUZO has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 240 seconds]
boombox_ has quit [Remote host closed the connection]
cibs has quit [Ping timeout: 240 seconds]
boombox_ has joined #ruby
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AndBobsYourUncle has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cibs has joined #ruby
jcao219 has joined #ruby
bmurt has quit [Quit: Textual IRC Client: www.textualapp.com]
padi_ has quit [Remote host closed the connection]
boombox_ has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
bmurt has joined #ruby
montanonic has quit [Ping timeout: 240 seconds]
ecuanaso has joined #ruby
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Slinky_Pete has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
duderono_ has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
war_pigs has quit [Quit: later... computer is sleeping]
milardovich has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
tvw has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 268 seconds]
dhollinger has quit [Ping timeout: 260 seconds]
dhollinger has joined #ruby
milardovich has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 240 seconds]
Slinky_Pete has quit [Remote host closed the connection]
negatifze has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
<RickHull> i'm getting C90 warnings on an extension. how can I tell it to compile with e.g. -std=c99 ?
Mattx has quit [Quit: Leaving]
<RickHull> something in extconf.rb?
<RickHull> on an extension ... when building
<RickHull> i'm very new to writing extensions
bkxd has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
zeroDi has quit [Quit: WeeChat 1.7]
milardovich has joined #ruby
<RickHull> figured it out, $CFLAGS
mtkd has quit [Ping timeout: 268 seconds]
mtkd has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
gloscombe_ has quit [Quit: gloscombe_]
<RickHull> hm, still getting warnings about C90
<nikivi> anyone used sinatra here?
<nikivi> can I somehow set up live reload in there?
<croberts> is there a way with YAML to load a file and pull out a value out of the hash on the same line
<croberts> #2
<croberts> other wise i have to set a var for 1 hash value then another var for a 2nd hash value
<RickHull> croberts, L2 and L4 seem mutually odd
sneakerhax has joined #ruby
<croberts> yeah i need to get rid of #4
milardovich has joined #ruby
<RickHull> for L3, try Hash#fetch which will fail fast if the key doesn't exist
johnny56_ has joined #ruby
SteenJobs has joined #ruby
<croberts> cool ty will read up on that
<RickHull> e.g. af = install_cfg.fetch(:answer_file)
JeanCarloMachado has joined #ruby
<RickHull> YAML.load_file returns a hash, right? I would not name that variable `install_file`
<lupine> it might
<croberts> yeah
<lupine> depends on what's in the file
johnny56 has quit [Ping timeout: 264 seconds]
<croberts> its a yaml file, when i do .class its a hash
<RickHull> the input is a filename, it returns a ruby native data structure
<lupine> YAML.load_file("foo.yaml").class
<lupine> => String
<lupine> cat foo.yaml
<RickHull> oh
<lupine> "foo"
milardovich has quit [Ping timeout: 260 seconds]
urbanmonk has joined #ruby
<lupine> welcome to typing
raspado has quit [Remote host closed the connection]
milardovich has joined #ruby
rgiscard has joined #ruby
jeyraof^mbpr has joined #ruby
DTZUZO has joined #ruby
Vile` has joined #ruby
Channel6 has quit [Quit: Leaving]
jameser has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
johnny56_ has quit [Ping timeout: 264 seconds]
tau has quit [Remote host closed the connection]
montanonic has joined #ruby
TheWhip has joined #ruby
JeanCarloMachado has quit [Ping timeout: 268 seconds]
JeanCarloMachado has joined #ruby
jcao219 has quit [Ping timeout: 268 seconds]
toretore has quit [Ping timeout: 260 seconds]
jeyraof^mbpr has quit [Quit: Leaving]
milardovich has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
jcao219 has joined #ruby
herbmillerjr has joined #ruby
BTRE has quit [Quit: Leaving]
hutch34 has joined #ruby
BTRE has joined #ruby
Slinky_Pete has joined #ruby
hutch34 has quit [Client Quit]
rgiscard has quit [Quit: Gone fishing]
milardovich has quit [Ping timeout: 240 seconds]
crazyphil_u has quit [Read error: Connection reset by peer]
t0rrieri has joined #ruby
montanonic has quit [Ping timeout: 260 seconds]
Slinky_Pete has quit [Ping timeout: 260 seconds]
s2013 has joined #ruby
User458764 has joined #ruby
Tharbakim has joined #ruby
rgiscard has joined #ruby
elifoster has joined #ruby
milardovich has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
brent__ has quit [Remote host closed the connection]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
milardovich has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
mwlang has joined #ruby
nastii has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
harfangk has joined #ruby
ResidentBiscuit has joined #ruby
nastii has quit [Client Quit]
milardovich has joined #ruby
saneax is now known as saneax-_-|AFK
d^sh has quit [Ping timeout: 255 seconds]
bkxd has quit [Ping timeout: 240 seconds]
znz_jp has quit [Remote host closed the connection]
d^sh has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
znz_jp has joined #ruby
al2o3-cr_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 255 seconds]
al2o3-cr has quit [Ping timeout: 255 seconds]
Rodya__ has joined #ruby
milardovich has joined #ruby
Rodya_ has quit [Ping timeout: 240 seconds]
al2o3-cr_ is now known as al2o3-cr
t0rrieri has quit [Quit: Lingo: www.lingoirc.com]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
milardovich has quit [Ping timeout: 255 seconds]
pwnd_nsfw has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
markholmes has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chichou has joined #ruby
chichou has quit [Client Quit]
milardovich has joined #ruby
Rodya__ has quit [Quit: Leaving...]
Slinky_Pete has joined #ruby
banisterfiend has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
DaleK5whr has joined #ruby
enterprisey has joined #ruby
Slinky_Pete has quit [Ping timeout: 260 seconds]
brent__ has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
genpaku has quit [Remote host closed the connection]
Vile` has quit [Ping timeout: 240 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DaleK5whr has quit [Quit: Leaving]
fowlduck has quit [Remote host closed the connection]
johnzorn has quit [Ping timeout: 240 seconds]
tyang_ has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
rgiscard has quit [Quit: Gone fishing]
tau has joined #ruby
br0d1n has quit [Quit: Leaving]
padi_ has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
JeanCarloMachado has quit [Ping timeout: 255 seconds]
JeanCarloMachado has joined #ruby
johnzorn has joined #ruby
aspiers has joined #ruby
bkxd has joined #ruby
duderono_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
cyclotron3k has joined #ruby
johnny56_ has joined #ruby
brent__ has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 268 seconds]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
jdm has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
soud has quit [Ping timeout: 256 seconds]
ResidentBiscuit has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
patarr has joined #ruby
milardovich has quit [Ping timeout: 255 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
abelnor has joined #ruby
benlieb has joined #ruby
ResidentBiscuit has quit [Ping timeout: 240 seconds]
skweek has joined #ruby
astrobunny has joined #ruby
CustosLimen has quit [Ping timeout: 252 seconds]
RickHull has quit [Ping timeout: 240 seconds]
raspado has joined #ruby
aspiers has quit [Ping timeout: 240 seconds]
markholmes has quit [Quit: Leaving]
pwnd_nsfw` has joined #ruby
cdg has quit [Remote host closed the connection]
JeanCarloMachado has joined #ruby
xall has joined #ruby
ChaiTRex has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
gusrub has joined #ruby
pwnd_nsfw has quit [Ping timeout: 260 seconds]
raspado has quit [Ping timeout: 260 seconds]
jcao219 has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
CustosLimen has joined #ruby
gusrub has quit [Ping timeout: 260 seconds]
tyrannosaurusrek has joined #ruby
tyrannosaurusrek has left #ruby [#ruby]
milardovich has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ResidentBiscuit has joined #ruby
duderonomy has joined #ruby
astrobunny has quit [Remote host closed the connection]
JeanCarloMachado has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
ResidentBiscuit has quit []
CustosLimen has quit [Ping timeout: 240 seconds]
rgiscard has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgiscard has quit [Client Quit]
Channel6 has joined #ruby
mim1k has joined #ruby
Robtop__ has joined #ruby
cyclotron3k has quit [Quit: Leaving]
mim1k has quit [Ping timeout: 240 seconds]
ecuanaso has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 268 seconds]
milardovich has joined #ruby
gizmore has quit [Remote host closed the connection]
s2013 has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 240 seconds]
CustosLimen has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
ChaiTRex has quit [Quit: *sips tea*]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
JeanCarloMachado has joined #ruby
gix has quit [Ping timeout: 268 seconds]
davezd has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix has joined #ruby
milardovich has quit [Ping timeout: 255 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
jphase has quit [Read error: Connection reset by peer]
jphase has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
war_pigs has joined #ruby
braincrash has joined #ruby
iMadper is now known as iMadper|nPlus6
pilne has quit [Quit: Quitting!]
benlieb has quit [Quit: benlieb]
s2013 has joined #ruby
TheWhip has quit [Remote host closed the connection]
enterprisey has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
squ has joined #ruby
ytti has quit [Ping timeout: 240 seconds]
ytti has joined #ruby
astrobunny has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
<sparr> Radar: I leave the definition of "saner" in the hands of the person making the recommendation. I personally think converting "if foo; bar; end" to "foo if bar" only makes sense if foo and bar are really short. rubocop suggests it for arbitrarily complex expressions
<K1WIZ> question: if I have two integer variables and I want to use a case switch testing a boolean expression, how could I do that?
astrobunny has quit [Read error: Connection reset by peer]
<sparr> and I'm happy to switch n==0 to n.zero? for a single comparison, but not if it's in the middle of a dozen other comparisons to integers other than zero
astrobunny has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
djbkd_ has quit [Remote host closed the connection]
TheWhip has joined #ruby
djbkd has joined #ruby
milardovich has joined #ruby
hahuang61 has quit [Quit: WeeChat 1.5]
hahuang65 has joined #ruby
naprimer_3 has joined #ruby
govg has quit [Ping timeout: 255 seconds]
naprimer_2 has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 260 seconds]
enterprisey has joined #ruby
Channel6 has quit [Quit: Leaving]
tau has quit [Quit: i dont know what to say but i know lmt is gay.]
milardovich has joined #ruby
bkxd has joined #ruby
renchan has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cibs has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
hahuang65 has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
JeanCarloMachado has joined #ruby
govg has joined #ruby
cibs has quit [Ping timeout: 260 seconds]
cibs has joined #ruby
Guest92924 has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 255 seconds]
msg has joined #ruby
msg is now known as Guest23125
modlin has joined #ruby
milardovich has joined #ruby
astrobunny has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 260 seconds]
astrobunny has joined #ruby
jaequery has joined #ruby
milardovich has joined #ruby
naftilos76 has joined #ruby
armando has quit [Ping timeout: 258 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest87296 has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 255 seconds]
madsa has joined #ruby
madsa is now known as Guest7221
elifoster has quit [Ping timeout: 240 seconds]
myk267 has joined #ruby
milardovich has joined #ruby
teclator has quit [Read error: No route to host]
jenrzzz has quit [Ping timeout: 260 seconds]
alan_w has quit [Ping timeout: 260 seconds]
Cohedrin has joined #ruby
Guest23125 has quit [Remote host closed the connection]
armando has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
milardovich has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
msg has joined #ruby
msg is now known as Guest56447
JeanCarloMachado has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
mim1k has quit [Ping timeout: 240 seconds]
alan_w has joined #ruby
montanonic has joined #ruby
xall has quit [Read error: No route to host]
xall has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
milardovich has joined #ruby
Guest56447 has quit [Ping timeout: 268 seconds]
jtdoncas has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
d0nn1e has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 260 seconds]
d0nn1e has joined #ruby
mim1k has joined #ruby
milardovich has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
modlin has quit [Quit: Textual IRC Client: www.textualapp.com]
john__ has joined #ruby
dionysus69 has joined #ruby
<john__> whoami
<john__> ....
milardovich has quit [Ping timeout: 255 seconds]
<john__> sorry for wrong terminal window.
Anonymoose2 has joined #ruby
saneax-_-|AFK is now known as saneax
chihhsin has quit [Quit: leaving]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
chihhsin has joined #ruby
JeanCarloMachado has joined #ruby
milardovich has joined #ruby
harfangk has joined #ruby
reverberations has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
war_pigs has quit [Quit: later... computer is sleeping]
milardovich has quit [Ping timeout: 240 seconds]
Noxid_ has joined #ruby
<Noxid_> Hello, is there a way to build ruby shared library (libruby.so) such that extensions such as zlib can be used without `require` statement?
Volsus has joined #ruby
jgnagy has quit [Remote host closed the connection]
SteenJobs has quit [Quit: SteenJobs]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
coatezy has quit [Ping timeout: 240 seconds]
CAPRA-MAU has joined #ruby
CAPRA-MAU has left #ruby [#ruby]
patarr has quit [Quit: Lost terminal]
JeanCarloMachado has joined #ruby
coatezy has joined #ruby
Definity2 has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 260 seconds]
minimalism has quit [Quit: minimalism]
modlin has joined #ruby
s2013 has joined #ruby
john__ has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
john__ has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
Volsus has quit [Quit: Leaving...]
milardovich has joined #ruby
Noxid_ has quit [Ping timeout: 240 seconds]
SteenJobs has joined #ruby
<john__>
mogaj has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
conta has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
mwlang has quit [Quit: mwlang]
Macaveli has joined #ruby
andikr has joined #ruby
msg has joined #ruby
johnny56_ has quit [Ping timeout: 264 seconds]
msg is now known as Guest62623
Slinky_Pete has joined #ruby
last_staff has joined #ruby
Silthias has joined #ruby
Mortomes|Work has joined #ruby
milardovich has joined #ruby
bkxd has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
johnny56_ has joined #ruby
padi_ has quit [Remote host closed the connection]
JeanCarloMachado has quit [Ping timeout: 268 seconds]
JeanCarloMachado has joined #ruby
padi_ has joined #ruby
Slinky_Pete has quit [Ping timeout: 260 seconds]
padi_ has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 255 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SteenJobs has quit [Quit: SteenJobs]
SteenJobs has joined #ruby
modlin has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
jaruga______ has joined #ruby
jaruga______ is now known as jaruga_______
milardovich has joined #ruby
SteenJobs has quit [Ping timeout: 260 seconds]
User458764 has joined #ruby
Qchmqs has joined #ruby
aganov has joined #ruby
harfangk has quit [Quit: No Ping reply in 180 seconds.]
montanonic has quit [Ping timeout: 255 seconds]
harfangk has joined #ruby
djbkd has quit [Quit: My people need me...]
Qchmqs has quit [Client Quit]
jenrzzz has joined #ruby
Qchmqs has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
jaruga______ has joined #ruby
jaruga_______ has quit [Read error: Connection reset by peer]
esObe has joined #ruby
s2013 has joined #ruby
byte512 has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
harfangk has quit [Quit: No Ping reply in 180 seconds.]
padi_ has joined #ruby
Qchmqs has quit [Quit: Konversation terminated!]
Qchmqs has joined #ruby
harfangk has joined #ruby
mrgrieve1 has joined #ruby
mrgrieves has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 255 seconds]
padi_ has quit [Ping timeout: 255 seconds]
johnny56_ has quit [Ping timeout: 264 seconds]
<john__>
esObe has quit [Remote host closed the connection]
Xiti has quit [Quit: Xiti]
esObe has joined #ruby
Guest54067 is now known as fuzzyfuzz
harfangk has quit [Quit: No Ping reply in 180 seconds.]
Guest62623 has quit [Remote host closed the connection]
TomyWork has joined #ruby
harfangk has joined #ruby
ur5us has joined #ruby
mrgrieves has joined #ruby
esObe has quit [Ping timeout: 268 seconds]
aufi has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
Burgestrand has joined #ruby
JeanCarloMachado has joined #ruby
mrgrieve1 has quit [Ping timeout: 240 seconds]
harfangk has quit [Quit: No Ping reply in 180 seconds.]
rafadc has joined #ruby
harfangk has joined #ruby
milardovich has joined #ruby
milardov_ has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
milardov_ has quit [Ping timeout: 260 seconds]
harfangk has quit [Quit: No Ping reply in 180 seconds.]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
harfangk has joined #ruby
JeanCarloMachado has joined #ruby
sarbs has quit [Ping timeout: 255 seconds]
sarbs has joined #ruby
milardovich has joined #ruby
johnny56_ has joined #ruby
naprimer_3 is now known as LePatrique
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
harfangk has quit [Quit: No Ping reply in 180 seconds.]
mark_66 has joined #ruby
antgel has joined #ruby
jamesaxl has joined #ruby
dn5 has joined #ruby
Snickers has joined #ruby
Darshan has joined #ruby
aupadhye has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
enterprisey has quit [Quit: Leaving]
nofxxx has joined #ruby
john__ has quit [Quit: leaving]
nofxx has quit [Ping timeout: 268 seconds]
reverberations has joined #ruby
Anonymoose2 has quit [Ping timeout: 240 seconds]
TomyWork has quit [Ping timeout: 240 seconds]
milardovich has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
milardovich has joined #ruby
TomyWork has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LiquidInsect has quit [Ping timeout: 260 seconds]
TvL2386 has joined #ruby
jgnagy has joined #ruby
MrSamuel has quit [Quit: Leaving]
LiquidInsect has joined #ruby
nofxxx has quit [Ping timeout: 268 seconds]
jgnagy has quit [Ping timeout: 268 seconds]
milardovich has quit [Remote host closed the connection]
TheWhip has quit [Remote host closed the connection]
davezd has joined #ruby
SteenJobs has joined #ruby
al2o3-cr_ has joined #ruby
TheWhip has joined #ruby
lxsameer has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
alex`` has quit [Quit: WeeChat 1.6]
milardovich has joined #ruby
nettoweb has joined #ruby
astrobunny has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Slinky_Pete has joined #ruby
jaequery has joined #ruby
ur5us has quit [Remote host closed the connection]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
Slinky_Pete has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
jaequery has quit [Ping timeout: 260 seconds]
jaequery has joined #ruby
rafadc has quit [Ping timeout: 240 seconds]
jaequery has quit [Client Quit]
tomphp has joined #ruby
toretore has joined #ruby
ferr1 has joined #ruby
biberu has joined #ruby
Guest93697 has joined #ruby
Beams has joined #ruby
jtdoncas has joined #ruby
teclator has joined #ruby
bkxd has joined #ruby
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
Guest93697 has quit [Ping timeout: 260 seconds]
nowhereman has quit [Ping timeout: 268 seconds]
JeanCarloMachado has quit [Ping timeout: 255 seconds]
JeanCarloMachado has joined #ruby
jtdoncas has quit [Ping timeout: 240 seconds]
scrooloose has quit [Quit: WeeChat 1.4]
ifctj has joined #ruby
abelnor has quit [Ping timeout: 260 seconds]
marty1 has joined #ruby
SteenJobs has quit [Ping timeout: 268 seconds]
xall has quit [Ping timeout: 260 seconds]
xall has joined #ruby
marr has joined #ruby
marty1 is now known as scrooloose
jaruga_______ has joined #ruby
jaruga______ has quit [Read error: Connection reset by peer]
ifctj has quit [Ping timeout: 240 seconds]
jaruga_______ is now known as jaruga______
psychicist__ has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
<dminuoso> How would you handle credentials for tests (its a framework that works against a remote API) that need to run inside gitlab ci?
hineshp has joined #ruby
scrooloose has quit [Quit: WeeChat 1.4]
SteenJobs has joined #ruby
<dminuoso> Oh.. seems like gitlab has an infrastructure for this. Neat.
marty1 has joined #ruby
sysvalve has joined #ruby
lxsameer has joined #ruby
marty1 is now known as scrooloose
psychicist__ has quit [Client Quit]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
SteenJobs has quit [Ping timeout: 260 seconds]
aupadhye has quit [Quit: Leaving]
jaruga______ has quit [Quit: jaruga______]
aupadhye has joined #ruby
jaruga______ has joined #ruby
rafadc has joined #ruby
hineshp has quit [Quit: WeeChat 1.0.1]
cschneid_ has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
Darshan2 has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
JeanCarloMachado has quit [Ping timeout: 255 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
Snowy has joined #ruby
Darshan has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
Beams has quit [Quit: .]
milardovich has joined #ruby
dn5 has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alexherbo2 is now known as alex``
JeanCarloMachado has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
aryaching has quit [Read error: Connection reset by peer]
TheWhip has quit [Remote host closed the connection]
workmad3 has joined #ruby
pandaant has joined #ruby
Slinky_Pete has joined #ruby
dn5 has joined #ruby
Beams has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
Slinky_Pete has quit [Ping timeout: 240 seconds]
<dminuoso> Uh.
<dminuoso> [{a:1}, {a:2}].sort
<dminuoso> >> [{a:1}, {a:2}].sort
* 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
<dminuoso> #=> ArgumentError: comparison of Hash with Hash failed
<dminuoso> ruby[bot]: What?
JeanCarloMachado has joined #ruby
<dminuoso> apeiros: ^- I broke it.
<elomatreb> eval.in was/is broken the last few days
<dminuoso> That smells more like ruby[bot] being broken
<dminuoso> No?
<elomatreb> Half the time the website gives you a 500, I assume ruby[bot] just doesn't handle that correctly
<dminuoso> Okay, Ill spank apeiros
KCmetro has joined #ruby
KCmetro has quit [Remote host closed the connection]
KCmetro has joined #ruby
msg has joined #ruby
msg is now known as Guest66382
JeanCarloMachado has quit [Ping timeout: 260 seconds]
KCmetro has quit [Client Quit]
JeanCarloMachado has joined #ruby
mim1k has joined #ruby
rafadc_ has joined #ruby
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
Kug3lis has joined #ruby
TheWhip has joined #ruby
rafadc has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
bkxd has quit [Ping timeout: 268 seconds]
ledestin has quit [Quit: Textual IRC Client: www.textualapp.com]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
modin has quit [Read error: Connection reset by peer]
JeanCarloMachado has joined #ruby
modin has joined #ruby
User458764 has joined #ruby
dn5 has quit [Ping timeout: 240 seconds]
SteenJobs has joined #ruby
Snowy has quit [Remote host closed the connection]
jameser has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 268 seconds]
SteenJobs has quit [Ping timeout: 240 seconds]
TheWhip has quit [Remote host closed the connection]
Diabolik_ is now known as Diabolik
<Diabolik> wow
CloCkWeRX has joined #ruby
<ruby[bot]> Diabolik: we in #ruby do not like irccloud.com, I reposted your paste to gist for you: https://gist.github.com/636177e5b13fb5901bc5151cae17d492
<ruby[bot]> Diabolik: irccloud.com has no syntax highlighting, distracting formatting and loads slowly for most.
mim1k has joined #ruby
rafadc_ has quit [Quit: Bye!]
<Diabolik> ah sorry ruby[bot]
<Diabolik> i had no idea you could do that
dionysus69 has quit [Ping timeout: 260 seconds]
Coldblackice has quit []
Coldblackice has joined #ruby
SteenJobs has joined #ruby
Darshan2 has quit [Quit: Leaving]
Snowy has joined #ruby
SteenJobs has quit [Ping timeout: 260 seconds]
GBrawl has joined #ruby
Snowy has quit [Client Quit]
Slinky_Pete has joined #ruby
Slinky_Pete has quit [Ping timeout: 268 seconds]
SteenJobs has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
<Diabolik> not entirely sure what the point is
<Diabolik> of having that functionality
SteenJobs has quit [Ping timeout: 240 seconds]
nettoweb1 has joined #ruby
nettoweb has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
<xpt> Diabolik: which one? Moving paste to github or ::size ?
dn5 has joined #ruby
ldnunes has joined #ruby
sysvalve has quit [Ping timeout: 255 seconds]
dionysus69 has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has quit [Ping timeout: 260 seconds]
psychicist__ has joined #ruby
bkxd has joined #ruby
NeverTired has quit [Quit: Connection closed for inactivity]
jtdoncas has joined #ruby
truenito has joined #ruby
mim1k has joined #ruby
jtdoncas has quit [Ping timeout: 268 seconds]
mim1k has quit [Ping timeout: 240 seconds]
aderuwe has joined #ruby
<aderuwe> Hi all - "gem install bundler" (or really, any gem) results in "incompatible character encodings: ASCII-8BIT and UTF-8" - anyone could offer a clue?
<aderuwe> tried most things google searching told me to try
SteenJobs has joined #ruby
<elomatreb> aderuwe: We're going to need the full error, with stacktrace
bkxd_ has joined #ruby
<aderuwe> elomatreb: how do i get a stacktrace from gem?
bkxd has quit [Ping timeout: 255 seconds]
<elomatreb> Paste the entire output the failing command (gem install...) gives you
sysvalve has joined #ruby
<aderuwe> ok
<jamesaxl> hi
SteenJobs has quit [Ping timeout: 240 seconds]
eblip has quit [Read error: Connection reset by peer]
<manveru> Diabolik: just ignore the bot :)
bkxd_ has quit [Ping timeout: 260 seconds]
Derperperd has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
nadir has quit [Quit: Connection closed for inactivity]
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
mikecmpbll has joined #ruby
charliesome has joined #ruby
nettoweb has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
opt9 has quit [Quit: Bye bye]
opt9 has joined #ruby
rafadc has joined #ruby
Pumukel has quit [Remote host closed the connection]
GBrawl has quit [Quit: (null)]
xall has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby
harai_ has quit [Ping timeout: 255 seconds]
<kke> there doesn't seem to be anything like "rbenv 2.1.0 do foo"
<kke> rvm had that
<kke> i guess i'm supposed to "rbenv shell 2.1.0; foo" then
<kke> but that leaves me with a different ruby than i had in that shell session
cibs has quit [Ping timeout: 268 seconds]
sarbs has quit [Ping timeout: 255 seconds]
CloCkWeRX has quit [Quit: Leaving.]
sarbs has joined #ruby
TheWhip has joined #ruby
Mortomes|Work has quit [Ping timeout: 260 seconds]
cibs has joined #ruby
cansado_ has joined #ruby
<cansado_> Hijos de puta
Mortomes|Work has joined #ruby
pwnd_nsfw` has joined #ruby
<cansado_> Bastards!!!
opt9 has quit [Quit: Bye bye]
Robtop__ has quit [Ping timeout: 240 seconds]
Robtop__ has joined #ruby
truenito has quit [Ping timeout: 268 seconds]
TheWhip has quit [Remote host closed the connection]
opt9 has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 240 seconds]
cansado_ has quit [Ping timeout: 260 seconds]
cibs has quit [Ping timeout: 260 seconds]
anagha_ has joined #ruby
<kke> let it all out
cibs has joined #ruby
shinnya has joined #ruby
nadir has joined #ruby
a1fa has quit [Ping timeout: 264 seconds]
a1fa has joined #ruby
abelnor has joined #ruby
ripthejacker has joined #ruby
interki has joined #ruby
ripthejacker has quit [Quit: Leaving]
<aderuwe> elomatreb: sorry for the delay ... https://gist.github.com/aderuwe/620c8a45983918f0c9104f69f08c3efd
EV3RYDAYPR0GRESS has quit [Read error: Connection reset by peer]
Qchmqs has quit [Quit: Konversation terminated!]
EV3RYDAYPR0GRESS has joined #ruby
<Diabolik> xpt: the ::size
psychicist__ has quit [Ping timeout: 260 seconds]
<Diabolik> manveru: i tried to put it on eval.in but they seem to be having server problems atm
tyang has joined #ruby
User458764 has joined #ruby
millerti has joined #ruby
<aderuwe> strange
mim1k has quit [Ping timeout: 240 seconds]
<manveru> >> "asadsad"::size
<ruby[bot]> manveru: # => 7 (https://eval.in/740609)
bkxd has joined #ruby
<manveru> they're fine now it seems
Slinky_Pete has joined #ruby
<manveru> anw, the bot always complains about irccloud, but i think it's wrong
<manveru> it has good syntax highlighting, no distracting formatting, and loads fast for everyone who's not on GPRS
psychicist__ has joined #ruby
synthroid has joined #ruby
TheWhip has joined #ruby
Slinky_Pete has quit [Ping timeout: 255 seconds]
prestorium has joined #ruby
Mortomes|Work has quit [Ping timeout: 260 seconds]
jgnagy has joined #ruby
blackwind_123 has joined #ruby
jaruga______ has quit [Remote host closed the connection]
jaruga______ has joined #ruby
jameser has joined #ruby
jaruga______ has quit [Client Quit]
jgnagy has quit [Ping timeout: 240 seconds]
rwb has quit [Ping timeout: 240 seconds]
jaruga______ has joined #ruby
jaruga_______ has joined #ruby
jaruga_______ is now known as jaruga
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaruga______ has quit [Ping timeout: 260 seconds]
jose_leeto has joined #ruby
SteenJobs has joined #ruby
Guest66382 has quit [Remote host closed the connection]
emilkarl has joined #ruby
<Diabolik> manveru: i only recently switched to irccloud
<Diabolik> its incredible
<Diabolik> i used to use a ZNC but it was a pain with multiple computers etc
SteenJobs has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
loechel has joined #ruby
interki has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 240 seconds]
aupadhye is now known as aupadhye|brb
lxsameer has quit [Read error: Connection reset by peer]
SteenJobs has joined #ruby
lxsameer has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
interki has joined #ruby
bmurt has joined #ruby
abelnor has quit [Ping timeout: 260 seconds]
SteenJobs has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
chudi has left #ruby ["Leaving"]
lxsameer has quit [Ping timeout: 255 seconds]
JoshS has joined #ruby
<aderuwe> elomatreb: am i lucky enough to still find you here? :)
malconis has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
squ has quit [Remote host closed the connection]
dionysus70 has joined #ruby
malconis has quit [Read error: Connection reset by peer]
mim1k has joined #ruby
jtdoncas has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
dionysus70 is now known as dionysus69
mogaj has quit [Remote host closed the connection]
Mortomes|Train has joined #ruby
malconis has joined #ruby
rafadc_ has joined #ruby
emilkarl has quit [Quit: emilkarl]
dionysus69 has quit [Ping timeout: 260 seconds]
rafadc has quit [Ping timeout: 260 seconds]
emilkarl has joined #ruby
aupadhye|brb is now known as aupadhye
jlebrech has joined #ruby
Noxid_ has joined #ruby
msg has joined #ruby
mwlang has joined #ruby
msg is now known as Guest81777
SteenJobs has joined #ruby
Derperperd has joined #ruby
mark_66 has quit [Read error: Connection reset by peer]
mark_66 has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
<jlebrech> hi i'm trying to sort_by multiple attributes, but using -item.attribute to reverse the order of that sorted attribute doesn't seem to work. https://repl.it/Fres
stomar has joined #ruby
SteenJobs has quit [Ping timeout: 240 seconds]
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
<jlebrech> oh crap, think i've got it
SteenJobs has joined #ruby
padi_ has joined #ruby
<jlebrech> ok, maybe not. can't reverse an attribute order still
raspado has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
padi_ has quit [Ping timeout: 240 seconds]
Derperperd has quit [Ping timeout: 268 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
raspado has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
ramortegui has joined #ruby
<K1WIZ> if I have two integer variables and I want to use a case switch testing a boolean expression, how could I do that?
ramblex has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aspiers has joined #ruby
synthroi_ has joined #ruby
Emmanuel_Chanel has joined #ruby
harai_ has joined #ruby
cdg has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
millerti has joined #ruby
Snickers has quit [Ping timeout: 240 seconds]
synthroid has quit [Ping timeout: 240 seconds]
Lord_of_Life has quit [Excess Flood]
aderuwe has quit [Ping timeout: 260 seconds]
<jlebrech> K1WIZ: something like this? https://repl.it/FrgK
terens has quit [Remote host closed the connection]
Lord_of_Life has joined #ruby
Derperperd has joined #ruby
<jlebrech> K1WIZ: case [x,y]... when [1,2] ... else ... end
jameser has joined #ruby
Kilobyte22 has quit [Quit: ZNC - 1.6.0 - http://znc.in]
shinnya has quit [Ping timeout: 260 seconds]
Kahraman has left #ruby [#ruby]
Kilo`byte has joined #ruby
jtdoncas has quit [Ping timeout: 268 seconds]
centrx has joined #ruby
jameser has quit [Client Quit]
hutch34 has joined #ruby
<tobiasvl> K1WIZ: depends what the boolean is. you can also just do `case; when 1 == 1 puts 'foo'; end`
modlin has joined #ruby
__Yiota has joined #ruby
malconis has left #ruby ["Textual IRC Client: www.textualapp.com"]
mwlang has quit [Quit: mwlang]
Kilo`byte has quit [Client Quit]
DLSteve has joined #ruby
<K1WIZ> jlebrech, perfect! that's exactly what I was looking for. I think that will work.
Kilo`byte has joined #ruby
<K1WIZ> thank you guys
<jlebrech> i need to sort_by alphabetically and also by other attributes. looks like sort_by with strings doesn't work with multiple attributes. any ideas?
jtdoncas has joined #ruby
ifctj has joined #ruby
griffindy has joined #ruby
mwlang has joined #ruby
Rodya_ has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mortomes|Train has quit [Ping timeout: 260 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
Snickers has joined #ruby
jameser has quit [Client Quit]
jsrn has joined #ruby
__Yiota has joined #ruby
stomar has quit [Quit: Konversation terminated!]
modlin has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
[reed] has quit [Ping timeout: 258 seconds]
<K1WIZ> jlebrech, can you take another look at https://repl.it/FrgK/2 - this is what I'm trying to do. I need to test a logical AND between two binary states (1 or 0) as read from a gpio. The var is stored as an int.
__Yiota has quit [Client Quit]
mim1k_ has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
emilkarl has quit [Quit: emilkarl]
<jlebrech> K1WIZ: https://repl.it/FrgK/3
[reed] has joined #ruby
[reed] has quit [Changing host]
[reed] has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
__Yiota has joined #ruby
fuzzyhorns has joined #ruby
swills has quit [Quit: pointless]
__Yiota has quit [Client Quit]
__Yiota has joined #ruby
User458764 has joined #ruby
TheWhip has quit [Read error: Connection reset by peer]
TheWhip has joined #ruby
User458764 has quit [Client Quit]
stomar has joined #ruby
<K1WIZ> so the comma is an AND operator?
mogaj has joined #ruby
emilkarl has joined #ruby
<jlebrech> nope, we turn x and y into [x,y] and compare with the value of that array which is [0,0] etc
cibs has quit [Ping timeout: 255 seconds]
<K1WIZ> <---- having an epiphany moment
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cibs has joined #ruby
TheBrayn has quit [Quit: WeeChat 1.5]
TheBrayn has joined #ruby
troulouliou_div2 has joined #ruby
mogaj has quit [Ping timeout: 255 seconds]
<K1WIZ> jlebrech, now if I wanted to run that switch in an infinite loop could I do it like this: https://repl.it/FrgK/4
Kug3lis has quit [Ping timeout: 240 seconds]
<jlebrech> it's working :P
gfgaki has joined #ruby
<K1WIZ> booyeah! :D
jhack has joined #ruby
mim1k_ has quit [Ping timeout: 260 seconds]
jhack has quit [Client Quit]
rafadc_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
tau has joined #ruby
<K1WIZ> new to programming, but enjoying it.
rwb has joined #ruby
mim1k has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheBrayn has quit [Client Quit]
TheBrayn has joined #ruby
<Noxid_> Hello, is there a way to build ruby shared library (libruby.so) such that extensions such as zlib can be used without `require` statement?
<Noxid_> sorry if someone answered this question last night I had to go to sleep and I forgot this server wasn't on a bouncer
ferr1 has quit [Quit: WeeChat 1.6]
<alex``> Hi
<dminuoso> Noxid_: require it yourself?
harfangk has joined #ruby
<alex``> How express `have` in rspec?
<dminuoso> alex``: what do you mean by "have" ?
<alex``> expect(@node).to be_children
<alex``> to test node.children?
<alex``> but `be_` is not appropriate
millerti has joined #ruby
<alex``> have_children or something that fits better
<alex``> is there equivalents?
dn5 has quit [Ping timeout: 260 seconds]
emilkarl has quit [Quit: emilkarl]
agent_white has joined #ruby
anisha has joined #ruby
Lyubo1 has quit [Ping timeout: 260 seconds]
<alex``> thanks !
<dminuoso> alex``: These are the built-ins, but you can extend these with custom matchers as much as you like.
<alex``> have to go but will check
<agent_white> Mornin' folks
<alex``> thanks
<dminuoso> Then you can name it whatever you want. :have_children for example
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anagha_ has quit [Quit: Connection closed for inactivity]
<Noxid_> sorry i'm kind of new to ruby but I tried --with-static-linked-ext and that didn't seem to give the result I expected (even after configuring the ext/Setup file)
modlin has joined #ruby
govg has quit [Ping timeout: 240 seconds]
<Noxid_> I don't have the option to require it in the script because of the circumstances of my environment
Kug3lis has joined #ruby
jamesaxl has quit [Quit: Leaving]
Kug3lis has quit [Client Quit]
<Noxid_> http://paste.awesom.eu/l8BY this is the information I have to go by
war_pigs has joined #ruby
mogaj has joined #ruby
Kug3lis has joined #ruby
User458764 has joined #ruby
rafadc has joined #ruby
Kug3lis has quit [Client Quit]
Guest27061 is now known as rprimus
Burgestrand has quit [Quit: Closing time!]
saneax is now known as saneax-_-|AFK
byte512 has joined #ruby
nOwz has quit [Quit: WeeChat 1.7]
Albiore has quit [Remote host closed the connection]
aufi has quit [Quit: Leaving]
arashb has quit [Remote host closed the connection]
nOwz has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gnufied has joined #ruby
emilkarl has joined #ruby
pandaant has quit [Remote host closed the connection]
hutch34 has joined #ruby
Rodya_ has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
TvL2386 has quit [Quit: Ex-Chat]
Kug3lis has joined #ruby
mtkd has quit [Ping timeout: 268 seconds]
__Yiota has joined #ruby
mtkd has joined #ruby
emilkarl has quit [Quit: emilkarl]
Derperperd has quit [Max SendQ exceeded]
ramblex has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<TomyWork> # { "foo" => puts "bar" }
<TomyWork> why is this a syntax error?
<TomyWork> > { "foo" => puts "bar" }
psychicist__ has quit [Ping timeout: 240 seconds]
<TomyWork> >> { "foo" => puts "bar" }
* TomyWork slaps the eval bot
stomar has quit [Quit: Konversation terminated!]
Derperperd has joined #ruby
<dminuoso> TomyWork: Do you want a grammar explanation?
<dminuoso> TomyWork: method parens are optional until they arent.
gigetoo has quit [Ping timeout: 264 seconds]
<TomyWork> the more important question is, how do i still get a somewhat elegant mini DSL?
<matthewd> Don't use a hash
<TomyWork> >> { "version" => commented "1.2.3" }
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aspiers has quit [Ping timeout: 240 seconds]
<TomyWork> that's what i want to express
<dminuoso> what does "commented" mean ?
<TomyWork> it's stuff that goes into a generated config file
<TomyWork> including support for commented lines
<dminuoso> No I mean in that specific context
<dminuoso> What is a commented version?
cschneid_ has joined #ruby
<TomyWork> it ends up as #"version" => "1.2.3",
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
<dminuoso> TomyWork: then maybe wrap it around?
<dminuoso> TomyWork: so you do: commented { "version" => "1.2.3" }
Derperperd has quit [Client Quit]
<TomyWork> well each element can be commented individually
<dminuoso> TomyWork: then just wrap parens around it
<TomyWork> commented("1.2.3")?
<dminuoso> Sure.
<TomyWork> yeah that's my fallback... no tricks?
<dminuoso> TomyWork: No.
al2o3-cr has joined #ruby
<TomyWork> but this shouldnt even be ambiguous, grammar-wise, right?
nobitanobi has joined #ruby
<TomyWork> { "version" => commented "1.2.3", "othervar" => "othervalue", }
al2o3-cr_ has quit [Ping timeout: 260 seconds]
synthroid has joined #ruby
gusrub has joined #ruby
gusrub has quit [Remote host closed the connection]
<TomyWork> the first comma there cant possibly be a method parameter separator for the call to the "commented" method, since then the "=>" would be a syntax error
<TomyWork> or am i missing something?
synthroi_ has quit [Ping timeout: 240 seconds]
aspiers has joined #ruby
ifctj has quit [Ping timeout: 260 seconds]
ecuanaso has joined #ruby
<K1WIZ> Hi, I'm getting an error on my switch. https://repl.it/FrgK/12 "unexpected end of input" Not sure what I'm doing wrong.
Kug3lis has joined #ruby
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
cibs has quit [Ping timeout: 240 seconds]
<TomyWork> K1WIZ loop do?
nobitanobi has quit [Remote host closed the connection]
<TomyWork> let me rephrase that
<TomyWork> K1WIZ the problem seems to stem from the end corresponding to the loop do?
<TomyWork> oh wait
<TomyWork> the case in line 6 is missing an end
cibs has joined #ruby
<TomyWork> the for in line 16 doesnt look any better
<K1WIZ> TomyWork, I'm new to programming (and ruby). I'm trying to build a mode switch for a device that has two buttons (red and green) when both are pushed, I want to call a rotary toggle function that increments a variable by one (within a range of 1-3) and depending ont he value of that variable, switch a mode. WHen the count of that variable exceeds 3, it starts at 1 again.
centrx_ has joined #ruby
<TomyWork> K1WIZ not going to comment on whether that code achieves what you want it to achieve, but check your code for missing ends like i said
tomphp has quit [Ping timeout: 260 seconds]
<K1WIZ> I added ends here: https://repl.it/FrgK/15
skweek has joined #ruby
<K1WIZ> the for loop already has an end? does it need another?
<TomyWork> where is the end?
<K1WIZ> line 19
centrx has quit [Ping timeout: 260 seconds]
modlin has quit [Quit: Textual IRC Client: www.textualapp.com]
akkad has quit [Ping timeout: 240 seconds]
Guest81777 has quit [Ping timeout: 240 seconds]
<TomyWork> where is the end corresponding to "def rotarytoggle"?
<al2o3-cr> you need and end in method mode to finish the case
aganov has quit [Remote host closed the connection]
<K1WIZ> line 19 ends the rotarytoggle. So I need another end after line 18 for the loop?
<TomyWork> K1WIZ one "end" can only end one thing
<TomyWork> the "end" on line 19 cannot end both the for and the def
tomphp has joined #ruby
<K1WIZ> ah.
gregf_ has quit [Quit: Page closed]
bkxd has quit [Ping timeout: 255 seconds]
<K1WIZ> heh well it seems to work... (sort of). I just need to figure out how to get it to cycle properly in the for loop to toggle only one value.
User458764 has joined #ruby
markholmes has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
<K1WIZ> the buttons are momentary "ON" types that will go logical high when pressed.
<TomyWork> your indentation is strange
nOwz has quit [Read error: Connection reset by peer]
<TomyWork> you should always keep correct indentation
armyriad has joined #ruby
<K1WIZ> the editor placed that there/.
<K1WIZ> will fix it.
<TomyWork> and, should it ever come up, dont mix tabs and spaces
<al2o3-cr> K1WIZ: https://repl.it/FrgK/17 # correct indentation
djbkd has joined #ruby
<TomyWork> no need to spoon-feed, al2o3-cr. it's counter-productive
<al2o3-cr> might be struggling though
<TomyWork> K1WIZ most ruby people use 2-space indentation, meaning 2 spaces eper indentation level
<tau> hi.
<TomyWork> al2o3-cr i dont think he's struggling with placing spaces :)
Xentil has joined #ruby
<tau> in this code, the text and pack methods aren't 'seen' outside the do/end block. i dont know how it works.
<tau> how could i define methods that are available just inside do/end blocks?
conta has quit [Ping timeout: 240 seconds]
negatifze has quit [Quit: Textual IRC Client: www.textualapp.com]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
msg has joined #ruby
akkad has joined #ruby
msg is now known as Guest53952
tvw has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
<TomyWork> tau did you check out their source code?
milardovich has quit [Ping timeout: 240 seconds]
<tau> tomywork i didnt.
<tau> i was looking for a name of this situation, a label that characterizes it.
<tau> i was wondering whether it is a common scenary.
<bougyman> method shadowing?
<tau> hmm
<bougyman> Oh, that's some dsl.
mim1k_ has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
<bougyman> They're just instance methods of the TKLabel object that you instantiate.
<tau> bougyman yeah, but how could i make it available to methods inside do/end?
Gasher has joined #ruby
<tau> thats something i dont get.
nowhereman has joined #ruby
tvw has joined #ruby
<bougyman> I don't know what you mean.
<tau> nvm
zotherstupidguy has joined #ruby
[Butch] has joined #ruby
nettoweb has joined #ruby
teclator has quit [Remote host closed the connection]
synthroid has quit [Remote host closed the connection]
<baweaver> tau: class / module eval
<tau> i see.
<baweaver> It evaluates the contents of the block in the context of a class or module
blackwind_123 has quit [Ping timeout: 268 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
abelnor has joined #ruby
<dminuoso> There was one useful thing about class_eval..
* dminuoso is trying to remember what it was
zotherst` has joined #ruby
<dminuoso> Oh right, accessing a classes instance variables.
swills has joined #ruby
<jlebrech> omg browsers/json are stupid. i sorted something in the backend for a reason...
nOwz has joined #ruby
<K1WIZ> got it workin'! :-) https://repl.it/FrgK/30
vdl has quit [Quit: WeeChat 1.6]
cibs has quit [Ping timeout: 260 seconds]
zotherst` has quit [Remote host closed the connection]
vdl has joined #ruby
genpaku has joined #ruby
cibs has joined #ruby
cagomez has joined #ruby
aufi has joined #ruby
mim1k_ has quit [Ping timeout: 260 seconds]
anomaly has joined #ruby
mark_66 has quit [Remote host closed the connection]
brent__ has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
milardovich has joined #ruby
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
ecuanaso has quit [Quit: Textual IRC Client: www.textualapp.com]
<jlebrech> K1WIZ: nice work, do forget to stick it on github. then code something else
ecuanaso has joined #ruby
sylario has joined #ruby
<jlebrech> or refactor it
<jlebrech> K1WIZ: put the mode names in an array and refactor the mode method
aryaching has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
<K1WIZ> jlebrech, not familiar with "refactor"?
<jlebrech> rewrite it to improve the code
gnufied has quit [Ping timeout: 240 seconds]
shwouchk has joined #ruby
<jlebrech> K1WIZ: https://repl.it/FrgK/33
pwnd_nsfw has joined #ruby
amclain has joined #ruby
<K1WIZ> jlebrech, interesting! only thing is, can't have an empty set for the mode.
millerti has joined #ruby
synthroid has joined #ruby
<jlebrech> K1WIZ: empty set?
<K1WIZ> the '' (first field int eh array)
Robtop__ has quit [Ping timeout: 260 seconds]
jcao219 has joined #ruby
<jlebrech> you're cycling through 1 and 3. and arrays start at 0
cagomez has quit [Remote host closed the connection]
<K1WIZ> ahh! ok
tau has quit [Remote host closed the connection]
<K1WIZ> but:
YOUR_NIC has joined #ruby
tau has joined #ruby
<K1WIZ> when the mode cycles around to start over... wouldn't the function pass the empty set since the array starts at 0?
cagomez has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
rafadc has quit [Ping timeout: 255 seconds]
blackwind_123 has joined #ruby
lonewolf has joined #ruby
<K1WIZ> I counted 10 seconds between the last mode (C4FM and DSTAR) which means it must be stopping at zero - but it prints nothing because it is empty.
cagomez has quit [Remote host closed the connection]
mholmes has joined #ruby
<jlebrech> puts @i
<K1WIZ> would want the logic to cycle from the C4FM mode directly to the DSTAR mode.
mim1k has joined #ruby
TomyWork has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
markholmes has quit [Ping timeout: 260 seconds]
jsrn has quit [Quit: Leaving]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agent_white has quit [Quit: brb]
tvw has quit [Ping timeout: 255 seconds]
Kug3lis has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
heftig has quit [Ping timeout: 255 seconds]
gnufied has joined #ruby
marxarelli has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
minimalism has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
mim1k has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xen0fon has quit [Quit: xen0fon]
<jlebrech> K1WIZ: better?
__Yiota has joined #ruby
xen0fon has joined #ruby
elementaru has joined #ruby
mikecmpbll has joined #ruby
milardovich has joined #ruby
sysvalve has quit [Quit: Leaving]
jgnagy has joined #ruby
synthroi_ has joined #ruby
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
nOwz has quit [Quit: WeeChat 1.7]
mim1k has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
elifoster has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
jgnagy has quit [Ping timeout: 260 seconds]
synthroid has quit [Ping timeout: 260 seconds]
loechel has quit [Ping timeout: 240 seconds]
rakm has joined #ruby
nettoweb has quit [Read error: Connection reset by peer]
tvw has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
tvw has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
<K1WIZ> that works nicely. Now because you got rid of the switch, how do we run commands for each mode case?
Kug3lis has joined #ruby
aspiers has quit [Ping timeout: 260 seconds]
<K1WIZ> I was going to do cmd = `run some script`
oncall-pokemon has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
TomyLobo has joined #ruby
blackmesa has quit [Quit: WeeChat 1.6]
kobain has joined #ruby
mim1k has quit [Ping timeout: 255 seconds]
mim1k has joined #ruby
fuzzyhorns has quit [Quit: Leaving.]
<K1WIZ> for that I'd still need the case switch ie. case [@i] when ([DSTAR]) cmd = `run dstar script` ?
dionysus69 has joined #ruby
Rodya_ has joined #ruby
braincrash has joined #ruby
govg has joined #ruby
cibs has quit [Ping timeout: 260 seconds]
montanonic has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
Xiti has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cibs has joined #ruby
aufi has quit [Quit: Leaving]
sneakerhax has quit [Ping timeout: 260 seconds]
markholmes has joined #ruby
jcao219 has quit [Ping timeout: 260 seconds]
tvw has quit [Ping timeout: 268 seconds]
lonewolf has quit [Ping timeout: 240 seconds]
braincrash has quit [Ping timeout: 260 seconds]
ecuanaso has joined #ruby
mholmes has quit [Ping timeout: 260 seconds]
cagomez has joined #ruby
jlebrech has quit [Remote host closed the connection]
gregf_ has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
swills has quit [Quit: Leaving]
cagomez has quit [Remote host closed the connection]
cagomez_ has joined #ruby
aupadhye has quit [Quit: Leaving]
mtkd has quit [Ping timeout: 260 seconds]
Beams has quit [Quit: .]
gfgaki has quit [Remote host closed the connection]
mtkd has joined #ruby
gsilva has joined #ruby
pwnd_nsfw has quit [Ping timeout: 255 seconds]
tvw has joined #ruby
abelnor has quit [Quit: leaving]
swills has joined #ruby
tvw has quit [Remote host closed the connection]
al2o3-cr has quit [Remote host closed the connection]
nobitanobi has joined #ruby
Burgestrand has joined #ruby
markholmes has quit [Remote host closed the connection]
pwnd_nsfw has joined #ruby
duderonomy has quit [Ping timeout: 260 seconds]
cagomez_ has quit [Remote host closed the connection]
Burgestrand has quit [Ping timeout: 268 seconds]
_djbkd has joined #ruby
BigRonnieRon has joined #ruby
fuzzyhorns has joined #ruby
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
xall has joined #ruby
marxarelli has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
Kug3lis has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby
jdm has quit [Remote host closed the connection]
enterprisey has joined #ruby
Kug3lis has joined #ruby
jdm has joined #ruby
raspado has joined #ruby
pwnd_nsfw` has joined #ruby
Kug3lis has quit [Client Quit]
cagomez has joined #ruby
SeepingN has joined #ruby
ivanskie has joined #ruby
pwnd_nsfw has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
Kug3lis has joined #ruby
fuzzyhorns1 has joined #ruby
renchan has quit [Quit: Leaving...]
ivanskie has quit [Read error: Connection reset by peer]
BigRonnieRon has quit [Remote host closed the connection]
fuzzyhorns has quit [Ping timeout: 268 seconds]
mikecmpbll has joined #ruby
ivanskie has joined #ruby
padi_ has joined #ruby
milardovich has quit [Ping timeout: 255 seconds]
go|dfish has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
war_pigs has quit [Quit: later... computer is sleeping]
BigRonnieRon has joined #ruby
padi_ has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 260 seconds]
urbanmonk has quit [Ping timeout: 255 seconds]
lonewolf has joined #ruby
ElDoggo has joined #ruby
rafadc has joined #ruby
mwlang has quit [Quit: mwlang]
mwlang has joined #ruby
antoniobeyah has joined #ruby
duderonomy has joined #ruby
gusrub has joined #ruby
heftig has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TheWhip has quit [Ping timeout: 240 seconds]
TheWhip has joined #ruby
Cohedrin has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
antgel has quit [Ping timeout: 260 seconds]
montanonic has quit [Ping timeout: 255 seconds]
davezd has quit [Ping timeout: 260 seconds]
mwlang has quit [Quit: mwlang]
Slinky_Pete has joined #ruby
Silthias has joined #ruby
skweek has joined #ruby
jaruga has quit [Quit: jaruga]
Silthias1 has quit [Ping timeout: 240 seconds]
JeanCarloMachado has quit [Quit: Lost terminal]
Slinky_Pete has quit [Ping timeout: 255 seconds]
nofxx has joined #ruby
xall has quit [Ping timeout: 260 seconds]
Kug3lis has joined #ruby
Kug3lis has quit [Client Quit]
montanonic has joined #ruby
renchan has joined #ruby
aspiers has joined #ruby
Kug3lis has joined #ruby
Kug3lis has quit [Client Quit]
elifoster has quit [Quit: class]
Lyubo1 has joined #ruby
andikr has quit [Remote host closed the connection]
whathappens has joined #ruby
Kug3lis has joined #ruby
centrx_ has quit [Read error: Connection reset by peer]
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
gusrub has quit []
centrx has joined #ruby
jgnagy has joined #ruby
centrx has quit [Read error: Connection reset by peer]
centrx has joined #ruby
centrx has quit [Changing host]
Kug3lis has quit [Client Quit]
YOUR_NIC has quit [Quit: leaving]
gusrub has joined #ruby
JoshS has quit [Ping timeout: 260 seconds]
OMGtechy has joined #ruby
Anonymoose2 has joined #ruby
whathappens has quit [Remote host closed the connection]
libastral has quit [Quit: ZNC - http://znc.in]
myk267 has quit [Ping timeout: 240 seconds]
whathappens has joined #ruby
libastral has joined #ruby
Kug3lis has joined #ruby
reverberations has quit [Ping timeout: 268 seconds]
nobitanobi has quit [Remote host closed the connection]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
nobitanobi has joined #ruby
synthroid has joined #ruby
danielpclark has joined #ruby
singalaut has quit [Quit: paeh]
synthroi_ has quit [Ping timeout: 255 seconds]
singalaut has joined #ruby
bkxd has joined #ruby
nobitanobi has quit [Ping timeout: 240 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
myk267 has joined #ruby
szulak has joined #ruby
dn5 has joined #ruby
braincrash has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
aspiers has quit [Ping timeout: 255 seconds]
danielpclark has quit [Quit: Leaving]
User458764 has joined #ruby
bocaneri has quit [Read error: Connection reset by peer]
mogaj has quit [Remote host closed the connection]
last_staff has joined #ruby
xen0fon has quit [Quit: xen0fon]
cibs has quit [Ping timeout: 268 seconds]
cibs has joined #ruby
nanoz has joined #ruby
Slinky_Pete has joined #ruby
last_staff has quit [Remote host closed the connection]
last_staff has joined #ruby
al2o3-cr has joined #ruby
wilbert has joined #ruby
ur5us has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
Slinky_Pete has quit [Ping timeout: 240 seconds]
oncall-pokemon has quit [Quit: Connection closed for inactivity]
benlieb has quit [Quit: benlieb]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
cibs has joined #ruby
dn5 has quit [Ping timeout: 240 seconds]
aspiers has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
zeroDi has joined #ruby
whathappens has quit [Quit: Leaving...]
anomaly has left #ruby ["Leaving"]
Burgestrand has joined #ruby
montanonic has quit [Ping timeout: 260 seconds]
browndawg has joined #ruby
cdg has quit [Remote host closed the connection]
tyang_ has joined #ruby
Renich has joined #ruby
jgnagy has quit [Remote host closed the connection]
war_pigs has joined #ruby
tyang has quit [Ping timeout: 268 seconds]
milardovich has joined #ruby
padi_ has joined #ruby
montanonic has joined #ruby
Guest79771 has joined #ruby
ChrisWarrick has joined #ruby
padi_ has quit [Ping timeout: 260 seconds]
tomphp has joined #ruby
xen0fon has joined #ruby
xen0fon has quit [Client Quit]
milardovich has quit [Remote host closed the connection]
hays has joined #ruby
Burgestrand has quit [Ping timeout: 240 seconds]
szulak is now known as jakub_spiewak
cagomez has quit [Remote host closed the connection]
jakub_spiewak is now known as jakub_spiewak_s
tolerablyjake has joined #ruby
Guest64981 has quit [Remote host closed the connection]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
last_staff has quit [Remote host closed the connection]
last_staff has joined #ruby
war_pigs has quit [Quit: later... computer is sleeping]
Guest64981 has joined #ruby
A124 has quit [Quit: '']
jakub_spiewak_s is now known as szulak
last_staff has quit [Remote host closed the connection]
zotherstupidguy has quit [Quit: WeeChat 1.7]
A124 has joined #ruby
BigRonnieRon has quit [Quit: Textual IRC Client: www.textualapp.com]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xen0fon has joined #ruby
A124 has quit [Client Quit]
nobitanobi has joined #ruby
Guest79771 has quit [Ping timeout: 260 seconds]
Guest79771 has joined #ruby
User458764 has joined #ruby
jsownz has joined #ruby
blackmesa has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
A124 has joined #ruby
Guest79771 has quit [Max SendQ exceeded]
Guest79771 has joined #ruby
Slinky_Pete has joined #ruby
hays has quit [Ping timeout: 255 seconds]
skweek has quit [Ping timeout: 260 seconds]
last_staff has joined #ruby
hays has joined #ruby
hays has joined #ruby
hays has quit [Changing host]
skweek has joined #ruby
Guest79771 has quit [Max SendQ exceeded]
war_pigs has joined #ruby
axsuul has quit [Ping timeout: 260 seconds]
_aeris_ has quit [Remote host closed the connection]
Guest79771 has joined #ruby
milardovich has joined #ruby
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
ecuanaso has joined #ruby
Slinky_Pete has quit [Ping timeout: 240 seconds]
nanoz has quit [Read error: Connection reset by peer]
montanonic has quit [Ping timeout: 240 seconds]
Guest79771 has quit [Max SendQ exceeded]
P1ro has quit [Remote host closed the connection]
Guest79771 has joined #ruby
wilbert has quit [Ping timeout: 260 seconds]
_aeris_ has joined #ruby
nobitanobi has quit [Ping timeout: 268 seconds]
last_staff has quit [Remote host closed the connection]
esObe has joined #ruby
last_staff has joined #ruby
elementaru has quit [Remote host closed the connection]
jcao219 has joined #ruby
war_pigs has quit [Quit: later... computer is sleeping]
wilbert has joined #ruby
P1ro has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
last_staff has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mtkd has joined #ruby
montanonic has joined #ruby
patarr has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
dn5 has joined #ruby
last_staff has joined #ruby
millerti has joined #ruby
Renich has quit [Quit: leaving]
millerti has quit [Client Quit]
<ivanskie> why isn't anyone talking? so odd on this channel. used to see so much activity
OMGtechy has quit [Remote host closed the connection]
<centrx> It varies
OMGtechy has joined #ruby
<centrx> Also a #ruby-offtopic channel was created, reducing the traffic in this channel
<ivanskie> good point
<centrx> Also related activity on #rubyonrails of course
Lord_of_Life has quit [Excess Flood]
last_staff has quit [Remote host closed the connection]
mwlang has joined #ruby
Lyubo1 has quit [Ping timeout: 260 seconds]
Lord_of_Life has joined #ruby
<ivanskie> anyone use Fedora as their dev env?
* OMGtechy raises hand
<OMGtechy> am on it now
<ivanskie> i haven't touched Fedora for years, until recently. noticed that it's got its own way of handling ruby versions. so just wondering if anyone is working on their Ruby stuff within Fedora. or is it generally avoided
tomphp has joined #ruby
<OMGtechy> for me, it's a matter of "my desktop env is Fedora, therefore I dev on fedora"
<ivanskie> to me its like o.O -- thats different. so i need not use rbenv now?
<ivanskie> cool so you don't know of any issues with that?
Snickers has quit [Quit: Snickers]
<OMGtechy> no, but I don't do much Ruby dev so I may not be the best to ask :)
aspiers has quit [Ping timeout: 255 seconds]
<ivanskie> ok let me rephrase. what do you do? do you use its own ruby version handling, or still install rbenv and stuff?
<ivanskie> oh ok
<eam> we build a relocatable ruby and develop against that on rhel
dn5 has quit [Quit: leaving]
<ivanskie> whats relocatable ruby again?
<eam> say you deploy an app into /apps/foo-app and you have a ruby in /apps/foo-app/bin/ruby
<eam> maybe /apps/bar-app has a different ruby
<ivanskie> right
<eam> so the ruby is built to look for things like libraries and modules relative to its install location
<eam> rather than
<eam> >> $:
<eam> sigh
<ivanskie> makes sense
eam has quit [Changing host]
eam has joined #ruby
<eam> >> $:
<ruby[bot]> eam: # => ["/execpad/interpreters/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib", "/execpad/inter ...check link for more (https://eval.in/740710)
<ivanskie> no i got it.
<ivanskie> thats cool
<eam> rbenv is neat if you want to change around the default ruby at a system location -- but if you have multiple things going on it becomes important to isolate
<eam> bundle per-app too
mtkd has quit [Read error: Connection reset by peer]
xen0fon has quit [Quit: xen0fon]
mtkd has joined #ruby
mwlang has quit [Quit: mwlang]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mwlang has joined #ruby
ecuanaso has joined #ruby
mogaj has joined #ruby
xen0fon has joined #ruby
A124 has quit [Quit: '']
milardovich has quit []
aspiers has joined #ruby
milardovich has joined #ruby
chouhoulis has quit [Remote host closed the connection]
last_staff has joined #ruby
A124 has joined #ruby
chouhoulis has joined #ruby
mogaj has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
tyang__ has joined #ruby
milardovich has quit [Remote host closed the connection]
tyang_ has quit [Ping timeout: 240 seconds]
browndawg has quit [Quit: Leaving]
milardovich has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
FastJack has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 260 seconds]
cagomez has joined #ruby
mwlang has quit [Quit: mwlang]
bkxd has joined #ruby
jcao219 has quit [Ping timeout: 260 seconds]
Cohedrin has quit [Read error: Connection reset by peer]
szulak has joined #ruby
t-recx has quit [Quit: t-recx]
Cohedrin has joined #ruby
zapata has quit [Quit: WeeChat 1.7]
ldnunes has quit [Quit: Leaving]
mwlang has joined #ruby
tristanp has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Guest79771 has quit [Ping timeout: 240 seconds]
debian_ has joined #ruby
brent__ has quit [Read error: Connection reset by peer]
brent__ has joined #ruby
jcao219 has joined #ruby
millerti has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has joined #ruby
debian_ has quit [Max SendQ exceeded]
raspado has quit [Remote host closed the connection]
Rodya_ has quit [Remote host closed the connection]
debian_ has joined #ruby
debian_ has quit [Read error: Connection reset by peer]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
last_staff has quit [Remote host closed the connection]
last_staff has joined #ruby
nettoweb has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
Emmanuel_Chanel has joined #ruby
last_staff has quit [Remote host closed the connection]
last_staff has joined #ruby
Definity2 has joined #ruby
centrx has quit []
tyang_ has joined #ruby
rwb has quit [Ping timeout: 260 seconds]
sepp2k has quit [Ping timeout: 260 seconds]
jtdoncas has quit [Ping timeout: 240 seconds]
FastJack has joined #ruby
neoncortex has joined #ruby
marxarelli is now known as marxarelli|afk
last_staff has quit [Remote host closed the connection]
tyang_ has quit [Read error: Connection reset by peer]
tyang__ has quit [Ping timeout: 268 seconds]
<neoncortex> hey, what kind of error/bug i need to search when i get: [BUG] rb_gc_mark(): 0x9545200 is T_NONE ?
zapata has joined #ruby
<dminuoso> neoncortex, that's an internal ruby bug
<dminuoso> neoncortex, are you using any native extensions?
tyang has joined #ruby
last_staff has joined #ruby
<neoncortex> yes
<dminuoso> neoncortex, please gist the full output of that error message
gigetoo has joined #ruby
<neoncortex> dminuoso: there is the full output: http://dpaste.com/3R9HME6
last_staff has quit [Remote host closed the connection]
jgnagy has joined #ruby
synthroid has quit []
Xentil has quit [Ping timeout: 268 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tyang has quit [Ping timeout: 268 seconds]
eblip has joined #ruby
<dminuoso> neoncortex, whats the sqlite3 version?
last_staff has joined #ruby
Guest53952 has quit [Remote host closed the connection]
msg has joined #ruby
<neoncortex> 1.3.9-2+b2
msg is now known as Guest86230
Guest86230 has quit [Remote host closed the connection]
jgnagy has quit [Ping timeout: 240 seconds]
biberu has quit []
<neoncortex> dminuoso: it's debian 8, all installed with apt-get
haylon has joined #ruby
rafadc has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
<dminuoso> neoncortex, can you reliably reproduce the issue?
<nofxx> neoncortex, out of curiosity, what ruby -v is coming with debian 8?
<neoncortex> dminuoso: it seems to be random, like: i do the same action in the application x times, then it crash, but the x can be 1, can be 10 ..
<nofxx> kernel 4.4.x ?
<dminuoso> neoncortex, try adding GC.stress = 1
<dminuoso> neoncortex, it will incur a heavy runtime performance but might increase the chance of triggering that issue
CloCkWeRX has joined #ruby
<neoncortex> nofxx: ruby 2.1.5p273 (2014-11-13) [i386-linux-gnu]
<neoncortex> dminuoso: ok
last_staff has quit [Remote host closed the connection]
Gasher has quit [Quit: Leaving]
lonewolf has quit [Ping timeout: 240 seconds]
tildes has joined #ruby
<dminuoso> neoncortex, update your Ruby version
<neoncortex> dminuoso: well, the application will took ages to load with GC.stress = 1
<dminuoso> And see if the problem remains
<dminuoso> neoncortex, yeah. ;-)
wilbert has quit [Ping timeout: 260 seconds]
<nofxx> neoncortex, thanks. Yeah, update ruby is on 2.4.x now
<nofxx> there's a easy to add repo no? to apt
renchan has quit [Remote host closed the connection]
<neoncortex> nofxx: it is
Rodya_ has quit [Ping timeout: 240 seconds]
<dminuoso> nofxx, digitalocean has packages
<nofxx> dminuoso, but adding a repo is nice for future update
<dminuoso> errr wait
anotherpi has joined #ruby
<anotherpi> hello!
<dminuoso> brightbox!
rafadc has joined #ruby
<dminuoso> not digitalocean
skweek has quit [Ping timeout: 255 seconds]
tvw has joined #ruby
<dminuoso> Those seem to be for ubuntu though, but I reckon you can shove it down debians throat.
<nofxx> dminuoso, yup, that's it... just add to apt and update normally
<dminuoso> nofxx, they dont have 2.4 packages though. Is ruby-install an option for you?
<nofxx> dminuoso, it's neoncortex ... I'm happily running 2.4 on archlinx
<neoncortex> i'll try to compile it, probably
<anotherpi> do someone know with the `new` method is removed form classes like Symbol, Float, Integer, Complex, etc.?
<dminuoso> nofxx, same thing!
<dminuoso> nofxx, neoncortex. Whats the difference.
last_staff has joined #ruby
<neoncortex> well xD
<dminuoso> neoncortex, ruby-install will do it for you completely. :)
<dminuoso> neoncortex, anyway, I won't promise that it will magically fix your problem, but updating it has a good chance of fixing it.
<neoncortex> dminuoso: i never used ruby-install so i do not know
jose_leeto has quit [Quit: Leaving.]
<dminuoso> neoncortex, it's very easy to use and probably currently the most popular way to install Ruby on any given system: https://github.com/postmodern/ruby-install
vcavallo_ has joined #ruby
<neoncortex> i see
raspado has joined #ruby
<neoncortex> my processor will melt down before load the application xD
<neoncortex> i'm still waiting it load with GC.stress
last_staff has quit [Remote host closed the connection]
<dminuoso> neoncortex, essentially in stress mode the GC is invoked basically.. everytime Ruby can.
TomyLobo has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Read error: Connection reset by peer]
TomyLobo has joined #ruby
OMGtechy has quit [Remote host closed the connection]
markholmes has joined #ruby
mikecmpbll has joined #ruby
cjk101010 has quit [Ping timeout: 255 seconds]
ruby[bot] has quit [Ping timeout: 255 seconds]
crayfishx has quit [Ping timeout: 255 seconds]
dellavg has quit [Ping timeout: 255 seconds]
sjums has quit [Quit: Connection reset by beer]
electrostat has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
sspreitz has quit [Ping timeout: 255 seconds]
heftig has quit [Quit: No Ping reply in 180 seconds.]
OMGtechy has joined #ruby
sjums has joined #ruby
electrostat has joined #ruby
tvw has quit [Remote host closed the connection]
montanonic has quit [Ping timeout: 240 seconds]
sspreitz has joined #ruby
camilasan has joined #ruby
cjk101010 has joined #ruby
heftig has joined #ruby
aspiers has quit [Ping timeout: 260 seconds]
Slinky_Pete has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dellavg has joined #ruby
d0nn1e has quit [Ping timeout: 260 seconds]
crayfishx has joined #ruby
Slinky_Pete has quit [Ping timeout: 268 seconds]
bkxd has quit [Ping timeout: 240 seconds]
d0nn1e has joined #ruby
<neoncortex> dminuoso: nofxx, thanks, i'll update it and see what happens
LegenTeri has joined #ruby
hays has quit [Remote host closed the connection]
cschneid_ has quit [Read error: Network is unreachable]
cschneid_ has joined #ruby
allisio has joined #ruby
rwb has joined #ruby
rindolf has joined #ruby
<rindolf> Hi all
last_staff has joined #ruby
<OMGtechy> hello :)
<allisio> anotherpi: Do you suppose it makes sense to initialize instances of those classes? What should `Float.new` be?
milardovich has quit []
montanonic has joined #ruby
raspado has quit [Remote host closed the connection]
Burgestrand has joined #ruby
<rindolf> OMGtechy: how are you?
<anotherpi> allisio: not really, but this classes does not respect the Class interface
last_staff has quit [Remote host closed the connection]
<OMGtechy> rindolf, alright thanks, looking at moving role within my company at the moment, so writing a CV / pitch for it. Is exciting stuff. You?
<anotherpi> allisio: if you want to metaprogram, they are special cases
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
last_staff has joined #ruby
<rindolf> OMGtechy: I worked on Freecell Solver today
<rindolf> OMGtechy: made a lot of progress
<OMGtechy> nice :D In Ruby, or something else?
<rindolf> OMGtechy: well, it's not written in ruby mostly
Burgestrand has quit [Ping timeout: 260 seconds]
<OMGtechy> Ah, you're one of my lot ! ;D
nobitanobi has joined #ruby
<OMGtechy> I work in C++ mainly, do a fair bit of C, and dabble in other languages along the way (including Ruby most recently)
last_staff has quit [Remote host closed the connection]
<rindolf> OMGtechy: ah
<rindolf> OMGtechy: what do you write in C++?
harai_ has quit [Ping timeout: 255 seconds]
<OMGtechy> Debugger, profiler, that kinda stuff
tildes has quit [Ping timeout: 240 seconds]
<rindolf> OMGtechy: ah, open source ones?
jenrzzz has quit [Ping timeout: 240 seconds]
tildes has joined #ruby
<OMGtechy> Sadly not -> https://www.allinea.com/
last_staff has joined #ruby
<OMGtechy> It's targeted at HPC / Supercomputers
nobitanobi has quit [Ping timeout: 268 seconds]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
<allisio> anotherpi: That's a fair assessment, but `Integer.new` would be a lie; that is, it wouldn't actually be a "constructor" in the technical sense of the term.
blackmes1 has joined #ruby
nowhereman has quit [Ping timeout: 240 seconds]
hahuang65 has quit [Ping timeout: 255 seconds]
last_staff has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 260 seconds]
wilbert has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
vcavallo_ has quit [Remote host closed the connection]
<anotherpi> allisio: why a lie? Integer is a class, `1` is an instance of this class; we could say that `1` is a syntaxic sugar for `Integer.new(1)` if you think pure object.
<allisio> anotherpi: Negative.
<anotherpi> allisio: :o
ramortegui has quit [Quit: Ex-Chat]
<allisio> anotherpi: It wouldn't be *constructing* anything.
Slinky_Pete has joined #ruby
<allisio> All of the 1s in Ruby are the exact same tagged pointer.
<anotherpi> allisio: don't confuse Ruby and the MRI implementation
<allisio> anotherpi: Fair enough, but still.
nowhereman has joined #ruby
<allisio> Are there any implementations that permit the definition of singleton methods on Integers?
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<anotherpi> #=> TypeError: can't define singleton
<anotherpi> allisio: you are right on this point
<anotherpi> so, is Integer a class?
<allisio> anotherpi: I meant only to demonstrate that all of the 1s in Ruby are definitionally equivalent, thereby causing `Integer#new` to be a "lie".
<OMGtechy> Before asking whether it's a class, one must choose a definition of class
<OMGtechy> if being a class is "can call new on it", then it's a class, but that's a very narrow definition :)
hutch34 has quit [Ping timeout: 240 seconds]
<rindolf> OMGtechy: i see
<anotherpi> OMGtechy: true, but i does not respect the Class inteface, it's not a Class duck type either
last_staff has joined #ruby
<allisio> anotherpi: I appreciate that the asymmetry is a little unfortunate, but it strikes me as a necessary "evil".
<anotherpi> sorry, not sure about my 'either' use (i'm not english native)
<allisio> You probably wanted a "nor", but your meaning came through clearly enough.
<allisio> Just to hammer it home, are you quite sure you'd want this list to be empty? https://eval.in/740724
<anotherpi> allisio: agreed, i'm just interogate
<OMGtechy> anotherpi, made perfect sense :) I agree with you; if your definition of "is a" is being able to use the substitution principle, then it doesn't fit
<allisio> The only one I don't like in there is UnboundMethod; that one should have a constructor that takes a Proc/block.
fuzzyhorns1 has quit [Quit: Leaving.]
harai_ has joined #ruby
<allisio> `Encoding.new` would be interesting, but I don't think anyone's missing it.
tildes has quit [Ping timeout: 268 seconds]
<LegenTeri> If everything in ruby is an object, why are variables not objects?
<allisio> LegenTeri: How do you mean?
workmad3 has quit [Ping timeout: 240 seconds]
aspiers has joined #ruby
<LegenTeri> I've been reading programming books, twice I've seen "everything in ruby is an object". A while ago I was reading about arrays and it said to remember that variables are not objects, as an array can't point to a variable
<anotherpi> LegenTeri: they are not object because they are not a representation on something, just a pointer to an object :)
<LegenTeri> I'm trying to get a better grasp of all the terms, like methods, variables, objects, ..etc
<allisio> Some variables are both objects *and* references.
harai_ has quit [Read error: Connection reset by peer]
<allisio> The values identified by such variables, to be technically precise.
<dminuoso> LegenTeri, Everything in Ruby except variables, methods and blocks are objects.
msg has joined #ruby
montanonic has quit [Ping timeout: 255 seconds]
msg is now known as Guest33828
<dminuoso> Well, methods are kind of an etchy case though.
harai_ has joined #ruby
rafadc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<anotherpi> dminuoso: blocks too, they have an object representation: Proc
<allisio> dminuoso: Aren't methods and variables "objects" in the same way?
<anotherpi> but Procs are not blocks
harai_ has quit [Read error: Connection reset by peer]
<LegenTeri> ok thanks guys
<OMGtechy> LegenTeri, note that such terms change between languages
<dminuoso> anotherpi, the distinction is important. blocks are basically just an optimization to avoid unnecessary object creation.
Rodya_ has joined #ruby
<anotherpi> blocks have meaning only for Ruby code/Ruby parser, not for the Ruby VM
<anotherpi> am i right?
<allisio> Way off.
<LegenTeri> So technically not everything in ruby is an object, reading stuff like that throws me off.
harai_ has joined #ruby
<dminuoso> anotherpi, no.
<dminuoso> anotherpi, essentially a block is actually very close to what happens inside the VM
<allisio> LegenTeri: It's a simplification with a view to not overwhelming newcomers.
<dminuoso> anotherpi, and a proc is an object with a block attached.
rafadc has joined #ruby
marxarelli|afk is now known as marxarelli
hunter12 has joined #ruby
<LegenTeri> Makes sense. thanks
hunter12 has left #ruby [#ruby]
<baweaver> hunter12: all I see if ******
<anotherpi> dminuoso: but there is no code inside a Proc, only bytecode
<dminuoso> asm>> foo { do_stuff }
<dminuoso> Let's hope eval.in is working
<dminuoso> asm>> foo { do_stuff }
<dminuoso> asm>> foo { do_stuff }
* dminuoso kicks rub
<dminuoso> Where is our ruby bot :(
<baweaver> !botsnack
<baweaver> hrm
<baweaver> !seen ruby[bot]
* baweaver shrugs
rafadc has quit [Read error: Connection reset by peer]
<dminuoso> anotherpi, https://repl.it/Fs2C/0
harai_ has quit [Read error: Connection reset by peer]
<baweaver> mentioned it to said owners
rafadc has joined #ruby
hunter12 has joined #ruby
<dminuoso> anotherpi, essentially ruby creates a separate iseq for blocks
hunter12 has left #ruby [#ruby]
Guest33828 has quit [Remote host closed the connection]
Rodya_ has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
khaki has joined #ruby
harai_ has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
<anotherpi> dminuoso: assuming i understood, you shown me how the MRI works internally, however seems to be out of the Ruby object world
montanonic has joined #ruby
jcao219 has quit [Ping timeout: 240 seconds]
harai_ has quit [Read error: Connection reset by peer]
LegenTeri is now known as Kaneki
harai_ has joined #ruby
<allisio> anotherpi: If Block were a class, it would (have to?) be completely synonymous with Proc.
jdm has quit [Remote host closed the connection]
<anotherpi> allisio: blocks are not object for me
<allisio> anotherpi: Nor anyone who knows Ruby.
wilbert has quit [Ping timeout: 260 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<anotherpi> well, thank you everyone for this discussion
<anotherpi> have to go!
<anotherpi> see you
<allisio> Au revoir.
<anotherpi> damn IP
anotherpi has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
harai_ has quit [Read error: Connection reset by peer]
<allisio> A humorous coincidence.
harai_ has joined #ruby
TomyLobo has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harai_ has quit [Read error: Connection reset by peer]
aspiers has quit [Ping timeout: 240 seconds]
nowhereman has quit [Ping timeout: 240 seconds]
harai_ has joined #ruby
__Yiota has joined #ruby
jhack has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
Lord_of_Life has quit [Excess Flood]
harai_ has quit [Read error: Connection reset by peer]
aspiers has joined #ruby
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enterprisey has quit [Remote host closed the connection]
harai_ has joined #ruby
Lord_of_Life has joined #ruby
harai_ has quit [Read error: Connection reset by peer]
OMGtechy has quit [Quit: Leaving]
harai_ has joined #ruby
gsilva has quit [Quit: Leaving]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
saneax-_-|AFK is now known as saneax
cdg_ has joined #ruby
harai_ has quit [Read error: Connection reset by peer]
cdg has quit [Ping timeout: 240 seconds]
mwlang has quit [Quit: mwlang]
harai_ has joined #ruby
__Yiota has joined #ruby
padi_ has joined #ruby
last_staff has quit [Remote host closed the connection]
koldbrutality has joined #ruby
toretore has quit [Ping timeout: 240 seconds]
last_staff has joined #ruby
aspiers has quit [Ping timeout: 260 seconds]
harai_ has quit [Read error: Connection reset by peer]
jtdoncas has joined #ruby
mogaj has joined #ruby
last_staff has quit [Remote host closed the connection]
last_staff has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
haylon has quit [Quit: Leaving]
gheegh has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
mogaj has quit [Ping timeout: 240 seconds]
last_staff has quit [Remote host closed the connection]
jtdoncas has quit [Ping timeout: 260 seconds]
sniffer has quit [Ping timeout: 260 seconds]
blackmes1 has joined #ruby
sniffer has joined #ruby
last_staff has joined #ruby
cdg_ has quit [Read error: Connection reset by peer]
mim1k has quit [Ping timeout: 255 seconds]
cdg has joined #ruby
linduxed has quit [Ping timeout: 264 seconds]
raspado has joined #ruby
last_staff has quit [Remote host closed the connection]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
harai_ has joined #ruby
esObe has quit [Remote host closed the connection]
esObe has joined #ruby
aryaching has joined #ruby
is_null has quit [Quit: github.com/jpic]
bmurt has joined #ruby
last_staff has joined #ruby
jtdoncas has joined #ruby
barnett has joined #ruby
esObe has quit [Ping timeout: 240 seconds]
[Butch]_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
ur5us has quit [Remote host closed the connection]
harai_ has quit [Read error: Connection reset by peer]
ruby[bot] has joined #ruby
is_null has joined #ruby
is_null has joined #ruby
is_null has quit [Changing host]
shwouchk has quit [Quit: Connection closed for inactivity]
hays has joined #ruby
hays has joined #ruby
hays has quit [Changing host]
jenrzzz has joined #ruby
jdm has joined #ruby
harai_ has joined #ruby
[Butch] has quit [Ping timeout: 240 seconds]
[Butch]_ is now known as [Butch]
sniffer has quit [Ping timeout: 245 seconds]
benlieb has joined #ruby
pwnd_nsfw has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 240 seconds]
aspiers has joined #ruby
Rodya_ has quit [Ping timeout: 240 seconds]
harai_ has quit [Read error: Connection reset by peer]
Kaneki has quit [Ping timeout: 240 seconds]
last_staff has quit [Remote host closed the connection]
pacharanero has joined #ruby