havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.4, 2.5.6, 2.7.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
AJA4350 has quit [Remote host closed the connection]
davidw_ has quit [Ping timeout: 276 seconds]
AJA4350 has joined #ruby
duderonomy has joined #ruby
duderonomy is now known as Guest15479
Guest15479 has quit [Client Quit]
duderono_ has joined #ruby
jottr__ has joined #ruby
duderono_ has quit [Client Quit]
duderono_ has joined #ruby
greengriminal has joined #ruby
etupat has quit [Remote host closed the connection]
jottr__ has quit [Ping timeout: 268 seconds]
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x86sk has joined #ruby
jottr__ has joined #ruby
duderono_ has quit [Read error: Connection reset by peer]
duderono_ has joined #ruby
DaRock has joined #ruby
jottr__ has quit [Ping timeout: 245 seconds]
mre- has quit [Ping timeout: 276 seconds]
dr_mdma_md has joined #ruby
etupat has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
etupat has quit [Ping timeout: 265 seconds]
ramfjord has joined #ruby
mroutis has joined #ruby
jottr__ has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
jottr__ has quit [Ping timeout: 240 seconds]
duderono_ has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
duderonomy is now known as Guest28028
Intelo has quit [Ping timeout: 240 seconds]
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
etupat has joined #ruby
queip has quit [Ping timeout: 268 seconds]
queip has joined #ruby
mre- has joined #ruby
bambanx has quit [Quit: Leaving]
codefriar has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
meinside has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
akemacer has quit [Ping timeout: 240 seconds]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
akemacer has joined #ruby
greengriminal has quit [Quit: Leaving]
tsujp has joined #ruby
dinfuehr has quit [Ping timeout: 268 seconds]
dinfuehr has joined #ruby
etupat has quit [Remote host closed the connection]
renich has quit [Ping timeout: 268 seconds]
beanie__ has quit [Ping timeout: 240 seconds]
etupat has joined #ruby
dr_mdma_md has quit []
etupat has quit [Ping timeout: 240 seconds]
donofrio has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
smurfendrek123 has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
drincruz has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
nahra`` has joined #ruby
DTZUZU has quit [Ping timeout: 265 seconds]
nahra` has quit [Ping timeout: 265 seconds]
mre- has quit [Ping timeout: 240 seconds]
elphe has joined #ruby
DTZUZU has joined #ruby
brool has quit [Ping timeout: 276 seconds]
Guest28028 has quit [Read error: Connection reset by peer]
elphe has quit [Ping timeout: 265 seconds]
duderonomy has joined #ruby
duderonomy is now known as Guest47738
AJA4350 has quit [Quit: AJA4350]
dinfuehr has quit [Ping timeout: 240 seconds]
drincruz_ has joined #ruby
dinfuehr has joined #ruby
i9zO5AP has quit [Ping timeout: 240 seconds]
drincruz has quit [Ping timeout: 240 seconds]
cyclonis has quit [Read error: Connection reset by peer]
smurfendrek123 has joined #ruby
drincruz has joined #ruby
drincruz_ has quit [Ping timeout: 265 seconds]
Guest47738 has quit [Read error: Connection reset by peer]
duderono_ has joined #ruby
elphe has joined #ruby
Emmanuel_Chanel has joined #ruby
cyclonis has joined #ruby
jottr__ has joined #ruby
jottr__ has quit [Ping timeout: 240 seconds]
elphe has quit [Quit: Lost terminal]
ns5 has quit [Quit: Leaving.]
Swyper has quit [Remote host closed the connection]
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr__ has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drincruz_ has joined #ruby
jottr__ has quit [Ping timeout: 265 seconds]
drincruz has quit [Ping timeout: 265 seconds]
smurfendrek123 has quit [Ping timeout: 265 seconds]
CrazyEddy has joined #ruby
drincruz has joined #ruby
drincruz_ has quit [Ping timeout: 276 seconds]
sarink has joined #ruby
orbyt_ has joined #ruby
jackkall has joined #ruby
sarink has quit []
kyrylo has joined #ruby
Intelo has joined #ruby
jottr__ has joined #ruby
codefriar has joined #ruby
jottr__ has quit [Ping timeout: 240 seconds]
dellavg has joined #ruby
johnny56_ has quit [Remote host closed the connection]
mjappleson has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drincruz has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
mroutis has quit [Quit: leaving]
Intelo has quit [Ping timeout: 240 seconds]
suukim has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
mre- has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
esrse has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
kyrylo has joined #ruby
Intelo has joined #ruby
kyrylo has quit [Client Quit]
jacksoow has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
mjappleson has quit [Remote host closed the connection]
jacksoow_ has quit [Ping timeout: 240 seconds]
gix- has quit [Ping timeout: 245 seconds]
DaRock has quit [Ping timeout: 265 seconds]
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xco has joined #ruby
xco has quit [Client Quit]
xco has joined #ruby
jackkall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tsujp has joined #ruby
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Intelo has quit [Ping timeout: 240 seconds]
thebananaking has quit [Quit: Connection closed for inactivity]
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
jenrzzz has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
suukim has quit [Quit: Konversation terminated!]
dinfuehr has joined #ruby
kyrylo has joined #ruby
blackmesa1 has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa1 has quit [Ping timeout: 276 seconds]
paprika has joined #ruby
ur5us has quit [Ping timeout: 265 seconds]
paprika has quit [Client Quit]
sauvin has joined #ruby
majeure has quit [Remote host closed the connection]
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
duderono_ has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
duderonomy is now known as Guest64407
blackmesa1 has joined #ruby
blackmesa1 has quit [Ping timeout: 245 seconds]
tdy2 has joined #ruby
drincruz has joined #ruby
cyclonis has quit [Read error: Connection reset by peer]
tdy3 has joined #ruby
tdy2 has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
thebananaking has joined #ruby
dbugger has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
NL3limin4t0r_afk is now known as NL3limin4t0r
hutch1 has joined #ruby
etupat has joined #ruby
andikr has joined #ruby
etupat has quit [Ping timeout: 240 seconds]
schne1der has joined #ruby
jenrzzz has joined #ruby
reyfi9e has quit [Ping timeout: 245 seconds]
hutch1 has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
TomyWork has joined #ruby
blackmesa has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 245 seconds]
gnufr33d0m has quit [Ping timeout: 240 seconds]
queip has joined #ruby
luat1203 has joined #ruby
luat1203 has quit [Client Quit]
reyfi9e has joined #ruby
jackkall has joined #ruby
kyrylo has quit [Ping timeout: 265 seconds]
reyfi9e has quit [Ping timeout: 240 seconds]
pablo_ has joined #ruby
reyfi9e has joined #ruby
silviu16 has joined #ruby
jackkall has quit [Quit: Textual IRC Client: www.textualapp.com]
fphilipe has joined #ruby
silviu15 has quit [Read error: Connection reset by peer]
fphilipe has quit [Read error: Connection reset by peer]
fphilipe has joined #ruby
<phaul> it wasn't a nicely written RSpec anyway
<phaul> although the code is just as hard to follow
<pablo_> Hey guys do you know how can you get the max positive integer you can represent on a ruby vm without resorting to BigInteger representation?
Intelo has joined #ruby
blackmesa has quit [Remote host closed the connection]
blackmesa has joined #ruby
kyrylo has joined #ruby
NL3limin4t0r has quit [Ping timeout: 265 seconds]
NL3limin4t0r has joined #ruby
reyfi9e has quit [Read error: Connection reset by peer]
Intelo_ has joined #ruby
reyfi9e has joined #ruby
queip has quit [Ping timeout: 265 seconds]
Intelo has quit [Ping timeout: 240 seconds]
<leftylink> surprise, since I have just discovered that for sufficiently small integers i, i.object_id == 2 * i + 1, maybe that can be used. I'd (1..2**128).bsearch { |x| whatever } or osmething
pablo__ has joined #ruby
queip has joined #ruby
<leftylink> "wow, ray, that sounds maybe implementation specific and you maybe shouldn't do that"
<pablo__> leftylink, I know, I just want to generate a big integer number
<pablo__> without using a lot of memory
pablo_ has quit [Ping timeout: 245 seconds]
<phaul> 2 ** 62 - 1 here
<pablo__> a random number
<leftylink> I just tried the way I described
<leftylink> and it worked
<leftylink> so you can do the same
<leftylink> well
<leftylink> shit, how do I even kon wit worked?
<leftylink> maybe I'm being deceived
<pablo__> sorry I got disconnected in between
<leftylink> it's not like I can tell anymore
<leftylink> so
<leftylink> I mean, the answer I got was reasonable
<pablo__> phaul, thats for 64 bits only
<leftylink> since the boundary was a power of two
<leftylink> but who knows if I got it right
blackmesa has quit [Remote host closed the connection]
<phaul> pablo__: sure.
<pablo__> looking at the C code it looks you are write
<NL3limin4t0r> Found this with a simple duckduck search: https://gist.github.com/pithyless/9738125
DaRock has joined #ruby
<phaul> ruby 2.4 removed all of that when it got unified under Integer
<leftylink> yeah, so if we want to know "under the hood do I have a bignum or not????" I didn't find any other way other than the object_id thing
<leftylink> oh ha
<leftylink> you know another way that isn't dependent on how integers map to object IDs?
<leftylink> just create the integer twice
<leftylink> if the object ID is the same both times
<leftylink> then it's not big
<leftylink> I'm willing to trust this one
<pablo__> Well
<pablo__> ObjectSpace::memsize_of(2 ** 62 - 1) # 0
<pablo__> ObjectSpace::memsize_of(2 ** 62) # 40
<pablo__> So yeah, you were right all along
queip has quit [Quit: bye, freenode]
postmodern has quit [Quit: Leaving]
queip has joined #ruby
Ai9zO5AP has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<phaul> &>> :a.object_id.to_s(16).end_with?('c')
<rubydoc> # => true (https://carc.in/#/r/7n17)
tdy3 has quit [Ping timeout: 265 seconds]
<pablo__> &&> ObjectSpace::memsize_of(2 ** 62 - 1)
<rubydoc> parser error at position 0 around `&'
<pablo__> &>> ObjectSpace::memsize_of(2 ** 62 - 1)
<rubydoc> stderr: -e:2:in `<main>': undefined method `memsize_of' for ObjectSpace:Module (NoMethodError)... check link for more (https://carc.in/#/r/7n18)
<pablo__> fuck
<pablo__> &>> require 'objspace'; ObjectSpace::memsize_of(2 ** 62 - 1)
<rubydoc> # => 0 (https://carc.in/#/r/7n19)
<pablo__> quite clunky
<pablo__> &>> require 'etc'; Etc.uname
<rubydoc> stderr: playpen: application terminated abnormally with signal 31 (Bad system call) (https://carc.in/#/r/7n1a)
jenrzzz has joined #ruby
<pablo__> &>> RUBY_PLATFORM
<rubydoc> # => "x86_64-linux" (https://carc.in/#/r/7n1b)
jenrzzz has quit [Ping timeout: 240 seconds]
TomyWork has quit [Remote host closed the connection]
<pablo__> &>> 'rbconfig'; RbConfig::CONFIG['CC_VERSION_MESSAGE']_MESSAGE']"
<rubydoc> stderr: -e:2: syntax error, unexpected tIDENTIFIER, expecting end... check link for more (https://carc.in/#/r/7n1c)
<pablo__> &>> require 'rbconfig'; RbConfig::CONFIG['CC_VERSION_MESSAGE']_MESSAGE']"
<rubydoc> stderr: -e:2: syntax error, unexpected tIDENTIFIER, expecting end... check link for more (https://carc.in/#/r/7n1d)
<pablo__> &>> require 'rbconfig'; RbConfig::CONFIG['CC_VERSION_MESSAGE']_MESSAGE']
<rubydoc> stderr: -e:2: syntax error, unexpected tIDENTIFIER, expecting end... check link for more (https://carc.in/#/r/7n1e)
<pablo__> &>> require 'rbconfig'; RbConfig::CONFIG['CC_VERSION_MESSAGE']
<rubydoc> # => "gcc (GCC) 8.2.1 20181127\nCopyright (C) 2018 Free Software Foundation, Inc.\nThis is free software; see... check link for more (https://carc.in/#/r/7n1f)
TomyWork has joined #ruby
<phaul> you can priv msg the bot if you want to, and if you have something that works or you want to demonstrate you can show us
<pablo__> OK
<pablo__> I didn't wanted to spam
<pablo__> sorry
pablo__ has quit [Quit: Leaving]
queip_ has joined #ruby
jenrzzz has joined #ruby
Guest64407 has quit [Read error: Connection reset by peer]
queip has quit [Ping timeout: 265 seconds]
queip_ is now known as queip
duderonomy has joined #ruby
duderonomy is now known as Guest57498
smurfendrek123 has joined #ruby
queip has quit [Ping timeout: 268 seconds]
DaRock has quit [Quit: No Ping reply in 180 seconds.]
DaRock has joined #ruby
smurfendrek123 has quit [Ping timeout: 245 seconds]
Arahael has joined #ruby
queip has joined #ruby
esrse has quit [Ping timeout: 245 seconds]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
thebananaking has quit [Quit: Connection closed for inactivity]
ur5us has joined #ruby
ur5us_ has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
queip has quit [Ping timeout: 245 seconds]
xco has quit [Quit: xco]
BH23 has joined #ruby
queip has joined #ruby
Omnilord has joined #ruby
jottr__ has joined #ruby
ellcs has joined #ruby
za1b1tsu has joined #ruby
queip has quit [Ping timeout: 240 seconds]
i9zO5AP has joined #ruby
Ai9zO5AP has quit [Ping timeout: 265 seconds]
fphilipe has quit [Read error: Connection reset by peer]
queip has joined #ruby
jenrzzz has joined #ruby
fphilipe has joined #ruby
fphilipe has quit [Read error: Connection reset by peer]
fphilipe has joined #ruby
blackmesa has quit [Quit: WeeChat 2.6]
Omnilord has quit [Quit: Leaving]
dasher00 has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DaRock has quit [Read error: Connection reset by peer]
mre- has joined #ruby
Kilo`byte has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
kyrylo has joined #ruby
jottr__ has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
queip has quit [Ping timeout: 245 seconds]
TomyWork has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
queip has joined #ruby
hightower2 has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
tdy3 has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 265 seconds]
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe has quit [Read error: Connection reset by peer]
tdy4 has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
tdy has joined #ruby
tdy3 has quit [Ping timeout: 240 seconds]
tdy4 has quit [Ping timeout: 245 seconds]
nima_m has joined #ruby
Bish has joined #ruby
<Bish> has the behaviour of Time#to_i been changed?
<Bish> or the one of Time.at
Swyper has quit [Remote host closed the connection]
ellcs has quit [Remote host closed the connection]
<phaul> &>> Time.at(0)
<rubydoc> # => 1970-01-01 00:00:00 +0000 (https://carc.in/#/r/7n1t)
<phaul> &20>> Time.at(0)
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
<rubydoc> # => 1970-01-01 00:00:00 +0000 (https://carc.in/#/r/7n1u)
<phaul> so 2.0 matches 2.6
ur5us_ has quit [Remote host closed the connection]
ur5us has joined #ruby
jinie has joined #ruby
ur5us has quit [Ping timeout: 245 seconds]
TomyWork has joined #ruby
<nima_m> hi i want to code a kind of fsm that have 3 state and start state is a final state too i have problem with code where changing state after condition changing any help appreciate
<havenwood> nima_m: can you share what you have so far?
chalkmonster has joined #ruby
<nima_m> i want to code this in ruby
gigetoo has quit [Ping timeout: 265 seconds]
olspookishmagus has quit [Quit: All for nothing]
rafadc_ has joined #ruby
rafadc has quit [Ping timeout: 265 seconds]
tdy has quit [Ping timeout: 265 seconds]
queip has quit [Ping timeout: 246 seconds]
queip has joined #ruby
rafadc_ has quit [Read error: Connection reset by peer]
Fischmiep has joined #ruby
rafadc has joined #ruby
smurfendrek123 has joined #ruby
x86sk has quit [Quit: Connection closed for inactivity]
<havenwood> nima_m: do you have anything started?
<havenwood> nima_m: or no Ruby code yet?
<nima_m> yes i code a little in python
jottr_ has joined #ruby
dbugger has quit [Read error: Connection reset by peer]
dbugger has joined #ruby
jottr_ has quit [Ping timeout: 268 seconds]
<phaul> If you are completely new to ruby and the syntax is new to you this might be too complex for a first exercise
<phaul> nima_m: ^
fphilipe has joined #ruby
Fischmiep has quit [Ping timeout: 245 seconds]
tsujp has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
jottr_ has joined #ruby
dionysus70 has joined #ruby
<phaul> :) sleep Math::E
DaRock has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
dionysus70 is now known as dionysus69
Fischmiep has joined #ruby
drincruz has quit [Ping timeout: 276 seconds]
Guest57498 has quit [Read error: Connection reset by peer]
<havenwood> :
<havenwood> :)
duderonomy has joined #ruby
duderonomy is now known as Guest14595
<Bish> should ruby show timezone offsets with Time.at and Time.new?
<phaul> self plug: https://github.com/phaul/mealy could be used too although you would be the only user :)
<Bish> does it respect environmentvariables in that regard?
<havenwood> phaul: nice! starred.
<phaul> thanks
gigetoo has joined #ruby
<havenwood> Bish: On my machine: Time.at(0).utc_offset #=> -28800
<havenwood> &>> Time.at(0).utc_offset
<rubydoc> # => 0 (https://carc.in/#/r/7n2n)
queip has quit [Ping timeout: 245 seconds]
<nima_m> thanks alot👍🏻
queip has joined #ruby
Intelo_ has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
jenrzzz has joined #ruby
Fischmiep has quit [Ping timeout: 240 seconds]
jottr_ has quit [Read error: Connection reset by peer]
Intelo has joined #ruby
smurfendrek123 has quit [Ping timeout: 240 seconds]
hightower2 has joined #ruby
stryek has joined #ruby
AJA4350 has joined #ruby
<Bish> bleeeeeh my docker container stopped providing information about timezone
<Bish> resulting in datetimes from the database to be utc
<Bish> and maybe even TO the database
<Bish> this will be horriblöe
olspookishmagus has joined #ruby
<Bish> fuuuuuck why didnt i become a refuse collector
<havenwood> bertocq[m]: eek
<havenwood> Bish: eek
<havenwood> Bish: GCs are hard too.
<havenwood> Bish: I guess if you can find when it started you can fix the offset. That's no fun.
queip has quit [Ping timeout: 240 seconds]
cd has quit [Quit: cd]
hutch1 has joined #ruby
queip has joined #ruby
zapata has quit [Quit: WeeChat 2.5]
NL3limin4t0r has quit [Ping timeout: 240 seconds]
NL3limin4t0r has joined #ruby
Intelo has quit [Ping timeout: 245 seconds]
dionysus69 has quit [Remote host closed the connection]
queip has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
lucasb has joined #ruby
keden has quit [Quit: WeeChat 2.5]
keden has joined #ruby
ramfjord has joined #ruby
queip has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Fusl has quit [Max SendQ exceeded]
Fusl has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
<Bish> i dont know updating a whole databases timestamps sounds iffy
<Bish> better just live with the consequences
griffindy has joined #ruby
beanie__ has joined #ruby
smurfendrek123 has joined #ruby
grilix has joined #ruby
gigetoo has quit [Ping timeout: 240 seconds]
griffindy has quit [Quit: Textual IRC Client: www.textualapp.com]
mre- has joined #ruby
fphilipe has quit [Read error: Connection reset by peer]
davidw_ has joined #ruby
jenrzzz has joined #ruby
fphilipe has joined #ruby
Fischmiep has joined #ruby
davidw_ has quit [Ping timeout: 240 seconds]
xco has joined #ruby
Intelo has joined #ruby
Fischmiep has quit [Ping timeout: 268 seconds]
queip has quit [Ping timeout: 240 seconds]
mre- has quit [Ping timeout: 240 seconds]
smurfendrek123 has quit [Ping timeout: 240 seconds]
mre- has joined #ruby
eclm has joined #ruby
smurfendrek123 has joined #ruby
queip has joined #ruby
etupat has joined #ruby
za1b1tsu has joined #ruby
etupat has quit [Ping timeout: 245 seconds]
drincruz has joined #ruby
xco has quit [Quit: xco]
smurfendrek123 has quit [Remote host closed the connection]
deathwishdave has joined #ruby
fphilipe has quit [Read error: Connection reset by peer]
smurfendrek123 has joined #ruby
fphilipe has joined #ruby
<deathwishdave> hello
<phaul> hi deathwishdave
<deathwishdave> if i pass an argument into this program, why am i not then prompted for user input? https://repl.it/repls/MediumpurpleHospitableFilesize
Technodrome has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jottr has quit [Quit: WeeChat 2.5]
queip has quit [Ping timeout: 268 seconds]
drincruz has quit [Ping timeout: 276 seconds]
queip has joined #ruby
<phaul> &ri Kernel#gets
gigetoo has joined #ruby
etupat has joined #ruby
<phaul> you could use explicit file io like STDIN.gets
<phaul> &ri IO#gets
<phaul> compare the docs
drincruz has joined #ruby
<deathwishdave> phaul thanks
<phaul> unrelated suggestion : unless ARGV.length == 1 ...
xco has joined #ruby
<phaul> deathwishdave: yw
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
etupat has quit [Remote host closed the connection]
gnufr33d0m has joined #ruby
<phaul> you can also combine the exit and the puts into Kernel#abort
etupat has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
<phaul> so abort "incorrect number of arguments" unless ARGV.length == 1 is quite readable
hutch1 has quit [Ping timeout: 264 seconds]
nahra`` has quit [Remote host closed the connection]
<deathwishdave> phaul ta, working now!
nahra has joined #ruby
etupat has quit [Ping timeout: 265 seconds]
kyrylo has joined #ruby
queip has quit [Ping timeout: 245 seconds]
etupat has joined #ruby
drincruz has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Ping timeout: 246 seconds]
drincruz has joined #ruby
queip has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
greengriminal has joined #ruby
nima_m has quit [Quit: Connection closed for inactivity]
Intelo has quit [Ping timeout: 240 seconds]
mre- has joined #ruby
Emmanuel_Chanel has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
claw has quit [Read error: Connection reset by peer]
mre- has joined #ruby
dretnx has joined #ruby
Intelo has joined #ruby
etupat has quit [Remote host closed the connection]
vondruch has quit [Ping timeout: 245 seconds]
etupat has joined #ruby
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
Swyper has joined #ruby
Intelo has quit [Ping timeout: 245 seconds]
Intelo has joined #ruby
queip has quit [Ping timeout: 240 seconds]
etupat has quit [Remote host closed the connection]
queip has joined #ruby
etupat has joined #ruby
Technodrome has quit [Ping timeout: 265 seconds]
etupat has quit [Ping timeout: 245 seconds]
davidw_ has joined #ruby
Yxhuvud has quit [Read error: Connection reset by peer]
Yxhuvud has joined #ruby
claw has joined #ruby
deathwishdave has quit [Ping timeout: 265 seconds]
gigetoo has quit [Ping timeout: 276 seconds]
gigetoo has joined #ruby
etupat has joined #ruby
banisterfiend has joined #ruby
BH23 has quit [Ping timeout: 265 seconds]
Technodrome has joined #ruby
hutch1 has joined #ruby
claw has quit [Remote host closed the connection]
ropeney has quit [Ping timeout: 265 seconds]
ropeney has joined #ruby
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
claw has joined #ruby
Guest14595 has quit [Read error: Connection reset by peer]
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
duderonomy has joined #ruby
Intelo has quit [Ping timeout: 245 seconds]
duderonomy is now known as Guest91898
catbusters has joined #ruby
DaRock has quit [Ping timeout: 245 seconds]
pvalena has joined #ruby
etupat has quit [Ping timeout: 252 seconds]
pvalena has quit [Quit: leaving]
Guest91898 has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
duderono_ has joined #ruby
NL3limin4t0r is now known as NL3limin4t0r_afk
queip has quit [Ping timeout: 265 seconds]
m3ssia has quit [Quit: ZNC 1.6.3+deb1ubuntu0.2 - http://znc.in]
gigetoo has quit [Ping timeout: 240 seconds]
MrCrackPotBuilde has quit [Remote host closed the connection]
postmodern has joined #ruby
etupat has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
baojg_ has quit [Remote host closed the connection]
m3ssia has joined #ruby
MrCrackPotBuilde has joined #ruby
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
gigetoo has joined #ruby
baojg has quit [Remote host closed the connection]
queip has joined #ruby
kyrylo has joined #ruby
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
TomyWork has quit [Ping timeout: 246 seconds]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
tdy has joined #ruby
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
etupat has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
etupat has joined #ruby
baojg has joined #ruby
duderono_ has quit [Read error: Connection reset by peer]
baojg has quit [Remote host closed the connection]
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
andikr has quit [Ping timeout: 265 seconds]
krandi has joined #ruby
duderono_ has joined #ruby
baojg has joined #ruby
Swyper has quit [Remote host closed the connection]
DTZUZO has joined #ruby
baojg has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 265 seconds]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
AJA4351 has joined #ruby
krandi has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
rippa has joined #ruby
hutch1 has quit [Ping timeout: 252 seconds]
dretnx has quit [Ping timeout: 265 seconds]
mre- has quit [Ping timeout: 245 seconds]
mre- has joined #ruby
etupat has quit [Remote host closed the connection]
dretnx has joined #ruby
etupat has joined #ruby
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
Swyper has quit [Remote host closed the connection]
Technodrome has quit [Read error: No route to host]
mre- has joined #ruby
gnufied has quit [Remote host closed the connection]
hutch1 has joined #ruby
Swyper has joined #ruby
gigetoo has quit [Ping timeout: 245 seconds]
gnufied has joined #ruby
tdy1 has joined #ruby
jacksoow has quit [Ping timeout: 246 seconds]
etupat has quit [Remote host closed the connection]
Swyper has quit [Remote host closed the connection]
etupat has joined #ruby
hutch1 has quit [Ping timeout: 276 seconds]
queip has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
tdy has quit [Ping timeout: 268 seconds]
salinasc has joined #ruby
orbyt_ has joined #ruby
greengriminal has quit [Quit: Leaving]
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
ellcs has joined #ruby
greengriminal has joined #ruby
salinasc has quit [Client Quit]
Swyper has quit [Remote host closed the connection]
queip has joined #ruby
salinasc has joined #ruby
fphilipe has quit [Read error: Connection reset by peer]
etupat has quit [Remote host closed the connection]
gigetoo has joined #ruby
etupat has joined #ruby
Swyper has joined #ruby
etupat has quit [Read error: Connection reset by peer]
etupat has joined #ruby
mroutis has joined #ruby
hutch1 has joined #ruby
mre- has quit [Ping timeout: 265 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
wildtrees has joined #ruby
wildtrees has quit [Max SendQ exceeded]
schne1der has quit [Ping timeout: 268 seconds]
<havenwood> I feel bad we didn't syntax highlight. Work in progress. :)
<mroutis> havenwood: congrats!
<havenwood> mroutis: thank you!
<mroutis> havenwood: what about baby.name ? ("Ruby" looks like a popular name among rubyist, hehe)
<havenwood> mroutis: Thinking Andromeda, but are considering Ruby.
Swyper has quit [Remote host closed the connection]
<adam12> havenwood: Congrats! I saw the post but never made the connection.
<mroutis> mroutis: very neat!
Swyper has joined #ruby
<leftylink> I want to make a joke but I'm not sure if it's inappropriate. can I just say it should be 100% clear I do not condone doing the thing suggested in the picture
<adam12> havenwood: I guess the baby name variable gives it away if I would of looked close enough.
dretnx has left #ruby ["Closing Window"]
<leftylink> (basically it says "Out of memory: Kill process [...] or sacrifice child")
<phaul> congrats havenwood . adam12 same. Now you mention it I could have figured it out
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
etupat has quit [Ping timeout: 240 seconds]
hutch1 has quit [Ping timeout: 250 seconds]
xco has quit [Quit: xco]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
ellcs has quit [Ping timeout: 245 seconds]
queip has quit [Ping timeout: 240 seconds]
mre- has joined #ruby
ellcs has joined #ruby
tdy1 has quit [Ping timeout: 265 seconds]
queip has joined #ruby
ramfjord has joined #ruby
dinfuehr has quit [Ping timeout: 268 seconds]
duderono_ has quit [Read error: Connection reset by peer]
dinfuehr has joined #ruby
duderonomy has joined #ruby
duderonomy is now known as Guest35413
wildtrees has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
etupat has joined #ruby
dinfuehr has quit [Ping timeout: 245 seconds]
queip has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
etupat has quit [Ping timeout: 276 seconds]
tdy1 has joined #ruby
catbusters has quit [Quit: Connection closed for inactivity]
queip has joined #ruby
dionysus69 has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
dionysus70 is now known as dionysus69
royclymer has joined #ruby
etupat has joined #ruby
smurfendrek123 has quit [Ping timeout: 250 seconds]
royclyme_ has joined #ruby
tdy1 is now known as tdy
jenrzzz has joined #ruby
royclymer has quit [Ping timeout: 245 seconds]
smurfendrek123 has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
royclymer has joined #ruby
dionysus69 has quit [Quit: dionysus69]
hutch1 has joined #ruby
royclyme_ has quit [Ping timeout: 245 seconds]
royclyme_ has joined #ruby
gix has joined #ruby
royclymer has quit [Ping timeout: 245 seconds]
Guest35413 has quit [Read error: Connection reset by peer]
duderono_ has joined #ruby
royclymer has joined #ruby
royclyme_ has quit [Ping timeout: 245 seconds]
hiroaki has joined #ruby
royclyme_ has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
ellcs has quit [Ping timeout: 268 seconds]
banister_ has joined #ruby
AJA4351 has joined #ruby
royclymer has quit [Ping timeout: 245 seconds]
baniste__ has joined #ruby
duderono_ has quit [Quit: Textual IRC Client: www.textualapp.com]
integral has quit [Changing host]
integral has joined #ruby
royclymer has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
ramfjord has joined #ruby
banister_ has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
etupat has quit [Remote host closed the connection]
royclyme_ has quit [Ping timeout: 245 seconds]
baniste__ has quit [Ping timeout: 265 seconds]
royclyme_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
bitwinery has joined #ruby
fphilipe has joined #ruby
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ruby
etupat has joined #ruby
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
royclymer has quit [Ping timeout: 264 seconds]
royclymer has joined #ruby
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
queip has quit [Ping timeout: 240 seconds]
royclyme_ has quit [Ping timeout: 245 seconds]
queip has joined #ruby
gnufr33d0m has quit [Quit: gnufr33d0m]
rbanffy has joined #ruby
royclyme_ has joined #ruby
royclymer has quit [Ping timeout: 245 seconds]
tdy has quit [Ping timeout: 245 seconds]
codefriar has joined #ruby
etupat has quit [Remote host closed the connection]
royclymer has joined #ruby
etupat has joined #ruby
eclm has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
royclyme_ has quit [Ping timeout: 276 seconds]
etupat has quit [Ping timeout: 240 seconds]
schne1der has joined #ruby
royclyme_ has joined #ruby
etupat has joined #ruby
royclymer has quit [Ping timeout: 252 seconds]
wnd has quit [Read error: No route to host]
wnd-trans has joined #ruby
royclymer has joined #ruby
galaxie has quit [Remote host closed the connection]
galaxie has joined #ruby
fphilipe has quit [Ping timeout: 265 seconds]
shaman42_ has joined #ruby
royclyme_ has quit [Ping timeout: 252 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
royclyme_ has joined #ruby
shaman42 has quit [Ping timeout: 245 seconds]
queip has quit [Ping timeout: 265 seconds]
rbanffy has quit [Quit: rbanffy]
royclymer has quit [Ping timeout: 245 seconds]
queip has joined #ruby
wnd-trans is now known as wnd
fphilipe has joined #ruby
royclymer has joined #ruby
etupat has quit [Remote host closed the connection]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
royclyme_ has quit [Ping timeout: 245 seconds]
duderonomy has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
duderonomy is now known as Guest8055
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
hiroaki has quit [Ping timeout: 276 seconds]
greengriminal has quit [Quit: This computer has gone to sleep]
banisterfiend has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
someotherkyle has joined #ruby
dhollinger has joined #ruby
Guest8055 has quit [Quit: Textual IRC Client: www.textualapp.com]
Swyper has quit [Remote host closed the connection]
royclymer has quit []
Swyper has joined #ruby
queip has quit [Ping timeout: 265 seconds]
rbanffy has joined #ruby
mre- has quit [Ping timeout: 268 seconds]
Swyper has quit [Remote host closed the connection]
mroutis has quit [Quit: leaving]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
queip has joined #ruby
ur5us has joined #ruby
gigetoo has quit [Ping timeout: 240 seconds]
dellavg has quit [Ping timeout: 240 seconds]
fphilipe has quit [Ping timeout: 245 seconds]
etupat has joined #ruby
gnufr33d0m has joined #ruby
gigetoo has joined #ruby
etupat has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 245 seconds]
mre- has joined #ruby
banisterfiend has joined #ruby
queip has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
Swyper has joined #ruby
juliopcrj has joined #ruby
gray_-_wolf has joined #ruby
Frobozz has joined #ruby
queip has quit [Ping timeout: 240 seconds]
rbanffy has quit [Quit: rbanffy]
queip has joined #ruby
grilix has quit [Ping timeout: 268 seconds]
nima_m has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
cd has joined #ruby
mre- has joined #ruby
hutch1 has quit [Ping timeout: 246 seconds]
jrafanie has joined #ruby
jrafanie has quit [Client Quit]
orbyt_ has joined #ruby
jcalla has quit [Ping timeout: 240 seconds]
SeepingN has joined #ruby
queip has quit [Ping timeout: 268 seconds]
oldnub has joined #ruby
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<oldnub> flkjkllkjfcodefriar codefriar
<oldnub> I DO HAVE A QUESTION .
<oldnub> why can't I see what I'mtyping?
<al2o3-cr> oldnub: put your glasses on?
<oldnub> nah, that definitely won't wire.
ramfjord has quit [Ping timeout: 240 seconds]
<oldnub> but, I'll ask anyway since I can see what you say
<al2o3-cr> ok
<al2o3-cr> ask away
<oldnub> in ruby I'm using inter variable to tally event. but then I want to divide them to get ratios and I can't find out how to convert the integers into something else the i can divide
<oldnub> that s integer variables
<leftylink> &>> [ 1.to_f / 3, Rational(1, 3), 1.fdiv(3) ] # take your pick, I guess
<rubydoc> # => [0.3333333333333333, (1/3), 0.3333333333333333] (https://carc.in/#/r/7n7z)
<leftylink> &ri Integer
<leftylink> searching for "float" on that page might be useful I guess
queip has joined #ruby
ramfjord has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<oldnub> Thruby doc and leftylin I think that tells me what I need.
<oldnub> that's is thanks!
xco has joined #ruby
<al2o3-cr> oldnub: get a new keyboard :P
etupat has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
etupat has quit [Remote host closed the connection]
banisterfiend has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
gigetoo has quit [Ping timeout: 240 seconds]
xco has quit [Quit: xco]
dbugger has quit [Quit: Leaving]
tdy has joined #ruby
dhollinger has quit [Quit: dhollinger]
ramfjord has joined #ruby
MrCrackPotBob has joined #ruby
x86sk has joined #ruby
gigetoo has joined #ruby
MrCrackPotBuilde has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
Fernando-Basso has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
juliopcrj has quit [Remote host closed the connection]
greengriminal has joined #ruby
queip has quit [Ping timeout: 265 seconds]
fphilipe has joined #ruby
queip has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
etupat has joined #ruby
fphilipe has quit [Ping timeout: 240 seconds]
bambanx has joined #ruby
queip has quit [Ping timeout: 276 seconds]
mre- has quit [Ping timeout: 276 seconds]
ramfjord has joined #ruby
gix has quit [Ping timeout: 265 seconds]
queip has joined #ruby
mroutis has joined #ruby
oldnub has quit [Ping timeout: 260 seconds]
<banisterfiend> anyone here use PIA as their VPN on mac?
mroutis has quit [Client Quit]
Swyper has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
etupat has quit [Read error: Connection reset by peer]
etupat has joined #ruby
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
Swyper has quit [Remote host closed the connection]
Ai9zO5AP has joined #ruby
etupat has quit [Ping timeout: 240 seconds]
i9zO5AP has quit [Ping timeout: 276 seconds]
_iznogoud__ has joined #ruby
_iznogoud__ has quit [Client Quit]
SeepingN has joined #ruby
davidw_ has quit [Ping timeout: 276 seconds]
eclm has joined #ruby
nima_m has quit [Quit: Connection closed for inactivity]
_iznogoud__ has joined #ruby
_iznogoud__ has quit [Client Quit]
cthu| has quit [Ping timeout: 245 seconds]
_iznogoud__ has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
impermanence has joined #ruby
_iznogoud__ has quit [Client Quit]
_iznogoud__ has joined #ruby
_iznogoud__ has quit [Client Quit]
AJA4351 has joined #ruby
_iznogoud__ has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
_iznogoud__ has quit [Client Quit]
xco has joined #ruby
gray_-_wolf has quit [Quit: WeeChat 2.5]
stryek has quit [Quit: Connection closed for inactivity]
_iznogoud__ has joined #ruby
drincruz has quit [Ping timeout: 276 seconds]
davidw_ has joined #ruby
_iznogoud__ has quit [Quit: WeeChat 2.6]
xco has quit [Quit: xco]
_iznogoud__ has joined #ruby
Swyper has joined #ruby
_iznogoud__ has quit [Client Quit]
_iznogoud__ has joined #ruby
_iznogoud__ has quit [Client Quit]
_iznogoud__ has joined #ruby
_iznogoud__ has quit [Client Quit]
_iznogoud__ has joined #ruby
_iznogoud__ has quit [Client Quit]
_iznogoud__ has joined #ruby
mroutis has joined #ruby
impermanence has quit [Ping timeout: 240 seconds]
_iznogoud__ has quit [Quit: WeeChat 2.6]
_iznogoud__ has joined #ruby
_iznogoud__ has quit [Client Quit]
_iznogoud__ has joined #ruby
D9 has joined #ruby
gigetoo has quit [Ping timeout: 245 seconds]
galaxie has quit [Remote host closed the connection]
gigetoo has joined #ruby