<chaos95>
mroutis: I have done for a few of the individual checks but the checks used by each method differ slightly. Where there is some commonality I've abstracted them appropriately but I feel like there's got to be a better way to do it - coming from C# I would have previously done it with decorators
<chaos95>
(or, you know, static typing)
<mroutis>
sorry, chaos95, it's far from my knowledge, maybe if you throw in a code example I can understand your issue better
erlend has quit [Ping timeout: 265 seconds]
erlend has joined #ruby
n0m4d1c has quit [Read error: Connection reset by peer]
<chaos95>
mroutis: no worries :) it's a pretty minor concern in an otherwise quite messy codebase :)
<mroutis>
sure
<mroutis>
:)
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
lupine has quit [Ping timeout: 255 seconds]
kapil___ has joined #ruby
arescorpio has joined #ruby
cagomez has quit [Remote host closed the connection]
cliluw has quit [Ping timeout: 256 seconds]
cagomez has joined #ruby
cliluw has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
cagomez has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
Yxhuvud has joined #ruby
whathappens has quit [Remote host closed the connection]
lupine has joined #ruby
mlkkk has joined #ruby
jready has joined #ruby
whathappens has joined #ruby
whathappens has quit [Remote host closed the connection]
Guest9502 has joined #ruby
n0m4d1c has joined #ruby
Guest9502 is now known as whathappens
jottr has joined #ruby
justinfaler has joined #ruby
ResidentBiscuit has joined #ruby
justinfaler has quit [Client Quit]
jready has quit [Ping timeout: 265 seconds]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
marr has quit [Ping timeout: 256 seconds]
Yxhuvud has joined #ruby
banisterfiend has quit [Ping timeout: 256 seconds]
jottr has quit [Ping timeout: 276 seconds]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
amar has joined #ruby
netherwolfe has joined #ruby
duderonomy has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
ResidentBiscuit has quit []
Yxhuvud has joined #ruby
amar has quit [Ping timeout: 256 seconds]
netherwolfe has quit [Ping timeout: 265 seconds]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
RougeR has quit [Ping timeout: 240 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
whathappens has quit [Remote host closed the connection]
whathapp_ has joined #ruby
whathapp_ has quit [Remote host closed the connection]
whathapp_ has quit [Remote host closed the connection]
whathappens has joined #ruby
alfiemax has joined #ruby
n0m4d1c has quit [Ping timeout: 265 seconds]
cagmz has joined #ruby
cagmz has quit [Remote host closed the connection]
erlend has quit [Ping timeout: 246 seconds]
cagomez has joined #ruby
<cagomez>
how do I apply some transformation to a hash value before setting it as a value? is it possible to set this behavior on the hash itself (ie subclass Hash and define my own setter?)
GodFather has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 265 seconds]
<baweaver>
cagomez: why?
haraoka has joined #ruby
<baweaver>
What problem are you trying to solve?
<cagomez>
for example, I'd like to do this: hash[1] = 'a' => hash[1] = 'A'
erlend has joined #ruby
cyberg has quit [Remote host closed the connection]
alfiemax has joined #ruby
<Radar>
cagomez: Is this behaviour the same for all keys? Capitalise their values?
<cagomez>
yup! I just want to call a method on these objects before setting them as the value for a key
m27frogy has joined #ruby
<baweaver>
I'd also loop back to what problem exactly are you trying to solve for?
<baweaver>
because the answer may vary a bit depending
<chaos95>
Radar: interesting, thanks!
<baweaver>
whoopsie, train arriving, off I go for a few
arescorpio has quit [Quit: Leaving.]
<cagomez>
I currently have to call the .as_json (for example) on these objects after accessing them from my_hash. I'd rather call .as_json before storing them in the hash, but I was wondering if Hash could do that
konsolebox has quit [Ping timeout: 240 seconds]
whathappens has quit [Remote host closed the connection]
konsolebox has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
alfiemax has quit [Remote host closed the connection]
GodFather has joined #ruby
Yxhuvud has joined #ruby
GodFather has quit [Ping timeout: 256 seconds]
meadmoon has joined #ruby
jeffreylevesque has quit [Ping timeout: 268 seconds]
whathappens has joined #ruby
jordanm has joined #ruby
jordanm has quit [Changing host]
jordanm has joined #ruby
jordanm has quit [Client Quit]
jordanm has joined #ruby
alfiemax has joined #ruby
noobineer has quit [Ping timeout: 260 seconds]
lele has quit [Ping timeout: 256 seconds]
AJA4350 has quit [Quit: AJA4350]
lele has joined #ruby
jottr has joined #ruby
jamesaxl has quit [Ping timeout: 240 seconds]
Azure has quit [Read error: Connection reset by peer]
whathappens has quit [Remote host closed the connection]
Azure has joined #ruby
whathappens has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
NewbiePat has joined #ruby
whathappens has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
<NewbiePat>
I'm fairly new to coding and ruby. I'm working on a simple program just to see what I can make it into. I seem to be having trouble with the OR operator in if statements and while loops. Would anyone be able to lend a guiding hand?
<mozzarella>
what's the problem?
jordanm has quit [Quit: Konversation terminated!]
<NewbiePat>
im setting a variable called fifty50, and then I'm writing a while loop to make sure that the user entered either a "y" or "no" for that variable, however I my while loop keeps repeating even if what I think is correct is entered.
<NewbiePat>
for example: fifty50 = gets.chomp.downcase.to_s
<NewbiePat>
while fifty50 != "y" || "n"
<NewbiePat>
i'm assuming its some syntax i'm not fully grasping but i've been playing with it for a little while and getting nowhere
jordanm has joined #ruby
chouhoulis has quit [Ping timeout: 248 seconds]
<mozzarella>
yeah, it doesn't do what you think it does
<mozzarella>
while fifty50 != 'y' && fifty50 != 'n'
alfiemax has quit [Remote host closed the connection]
<NewbiePat>
got it and now my program is proceding, thank you very much. I'm sure that will be very useful, i didn't realize I would have to declare the fifty50 again after the operator.
orbyt_ has joined #ruby
<mozzarella>
just remember that && and || are boolean operators, and that they expect a true/false value on each side
gix- has joined #ruby
gix has quit [Disconnected by services]
<mozzarella>
though you can pass anything you want
<NewbiePat>
i will keep that in mind, and thank you again for the lesson and assistance :)
<mozzarella>
strings will always be "true", so that's your problem right here
<konsolebox>
|| has lower precedence than &&
<NewbiePat>
thanks again :) that helped a lot and will learn from this :)
meadmoon has quit [Quit: ZZZzzz…]
<mozzarella>
only false and nil are "falsey", everything else is "truthy", IIRC
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
BTRE has quit [Ping timeout: 240 seconds]
BTRE has joined #ruby
p0p0pr37 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
minimalism has quit [Quit: minimalism]
kapil___ has quit [Quit: Connection closed for inactivity]
claw has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
workmad3 has joined #ruby
claw has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
nowhereman_ has quit [Ping timeout: 246 seconds]
nowhereman_ has joined #ruby
ramfjord has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<phaul>
concurency is hard. It's very difficult to see if your program is deadlock free, and when it's not there is no guarantee that you can cath the bug either. In haskell world they thought transactional memory was the answer. Im not sure what happened to that idea
<dminuoso>
phaul: concurrency is not hard.
<dminuoso>
manual mutex lockery is just hard.
_aeris_ has quit [Remote host closed the connection]
amar has quit [Ping timeout: 264 seconds]
alex`` has quit [Ping timeout: 256 seconds]
suukim has joined #ruby
<phaul>
I stand corrected :) manual mutex lockery is hard...
_aeris_ has joined #ruby
<phaul>
there is concurrent-ruby ... that can do STM.
Bish has quit [Ping timeout: 264 seconds]
<phaul>
mikhael_k33hl: it might be worth taking a look^. No locks, no deadlocks.
<mikhael_k33hl>
phaul: Yeah, I was using that before, I was thinking of doing this manually since this is just a bit simple script, and just to dirty my hands with concurrency :)
Bish has joined #ruby
metalmouth has joined #ruby
metalmouth has left #ruby [#ruby]
<dminuoso>
mikhael_k33hl: get them dirty with stm.
<dminuoso>
stm is easier and less painful
donofrio has quit [Remote host closed the connection]
sidx64 has quit [Read error: Connection reset by peer]
sidx64_ has joined #ruby
clemens3_ has joined #ruby
claudiuinberlin has joined #ruby
<phaul>
mikhael_k33hl: yes
alfiemax has quit [Remote host closed the connection]
<dminuoso>
phaul: I wonder, the stm doesnt look very complete though
minimalism has joined #ruby
<phaul>
you mean STM in concurrent-ruby? They need 3 things iirc. atomically do ; end, tvar, retry. I've found atomically, and tvar. Looking for retry..
Burgestrand has quit [Quit: Closing time!]
<dminuoso>
phaul: I was talking about retry
<dminuoso>
;)
<dminuoso>
Without retry the whole thing becomes a bit.. lackluster..
<mikhael_k33hl>
just a bit tempting to make this code work though hehe
amar has joined #ruby
Burgestrand has joined #ruby
<dminuoso>
phaul: it looks as if you are supposed to use a loop yourself..
jottr has joined #ruby
totimkopf has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 240 seconds]
cadillac_ has joined #ruby
jeen has quit [Quit: This computer has gone to sleep]
workmad3 has joined #ruby
alfiemax has joined #ruby
amar has quit [Remote host closed the connection]
physicist__ has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
schneider has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
<phaul>
I'm trying to understand their model by reading the STM implementation... It's quite short and conciese...
totimkopf has quit [Quit: Leaving]
schneider has joined #ruby
ryzokuken has joined #ruby
<phaul>
retry is as simple as raise Transaction::AbortError. I have no idea why they didn't expose it on the API
<apeiros>
omg, something I never wanted to read in ruby: "It is undefined behaviour to"
<apeiros>
(though I can imagine it'd be incredibly hard to have the behavior defined in the case they mention)
<dminuoso>
apeiros: Honestly in concurrency there are certain contracts.
<dminuoso>
Some things are simply honor bound.
<apeiros>
sure. but breaking the contract should not result in undefined behavior. just like real contracts. but as said, I understand that there's cases where that's probably unreasonably hard, if not even impossible.
<apeiros>
at least I have no idea how I'd handle "rogue" callcc
<dminuoso>
well callcc I get at least.
<dminuoso>
Right.
<livcd>
we will get parallelism with graal! get excited
<mr-robert>
don't we have that with jruby already
<apeiros>
𝄞 I'm so excited ♫ I just can't hide it ♬
<apeiros>
mr-robert: yes, we do :)
NL3limin4t0r_afk has quit [Remote host closed the connection]
NL3limin4t0r_afk has joined #ruby
amar has joined #ruby
sanscoeur has quit [Ping timeout: 240 seconds]
ReusedSalt has joined #ruby
karapetyan has joined #ruby
TomyWork has joined #ruby
alfiemax has quit [Remote host closed the connection]
<livcd>
well it looks like much more performant
guille-moe has joined #ruby
amar has quit [Ping timeout: 248 seconds]
amar has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
sidx64_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has joined #ruby
tomphp has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fumck is now known as fumk
erlend has quit [Ping timeout: 256 seconds]
alfiemax has quit [Remote host closed the connection]
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
erlend has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venmx has joined #ruby
tomphp has joined #ruby
Beams has joined #ruby
alfiemax has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marr has joined #ruby
meinside has joined #ruby
rabajaj has quit [Ping timeout: 268 seconds]
tomphp has joined #ruby
amar has quit [Ping timeout: 248 seconds]
tomphp has quit [Client Quit]
Burgestrand has quit [Quit: Closing time!]
rabajaj has joined #ruby
mikhael_k33hl has quit [Ping timeout: 260 seconds]
anisha has quit [Quit: This computer has gone to sleep]
tomphp has joined #ruby
tomphp has quit [Client Quit]
zautomata2 has joined #ruby
tomphp has joined #ruby
RougeR has quit [Ping timeout: 248 seconds]
tomphp has quit [Client Quit]
banisterfiend has joined #ruby
tomphp has joined #ruby
alfiemax has quit [Remote host closed the connection]
tomphp has quit [Client Quit]
tomphp has joined #ruby
karapetyan has joined #ruby
workmad3 has joined #ruby
ur5us has joined #ruby
zautomata2 has quit [Quit: WeeChat 1.9.1]
alfiemax has joined #ruby
tvw has joined #ruby
zautomata has joined #ruby
nowhereman_ has quit [Remote host closed the connection]
camilasan_ has quit [Ping timeout: 256 seconds]
nowhereman_ has joined #ruby
UncleCid__ has joined #ruby
karapetyan has quit [Ping timeout: 256 seconds]
Burgestrand has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso>
>> or = -> a, b { a || b }; [true, false, false, false].reduce(or)
<ruby[bot]>
dminuoso: # => /tmp/execpad-e8189fcb9637/source-e8189fcb9637:2: syntax error, unexpected keyword_or ...check link for more (https://eval.in/991048)
<dminuoso>
>> or_ = -> a, b { a || b }; [true, false, false, false].reduce(or_)
<ruby[bot]>
dminuoso: # => #<Proc:0x420fda10@/tmp/execpad-d6bebbf373c4/source-d6bebbf373c4:2 (lambda)> is not a symbol nor a st ...check link for more (https://eval.in/991049)
shinnya has joined #ruby
<dminuoso>
Maybe Ill just make the necessary change
<dminuoso>
Most HOFs should take a proc..
haraoka has quit [Ping timeout: 240 seconds]
Ltem has joined #ruby
c0ncealed1 has quit [Remote host closed the connection]
<apeiros>
dminuoso: hm? that almost works. all it costs you is an & more
<phaul>
I have a weird feeling in the message sending model. To me it feels like that the receiver is special not like the rest of the arguments. So the whole thing is a bit clunky in the functional world. Like Array#zip shows that the best.
<phaul>
should it be Array.zip(*arrays) ?!
c0ncealed1 has joined #ruby
anisha has joined #ruby
<apeiros>
phaul: heh, I have wondered about this too and never came to a good answer. Array.zip certainly makes some sense as it's in a the construction of an array.
<apeiros>
and iirc I had Hash::zip(keys, values) in my 1.8 monkey patches
amar has joined #ruby
amar has quit [Remote host closed the connection]
<dminuoso>
apeiros: It does not really work in stdlib/core much
sanscoeur has joined #ruby
<dminuoso>
apeiros: The & adds too much noise and it's annoying if you want to do
<dminuoso>
foo.map(bar * quux)
<dminuoso>
Suddenly you not only need & but extra noise for parens
<dminuoso>
foo.map(&(bar * quux))
<apeiros>
ah, good old "we need -> instead of *(foo.bar)". yeah, I see what you mean.
<dminuoso>
apeiros: Just consider that symbols are accepted
<dminuoso>
foo.map(:bar) is fine
<dminuoso>
great, so why not foo.map(someProc)
<dminuoso>
ruby could just unconditionally to_proc whatever it gets
<dminuoso>
apeiros: (*foo).bar =P
<apeiros>
are you saying all my C code is broken?!?
<dminuoso>
Haha
<apeiros>
(yeah, goes to show how little C I code)
<dminuoso>
apeiros: I think Ill make my case with Proc#* on the bug tracker soon.
<dminuoso>
We already have #curry, might as well complete the set of functional tools.
ta_ has quit [Quit: Leaving...]
rabajaj has quit [Ping timeout: 268 seconds]
cadillac_ has quit [Ping timeout: 268 seconds]
rabajaj has joined #ruby
workmad3 has joined #ruby
cadillac_ has joined #ruby
schneider has joined #ruby
rahul_bajaj has joined #ruby
karapetyan has joined #ruby
rabajaj has quit [Ping timeout: 265 seconds]
rahul_bajaj has quit [Client Quit]
tomphp has joined #ruby
rabajaj has joined #ruby
tomphp has quit [Client Quit]
nadir has joined #ruby
tomphp has joined #ruby
karapetyan has quit [Ping timeout: 265 seconds]
Burgestrand has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pb122 has joined #ruby
pb122 has quit [Remote host closed the connection]
pb122 has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
tomphp has quit [Client Quit]
ta_ has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Ping timeout: 256 seconds]
psychicist__ has joined #ruby
tomphp has joined #ruby
apparition has joined #ruby
meadmoon has joined #ruby
meadmoon has quit [Client Quit]
karapetyan has joined #ruby
tomphp has quit [Read error: Connection reset by peer]
meadmoon has joined #ruby
ellcs has joined #ruby
erlend has quit [Ping timeout: 248 seconds]
roshanavand1 has joined #ruby
roshanavand has quit [Read error: No route to host]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
<Orxata_>
apeiros: what I'm doing here is (2017..2018.each do |y| (1..12).each do |m| end_date = Date.civil(y,m,-11)
<apeiros>
ruby 1.8 is *ancient*. use a ruby which is not EOL.
millerti has joined #ruby
tolerablyjake has quit [Ping timeout: 276 seconds]
<Orxata_>
Date.civil(y,m,-1)
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
<apeiros>
`(2017..2018).each do |y| (1..12).each do |m| Date.civil(y,m,-1) end end` runs fine in ruby 2.5, and I can't help you with problems in ruby <2.3
<Orxata_>
ok
<apeiros>
if you can make a snippet which reproduces your problem in 2.3+, I can try to help
pabloh has quit [Quit: Alwyzon, cloud-powered IRC client and bouncer - http://alwyzon.com/]
erlend has joined #ruby
pabs has quit [Ping timeout: 260 seconds]
pabs has joined #ruby
ramfjord has joined #ruby
dgarstang has joined #ruby
<dgarstang>
Ruby makes me sad. Trying to get response from rest-client gem. If I use puts resp.body I see it but if I do puts ">>> #{resp.body} <<<" i don't. Why?
konsolebox has joined #ruby
n008f4g_ has quit [Ping timeout: 264 seconds]
<dgarstang>
and why does puts.resp show me {"modified":"EA7SNK"} whereas puts.resp['modified'] shows me nothing. How can that be!?
RougeR has quit [Ping timeout: 248 seconds]
chongtxtx has quit [Ping timeout: 256 seconds]
cliluw has quit [Ping timeout: 260 seconds]
cliluw has joined #ruby
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<konsolebox>
what's puts.resp.class
kapil___ has quit [Quit: Connection closed for inactivity]
<dgarstang>
konsolebox: RestClient::Response
<konsolebox>
maybe it has a modified []
<dgarstang>
It looks like I have to JSON.parse(resp) ...
cschneid_ has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 268 seconds]
venmx has joined #ruby
cschneid_ has joined #ruby
ramfjord has quit [Read error: Connection reset by peer]
n008f4g_ has joined #ruby
d_kam___________ has quit [Quit: Be back later ...]
ramfjord has joined #ruby
d_kam___________ has joined #ruby
rwb has joined #ruby
clemens3_ has quit [Ping timeout: 240 seconds]
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
John_Ivan has joined #ruby
cschneid_ has quit [Ping timeout: 256 seconds]
ryzokuken has quit [Remote host closed the connection]
d_kam___________ has quit [Ping timeout: 256 seconds]
xt233 has joined #ruby
n008f4g_ has quit [Ping timeout: 248 seconds]
ramfjord has quit [Ping timeout: 264 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bzb has joined #ruby
venmx has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
cschneid_ has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
jeffreylevesque has joined #ruby
<havenwood>
2.7 > (..)
<havenwood>
No ends!
<baweaver>
Viva la revolution!
alfiemax has quit [Ping timeout: 240 seconds]
wilbert has quit [Ping timeout: 248 seconds]
cschneid_ has quit [Ping timeout: 248 seconds]
ramfjord has joined #ruby
karapet__ has quit [Remote host closed the connection]
physicist__ has quit [Quit: Lost terminal]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
jeen has joined #ruby
banisterfiend has quit [Ping timeout: 248 seconds]
dc1 has joined #ruby
ta_ has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
ramfjord has joined #ruby
d_kam___________ has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.1]
Azure has quit [Read error: Connection reset by peer]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has joined #ruby
d_kam___________ has quit [Ping timeout: 264 seconds]
ramfjord has quit [Ping timeout: 264 seconds]
ramfjord has joined #ruby
pb122 has quit [Ping timeout: 256 seconds]
n0m4d1c has quit [Remote host closed the connection]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
jeen has quit [Quit: This computer has gone to sleep]
amar has joined #ruby
Yxhuvud has joined #ruby
<arooni>
question Could not find gem 'capistrano (~> 2.15.9)' in any of the gem sources listed in your Gemfile. ;; even when i have specifically tried specifying both https:http versions of rubygems
coderphive has quit [Quit: coderphive]
ramfjord has quit [Ping timeout: 256 seconds]
jerematic has joined #ruby
amar has quit [Ping timeout: 248 seconds]
ramfjord has joined #ruby
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
schneider has joined #ruby
xt233 has quit [Quit: This computer has gone to sleep]
Mrgoose- has quit [Quit: ZNC 1.7.x-nightly-20170908-e86efb08 - https://znc.in]
Mrgoose has joined #ruby
jeen has joined #ruby
d_kam___________ has joined #ruby
duderonomy has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
wilbert has joined #ruby
d_kam___________ has quit [Ping timeout: 240 seconds]
dc1 has quit [Ping timeout: 276 seconds]
erlend has quit [Ping timeout: 256 seconds]
cagomez_ has quit [Remote host closed the connection]
wilbert has quit [Ping timeout: 256 seconds]
aarkerio has joined #ruby
cagomez_ has joined #ruby
erlend has joined #ruby
jerematic has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 264 seconds]
jerematic has joined #ruby
<aarkerio>
quick question, I see: 13975487002892.to_s(36) = "4yc904i6k"
<aarkerio>
where I can see all possible .to_s parameters?
<aarkerio>
what's "36"?
cagomez__ has joined #ruby
jerematic has quit [Ping timeout: 240 seconds]
cagomez_ has quit [Ping timeout: 240 seconds]
xt233 has joined #ruby
xt233 has quit [Client Quit]
<headius>
aarkerio: base
<headius>
so 36 is 0-9a-z for digits
cagomez__ has quit [Ping timeout: 240 seconds]
John_Ivan has quit [Read error: Connection reset by peer]