havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.5, 2.5.7, 2.7.0-preview2: 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!
mossplix has quit [Remote host closed the connection]
Ai9zO5AP has joined #ruby
i9zO5AP has quit [Ping timeout: 240 seconds]
NightMonkey has quit [Quit: ZNC - http://znc.in]
dviola has quit [Read error: Connection reset by peer]
dviola has joined #ruby
NightMonkey has joined #ruby
dviola has quit [Changing host]
dviola has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
Swyper has quit [Remote host closed the connection]
Guest1714 has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest58689 has quit [Ping timeout: 265 seconds]
matheusmoreira has quit [Ping timeout: 240 seconds]
AJA4351 has joined #ruby
matheusmoreira has joined #ruby
freedom has quit [Quit: freedom]
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
LaChiave has quit [Quit: Bye Bye]
NightMonkey has quit [Quit: ZNC - http://znc.in]
Swyper has joined #ruby
kyrylo has joined #ruby
NightMonkey has joined #ruby
NightMonkey has quit [Remote host closed the connection]
Guest1714 has quit [Ping timeout: 268 seconds]
Swyper has quit [Ping timeout: 240 seconds]
akemhp_ has joined #ruby
akemhp has quit [Ping timeout: 276 seconds]
NightMonkey has joined #ruby
skryking has quit [Ping timeout: 240 seconds]
skryking has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
xGrind has quit [Quit: Saindo]
mossplix has joined #ruby
NightMonkey has quit [Quit: ZNC - http://znc.in]
dviola has quit [Quit: WeeChat 2.6]
zoid has joined #ruby
<zoid> Can anyone here speak to the learning curve between ruby and python? I'm really struggling with Python and I do feel as though Ruby is a far more elegant language.
thecoffemaker has joined #ruby
jcalla has quit [Ping timeout: 240 seconds]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NightMonkey has joined #ruby
mossplix has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 264 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
AJA4350 has joined #ruby
<mozzarella> zoid: it is far more elegant indeed, but they're in the same ball park in terms of ease of learning
mkroman has quit [Remote host closed the connection]
NightMonkey has quit [Quit: ZNC - http://znc.in]
donofrio_ has quit [Remote host closed the connection]
AJA4351 has joined #ruby
kyrylo has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
Intelo has quit [Remote host closed the connection]
Cork has joined #ruby
i9zO5AP has joined #ruby
Intelo has joined #ruby
kyrylo has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Quit: AJA4350]
NightMonkey has joined #ruby
Ai9zO5AP has quit [Ping timeout: 268 seconds]
kyrylo has joined #ruby
akem__ has joined #ruby
mkroman has joined #ruby
akemhp_ has quit [Ping timeout: 240 seconds]
akemhp has joined #ruby
NightMonkey has quit [Quit: ZNC - http://znc.in]
akem__ has quit [Ping timeout: 268 seconds]
NightMonkey has joined #ruby
kyrylo has quit [Ping timeout: 240 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
kyrylo has joined #ruby
Intelo has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
Swyper has quit [Read error: Connection reset by peer]
Swyper has joined #ruby
bambanx has joined #ruby
tsujp has quit [Ping timeout: 265 seconds]
skx86 has joined #ruby
tsujp has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
freedom has joined #ruby
mossplix has joined #ruby
jcalla has joined #ruby
<zoid> thanks mozzarella, I appreciate it.
mossplix has quit [Remote host closed the connection]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyrylo has joined #ruby
mossplix has joined #ruby
brool has quit [Ping timeout: 246 seconds]
Swyper has quit [Remote host closed the connection]
mossplix has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
Nicmavr has quit [Read error: Connection reset by peer]
davor has quit [Ping timeout: 240 seconds]
Nicmavr has joined #ruby
davor has joined #ruby
cd has quit [Quit: cd]
skryking has quit [Quit: Konversation terminated!]
tsujp has quit [Ping timeout: 276 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
teclator has quit [Ping timeout: 240 seconds]
teclator has joined #ruby
tsujp has joined #ruby
bsdbandit-01 has quit [Quit: -a- IRC for Android 2.1.55]
bsdbandit-01 has joined #ruby
mossplix has joined #ruby
bsdbandit-01 has quit [Client Quit]
bsdbandit-01 has joined #ruby
mossplix has quit [Ping timeout: 265 seconds]
bsdbandit-01 has quit [Client Quit]
bsdbandit-01 has joined #ruby
animo8 has quit [Ping timeout: 246 seconds]
BTRE has quit [Ping timeout: 268 seconds]
BTRE has joined #ruby
Guest1714 has joined #ruby
tsujp has quit [Ping timeout: 240 seconds]
BTRE has quit [Ping timeout: 276 seconds]
mr_rich101 has quit [Quit: ZNC - http://znc.in]
tsujp has joined #ruby
mr_rich101 has joined #ruby
donofrio has quit [Remote host closed the connection]
bacchist_ has joined #ruby
bacchist has quit [Ping timeout: 240 seconds]
comet23 has joined #ruby
<comet23> hello everyone
bacchist_ has quit [Ping timeout: 240 seconds]
bambanx has quit [Quit: Leaving]
bacchist has joined #ruby
comet23 has quit [Remote host closed the connection]
mossplix has joined #ruby
cthulchu_ has joined #ruby
nixy3 has quit [Quit: The Lounge - https://thelounge.chat]
nixy3 has joined #ruby
Guest1714 has quit [Ping timeout: 268 seconds]
jcalla has quit [Ping timeout: 265 seconds]
dinfuehr_ has joined #ruby
dinfuehr has quit [Ping timeout: 268 seconds]
mossplix has quit [Ping timeout: 265 seconds]
bacchist_ has joined #ruby
bacchist has quit [Ping timeout: 240 seconds]
rubydoc has quit [Ping timeout: 246 seconds]
dinfuehr has joined #ruby
dinfuehr_ has quit [Ping timeout: 276 seconds]
dinfuehr has quit [Ping timeout: 246 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 268 seconds]
dinfuehr has joined #ruby
conta has joined #ruby
dinfuehr has quit [Ping timeout: 264 seconds]
rubydoc has joined #ruby
dinfuehr has joined #ruby
Mrgoose845701915 has joined #ruby
tpanarch1st has joined #ruby
conta has quit [Ping timeout: 240 seconds]
dinfuehr has quit [Ping timeout: 276 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
conta has joined #ruby
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 268 seconds]
Inline has quit [Quit: Leaving]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 268 seconds]
dinfuehr has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freedom has quit [Ping timeout: 240 seconds]
dinfuehr has quit [Ping timeout: 276 seconds]
hackerman has joined #ruby
hackerman has quit [Client Quit]
dinfuehr has joined #ruby
dinfuehr_ has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
andikr has joined #ruby
schne1der has joined #ruby
dinfuehr_ has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
sandstrom has joined #ruby
dinfuehr has quit [Ping timeout: 264 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 268 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
dinfuehr has joined #ruby
skx86 has quit [Quit: Connection closed for inactivity]
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
ravenousmoose has joined #ruby
MrCrackPotBob has quit [Remote host closed the connection]
MrCrackPotBob has joined #ruby
dinfuehr has quit [Ping timeout: 252 seconds]
dinfuehr has joined #ruby
AJA4350 has joined #ruby
dinfuehr_ has joined #ruby
* IGnorAND finds it best to learn by writing simple tasks
dinfuehr has quit [Ping timeout: 268 seconds]
KeyJoo has joined #ruby
lxsameer has joined #ruby
dinfuehr_ has quit [Ping timeout: 246 seconds]
dinfuehr has joined #ruby
mossplix has joined #ruby
madhatter has quit [Remote host closed the connection]
bitwinery has quit [Quit: Leaving]
madhatter has joined #ruby
madhatter has quit [Changing host]
madhatter has joined #ruby
tvw has joined #ruby
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
AJA4351 has joined #ruby
xco has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
dinfuehr_ has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
endemic has quit [Ping timeout: 264 seconds]
Fernando-Basso has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
dinfuehr_ has quit [Ping timeout: 240 seconds]
bacchist has joined #ruby
bacchist_ has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
ravenousmoose has quit [Ping timeout: 252 seconds]
DTZUZO has quit [Ping timeout: 268 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
suukim has joined #ruby
lalitmee has joined #ruby
dinfuehr_ has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
AJA4350 has joined #ruby
andikr has quit [Ping timeout: 265 seconds]
tvw has quit []
rippa has joined #ruby
sandstrom has joined #ruby
ellcs has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
schne1der has quit [Ping timeout: 265 seconds]
schne1der has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
Fernando-Basso has quit [Quit: Leaving]
DTZUZO has joined #ruby
schne1der has joined #ruby
DTZUZO has quit [Ping timeout: 250 seconds]
dr_mdma_md has joined #ruby
DTZUZO has joined #ruby
dbugger has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
DTZUZO has joined #ruby
Intelo has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
DTZUZO has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
Intelo has quit [Remote host closed the connection]
cisco has joined #ruby
DTZUZO has quit [Ping timeout: 245 seconds]
cisco is now known as Guest94053
Intelo has joined #ruby
DTZUZO has joined #ruby
Intelo has quit [Remote host closed the connection]
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
jcalla has joined #ruby
mossplix has quit [Ping timeout: 245 seconds]
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
Intelo has joined #ruby
DTZUZO has joined #ruby
andikr has joined #ruby
Intelo_ has joined #ruby
Guest94053 has quit [Ping timeout: 252 seconds]
Intelo has quit [Ping timeout: 268 seconds]
Swyper has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
jacksoow has quit [Read error: Connection reset by peer]
jacksoow has joined #ruby
AJA4351 has joined #ruby
mossplix has joined #ruby
AJA4350 has quit [Ping timeout: 252 seconds]
AJA4351 is now known as AJA4350
Swyper has quit [Remote host closed the connection]
DTZUZO has quit [Ping timeout: 268 seconds]
NL3limin4t0r has joined #ruby
DTZUZO has joined #ruby
cisco_ has joined #ruby
BTRE has joined #ruby
DTZUZO has quit [Ping timeout: 265 seconds]
Swyper has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
DTZUZO has joined #ruby
Swyper has quit [Read error: Connection reset by peer]
Swyper has joined #ruby
bsdband41 has joined #ruby
rippa has joined #ruby
LaChiave has joined #ruby
bsdbandit-01 has quit [Ping timeout: 265 seconds]
DTZUZO has quit [Ping timeout: 265 seconds]
phaul is now known as Guest93720
Guest93720 has quit [Killed (niven.freenode.net (Nickname regained by services))]
phaul has joined #ruby
Guest93720 has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 264 seconds]
AJA4351 is now known as AJA4350
cisco_ has quit [Ping timeout: 240 seconds]
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 264 seconds]
haivron has joined #ruby
cisco has joined #ruby
cisco is now known as Guest96816
DTZUZO has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
DTZUZO has quit [Ping timeout: 265 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
mossplix has quit [Read error: Connection reset by peer]
mossplix_ has joined #ruby
DTZUZO has joined #ruby
GodFather has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
zapata has quit [Ping timeout: 246 seconds]
zapata_ has joined #ruby
ravenousmoose has joined #ruby
DTZUZO has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yann-kaelig has joined #ruby
DTZUZO has quit [Ping timeout: 246 seconds]
ravenousmoose has quit [Ping timeout: 264 seconds]
<Arahael> zoid: #ruby probably isn't the best place to be asking about python, but python is getting a bit fragmented. There's a couple of "dialects" of python now, and at least two major dependency management systems.
<Arahael> zoid: But... Python and Ruby are superficially somewhat similar. "in the same ball park in terms of ease of learning" does sound about right.
DTZUZO has joined #ruby
bsdband41 has quit [Ping timeout: 252 seconds]
bsdbandit-01 has joined #ruby
DTZUZO has quit [Ping timeout: 246 seconds]
Intelo_ has quit [Quit: Leaving]
DTZUZO has joined #ruby
Intelo has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
jacksoow has quit [Ping timeout: 265 seconds]
augcesar has joined #ruby
DTZUZO has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
DTZUZO has quit [Ping timeout: 245 seconds]
KeyJoo has quit [Quit: KeyJoo]
drincruz has joined #ruby
DTZUZO has joined #ruby
kyrylo has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 268 seconds]
Swyper has quit [Read error: Connection reset by peer]
Swyper has joined #ruby
john__ has joined #ruby
Emmanuel_Chanel has joined #ruby
banisterfiend has joined #ruby
jacksoow has joined #ruby
banisterfiend has quit [Client Quit]
DTZUZO has quit [Ping timeout: 265 seconds]
yann-kaelig has quit [Quit: yann-kaelig]
banisterfiend has joined #ruby
Swyper has quit [Remote host closed the connection]
banisterfiend has quit [Client Quit]
drincruz has quit [Ping timeout: 245 seconds]
john__ has quit [Ping timeout: 264 seconds]
FlorianFa has joined #ruby
suukim has quit [Quit: Konversation terminated!]
DTZUZO has joined #ruby
john__ has joined #ruby
phaul has quit [Ping timeout: 246 seconds]
ElFerna has joined #ruby
ElFerna_1 has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
ElFerna has quit [Ping timeout: 246 seconds]
LtHummus has quit [Remote host closed the connection]
DTZUZO has joined #ruby
banisterfiend has joined #ruby
bacchist has quit [Ping timeout: 276 seconds]
banisterfiend has quit [Client Quit]
banisterfiend has joined #ruby
drincruz has joined #ruby
DTZUZO has quit [Ping timeout: 252 seconds]
AJA4351 has joined #ruby
banisterfiend has quit [Client Quit]
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
mossplix_ has quit [Remote host closed the connection]
ElFerna_1 has quit [Quit: WeeChat 1.9.1]
ElFerna has joined #ruby
ravenousmoose has joined #ruby
<NL3limin4t0r> I've quite some experience with Ruby and was able to pick up Python quite easy for the sake of answering some SO questions related to regex/Ruby that needed a bit of Python code.
LtHummus has joined #ruby
<NL3limin4t0r> I haven't wrote an actual program though.
DTZUZO has joined #ruby
ElFerna has quit [Client Quit]
<NL3limin4t0r> The most anoying thing about Python is the functional style imo. eg. instead of `array.length` you do `len(array)` Calling one method/function still is fine, but I find it quickly becomes ugly when chaining a lot more methods/functions.
ravenousmoose has quit [Ping timeout: 250 seconds]
<NL3limin4t0r> zoid: ^
DTZUZO has quit [Ping timeout: 240 seconds]
schne1der has quit [Ping timeout: 240 seconds]
DTZUZO has joined #ruby
mossplix has joined #ruby
john__ has quit [Read error: Connection reset by peer]
jacksoow_ has joined #ruby
jcalla has quit [Ping timeout: 268 seconds]
tsujp has quit [Ping timeout: 240 seconds]
vondruch has quit [Ping timeout: 245 seconds]
john__ has joined #ruby
DTZUZO has quit [Ping timeout: 264 seconds]
jacksoow has quit [Ping timeout: 245 seconds]
bacchist has joined #ruby
phaul has joined #ruby
AJA4351 has joined #ruby
tsujp has joined #ruby
DTZUZO has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4350 has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4351 has quit [Ping timeout: 264 seconds]
vondruch has joined #ruby
drincruz has quit [Ping timeout: 276 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
vondruch has quit [Ping timeout: 268 seconds]
DTZUZO has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 265 seconds]
ElFerna has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
Intelo has quit [Ping timeout: 265 seconds]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4350 has joined #ruby
john__ has quit [Read error: Connection reset by peer]
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
kyrylo has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
Guest96816 has quit [Ping timeout: 265 seconds]
Intelo has joined #ruby
brendan- has quit [Ping timeout: 264 seconds]
bsdband28 has joined #ruby
akemhp has quit [Ping timeout: 240 seconds]
bsdbandit-01 has quit [Ping timeout: 240 seconds]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Intelo has quit [Ping timeout: 268 seconds]
jcalla has joined #ruby
xco has joined #ruby
xco has quit [Client Quit]
bsdbandit-01 has joined #ruby
bsdband28 has quit [Ping timeout: 252 seconds]
xco has joined #ruby
Intelo has joined #ruby
KeyJoo has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
mossplix has quit [Remote host closed the connection]
augcesar has quit [Quit: Connection closed for inactivity]
mossplix has joined #ruby
lucasb has joined #ruby
AJA4350 has joined #ruby
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
drincruz has joined #ruby
ElFerna has quit [Ping timeout: 268 seconds]
Inline has joined #ruby
vondruch has joined #ruby
jcalla has quit [Remote host closed the connection]
conta has quit [Ping timeout: 240 seconds]
TomyWork has joined #ruby
jcalla has joined #ruby
cd has joined #ruby
_axx has left #ruby ["The Lounge - https://thelounge.chat"]
LaChiave has quit [Quit: Bye Bye]
Rapture has joined #ruby
AJA4351 has joined #ruby
schne1der has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
Axy has joined #ruby
Intelo has quit [Ping timeout: 276 seconds]
Mia has quit [Ping timeout: 240 seconds]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Axy has quit [Ping timeout: 265 seconds]
MrCrackPotBob has quit [Quit: Leaving]
brool has joined #ruby
GodFather has quit [Ping timeout: 268 seconds]
vondruch has quit [Ping timeout: 246 seconds]
mossplix has quit [Read error: Connection reset by peer]
MrCrackPot has joined #ruby
mossplix has joined #ruby
mossplix has quit [Read error: Connection reset by peer]
mossplix has joined #ruby
DTZUZO has joined #ruby
jcalla has quit [Remote host closed the connection]
LaChiave has joined #ruby
djdduty has joined #ruby
djdduty has left #ruby [#ruby]
AJA4351 has joined #ruby
donofrio has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MrCrackPot has quit [Remote host closed the connection]
brendan- has joined #ruby
MrCrackPot has joined #ruby
jacksoow_ has quit [Read error: Connection reset by peer]
jacksoow has joined #ruby
lalitmee has quit [Remote host closed the connection]
brool has quit [Ping timeout: 264 seconds]
ElFerna has joined #ruby
jcalla has joined #ruby
ogres has joined #ruby
ellcs has quit [Ping timeout: 268 seconds]
vondruch has joined #ruby
ElFerna has quit [Ping timeout: 246 seconds]
ElFerna has joined #ruby
AJA4351 has joined #ruby
Guest1714 has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
ElFerna_1 has joined #ruby
Esa_ has joined #ruby
ElFerna has quit [Ping timeout: 268 seconds]
ElFerna_1 has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
bacchist has quit [Ping timeout: 264 seconds]
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
ElFerna_1 has joined #ruby
bacchist has joined #ruby
tpanarch1st has quit [Ping timeout: 240 seconds]
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
vondruch has quit [Ping timeout: 246 seconds]
ElFerna_1 has quit [Quit: WeeChat 1.9.1]
ElFerna has joined #ruby
ElFerna has quit [Ping timeout: 276 seconds]
shirak_ has joined #ruby
AJA4351 has joined #ruby
jinie has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
brendan- has quit [Ping timeout: 276 seconds]
mossplix has quit [Read error: Connection reset by peer]
mossplix_ has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
brendan- has joined #ruby
cisco has joined #ruby
cisco is now known as Guest28414
robotcars has joined #ruby
xco has joined #ruby
ellcs has joined #ruby
Guest1714 is now known as davidw
davidw has quit [Changing host]
davidw has joined #ruby
<robotcars> trying to standardize some documentation, I have some numbers, could be int, bigint, shard id, or local id… I'd like to replace all non-zero digits with basic sequence… 990000000002085
<robotcars> becomes 120000000001234 - I'm thinking the best way might be to itterate and replace the diigit until 0 or end of string, adding 1 for each replacement?
<robotcars> any suggestions?
<dr_mdma_md> hey, anybody know how soundcloud and youtube manages to keep an imprint of each song and to use this to prevent duplicates?
andikr has quit [Remote host closed the connection]
wildtrees has joined #ruby
redlegion has joined #ruby
brendan- has quit [Ping timeout: 240 seconds]
chalkmonster has joined #ruby
brendan- has joined #ruby
vondruch has joined #ruby
john__ has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
KeyJoo has quit [Quit: KeyJoo]
mossplix_ has quit [Remote host closed the connection]
bvdw has quit [Quit: bvdw]
bvdw has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
john__ has quit [Quit: Leaving]
hiroaki has joined #ruby
john__ has joined #ruby
Tempesta has quit [Quit: See ya!]
mossplix has joined #ruby
cloaked1 has joined #ruby
cloaked1 has joined #ruby
cloaked1 has quit [Changing host]
LaChiave has quit [Quit: Bye Bye]
shirak_ has quit [Ping timeout: 268 seconds]
gix has joined #ruby
xco has joined #ruby
john__ has quit [Ping timeout: 265 seconds]
john__ has joined #ruby
mossplix has quit []
ElFerna has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
banisterfiend has joined #ruby
dionysus69 has quit [Ping timeout: 265 seconds]
dionysus70 has joined #ruby
<robotcars> num.to_s.split(//).map! { |d| d.to_i > 0 ? s=s+1 : d }.join.to_i
chalkmonster has quit [Quit: WeeChat 2.6]
psilly0 has joined #ruby
dionysus70 is now known as dionysus69
justamuggle has joined #ruby
wildtrees has quit [Remote host closed the connection]
akemhp has joined #ruby
wildtrees has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Intelo has joined #ruby
phaul has quit [Ping timeout: 250 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<TomyWork> dr_mdma_md, is the answer "it's complicated" enough? :)
zapata_ is now known as zapata
<TomyWork> if your question is instead how to do it on a small scale, take a checksum of each file, store it in your database, look up the checksum in your list to check for duplicates
john__ has quit [Read error: Connection reset by peer]
<havenwood> robotcars: I don't get the rules.
dinfuehr has joined #ruby
dinfuehr_ has quit [Ping timeout: 268 seconds]
Tempesta has joined #ruby
<havenwood> robotcars: Oh, okay, I get it.
john__ has joined #ruby
<robotcars> only issue now is when s > 9 that I end up with a new value larger than I started.
<robotcars> because 10.
<havenwood> &>> 990000000002085.digits.reverse.chunk(&:zero?).flat_map { |zero, digits| zero ? digits : [*1..digits.size] }
<rubydoc> # => [1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 2] (https://carc.in/#/r/7yai)
ellcs has quit [Ping timeout: 276 seconds]
<havenwood> robotcars: Why is it `120000000001234` instead of `120000000001012`?
<havenwood> robotcars: That seems wrong?
<robotcars> correct, i'm having that issue too. 260000057783097 120000034567089
ElFerna_1 has joined #ruby
<havenwood> &>> 990000000002085.digits.reverse.chunk(&:zero?).flat_map { |zero, digits| zero ? digits : [*1..digits.size] }.reverse.each.with_index(1).reduce(0) { |acc, (digit, index)| acc + digit * 10 ** index }
<rubydoc> # => 1200000000010120 (https://carc.in/#/r/7yaj)
<robotcars> mostly I just want to unassociate the documentation to my local data
<havenwood> robotcars: No, I mean why is it 1234?
<havenwood> The 2 is a zero in the original you showed.
<havenwood> robotcars: 990000000002085
<havenwood> robotcars: 99 becomes 12, 2 becomes 1, 85 becomes 12. Right?
<havenwood> robotcars: What's the "correct" result for 990000000002085 and why?
<robotcars> true. my original request is wrong. i'm looking for if its an int 897345 i want 123456, and if its shardid, I want 260000057783097 split the shard and the id as idividiual suquences
<robotcars> 120000000001234
ElFerna has quit [Ping timeout: 265 seconds]
<robotcars> but I could be happy with either, just want to deassociate my records from the sample
<havenwood> &>> 897345.digits.reverse.chunk(&:zero?).flat_map { |zero, digits| zero ? digits : [*1..digits.size] }.reverse.each.with_index(1).reduce(0) { |acc, (digit, index)| acc + digit * 10 ** index }
<rubydoc> # => 1234560 (https://carc.in/#/r/7yak)
<havenwood> hrm
<havenwood> robotcars: Oh, so there's only one clump of zeros you care about separating two numbers?
<robotcars> yes.
justamuggle has quit [Remote host closed the connection]
<robotcars> which might require modulo / split and rebuild?
chalkmonster has joined #ruby
<havenwood> robotcars: It seems like ambiguity arises, no? What is the result for? 90909090
<havenwood> robotcars: Which zero is the important one?
<robotcars> 90909090 10203040
<robotcars> 8 8
AJA4351 has joined #ruby
<havenwood> oops, off by one error
<havenwood> &>> 897345.digits.reverse.chunk(&:zero?).flat_map { |zero, digits| zero ? digits : [*1..digits.size] }.reverse.each_with_index.reduce(0) { |acc, (digit, index)| acc + digit * 10 ** index }
<rubydoc> # => 123456 (https://carc.in/#/r/7yal)
<havenwood> there
Swyper has joined #ruby
<Swyper> hi
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
<havenwood> robotcars: okay, I definitely do't. get. the rules. lol.
<havenwood> swyper: hi
<Swyper> so I have an array of objects, those objects have an attribute 'name'
<Net> it is so unclear to me what is trying to be accomplished here
<havenwood> robotcars: Gist 10 or so examples and the corresponding output?
<Swyper> I want to remove an element in that array based off of its attribute 'name'
<Swyper> how would I go about accomplishing that?
<havenwood> swyper: Just one or all that have that name?
<Swyper> all that have that name
<havenwood> swyper: objects.reject { |object| object.name == 'foo'. }
<Swyper> sweet
<havenwood> swyper: dot typo
<Swyper> will that modify that array in place?
<Swyper> or just return a new array with those elements excluded
<Net> new array
<havenwood> swyper: no, it'll create a new one but it's cheap to do so. to modify i place: objects.reject! { ...
<havenwood> in place*
Intelo has quit [Ping timeout: 264 seconds]
Guest28414 has quit [Ping timeout: 240 seconds]
<havenwood> robotcars: Instead of #split(//) you can #chars or #each_char.
<havenwood> robotcars: I'd recommend #digits instead to not involve strings in this.
<havenwood> robotcars: No need for #map! with a bang here - just #map.
<Swyper> havenwood that's fair but for my purpose I do want the original array modified, or I guess I could assign my old variable to the output of this reject statement
<havenwood> robotcars: A nice way to say `d > 0` is `d.positive?`.
<Net> swyper: havenwood mentioned reject! :)
Intelo has joined #ruby
<Swyper> I know
<havenwood> A shorthand for `s = s + 1` is `s += `.
<havenwood> robotcars: s += 1
<Swyper> I was just explaining why I wanted one over the other Net
<robotcars> ty
<havenwood> robotcars: I think you could combine your logic with what I showed with digits to make a good, fast version not involving strings but getting the desired result.
Intelo has quit [Remote host closed the connection]
Intelo has joined #ruby
<robotcars> i will work with it, thanks havenwood
<Swyper> dish_name.reject! { |dish| dish.to_s == dish_name }
<Swyper> chef.rb:45:in `remove': undefined method `reject!' for "dog":String (NoMethodError)
<Swyper> hm
<havenwood> swyper: "dog".include? "og"
<Swyper> whoops that should have been the array in there
<Swyper> yay its working
<Swyper> the error was occurring b/c I was not putting the array.reject cause I had a brain fart I was putting stringname.reject
chalkmonster has quit [Quit: WeeChat 2.6]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
banisterfiend has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
john__ has quit [Ping timeout: 268 seconds]
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Intelo has quit [Ping timeout: 240 seconds]
Mia has quit [Ping timeout: 240 seconds]
BTRE has quit [Read error: Connection reset by peer]
akemhp has quit [Ping timeout: 240 seconds]
<NL3limin4t0r> swyper: There is also Array#delete_if which does largely the same thing, but depending on the context the wording might fit better.
<NL3limin4t0r> #delete_if always returns the array, whereas #reject! only returns the array if there where changes made.
<NL3limin4t0r> Furthermore #reject! applies changes after iterating the whole array, whereas #delete_if applies changes after each block execution. Which might be relevant in some scenarios.
<Swyper> so delete_if has a better runtime ?
akemhp has joined #ruby
<NL3limin4t0r> swyper: It might have, I've never ran tests for it.
<leftylink> that is interesting. had not thought about that difference
<havenwood> swyper: I typically use #reject. As NL3limin4t0r points out, #reject! has a weird `nil` return value so it really needs to be used to modify the receiver.
<havenwood> swyper: Both #reject! and #delete_if use `ary_reject_bang(ary);` under the hood in CRuby.
akemhp has quit [Ping timeout: 268 seconds]
ElFerna_1 has quit [Quit: WeeChat 1.9.1]
<havenwood> swyper: So #reject! just returns the result of the function: return ary_reject_bang(ary);
<havenwood> swyper: While #delete_if returns the ary no matter what: ary_reject_bang(ary); return ary;
akemhp has joined #ruby
<havenwood> Otherwise, they're identical - so same performance.
shirak has joined #ruby
<Swyper> cool cool
<NL3limin4t0r> havenwood: If they call the same function under the hood, why does the documentation state "The array may not be changed instantly every time the block is called." in the Array#reject! documentation, and "The array is changed instantly every time the block is called, not after the iteration is over." in the Array#delete_if documentation?
<havenwood> NL3limin4t0r: The only difference is the order they call `ary_verify(ary);` and `RETURN_SIZED_ENUMERATOR`.
<havenwood> NL3limin4t0r: They definitely both call ary_reject_bang() under the hood ¯\_(ツ)_/¯
<havenwood> NL3limin4t0r: Maybe an implementation detail? Odd.
ellcs has joined #ruby
<leftylink> lol
<leftylink> lol
<leftylink> lol
<NL3limin4t0r> I do understand why they've choosen to return nil in case of an unchanged array for #reject! though.
<NL3limin4t0r> If you are planning to uses the modifying version you should aleardy have the array saved inside variable, so there is no need to return the array itself.
<leftylink> then either: delete_if doc is correct and reject! doc is "correct" but misleading ("may not" still allows the possibility of "is, but may not"), or reject! doc is correct and delete_if doc is outright wrong
<leftylink> &>> b = []; a = (1..100).to_a; a.delete_if { b << a.size }; b
<rubydoc> # => [100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100,... check link for more (https://carc.in/#/r/7yaq)
<leftylink> lol.
<NL3limin4t0r> Instead they've chosen to return a truthy value if changed, and falsy value if unchanged. This check cannot be executed afterwards, since you've changed the original.
<NL3limin4t0r> (unless you dup/clone the array at which point you where better of using #reject)
<NL3limin4t0r> s/the array/the array beforehand/
Swyper has quit [Remote host closed the connection]
TomyWork has quit [Ping timeout: 246 seconds]
chalkmonster has joined #ruby
ElFerna has joined #ruby
<NL3limin4t0r> leftylink: Seems like the documentation of #delete_if is wrong, at least when I run the following:
<NL3limin4t0r> &>> [1, 2, 3].tap { |array| array.delete_if { |n| array.index(n).zero? } }
<rubydoc> # => [2, 3] (https://carc.in/#/r/7yar)
<NL3limin4t0r> &>> [1, 2, 3].tap { |array| array.reject! { |n| array.index(n).zero? } }
<rubydoc> # => [2, 3] (https://carc.in/#/r/7yas)
<leftylink> 100 100 100
<leftylink> er, by that I mean "we agree."
<NL3limin4t0r> If the array where to be modified after each block execution the #delete_if version should end up with an empty array.
<leftylink> if the array were to be modified after any block execution, there would be non-100 in the array
<leftylink> (by that I mean "I agree with you")
<Guest93720> could be that this used to be different, but the documentation is not reflecting a change?
Guest93720 is now known as phaul
<phaul> ^that was me
<NL3limin4t0r> leftylink: yeah, I was aware of that 😉
<phaul> &20>> [1, 2, 3].tap { |array| array.delete_if { |n| array.index(n).zero? } }
<rubydoc> # => [] (https://carc.in/#/r/7yau)
<leftylink> it's probably the accidentally quadratic change.
banisterfiend has quit [Ping timeout: 276 seconds]
<phaul> &21>> [1, 2, 3].tap { |array| array.delete_if { |n| array.index(n).zero? } }
<rubydoc> # => [] (https://carc.in/#/r/7yav)
<phaul> &22>> [1, 2, 3].tap { |array| array.delete_if { |n| array.index(n).zero? } }
<rubydoc> # => [] (https://carc.in/#/r/7yaw)
<phaul> &23>> [1, 2, 3].tap { |array| array.delete_if { |n| array.index(n).zero? } }
<rubydoc> # => [2, 3] (https://carc.in/#/r/7yax)
<leftylink> https://github.com/ruby/ruby/commit/5ec029d1ea52224a365a11987379c3e9de74b47a - change reject! doc, didn't change delete_if doc
<leftylink> very easy omission to make
<leftylink> we are but human
<leftylink> probably an easy fix to contribute if someone wanted to be able to say "I've contributed (in some way, however small) to Ruby documentation"
<NL3limin4t0r> yep, it's not often you encounter invalid info in the official ruby doc. this is my second time
AJA4351 has joined #ruby
<phaul> so who's doing it ? :D
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
<NL3limin4t0r> I currently don't have the time. If you guys don't have it done tomorrow I'll submit a PR.
<NL3limin4t0r> The previous documention fix I proposed was simply changing `false` to `true` xD
d^sh has quit [Ping timeout: 240 seconds]
d^sh has joined #ruby
ElFerna has quit [Ping timeout: 265 seconds]
bvdw has quit [Read error: Connection reset by peer]
NL3limin4t0r is now known as NL3limin4t0r_afk
bvdw has joined #ruby
dr_mdma_md has quit [Quit: Connection closed for inactivity]
ElFerna has joined #ruby
teclator has quit [Ping timeout: 265 seconds]
GodFather has joined #ruby
brool has joined #ruby
shirak has quit [Ping timeout: 246 seconds]
ellcs has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ElFerna has quit [Quit: WeeChat 1.9.1]
teclator has joined #ruby
akemhp has quit [Ping timeout: 276 seconds]
Jonopoly has joined #ruby
teardown has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
teardown has joined #ruby
i9zO5AP has quit [Ping timeout: 240 seconds]
i9zO5AP has joined #ruby
AJA4351 has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
LaChiave has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
sandstrom has joined #ruby
banisterfiend has joined #ruby
xco has joined #ruby
haivron has quit [Quit: haivron]
bitwinery has joined #ruby
akemhp has joined #ruby
BTRE has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ruby
akemhp_ has joined #ruby
kitikonti has joined #ruby
kitikonti has quit [Client Quit]
millerti has joined #ruby
akemhp has quit [Ping timeout: 265 seconds]
teclator has quit [Ping timeout: 240 seconds]
teclator has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ai9zO5AP has joined #ruby
akemhp has joined #ruby
akemhp_ has quit [Ping timeout: 264 seconds]
dviola has joined #ruby
i9zO5AP has quit [Ping timeout: 276 seconds]
akemhp has quit [Ping timeout: 276 seconds]
dviola has quit [Quit: WeeChat 2.6]
eljimmy has joined #ruby
eljimbo has quit [Ping timeout: 268 seconds]
howdoi has joined #ruby
Jonopoly has quit [Quit: WeeChat 2.5]
akemhp has joined #ruby
eljimmy has quit [Ping timeout: 240 seconds]
BTRE has quit [Read error: Connection reset by peer]
akemhp_ has joined #ruby
eljimmy has joined #ruby
ellcs has joined #ruby
BTRE has joined #ruby
akemhp has quit [Ping timeout: 268 seconds]
akemhp_ has quit [Ping timeout: 245 seconds]
jinie has joined #ruby
Xiti has quit [Quit: Xiti]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jinie has quit [Client Quit]
jinie has joined #ruby
akemhp has joined #ruby
AJA4350 has quit [Ping timeout: 276 seconds]
SegFaultAX has joined #ruby
RiPuk_ has joined #ruby
RiPuk has quit [Read error: Connection reset by peer]
akemhp has quit [Ping timeout: 252 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
SeepingN has joined #ruby
Xiti has joined #ruby
wildtrees has quit [Quit: Leaving]
poontangmessiah has joined #ruby
teardown has quit [Ping timeout: 265 seconds]
ellcs has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
teardown has joined #ruby
AJA4350 has joined #ruby
Ai9zO5AP has quit [Ping timeout: 240 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
Ai9zO5AP has joined #ruby
wildtrees has joined #ruby
Ai9zO5AP has quit [Client Quit]
schne1der has quit [Ping timeout: 276 seconds]
CrazyEddy has joined #ruby
teclator has quit [Ping timeout: 268 seconds]
RiPuk has joined #ruby
RiPuk_ has quit [Read error: Connection reset by peer]
Swyper has joined #ruby
teclator has joined #ruby
brool has quit [Ping timeout: 246 seconds]
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
jinie has joined #ruby
spacesuitdiver has joined #ruby
brool has joined #ruby
bsdband76 has joined #ruby
bsdbandit-01 has quit [Ping timeout: 276 seconds]
bsdbandit-01 has joined #ruby
bsdband76 has quit [Ping timeout: 276 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
shirak has joined #ruby
laylaxh has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 has joined #ruby
AJA4351 is now known as AJA4350
LaChiave has quit [Quit: Bye Bye]
teclator has quit [Quit: No Ping reply in 180 seconds.]
teclator has joined #ruby
hiroaki has quit [Ping timeout: 268 seconds]
shirak has quit [Read error: Connection reset by peer]
drincruz has quit [Ping timeout: 265 seconds]
shirak has joined #ruby
cloaked1 has quit [Ping timeout: 240 seconds]
spacesuitdiver has quit [Ping timeout: 268 seconds]
poontangmessiah has quit [Quit: Leaving]
Swyper has quit [Remote host closed the connection]
teclator has quit [Ping timeout: 276 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
teclator has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
spacesuitdiver has joined #ruby
Swyper has quit [Remote host closed the connection]
bobdobbs` has quit [Remote host closed the connection]