baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview1: https://www.ruby-lang.org || Paste 4+ lines of text to https://gist.github.com || Rails questions? Ask in #RubyOnRails || Books: https://goo.gl/wpGhoQ || Logs: https://irclog.whitequark.org/ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 240 seconds]
nadir has joined #ruby
pppktz has quit [Ping timeout: 256 seconds]
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
coderphive has quit [Quit: coderphive]
duderonomy has joined #ruby
workmad3 has joined #ruby
ciscam has quit [Ping timeout: 260 seconds]
thejoecarroll has quit [Ping timeout: 240 seconds]
konsolebox has quit [Ping timeout: 260 seconds]
ciscam has joined #ruby
n0m4d1c_ has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
n0m4d1c has quit [Ping timeout: 265 seconds]
duderono_ has joined #ruby
duderono_ has quit [Client Quit]
cthu| has quit [Ping timeout: 240 seconds]
duderonomy has quit [Ping timeout: 265 seconds]
pppktz has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
pppktz has quit [Ping timeout: 264 seconds]
Deon has quit [Remote host closed the connection]
pppktz has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
rshetty has joined #ruby
cagomez has joined #ruby
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Ping timeout: 256 seconds]
rshetty has quit [Ping timeout: 265 seconds]
AJA4350 has quit [Quit: AJA4350]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phate408 has quit [Remote host closed the connection]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
karapetyan has joined #ruby
herbmillerjr has joined #ruby
duderonomy has joined #ruby
karapetyan has quit [Ping timeout: 276 seconds]
halt has joined #ruby
yokel has quit [Remote host closed the connection]
halt is now known as Guest23129
marxarelli is now known as marxarelli|afk
dinfuehr_ has joined #ruby
yokel has joined #ruby
rshetty has joined #ruby
cyberg has quit [Quit: Leaving]
dinfuehr has quit [Ping timeout: 276 seconds]
rshetty has quit [Ping timeout: 240 seconds]
rshetty has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rabajaj has quit [Ping timeout: 255 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
rshetty has quit [Ping timeout: 260 seconds]
quobo has quit [Quit: Connection closed for inactivity]
erlend has quit [Ping timeout: 264 seconds]
erlend has joined #ruby
orbyt_ has joined #ruby
shterrett has quit [Quit: shterrett]
bmurt has joined #ruby
rabajaj has joined #ruby
darkhanb has joined #ruby
Puffball_ has quit [Read error: Connection reset by peer]
cats has quit [Ping timeout: 256 seconds]
Miron has quit [Ping timeout: 256 seconds]
gizmore has joined #ruby
coderphive has joined #ruby
Dimik has joined #ruby
gizmore|2 has quit [Ping timeout: 240 seconds]
sameerynho has quit [Ping timeout: 265 seconds]
rabajaj has quit [Quit: Leaving]
lpmusic has quit [Remote host closed the connection]
nikivi- has quit [Quit: ZNC 1.6.6 - http://znc.in]
rshetty has joined #ruby
tdy has quit [Ping timeout: 264 seconds]
nikivi has joined #ruby
cats has joined #ruby
Miron has joined #ruby
shinnya has quit [Ping timeout: 260 seconds]
netherwolfe has joined #ruby
rshetty has quit [Ping timeout: 240 seconds]
noobineer has quit [Remote host closed the connection]
ryzokuken has quit [Remote host closed the connection]
netherwolfe has quit [Ping timeout: 276 seconds]
bmurt has quit [Ping timeout: 265 seconds]
pilne has quit [Quit: Leaving]
dinfuehr has joined #ruby
baweaver is now known as baweaver_away
dinfuehr_ has quit [Ping timeout: 264 seconds]
tdy has joined #ruby
sucks has joined #ruby
ramfjord has joined #ruby
karapetyan has joined #ruby
workmad3 has joined #ruby
schneider has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
rshetty has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
schneider has quit [Ping timeout: 240 seconds]
n0m4d1c_ has quit [Read error: Connection reset by peer]
RougeR has quit [Ping timeout: 264 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
rshetty has quit [Ping timeout: 260 seconds]
rshetty has joined #ruby
Yxhvd has quit [Quit: No Ping reply in 180 seconds.]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yxhuvud has joined #ruby
coderphive has quit [Quit: coderphive]
jenrzzz has joined #ruby
schneider has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
james__ has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
bdnelson has joined #ruby
james__ has quit [Quit: This computer has gone to sleep]
orbyt_ has joined #ruby
pastorinni has joined #ruby
rshetty has quit [Remote host closed the connection]
ramfjord has joined #ruby
rshetty has joined #ruby
cagomez has joined #ruby
cadillac_ has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
james__ has joined #ruby
rshetty has quit [Ping timeout: 256 seconds]
sanscoeur has joined #ruby
ramfjord has joined #ruby
james__ has quit [Client Quit]
kapil___ has quit [Quit: Connection closed for inactivity]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Dimik has quit [Ping timeout: 260 seconds]
cagomez has quit [Ping timeout: 256 seconds]
Yxhuvud has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
MonicleLewinsky has left #ruby ["Byee"]
cadillac_ has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
schneider has joined #ruby
ramfjord has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
pastorinni has quit []
ramfjord has quit [Ping timeout: 260 seconds]
JankyDoodle has joined #ruby
rshetty has joined #ruby
rshetty has quit [Ping timeout: 265 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
bdnelson has quit [Quit: WeeChat 1.9.1]
nadir has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
erlend has quit [Ping timeout: 260 seconds]
Yxhuvud has joined #ruby
erlend has joined #ruby
schneider has joined #ruby
cagomez has joined #ruby
ramfjord has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
jcarl43 has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
cadillac_ has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
kiki_lamb has joined #ruby
howdoi has joined #ruby
<kiki_lamb> Is there an active, modern CLR implementation of Ruby? IronRuby looks long dead.
cschneid_ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
ryzokuken has joined #ruby
ryzokuken has quit [Client Quit]
ryzokuken has joined #ruby
zenulv has quit [Remote host closed the connection]
sucks has quit [Ping timeout: 260 seconds]
govg has quit [Ping timeout: 256 seconds]
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
Creatornator has joined #ruby
houhoulis has quit [Remote host closed the connection]
raatiniemi has quit [Ping timeout: 256 seconds]
raatiniemi has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
cschneid_ has joined #ruby
thejoecarroll has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
ciscam has quit [Ping timeout: 264 seconds]
imode has quit [Ping timeout: 268 seconds]
ciscam has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
phate408 has joined #ruby
rshetty has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 264 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
rshetty has joined #ruby
cschneid_ has joined #ruby
rshetty has quit [Ping timeout: 255 seconds]
_aeris_ has quit [Read error: Connection reset by peer]
shoogz has quit [Read error: Connection reset by peer]
_aeris_ has joined #ruby
shoogz has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.1]
ur5us has quit [Ping timeout: 260 seconds]
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
venmx has joined #ruby
rshetty has joined #ruby
reber has joined #ruby
imode has joined #ruby
rshetty has quit [Ping timeout: 276 seconds]
alfiemax has joined #ruby
venmx has quit [Ping timeout: 276 seconds]
kenichi has quit [Ping timeout: 264 seconds]
russt has quit [Ping timeout: 256 seconds]
kenichi has joined #ruby
G has quit [Ping timeout: 256 seconds]
venmx has joined #ruby
G has joined #ruby
kapil___ has joined #ruby
russt has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
conta has joined #ruby
Klumben has quit [Ping timeout: 245 seconds]
Liothen has quit [Ping timeout: 245 seconds]
erlend has quit [Ping timeout: 260 seconds]
erlend has joined #ruby
rshetty has joined #ruby
ericmath1son has quit [Ping timeout: 255 seconds]
ericmathison has joined #ruby
andikr has joined #ruby
Liothen has joined #ruby
Liothen has joined #ruby
Liothen has quit [Changing host]
cschneid_ has joined #ruby
anisha_ has joined #ruby
sauvin has joined #ruby
n008f4g_ has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
aupadhye has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
n008f4g_ has quit [Ping timeout: 240 seconds]
aufi has joined #ruby
venmx has quit [Ping timeout: 268 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
cschneid_ has quit [Ping timeout: 265 seconds]
AndBobsYourUncle has joined #ruby
TomyLobo has quit [Ping timeout: 245 seconds]
anisha_ has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
rshetty has quit [Remote host closed the connection]
anisha_ has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
pd2000 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
AndBobsYourUncle has quit [Quit: Textual IRC Client: www.textualapp.com]
solocshaw has joined #ruby
sundhell_away is now known as sundhell
bijan_ has joined #ruby
roshanavand has joined #ruby
bijan_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
loveablelobster has joined #ruby
pd2000 has quit [Quit: Leaving]
suukim has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
ogres has quit [Quit: Connection closed for inactivity]
<loveablelobster> locally built and installed gem can't be found ('cannot load such file') in Ruby 2.5.1 even though it is listed and can be loaded in irb. This happens when running RSPec, and after that failure, PRY can't load the gem anymore but IRB still can. Anybody experienced that?
<loveablelobster> works fine in Ruby <= 2.5.0
pd2000 has joined #ruby
cschneid_ has joined #ruby
solocshaw has quit [Quit: solocshaw]
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
<dminuoso> loveablelobster: Gist a testcase.
amar has joined #ruby
bijan_ has joined #ruby
bijan_ has quit [Client Quit]
law has left #ruby [#ruby]
trautwein_ has quit [Quit: ZNC 1.6.6 - http://znc.in]
trautwein has joined #ruby
quobo has joined #ruby
venmx has joined #ruby
ciscam has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
ciscam has joined #ruby
cschneid_ has quit [Ping timeout: 265 seconds]
jinie has joined #ruby
jinie has quit [Client Quit]
schneider has joined #ruby
ryzokuken has quit [Remote host closed the connection]
amelliaa has joined #ruby
jinie has joined #ruby
clemens3_ has joined #ruby
amar has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
Burgestrand has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
jinie has joined #ruby
schneider has quit [Ping timeout: 255 seconds]
erlend has quit [Ping timeout: 260 seconds]
psychicist__ has joined #ruby
claudiuinberlin has joined #ruby
jinie has quit [Client Quit]
erlend has joined #ruby
jinie has joined #ruby
cschneid_ has joined #ruby
pd2000 has quit [Quit: Leaving]
cschneid_ has quit [Ping timeout: 265 seconds]
_rshetty_ has joined #ruby
_rshetty_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
<kke> if i have an instance of Bar::Foo, is there some pretty way to do something like `foo.is_a?(Bar::*)` that is not `.to_s.split('::').first == 'Bar' `
pd2000 has joined #ruby
rshetty has joined #ruby
loveablelobster has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
rshetty has quit [Remote host closed the connection]
vondruch has joined #ruby
pd2000 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
pd2000 has joined #ruby
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
workmad3 has joined #ruby
Klumben has joined #ruby
rshetty has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
jinie has joined #ruby
jinie has quit [Client Quit]
jinie has joined #ruby
rshetty has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 245 seconds]
pd2000 has quit [Quit: Leaving]
<dminuoso> kke: No.
rshetty has joined #ruby
alfiemax has quit [Remote host closed the connection]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
<dminuoso> foo.class =~ /^Bar/
<dminuoso> Maybe
jenrzzz has quit [Ping timeout: 245 seconds]
Bish_ is now known as Bish
venmx has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
jnollette has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 255 seconds]
nertzy has quit [Ping timeout: 264 seconds]
loveablelobster has joined #ruby
cschneid_ has quit [Ping timeout: 265 seconds]
nertzy has joined #ruby
tomphp has joined #ruby
jnollette has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
schickung has joined #ruby
cschneid_ has joined #ruby
alfiemax has joined #ruby
bijan_ has joined #ruby
drale2k_ has joined #ruby
schneider has joined #ruby
guille-moe has joined #ruby
Azure has quit [Read error: Connection reset by peer]
rshetty has quit [Remote host closed the connection]
Azure has joined #ruby
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
<Bish> dminuoso: o/
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
loveablelobster has quit [Quit: Textual IRC Client: www.textualapp.com]
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
venmx has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has quit [Ping timeout: 260 seconds]
vondruch has quit [Ping timeout: 260 seconds]
vondruch has joined #ruby
tvw has joined #ruby
Beams has joined #ruby
rshetty has quit [Remote host closed the connection]
imode has quit [Ping timeout: 260 seconds]
rshetty has joined #ruby
schneider has joined #ruby
marr has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Panique_ has joined #ruby
Panique_ has quit [Remote host closed the connection]
rshetty has quit [Ping timeout: 265 seconds]
bijan_ has quit [Quit: Textual IRC Client: www.textualapp.com]
pd2000 has joined #ruby
Panique_ has joined #ruby
cschneid_ has quit [Ping timeout: 256 seconds]
pd2000 has quit [Max SendQ exceeded]
howdoi has quit [Quit: Connection closed for inactivity]
mikecmpbll has joined #ruby
rshetty has joined #ruby
rshetty has quit [Client Quit]
pd2000 has joined #ruby
bobi has joined #ruby
ur5us has joined #ruby
Sina has joined #ruby
ur5us has quit [Remote host closed the connection]
Azure has quit [Read error: Connection reset by peer]
pd2000 has quit [Ping timeout: 264 seconds]
Azure has joined #ruby
cschneid_ has joined #ruby
Panique_ has quit [Remote host closed the connection]
mtkd has joined #ruby
amar has joined #ruby
suukim has quit [Quit: Konversation terminated!]
vondruch_ has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
vondruch has quit [Ping timeout: 256 seconds]
vondruch_ is now known as vondruch
schneider has quit [Ping timeout: 264 seconds]
amatas has joined #ruby
dr3w_ has joined #ruby
minimalism has quit [Quit: minimalism]
mn3m has joined #ruby
alfiemax has quit [Remote host closed the connection]
schickung_ has joined #ruby
alfiemax has joined #ruby
guille-moe has quit [Ping timeout: 260 seconds]
vondruch has quit [Ping timeout: 264 seconds]
amatas has quit [Quit: amatas]
vondruch has joined #ruby
ciscam has quit [Ping timeout: 265 seconds]
amatas has joined #ruby
nowhere_man has joined #ruby
schneider has joined #ruby
schickung has quit [Ping timeout: 260 seconds]
schickung_ is now known as schickung
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
Junaos has quit [Ping timeout: 260 seconds]
G has quit [Ping timeout: 265 seconds]
ellcs has joined #ruby
ciscam has joined #ruby
G has joined #ruby
drale2k_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Junaos has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
cschneid_ has quit [Ping timeout: 268 seconds]
amar has quit [Ping timeout: 260 seconds]
erlend has quit [Ping timeout: 260 seconds]
dionysus69 has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
inoperable has quit [Quit: ZNC 1.6.6 - http://znc.in]
erlend has joined #ruby
inoperable has joined #ruby
Burgestrand has quit [Quit: Closing time!]
rabajaj has joined #ruby
claudiuinberlin has joined #ruby
schneider has joined #ruby
eugenmayer has joined #ruby
<eugenmayer> anybody here using intellij / rubymine with the remote ruby debugger, while letting the rails app running in a docker container .. and fails with path mappings ( breakpoints never attach ) ?
cschneid_ has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has quit [Ping timeout: 265 seconds]
drale2k_ has joined #ruby
workmad3 has joined #ruby
schneider has joined #ruby
apeiros has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
schickung has quit [Quit: schickung]
schneider has joined #ruby
ciscam has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
TomyLobo has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
Bish_ has joined #ruby
Bish has quit [Ping timeout: 268 seconds]
schneider has joined #ruby
guille-moe has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
dr3w_ has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
cschneid_ has quit [Ping timeout: 264 seconds]
KeyJoo has joined #ruby
vondruch has quit [Ping timeout: 256 seconds]
cschneid_ has joined #ruby
KeyJoo has quit [Max SendQ exceeded]
schneider has joined #ruby
ryzokuken has joined #ruby
KeyJoo has joined #ruby
vondruch has joined #ruby
sundhell is now known as sundhell_away
schneider has quit [Ping timeout: 260 seconds]
Azure has quit [Read error: Connection reset by peer]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
einarj has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
Azure has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
arup_r has joined #ruby
<arup_r> I have an array of string which looks like https://gist.github.com/aruprakshit/ae1449102a6fe6f156fd1860c99be290#file-array-txt . How do I implement sort logic for this?
howdoi has joined #ruby
drale2k_ has joined #ruby
schneider has joined #ruby
<tobiasvl> arup_r: sorry, what's your specific question? do you know how you want to sort it?
<arup_r> tobiasvl: yeah, the question is very vauge indeed. ignore me.
<tobiasvl> /ignore arup_r
<arup_r> I am trying to solve it by myself.
cschneid_ has quit [Ping timeout: 265 seconds]
z3uS has quit [Ping timeout: 276 seconds]
z3uS has joined #ruby
cschneid_ has joined #ruby
AJA4350 has joined #ruby
<sonOfRa> arup_r: only german license plates? Or also others?
<arup_r> it can be others too .. Are you from Germany? :)
<sonOfRa> Well if it can be others too, just alphabetically sort them
<sonOfRa> There's not going to be any real logic behind it, especially because lots of other countries don't have regionalized license plate
<arup_r> what about those space or '-' ?
<sonOfRa> replace all dashes with spaces
<sonOfRa> or just remove all spaces and dashes
<arup_r> hm. that is what I was thinking to do too
<arup_r> thanks for your time sonOfRa
<sonOfRa> Though removing everything might yield bad results
<sonOfRa> For example, if you have a car from Hannover (H) with number B 1234
<sonOfRa> Or rather, BA 1234
<sonOfRa> That may also be a car from HB-A-1234
<sonOfRa> So probably best to retain the separator, but make sure to use the same separator everywhere
Burgestrand has joined #ruby
arup_r has quit [Remote host closed the connection]
amelliaa has quit [Quit: -]
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bobi has quit [Ping timeout: 260 seconds]
arup_r has joined #ruby
<arup_r> sonOfRa: as the values comes from DB, I am going to try this https://stackoverflow.com/a/7019086/2767755 . I think this will work.
Papierkorb has joined #ruby
<sonOfRa> Might make sense to try and clean the DB a bit, mixed spaces and dashes are probably going to throw that off
Papierkorb has left #ruby ["Konversation terminated!"]
dr3w_ has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
dionysus69 has quit [Remote host closed the connection]
psychicist__ has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 276 seconds]
ferr has joined #ruby
ferr has left #ruby [#ruby]
arup_r has quit [Remote host closed the connection]
schneider has joined #ruby
Cavallari has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
cschneid_ has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
<apeiros> hm, anybody happen to know the command for `gem` itself to install gems from a Gemfile (i.e. without bundler)?
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
psychicist__ has joined #ruby
ellcs has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
ldnunes has joined #ruby
<apeiros> aha, `gem install -g` (and on a sidenote, `gem -h install` apparently isn't the same as `gem help install`)
cschneid_ has joined #ruby
kloeri_ is now known as kloeri
schickung has joined #ruby
<dminuoso> apeiros: See gem_dependencies command
goatish has joined #ruby
<apeiros> dminuoso: already found `gem install -g` ;-)
<dminuoso> race conditions upon race conditions.
schneider has joined #ruby
<apeiros> it's a racy world, full of conditions
<dminuoso> Do we have an official smoosh/smooshMap proposal already by the way?
karapetyan has joined #ruby
<apeiros> oh my 😂
<apeiros> no, I don't think we have
<dminuoso> apeiros: I recently discussed a possible project to create ACME packages in Haskell
<dminuoso> So we provide a Data.Crushor package with an explanation: "a crushor is just a smooshoid in the smooshoidial category of endosmoothies using composition for the bismoothie"
jeffreylevesque has quit [Ping timeout: 265 seconds]
<dminuoso> giving you access to smoosh, smooshMap, paMhsooms and woosh
<dminuoso> so you can smoosh and woosh your data.
schneider has quit [Ping timeout: 240 seconds]
<dminuoso> And maybe an equivalent Comonad package with: coskidoosh = extract; cosmoosh = duplicate; bazinga = extend; kazing = (=>=); gnizak = (=<=)
hinbody has quit [Quit: leaving]
karapetyan has quit [Ping timeout: 240 seconds]
zautomata1 has quit [Quit: WeeChat 1.9.1]
erlend has quit [Ping timeout: 264 seconds]
hinbody has joined #ruby
karapetyan has joined #ruby
schneider has joined #ruby
erlend has joined #ruby
karapetyan has quit [Remote host closed the connection]
jcalla has joined #ruby
<apeiros> awesome. seems like rails-assets-knockoutjs gem just vanished.
<apeiros> and of course we depend on it.
<apeiros> dminuoso: what's an ACME package?
<apeiros> lol, ok, sounds like a smooth tool you want to build :-p
duderonomy has joined #ruby
<apeiros> dminuoso: you don't happen to know whether there's a way to do `gem install -g Gemfile <<WITHOUT GEM X>>`?
<apeiros> i.e. install everything according to gemfile, but don't install gem "foobar"
schneider has quit [Ping timeout: 265 seconds]
rfoust has joined #ruby
jnollette has quit [Remote host closed the connection]
schneider has joined #ruby
karapetyan has joined #ruby
jnollette has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
<apeiros> ok, seems `gem install -g` can't fully reproduce a `bundle install` yet.
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
jrafanie has joined #ruby
cschneid_ has quit [Ping timeout: 276 seconds]
james__ has joined #ruby
giraffe has quit [Remote host closed the connection]
tpendragon has quit [Remote host closed the connection]
amatas has quit [Quit: amatas]
cschneid_ has joined #ruby
eugenmayer has quit [Read error: Connection reset by peer]
schneider has quit [Ping timeout: 264 seconds]
james__ has quit [Client Quit]
schneider has joined #ruby
<dminuoso> apeiros: ACME packages is basically just troll packages.
<dminuoso> apeiros: Let me show you some of the finer examples
<dminuoso> apeiros: https://hackage.haskell.org/package/acme-everything is really wonderful (just read the description, its golden)
megamos has joined #ruby
<dminuoso> https://hackage.haskell.org/package/acme-missiles-0.3 is a running gag in the community..
schneider has quit [Ping timeout: 265 seconds]
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
<dminuoso> https://hackage.haskell.org/package/acme-cofunctor is also incredibly useful..
tcopeland has quit [Quit: tcopeland]
schneider has joined #ruby
roshanavand has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 256 seconds]
gray_-_wolf has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
bmurt has joined #ruby
schneider has joined #ruby
jeffreylevesque has joined #ruby
anisha_ has quit [Quit: This computer has gone to sleep]
coderphive has joined #ruby
dr3w_ has joined #ruby
oleo has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
Bish_ has quit [Ping timeout: 265 seconds]
duderonomy has quit [Ping timeout: 240 seconds]
megamos has quit [Ping timeout: 240 seconds]
Bish has joined #ruby
megamos has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
smithascari has joined #ruby
AJA4350 has quit [Quit: AJA4350]
schneider has joined #ruby
drale2k_ has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has quit [Ping timeout: 240 seconds]
netherwolfe has joined #ruby
schneider has joined #ruby
alfiemax has quit [Remote host closed the connection]
AJA4350 has joined #ruby
stormpack has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
KeyJoo has quit [Remote host closed the connection]
duderonomy has joined #ruby
schneider has joined #ruby
shinnya has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
dr3w_ has quit [Read error: Connection reset by peer]
tcopeland has joined #ruby
dr3w_ has joined #ruby
schneider has joined #ruby
cschneid_ has quit [Ping timeout: 265 seconds]
conta has quit [Ping timeout: 240 seconds]
ogres has joined #ruby
k0mpa has joined #ruby
ellcs has quit [Ping timeout: 264 seconds]
Psybur has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
konsolebox has joined #ruby
schneider has joined #ruby
RougeR has quit [Ping timeout: 260 seconds]
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
cschneid_ has joined #ruby
giraffe has joined #ruby
schneider has joined #ruby
tpendragon has joined #ruby
cseder has joined #ruby
AJA4350 has quit [Remote host closed the connection]
AJA4350 has joined #ruby
cschneid_ has quit [Ping timeout: 256 seconds]
Cavallari1 has joined #ruby
Cavallari has quit [Ping timeout: 260 seconds]
Cavallari1 is now known as Cavallari
andikr has quit [Remote host closed the connection]
quobo has quit [Quit: Connection closed for inactivity]
phaul has joined #ruby
Burgestrand has quit [Quit: Closing time!]
ryzokuken has quit [Remote host closed the connection]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amatas has joined #ruby
cschneid_ has joined #ruby
<darix> dminuoso: ACME is a pretty nice protocol to get certificates
erlend has quit [Ping timeout: 240 seconds]
amatas_ has joined #ruby
Creatornator has joined #ruby
erlend has joined #ruby
stormpack has quit [Quit: Leaving]
Rapture has joined #ruby
amatas has quit [Ping timeout: 240 seconds]
amatas_ is now known as amatas
dr3w_ has quit [Read error: Connection reset by peer]
smithascari has quit [Quit: byee o/]
aupadhye has quit [Quit: Leaving]
dr3w_ has joined #ruby
Burgestrand has joined #ruby
Burgestrand has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
pastorinni has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has quit [Ping timeout: 265 seconds]
tomphp has joined #ruby
cschneid_ has quit [Ping timeout: 264 seconds]
mtkd has joined #ruby
n008f4g_ has joined #ruby
cschneid_ has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has quit [Remote host closed the connection]
dr3w_ has joined #ruby
stormpack has joined #ruby
karapetyan has joined #ruby
alfiemax has joined #ruby
cyberg has joined #ruby
ledestin has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
Cavallari has quit [Quit: Cavallari]
RougeR has joined #ruby
RougeR has quit [Changing host]
RougeR has joined #ruby
alfiemax_ has joined #ruby
cschneid_ has joined #ruby
BTRE has quit [Quit: Leaving]
alfiemax has quit [Ping timeout: 256 seconds]
psychicist__ has quit [Ping timeout: 276 seconds]
BTRE has joined #ruby
workmad3_ has joined #ruby
pastorinni has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
govg has quit [Quit: leaving]
cschneid_ has quit [Ping timeout: 264 seconds]
guille-moe has quit [Ping timeout: 276 seconds]
drale2k_ has joined #ruby
dr3w_ has quit [Read error: Connection reset by peer]
dr3w_ has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
guacamole has quit [Client Quit]
sanscoeur has quit [Remote host closed the connection]
cschneid_ has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
stormpack_ has joined #ruby
_seanc_ has joined #ruby
stormpack has quit [Ping timeout: 260 seconds]
Guest90324 has quit [Changing host]
Guest90324 has joined #ruby
Guest90324 is now known as mnemon
apparition has joined #ruby
karapetyan has quit [Remote host closed the connection]
ElFerna has joined #ruby
jokke has joined #ruby
<jokke> hey
<jokke> any ideas how to reduce the cyclomatic complexity for this? https://p.jokke.space/799/
netherwolfe_ has joined #ruby
<jokke> ah
<jokke> i know
mnemon has quit [Quit: Reconnecting]
<phaul> tell us then :)
schneider has quit [Ping timeout: 260 seconds]
<jokke> yeah. i'll try it out first
mnemon has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
John_Ivan has joined #ruby
schneider has joined #ruby
netherwolfe has quit [Ping timeout: 276 seconds]
clemens3_ has quit [Ping timeout: 256 seconds]
aufi has quit [Remote host closed the connection]
sepp2k has joined #ruby
Burgestrand has joined #ruby
jcarl43 has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
ElFerna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has quit [Ping timeout: 260 seconds]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cthulchu has joined #ruby
cadillac_ has quit [Ping timeout: 265 seconds]
schneider has joined #ruby
cadillac_ has joined #ruby
<apeiros> jokke: I prefer the former. much easier to read.
<apeiros> also Enumerable#find ;-p
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dr3w_ has quit [Read error: Connection reset by peer]
<jokke> but that would give me sth like [60, nil]
<jokke> so it'd be find { ... }.last or so
<jokke> which i don't like
Creatornator has joined #ruby
dr3w_ has joined #ruby
ryzokuken has joined #ruby
schickung has quit [Quit: schickung]
schneider has quit [Ping timeout: 240 seconds]
<havenwood> jokke: isn't 31_536_000 too small for a month?
netherwolfe_ has quit [Ping timeout: 265 seconds]
schneider has joined #ruby
cthulchu_ has joined #ruby
shinnya has quit [Ping timeout: 264 seconds]
tvw has quit [Remote host closed the connection]
pastorinni has joined #ruby
cthulchu has quit [Ping timeout: 260 seconds]
schneider has quit [Ping timeout: 260 seconds]
<kyle__> I think I"m having locking issues, and I'm confused.... I open a file, lock it, read it, modify my data, rewind, write it.
<kyle__> close it. After a few rounds it gets mangled :/
<kyle__> @f=File.open("smaller.json",File::RDWR|File::CREAT)
<kyle__> @f.flock(File::LOCK_EX)
<kyle__> @data=JSON.parse(@f.read)
workmad3_ has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
<jokke> havenwood: ummm
workmad3 has joined #ruby
<jokke> havenwood: how do you mean?
<jokke> 31_536_000 would be a year
<jokke> 60 * 60 * 24 * 365
cthu| has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
cthu| has quit [Remote host closed the connection]
npgm has joined #ruby
megamos has quit [Ping timeout: 256 seconds]
cthu| has joined #ruby
cthu| has quit [Remote host closed the connection]
cthulchu_ has quit [Ping timeout: 264 seconds]
cthu| has joined #ruby
cthu| has quit [Remote host closed the connection]
netherwolfe_ has joined #ruby
majuk has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
pastorinni has quit [Remote host closed the connection]
marxarelli|afk is now known as marxarelli
mikecmpbll has quit [Ping timeout: 240 seconds]
pastorinni has joined #ruby
<majuk> Hey all, new to Ruby, have a limitation someone might have insight into. When my Linux system boots, there is a rather long time before a system message comes up and says "random: nonblocking pool is initialized". Until this message comes up, I am unable to run any Ruby scripts.
<majuk> It's not a /huge/ problem, but I'd like to run a script at boot and this limitation is causing my script to be run waaaay later than desired.
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kyle__> majuk: What umm... scripts are you trying to run? The system's random isn't generally touched by ruby. I thought.
<majuk> kyle__: Nothing crazy, it's a script that programs some GigE PHYs over SPI
schneider has joined #ruby
<kyle__> majuk: Is it something you can share on a pastebin type system?
<majuk> kyle__: I can, but it will be a bit. I'll get back with you.
<majuk> Thanks for your time.
alex`` has joined #ruby
<kyle__> groovy
alex`` has quit [Client Quit]
einarj has quit [Remote host closed the connection]
einarj has joined #ruby
tolerablyjake has joined #ruby
pastorinni has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 256 seconds]
duderonomy has joined #ruby
mn3m has quit [Quit: mn3m]
alfiemax_ has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 264 seconds]
dr3w_ has joined #ruby
erlend has quit [Ping timeout: 240 seconds]
schneider has joined #ruby
alfiemax has joined #ruby
erlend has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
netherwolfe__ has joined #ruby
schneider has joined #ruby
megamosaren has joined #ruby
netherwolfe_ has quit [Ping timeout: 276 seconds]
megamosaren has quit [Client Quit]
darkhanb has joined #ruby
darkhanb has quit [Client Quit]
tolerablyjake has quit [Quit: Textual IRC Client: www.textualapp.com]
schneider has quit [Ping timeout: 240 seconds]
stormpack_ has quit [Quit: Leaving]
schneider has joined #ruby
mtkd has quit []
suukim has joined #ruby
tolerablyjake has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure|dc has joined #ruby
mtkd has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
ryan_ford has joined #ruby
ryan_ford has left #ruby [#ruby]
<kyle__> IN case anyone reading this wonders: it wasn't a locking problem, I wasn't truncating the file after writing json. Doh.
einarj has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
SeepingN has joined #ruby
nowhere_man has quit [Ping timeout: 260 seconds]
pd2000 has joined #ruby
schneider has joined #ruby
karapetyan has joined #ruby
Cavallari has joined #ruby
pastorinni has joined #ruby
einarj has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 276 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros__ has joined #ruby
apeiros__ has quit [Remote host closed the connection]
sanscoeur has joined #ruby
karapetyan has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
schneider has joined #ruby
pd2000 has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 276 seconds]
n0m4d1c has joined #ruby
pastorinni has quit [Remote host closed the connection]
psychicist__ has joined #ruby
danguita1 has quit [Quit: WeeChat 2.0.1]
Efendi has joined #ruby
orbyt_ has joined #ruby
schneider has joined #ruby
pastorinni has joined #ruby
<Efendi> Turk Yokmu Hec :D
danguita has joined #ruby
minimalism has joined #ruby
\void has joined #ruby
Efendi has quit [Client Quit]
Beams has quit [Quit: .]
schneider has quit [Ping timeout: 240 seconds]
venmx has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
nowhere_man has joined #ruby
danguita has quit [Ping timeout: 240 seconds]
pilne has joined #ruby
danguita has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
clemens3_ has joined #ruby
schneider has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
apeiros has joined #ruby
alfiemax has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 255 seconds]
schneider has joined #ruby
dhollin3 is now known as dhollinger
einarj has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
workmad3 has joined #ruby
netherwolfe_ has joined #ruby
schneider has quit [Ping timeout: 263 seconds]
cthulchu has joined #ruby
netherwolfe__ has quit [Ping timeout: 276 seconds]
tomphp has joined #ruby
schneider has joined #ruby
alex`` has joined #ruby
einarj has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 265 seconds]
gray_-_wolf has quit [Quit: WeeChat 2.1]
workmad3 has quit [Ping timeout: 276 seconds]
schneider has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
alfiemax_ has joined #ruby
amatas has quit [Quit: amatas]
schneider has quit [Ping timeout: 256 seconds]
alfiemax has quit [Ping timeout: 260 seconds]
claudiuinberlin has joined #ruby
<kevinburke> Hi there
<kevinburke> Not sure if this is the right room for rake questions - if there is a better one please let me know.
<kevinburke> It looks like when I invoke "rake a:b:c", every file in lib/tasks gets included, including all of their imports
<kevinburke> instead of just immediately requiring and running a/b/c
ramfjord has joined #ruby
<kevinburke> I'm used to Make, which will only run the target you tell it to run
schneider has joined #ruby
mistym has quit [Quit: ZNC - http://znc.in]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
<apeiros> kevinburke: rake a:b:c will indeed only run that task (and tasks which are defined as dependencies)
<kevinburke> huh
<apeiros> which code is loaded in what order is defined in your Rakefile
ElFerna has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
einarj has joined #ruby
<apeiros> i.e. it's up to you if you defined that all code for task a:b:c is in the file a/b/c, that only that file is loaded in that case (though I'm not actually sure how I'd do that)
<kevinburke> the Rakefile is pretty bare... it just has Rails.application.load_tasks in it. I'm trying to figure out if/how to work around that
alfiemax_ has quit [Remote host closed the connection]
<kevinburke> (maybe that is the thing loading all of lib/tasks)
<apeiros> correct
schneider has quit [Ping timeout: 268 seconds]
<apeiros> and since that's a rails app, you probably should not remove it.
<kevinburke> Right, I guess just adding that line puts a minimum execution time of, say, 10 seconds on every task. Also I'm wondering if there's a way to load less of rails to accomplish tasks like executing the asset pipeline, that don't or shouldn't need to talk to the database
einarj has quit [Remote host closed the connection]
alfiemax has joined #ruby
goatish has quit [Quit: bye]
<majuk> So I have a script that works as intended: https://pastebin.mozilla.org/9082492 I would like to set the hex argument (0x0077) with a command line arg, but it's not parsing out correctly. https://pastebin.mozilla.org/9082493 https://pastebin.mozilla.org/9082494 Can someone point me in the right direction?
<apeiros> kevinburke: unlikely
schneider has joined #ruby
<apeiros> kevinburke: it is more likely that you have some ill defined tasks
VeryBewitching has joined #ruby
<apeiros> majuk: ARGV is an array of strings, you want an integer
<apeiros> >> Integer("0x7777")
<ruby[bot]> apeiros: # => 30583 (https://eval.in/985333)
<apeiros> >> Integer("0x7777", 16) # if you want to ensure it's hex
<ruby[bot]> apeiros: # => 30583 (https://eval.in/985334)
<majuk> apeiros: Cool, thanks, I
<majuk> ll try that out
<majuk> apeiros: Wait I don't get it, I need to recast my argument to an int?
<apeiros> apart from the terminology: yes
<VeryBewitching> Only if you want to regard it and use it as one
alfiemax has quit [Ping timeout: 260 seconds]
<apeiros> "0x0077" != 0x0077
<VeryBewitching> #=> true
schneider has quit [Ping timeout: 255 seconds]
amar has joined #ruby
<majuk> `arg1 = ARGV[0].to_i` with ARGV[0] = 0x0077, arg1=0
<apeiros> to_i does not work the same as Integer
<majuk> ah
<apeiros> >> "hello".to_i
<ruby[bot]> apeiros: # => 0 (https://eval.in/985336)
<apeiros> >> "123hello567".to_i
<ruby[bot]> apeiros: # => 123 (https://eval.in/985337)
<majuk> apeiros: Hot, ok, that got it. Thanks for your help/.
<apeiros> you can pass it a base too, though. but it'll never raise on invalid input.
<majuk> arg1 = Integer(ARGV[0])
<apeiros> >> "77".to_i(16)
<ruby[bot]> apeiros: # => 119 (https://eval.in/985338)
* apeiros wonders whether changing Integer#inspect to output hex would be a fun april fools prank
schneider has joined #ruby
amar has quit [Ping timeout: 265 seconds]
lytol has joined #ruby
<mr-robert> too nerdy
nowhere_man has quit [Ping timeout: 256 seconds]
<apeiros> that's how I roll
<mr-robert> :]
icarus has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amar has joined #ruby
cadillac_ has quit [Ping timeout: 245 seconds]
schneider has quit [Ping timeout: 260 seconds]
sauvin has quit [Remote host closed the connection]
sameerynho has joined #ruby
tomphp has joined #ruby
cadillac_ has joined #ruby
imode has joined #ruby
dr3w_ has joined #ruby
apparition has quit [Quit: Bye]
schneider has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erlend has quit [Ping timeout: 268 seconds]
erlend has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
sepp2k has quit [Quit: Leaving.]
schneider has joined #ruby
cadillac_ has quit [Ping timeout: 265 seconds]
tomphp has joined #ruby
cadillac_ has joined #ruby
n13z has joined #ruby
einarj has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
schneider has joined #ruby
einarj has quit [Ping timeout: 240 seconds]
nadir has joined #ruby
mtkd has quit [Ping timeout: 264 seconds]
mroutis has joined #ruby
mtkd has joined #ruby
alfiemax has joined #ruby
kapil___ has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
mistym has joined #ruby
mistym has quit [Remote host closed the connection]
einarj has joined #ruby
ElFerna has quit [Ping timeout: 240 seconds]
suukim has quit [Quit: Konversation terminated!]
schneider has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RougeR has quit [Ping timeout: 265 seconds]
einarj has quit [Ping timeout: 260 seconds]
gigetoo has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
cadillac_ has quit [Ping timeout: 276 seconds]
cadillac_ has joined #ruby
einarj has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has quit [Ping timeout: 245 seconds]
einarj has quit [Ping timeout: 265 seconds]
quobo has joined #ruby
nowhere_man has joined #ruby
schneider has joined #ruby
bmurt has joined #ruby
coderphive has quit [Ping timeout: 265 seconds]
schneider has quit [Ping timeout: 264 seconds]
mroutis has quit [Ping timeout: 276 seconds]
bmurt has quit [Ping timeout: 256 seconds]
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
trautwein has quit [Quit: ZNC 1.6.6 - http://znc.in]
trautwein has joined #ruby
schneider has joined #ruby
tvw has joined #ruby
anisha_ has joined #ruby
schneider has quit [Ping timeout: 255 seconds]
trautwein has quit [Quit: ZNC 1.6.6 - http://znc.in]
trautwein has joined #ruby
trautwein has quit [Client Quit]
trautwein has joined #ruby
tolerablyjake has quit [Ping timeout: 245 seconds]
trautwein has quit [Client Quit]
trautwein has joined #ruby
trautwein has quit [Client Quit]
trautwein has joined #ruby
schneider has joined #ruby
trautwein has quit [Client Quit]
trautwein has joined #ruby
weaksauce has quit [Ping timeout: 265 seconds]
safetypin has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
yqt has joined #ruby
yqt has quit [Read error: Connection reset by peer]
coderphive has joined #ruby
workmad3 has joined #ruby
schneider has joined #ruby
anisha_ has quit [Quit: This computer has gone to sleep]
trautwein has quit [Quit: ZNC 1.6.6 - http://znc.in]
trautwein has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
eckhardt has joined #ruby
tcopeland has quit [Quit: tcopeland]
amar has quit [Remote host closed the connection]
donofrio_ has quit [Remote host closed the connection]
schneider has joined #ruby
sucks has joined #ruby
sucks has quit [Max SendQ exceeded]
sucks has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
Phrogz has joined #ruby
<Phrogz> Anyone in here use parslet and its transforms? Wondering if/how I can make a `maybe` modifier output an empty, matchable key when not matched.
Vapez has joined #ruby
schneider has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
<phaul> have you looked at the section where it explains the difference between maybe & repeat(0,1) here http://kschiess.github.io/parslet/parser.html
<phaul> repetition and special cases part
schneider has quit [Ping timeout: 264 seconds]
psychicist__ has quit [Ping timeout: 260 seconds]
<Phrogz> phaul: Exactly what I needed, thank you!
<phaul> cool 8-) you are welcome
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
HoierM has joined #ruby
schneider has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
netherwolfe_ has quit [Read error: Connection reset by peer]
VeryBewitching has quit [Quit: Konversation terminated!]
schneider has quit [Ping timeout: 276 seconds]
schneider has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
netherwolfe has joined #ruby
sucks has quit [Ping timeout: 256 seconds]
HoierM has quit [Read error: Connection reset by peer]
schneider has quit [Ping timeout: 260 seconds]
guacamole has joined #ruby
guacamole has quit [Changing host]
guacamole has joined #ruby
* Phrogz is annoyed that Ruby's grammar does not permit the `>>` or `|` operators to be moved to the start of a new line.
schneider has joined #ruby
mroutis has joined #ruby
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
weaksauce has joined #ruby
elementaru has joined #ruby
DTZUZO has quit [Ping timeout: 265 seconds]
DTZUZO has joined #ruby
safetypin has quit [Quit: ZZZzzz…]
erlend has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 260 seconds]
erlend has joined #ruby
marxarelli is now known as marxarelli|afk
schneider has joined #ruby
tdy has quit [Ping timeout: 240 seconds]
Cavallari has quit [Quit: Cavallari]
einarj has joined #ruby
<Phrogz> Advice sought: I have a need for three different grammars in my app: (1) evaluating conditional expressions (2) evaluating/assigning simple expressions to variables (3) a simple templating language...which happens to use both (1) and (2).
<Phrogz> Currently I have these as completely separate grammars. The template engine grammar captures everything inside `{? ... }` and then passes the `...` to the conditional grammar to parse and evaluate.
Creatornator has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
<Phrogz> Is there a good reason to merge these all into a single grammar (with different root entry points, as supported by parslet, to support my needs for (1) and (2))? I never want `{? !@#$! }` to fail the conditional parsing and fall back to plain text; if !@#$ does not pass the conditional parser, I'm happy to let it lie.
jeffreylevesque_ has joined #ruby
mroutis has quit [Ping timeout: 260 seconds]
einarj has quit [Ping timeout: 264 seconds]
mtkd has quit []
mroutis has joined #ruby
schneider has joined #ruby
jeffreylevesque has quit [Ping timeout: 260 seconds]
jamesaxl has quit [Quit: WeeChat 2.0.1]
<Phrogz> My current approach feels gross—(1) and (2) duplicate many grammar rules (variables and various constants), and I have 3 classes instead of 1—but on the other hand it feels like it might be a better performer for the parser to slurp up huge chunks of text based on simple stop characters and then pass that to a more detailed parser.
schneider has quit [Ping timeout: 240 seconds]
DTZUZO has quit [Ping timeout: 265 seconds]
schneider has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Phrogz> I suppose merging them into one wouldn't be that hard, and then I can test my theory.
chouhoul_ has joined #ruby
ramfjord has joined #ruby
tomphp has joined #ruby
chouhoulis has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
_seanc_ has quit [Quit: _seanc_]
ramfjord has quit [Ping timeout: 260 seconds]
schneider has quit [Ping timeout: 268 seconds]
eckhardt has joined #ruby
_seanc_ has joined #ruby
schneider has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 276 seconds]
tdy has joined #ruby
Psybur has quit [Ping timeout: 240 seconds]
trautwein has quit [Quit: ZNC 1.6.6 - http://znc.in]
trautwein has joined #ruby
ldnunes has quit [Quit: Leaving]
netherwolfe has quit [Ping timeout: 265 seconds]
quobo has quit [Quit: Connection closed for inactivity]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spiette has quit [Remote host closed the connection]
Creatornator has joined #ruby
schneider has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
schneider has joined #ruby
amar has joined #ruby
workmad3 has joined #ruby
relyks has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
DTZUZO has joined #ruby
creat has quit [Ping timeout: 256 seconds]
phaul has quit [Ping timeout: 240 seconds]
amar has quit [Ping timeout: 264 seconds]
schneider has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
learningRuby has joined #ruby
creat has joined #ruby
learningRuby has quit [Client Quit]
_seanc_ has quit [Quit: _seanc_]
schneider has joined #ruby
reber has quit [Read error: Connection reset by peer]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
shinnya has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has quit [Ping timeout: 265 seconds]
_seanc_ has joined #ruby
jeffreylevesque_ has quit [Ping timeout: 260 seconds]
marxarelli|afk is now known as marxarelli
marxarelli is now known as marxarelli|afk
Creatornator has joined #ruby
schneider has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
Klumben has quit [Ping timeout: 245 seconds]
sameerynho has quit [Ping timeout: 264 seconds]
chouhoul_ has quit [Ping timeout: 265 seconds]
n0m4d1c has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
paraxial has quit [Quit: The Lounge - https://thelounge.github.io]
k0mpa has quit [Remote host closed the connection]
paraxial has joined #ruby
char_var[buffer] has joined #ruby
schneider has joined #ruby
tcopeland has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
schneider has joined #ruby
cschneid_ has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<Phrogz> No one in here cares, but IF they did: merging the three grammars into one sped up the grammar by a hair (?!) and works like a peach otherwise. Thanks for listening.
<apeiros> glad to have been helpful
Vapez has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 260 seconds]
rabajaj has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 260 seconds]
einarj has joined #ruby
stemid has joined #ruby
darkhanb has joined #ruby
<stemid> hey is rbenv rubys only equivalent to pythons virtualenv? and why do some 3rd party guides point me to installing it from github? no rpm packages or repos available?
solocshaw has joined #ruby
schneider has joined #ruby
erlend has quit [Ping timeout: 240 seconds]
einarj has quit [Ping timeout: 260 seconds]
erlend has joined #ruby
Klumben has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has quit [Ping timeout: 265 seconds]
phate408 has quit [Ping timeout: 265 seconds]
coderphive has quit [Quit: coderphive]
<Phrogz> stemid: I suppose that depends on what Python's virtualenv does. I don't know it. What are you trying to do?
<stemid> have a specific ruby version installed that is not in the distros package repository.
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<stemid> which when I think about it is not like what virtualenv does. so forget that, sorry.
pastorinni has quit [Read error: Connection reset by peer]
pastorinni has joined #ruby
schneider has joined #ruby
relyks has quit [Quit: relyks]
pastorin_ has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.1]
pastorinni has quit [Ping timeout: 260 seconds]
schneider has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sanscoeur has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
solocshaw has quit [Ping timeout: 264 seconds]
John_Ivan has quit [Read error: Connection reset by peer]
schneider has quit [Ping timeout: 264 seconds]
quuxman has joined #ruby
<quuxman> I'm getting a VCR::Errors::UnhandledHTTPRequestError but the cassette used has `:record => :once` so shouldn't it just maken an HTTP request if it's unrecognized?
cschneid_ has joined #ruby
<quuxman> or maybe I have to delete the cassette?
<Phrogz> I'll wrap this up as a gem sometime, but in case anyone needs this:
tvw has quit []
<Phrogz> For an online project I'm making I wanted a templating and evaluation system that is 100% sandboxed and super simple. (Maybe too simple.) So I created this: https://gist.github.com/Phrogz/c164b9d8d6bb7fc84c28900a82af0e71
schneider has joined #ruby
noobineer has joined #ruby
<Phrogz> In addition to parsing text for batch setting variable values to use in the template, you can also evaluate conditional expressions. In my case I'm making a collaborative interactive-story system (~choose your own adventure) where you can keep track of simple data as the reader progresses, use that data to decide if certain choices are available, and to modify what is shown on each page.
mikecmpbll has joined #ruby
cschneid_ has quit [Ping timeout: 265 seconds]
pastorin_ has quit []
<Phrogz> Like a simplified online z-machine (Zork).
n008f4g_ has quit [Ping timeout: 260 seconds]
harrycs has joined #ruby
<Phrogz> stemid: I think you want rvm. https://rvm.io/
schneider has quit [Ping timeout: 260 seconds]
<Phrogz> I'm pleased with the simplicity of the syntax in my templating system combined with its unlikeliness to collide with Markdown (which I'll be annotating with the template). I especially like the `{?go}OK{|}no{.}` syntax :)
alex`` has quit [Ping timeout: 265 seconds]
harry_ has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
harrycs has quit [Ping timeout: 264 seconds]
schneider has joined #ruby
netherwolfe has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
kurko_ has joined #ruby
stemid has left #ruby [#ruby]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
schneider has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
donofrio has joined #ruby
netherwolfe has quit [Ping timeout: 276 seconds]
mroutis has left #ruby [#ruby]
mroutis has joined #ruby
schneider has quit [Ping timeout: 265 seconds]
n0m4d1c_ has joined #ruby
solocshaw has joined #ruby
chouhoulis has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
n0m4d1c has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
schneider has joined #ruby
coderphive has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
n0m4d1c_ has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 240 seconds]
coderphive has quit [Ping timeout: 265 seconds]
dr3w_ has joined #ruby
<weaksauce> i think rbenv+ruby-install is better than rvm but to each their own. rbenv is really a simple program
<weaksauce> just adjusts your path
al2o3-cr has quit [Ping timeout: 240 seconds]
<kurko_> Prefer rbenv too.
<weaksauce> actually program is a bit more intense than it is... basically 100 lines of shell script
<elomatreb> chruby is another similarly minimal choice, from the same author as ruby-install
schneider has joined #ruby
al2o3-cr has joined #ruby
n0m4d1c has joined #ruby
majuk has quit [Remote host closed the connection]
n0m4d1c_ has joined #ruby
schneider has quit [Ping timeout: 260 seconds]