havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.3, 2.3.6, 2.2.9 & 2.5.0-rc1: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
jrabe has quit [Quit: Scheduled maintenance]
<nymous> not what?
cadillac_ has quit [Read error: Connection reset by peer]
ltp has joined #ruby
<al2o3-cr> ... is variadic in lua
<al2o3-cr> a shit ton of artiy
<al2o3-cr> *arity
eckhardt has joined #ruby
guardianx has joined #ruby
jrabe has joined #ruby
troys_ is now known as troys
<nymous> what about perl? it doesn't have function prototypes at all
<nymous> perl5 at least
steph_ has joined #ruby
<nymous> start your funcs with things like my (arg, arg, arg) = @_;
<nymous> kind of fun actually
<al2o3-cr> never dabbled in perl
<nymous> oh, it's a cool language
Riddell has quit [Ping timeout: 265 seconds]
Riddell has joined #ruby
<al2o3-cr> probably is
alex`` has joined #ruby
<nymous> it doesn't have OOP, but you can act like it is
<nymous> you can bless vars lol
trolltoll has quit [Ping timeout: 264 seconds]
<nymous> i bless you to became an array
<al2o3-cr> lua doesn't have OOP but too can act like it
GodFather has quit [Ping timeout: 248 seconds]
cadillac_ has joined #ruby
<al2o3-cr> lua is cool
<ar> nymous: oh, but perl5 *does* have subroutine signatures. since 5.20
<nymous> i have less experience with lua than with perl
<nymous> ar: damn, my book was about 5.8, and i think I have ended writting anything complex at the time of 5.14 or so
<al2o3-cr> with lua there is only one container and that is tables. (oh and chairs lol)
<ar> nymous: it's still experimental
<al2o3-cr> if you ever pop in #lua don't mention 5.3
<nymous> anyways i have used black magic of perl to make Ansys CFX macroses look like OO programs
<nymous> that was fun
steph_ has quit [Remote host closed the connection]
<al2o3-cr> nymous: what black magic?
steph_ has joined #ruby
<nymous> see how their macro looks like
ramfjord has quit [Ping timeout: 265 seconds]
Dimik has quit [Ping timeout: 256 seconds]
<al2o3-cr> nymous: you got the ruby love?
<nymous> their macroses are strange mix of perl code and CFX definition langauge
<al2o3-cr> nymous: you code ruby?
<nymous> i made it fully perl with OO like objects with methods and stuff
<al2o3-cr> nymous: yeah, but ruby right?
<nymous> the black magic was in evaluation of perl code into CFX definitions via kernel hack
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nogic has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
* al2o3-cr i'll speak that brick wall instead, i might get more sense out of it
<nymous> i'm a sysadmin, i code many languages on demand
<nymous> yes, i currently more in love with ruby
<al2o3-cr> finally
<al2o3-cr> i'm sure that's a keyword in python
<al2o3-cr> nymous: may i ask why?
<nymous> why what?
<al2o3-cr> forget it :)
mim1k has joined #ruby
<nymous> i'm in love with ruby you mean?
<al2o3-cr> yes.
<nymous> because of it's dynamical nature
<al2o3-cr> perl's dynamic
DTZUZO has quit [Ping timeout: 240 seconds]
<nymous> it's kind of perl on steroids
guille-moe has quit [Ping timeout: 272 seconds]
<nymous> to me
<nymous> perl is not OO, in ruby everything is OO
<al2o3-cr> yeah, it's been to gym alright.
<nymous> with reflections, monkey patching etc
<nymous> and also the syntactic sugar
<al2o3-cr> yeah refinements are a thing now.
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<nymous> but unfortunately it's not that fast
<nymous> in some cases perl is ten times faster
<al2o3-cr> nymous: compared to what?
<nymous> even in simple scripts
<nymous> i mean without loads of gems
<nymous> loads of CPAN modules makes perl suffer too
DmitryBochkarev has joined #ruby
<al2o3-cr> nymous: what ruby version you using?
DTZUZO has joined #ruby
<nymous> 2.1+
uZiel has quit [Remote host closed the connection]
<al2o3-cr> nymous: ok.
mim1k has quit [Ping timeout: 264 seconds]
uZiel has joined #ruby
<nymous> something what we have in a base distro
<nymous> 2.1.5p273 on my servers
<al2o3-cr> i'll pull a moony in front of the queen if perl is 10x faster hahaha
<nymous> 2.4.2p198 at my pc
<nymous> perl is really fast in filtering text files, something near to grep or so
eblip has quit [Quit: WeeChat 1.9.1]
<al2o3-cr> show me proof now
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nymous> i've tried to write a ruby code for same task, it was 2-4x times slower
eb0t has joined #ruby
<al2o3-cr> show me proof?
<nymous> well, that's just my experience, i can't generate you a 70 GB text file on demand
<al2o3-cr> course you can
DmitryBochkarev has quit [Client Quit]
DmitryBochkarev has joined #ruby
<nymous> well, i can generate it up to 15 TB, but that's commercial stuff, i can't share it
ninjalurking has quit [Ping timeout: 265 seconds]
<al2o3-cr> well generate 70gb then
<al2o3-cr> ssd right?
<nymous> it doesn't really matter though
<nymous> but yes
bkxd has quit [Ping timeout: 265 seconds]
<al2o3-cr> well prove perl is 10x faster then ruby
<al2o3-cr> in a simple script with 70gb data
<al2o3-cr> test on 2.1 if you want
bkxd has joined #ruby
mudstart has joined #ruby
milardov_ has quit [Remote host closed the connection]
mudstart has quit [Remote host closed the connection]
<nymous> well, generating 70 gb file would take really long
<nymous> i might try 5 gb or so
mudstart has joined #ruby
<al2o3-cr> not that long on a decent ssd
bkxd_ has joined #ruby
<leitz> Is there a way to capitalize the first character of each string that comes from an array.join() This isn't working: "Traits: #{character.traits.join(', ').capitalize}"
marr has quit [Ping timeout: 265 seconds]
<leitz> Tried "each" in there as well. Each array item is a lower case string.
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<al2o3-cr> leitz: what does character.traits return?
bkxd has quit [Ping timeout: 264 seconds]
jxv has quit [Quit: zzz…]
amatas has quit [Ping timeout: 256 seconds]
<leitz> al2o3-cr, an array of two strings.
<al2o3-cr> leitz: you probably wan character.traits.map(&:captitalize).join(', ')
alfiemax has joined #ruby
<al2o3-cr> *want
<leitz> al2o3-cr, that works, though I'm going to have to study it to understand it.
Emmanuel_Chanel has quit [Ping timeout: 264 seconds]
<al2o3-cr> >> ["foo", "bar"].map(&:capitalize)
<ruby[bot]> al2o3-cr: # => ["Foo", "Bar"] (https://eval.in/920057)
<al2o3-cr> >> ["foo", "bar"].map { |string| string.capitalize }
<ruby[bot]> al2o3-cr: # => ["Foo", "Bar"] (https://eval.in/920058)
<al2o3-cr> leitz: it's short hand for latter.
<leitz> al2o3-cr, so the & is a placeholder for each item in the array?
<al2o3-cr> basically it's Symbol#to_proc
<al2o3-cr> >> :capitalize.to_proc
<ruby[bot]> al2o3-cr: # => #<Proc:0x4103dc98(&:capitalize)> (https://eval.in/920060)
<al2o3-cr> >> :capitalize.to_proc.yield("a")
<ruby[bot]> al2o3-cr: # => "A" (https://eval.in/920061)
<leitz> Hmmmm...going to have to let this one sink in.
alfiemax has quit [Ping timeout: 248 seconds]
joes has quit [Quit: ZNC - http://znc.in]
c0dy has joined #ruby
<al2o3-cr> perl is 10x faster, i'm still laughing my tits off
<leitz> Glad I missed that one.
alfiemax has joined #ruby
John____ has joined #ruby
John____ has quit [Read error: Connection reset by peer]
alfiemax has quit [Ping timeout: 240 seconds]
jxv has joined #ruby
<leitz> And my tests failed; yay!
steph_ has quit [Remote host closed the connection]
jxv has quit [Client Quit]
<leitz> Glad the code change was detected by the tests. Can't say that's a great code coverage tool but it's nice.
d^sh has quit [Ping timeout: 265 seconds]
dinfuehr has quit [Ping timeout: 265 seconds]
<nymous> well
dinfuehr has joined #ruby
<nymous> 5GB JSON file
<nymous> same task - just count how many keys an object have
d^sh has joined #ruby
<nymous> perl: 0m42.859s
<nymous> ruby: 1m37.418s
<al2o3-cr> 1) that no where near 10x faster 2) show me how you tested?
bkxd_ has quit []
<leitz> Yeah, but I wouldn't touch Perl with al2o3-cr 's keyboard.
<nymous> well, 10x was just a figure of speech
<nymous> but as you see, perl is kind of faster, at least 2x
charliesome has joined #ruby
<al2o3-cr> show me the benchmarks
<nymous> the link above
<nymous> run with time
<al2o3-cr> fuck off
<nymous> i do not have time to code anything more complex
<nymous> it's 4 am here already
<nymous> time ./test.pl < mybig.json > /dev/null
<nymous> that's how i've tested it
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
<nymous> ok, it might just mean that perl's json parser is faster, but i've tried a gem with native binary, it was also slower than perl's
<nymous> on more complex actions than this one i got even worse performance
pb122 has quit [Ping timeout: 264 seconds]
mikecmpb_ has quit [Ping timeout: 240 seconds]
jxv has joined #ruby
<al2o3-cr> use perl then
<nymous> for such task - yes, it might be worth it
mikecmpbll has joined #ruby
<nymous> even though ruby code is cleaner and less crippled
<al2o3-cr> how did you generate that 5gb json?
<nymous> it's a dump of elasticsearch index
<nymous> elasticsearch index is 90 gb or so
<al2o3-cr> ok.
<nymous> it's just an extract
<nymous> we can now use jq for that, so...
<leitz> I'm pretty sure Matz doesn't claim Ruby to be the fastest language. Fun, however....
troys is now known as troys_
ogres has quit [Quit: Connection closed for inactivity]
<nymous> i'm agree with Matz on saying that ruby allows you to write clean working code faster than others
jenrzzz has quit [Ping timeout: 256 seconds]
<havenwood> Here's an interesting JSON benchmark: https://github.com/kostya/benchmarks#json
<nymous> or something like, what he was intended to create when he was planning ruby
cagomez has quit [Remote host closed the connection]
<nymous> for many tasks ruby is just fast enough
QualityAddict has quit [Read error: Connection reset by peer]
QualityAddict has joined #ruby
milardovich has joined #ruby
webguynow has quit [Ping timeout: 260 seconds]
webguynow has joined #ruby
alfiemax has joined #ruby
<leitz> Ruby is the one language that makes me want to read the refernece material.
<leitz> And eventaully learn to spell reference.
<leitz> maybe.
milardovich has quit [Ping timeout: 265 seconds]
alfiemax has quit [Ping timeout: 264 seconds]
babblebre has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
jxv has quit [Quit: zzz…]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
<nymous> would that be a bad design or too much magic? https://gist.github.com/divanikus/556ce02db0272545aa9077c1e92a779d
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
bmurt has joined #ruby
alex`` has quit [Ping timeout: 265 seconds]
guardianx has quit []
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
<leitz> Later, all.
leitz has quit [Quit: Nappy time]
milardovich has joined #ruby
<havenwood> just got back - and bad timing, since i wanted to show how to make that gist faster
milardovich has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> nymous: you want the first word of each line?
<havenwood> nymous: will the lines always start with a non-whitespace char?
<nymous> i'm not quite following
jdawgaz has joined #ruby
<nymous> are you about json?
<havenwood> nymous: I was asking about the smartctl command output you're parsing
<nymous> ah, yes
steph_ has joined #ruby
<nymous> it prints something like that /dev/sda -d sat # /dev/sda [SAT], ATA device
<havenwood> nymous: for example, this would return an array of lines that started with non-whitespace chars: `sudo smartctl --scan-open`.scan /^\S+/
nopolitica has joined #ruby
<nymous> yeah, nicer, thanks
<nymous> *looks nicer
<havenwood> just because of the Regexp I used it'd not match lines that started with whitespace
<havenwood> but yeah, it's more concise and a lot faster and uses less memory
<havenwood> nymous: #scan is handy
xco has quit [Quit: xco]
nopolitica has quit [Ping timeout: 272 seconds]
steph_ has quit [Remote host closed the connection]
eckhardt has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
k0mpa has joined #ruby
alfiemax has joined #ruby
jdawgaz has joined #ruby
steph_ has joined #ruby
steph_ has quit [Remote host closed the connection]
steph_ has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
noobineer has joined #ruby
KeyJoo has quit [Quit: Good luck! Have a nice Day!]
noobineer has quit [Max SendQ exceeded]
steph__ has joined #ruby
steph_ has quit [Ping timeout: 264 seconds]
kryptoz has joined #ruby
c0dy has quit [Quit: Leaving]
ShekharReddy has quit [Quit: Connection closed for inactivity]
shinnya has joined #ruby
uZiel has quit [Remote host closed the connection]
kryptoz has quit [Ping timeout: 256 seconds]
jxv has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has quit [Quit: WeeChat 2.0]
vtx has quit [Quit: vtx]
nymous has quit [Quit: RAGING AXE! RAGING AXE!]
jdawgaz has joined #ruby
roshanavand has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
bkxd has joined #ruby
bkxd has quit [Max SendQ exceeded]
bkxd has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
houhoulis has joined #ruby
d^sh has quit [Ping timeout: 265 seconds]
ramfjord has joined #ruby
xco has joined #ruby
gizmore|2 has joined #ruby
d^sh has joined #ruby
mudstart has quit []
milardovich has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
gizmore has quit [Ping timeout: 272 seconds]
kies has quit [Ping timeout: 272 seconds]
Technodrome has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
jxv has quit [Quit: string on the can snapped off]
ramfjord has joined #ruby
uZiel has joined #ruby
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
bkxd_ has joined #ruby
bkxd_ has quit [Max SendQ exceeded]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 265 seconds]
trolltoll has joined #ruby
steph__ has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit []
bmurt has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 265 seconds]
konsolebox has quit [Ping timeout: 256 seconds]
steph_ has joined #ruby
konsolebox has joined #ruby
jdawgaz has joined #ruby
meesles has joined #ruby
charliesome has joined #ruby
jameser has joined #ruby
steph_ has quit [Remote host closed the connection]
deadnull has quit [Quit: deadnull]
babblebre has left #ruby [#ruby]
uZiel has quit [Ping timeout: 248 seconds]
mtkd has quit [Ping timeout: 256 seconds]
mtkd has joined #ruby
cdg has joined #ruby
nopolitica has joined #ruby
JJonah has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 265 seconds]
nopolitica has quit [Ping timeout: 272 seconds]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
bmurt has joined #ruby
jdawgaz has joined #ruby
kryptoz has joined #ruby
bkxd_ has quit [Ping timeout: 272 seconds]
eckhardt has joined #ruby
bkxd has joined #ruby
faces has joined #ruby
priodev has quit [Ping timeout: 240 seconds]
priodev has joined #ruby
eb0t has quit [Quit: WeeChat 1.9.1]
alfiemax has quit [Remote host closed the connection]
herbmillerjr has quit [Quit: Konversation terminated!]
alfiemax has joined #ruby
kryptoz has quit [Ping timeout: 248 seconds]
gix has joined #ruby
gix- has quit [Ping timeout: 248 seconds]
kryptoz has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
bkxd has quit [Ping timeout: 265 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
plexigras has quit [Ping timeout: 240 seconds]
cloaked1 has joined #ruby
bkxd has joined #ruby
troys_ is now known as troys
plexigras has joined #ruby
nofxx has quit [Read error: Connection reset by peer]
nofxx has joined #ruby
twrk has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
LocaMocha has joined #ruby
mostlybadfly has joined #ruby
nopolitica has joined #ruby
LocaMocha has joined #ruby
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
bkxd_ has quit [Client Quit]
nopolitica has quit [Ping timeout: 248 seconds]
houhoulis has quit [Remote host closed the connection]
ShekharReddy has joined #ruby
bkxd has joined #ruby
alfiemax has quit [Remote host closed the connection]
cschneid_ has joined #ruby
astronavt has joined #ruby
astronavt has quit [Remote host closed the connection]
alfiemax has joined #ruby
jamesaxl has joined #ruby
cschneid_ has quit [Ping timeout: 264 seconds]
eb0t has joined #ruby
milardovich has joined #ruby
pastorinni has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
cloaked1 has quit [Ping timeout: 256 seconds]
oncall-pokemon has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ozzloy_ has joined #ruby
Kero_ has joined #ruby
char_var[buffer] has joined #ruby
[reed] has quit [Ping timeout: 252 seconds]
Kero has quit [Ping timeout: 252 seconds]
ozzloy has quit [Ping timeout: 252 seconds]
shady0wl_ has quit [Ping timeout: 264 seconds]
[reed] has joined #ruby
[reed] has joined #ruby
char_var[buffer] has quit [Max SendQ exceeded]
char_var[buffer] has joined #ruby
dreamthese has quit [Remote host closed the connection]
dreamthese has joined #ruby
bkxd_ has joined #ruby
bkxd_ has quit [Max SendQ exceeded]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 265 seconds]
bkxd has joined #ruby
bkxd_ has quit [Ping timeout: 272 seconds]
milardovich has quit []
shinnya has joined #ruby
twrk has quit [Remote host closed the connection]
bkxd has quit []
Azure has quit [Read error: Connection reset by peer]
Azure|dc has joined #ruby
nopolitica has joined #ruby
gix has quit [Read error: Connection reset by peer]
gix has joined #ruby
bkxd has joined #ruby
bkxd has quit [Client Quit]
nathani1 has quit [Ping timeout: 240 seconds]
nopolitica has quit [Ping timeout: 240 seconds]
spider-mario has quit [Ping timeout: 240 seconds]
ahrs has quit [Remote host closed the connection]
kapil___ has joined #ruby
nathani1 has joined #ruby
ahrs has joined #ruby
bkxd has joined #ruby
spider-mario has joined #ruby
pastorinni has quit [Remote host closed the connection]
alfiemax has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anisha has joined #ruby
kryptoz has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 272 seconds]
bkxd has quit []
rippa has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
anisha has joined #ruby
anisha has quit [Remote host closed the connection]
dionysus69 has joined #ruby
blindmoe has joined #ruby
kryptoz has joined #ruby
<blindmoe> Spending time tonight upgrading rubocop on one of my apps and am running into an error where it says that this line should be delimited by `[` and `]`. I am not sure what it is asking for, anyone mind helping? %w(jpg jpeg gif png)
kryptoz has quit [Remote host closed the connection]
<blindmoe> seems like it wants %w[jpg jpeg gif png] but I have never used %w[ before
<Nilium> Stuff like %w, %r, etc. can be done with [, {, (, etc.
<Nilium> rubocop likely wants you to only use []
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Max SendQ exceeded]
enterprisey has joined #ruby
cdg has joined #ruby
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
nopolitica has joined #ruby
aiguuu has joined #ruby
alfiemax has joined #ruby
troys has quit [Quit: Bye]
cdg has quit [Ping timeout: 265 seconds]
nopolitica has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mostlybadfly has quit [Quit: Connection closed for inactivity]
KeyJoo has joined #ruby
n13z has quit [Quit: leaving]
DmitryBochkarev has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reber has joined #ruby
RevanOne has quit [Ping timeout: 264 seconds]
dinfuehr has quit [Ping timeout: 256 seconds]
minimalism has joined #ruby
dinfuehr has joined #ruby
oncall-pokemon has quit [Quit: Connection closed for inactivity]
_aeris_ has quit [Ping timeout: 248 seconds]
_aeris_ has joined #ruby
FiendKing04 has joined #ruby
n13z has joined #ruby
cadillac_ has quit [Ping timeout: 264 seconds]
cadillac_ has joined #ruby
n13z_ has joined #ruby
n13z has quit [Read error: Connection reset by peer]
alex`` has joined #ruby
Puffball has joined #ruby
FiendKing04 has quit [Quit: ZNC - http://znc.in]
n13z_ has quit [Read error: Connection reset by peer]
n13z has joined #ruby
peelz_ has joined #ruby
<craysiii> https://gist.github.com/craysiii/2e73564cb46dee10195fc78f3e4bfb8f So i'm trying to integrate typheous into a gem of mine, and im on windows. when i run "gem install typheous" it installs just fine, but when i add it to my gemspec and run "bundle install" bundler says it could not find a compatible version. what am i missing here?
claudiuinberlin has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
peelz_ has left #ruby [#ruby]
alfiemax has quit [Remote host closed the connection]
theRealGent has joined #ruby
dviola has joined #ruby
theRealGent has quit [Ping timeout: 265 seconds]
cadillac_ has quit [Read error: Connection reset by peer]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blindmoe has quit [Ping timeout: 248 seconds]
exhiled has joined #ruby
blindmoe has joined #ruby
blindmoe has joined #ruby
blindmoe has quit [Changing host]
Azure|dc has quit [Read error: Connection reset by peer]
cadillac_ has joined #ruby
Azure has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
alfiemax has joined #ruby
eblip has joined #ruby
d^sh has quit [Ping timeout: 264 seconds]
blindmoe has quit [Ping timeout: 265 seconds]
nopolitica has joined #ruby
d^sh has joined #ruby
Burgestrand has joined #ruby
blindmoe has joined #ruby
blindmoe has quit [Changing host]
blindmoe has joined #ruby
nopolitica has quit [Ping timeout: 256 seconds]
konsolebox has quit [Ping timeout: 256 seconds]
konsolebox has joined #ruby
clemens3 has quit [Ping timeout: 256 seconds]
Riddell has quit [Ping timeout: 265 seconds]
Riddell has joined #ruby
alfiemax has quit [Remote host closed the connection]
blindmoe has quit [Ping timeout: 248 seconds]
cadillac_ has joined #ruby
blindmoe has joined #ruby
blindmoe has quit [Changing host]
blindmoe has joined #ruby
clemens3 has joined #ruby
Kero_ is now known as Kero
blindmoe has quit [Ping timeout: 240 seconds]
marr has joined #ruby
Burgestrand has quit [Quit: Closing time!]
tvw has joined #ruby
nopolitica has joined #ruby
alfiemax has joined #ruby
tomphp has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
nopolitica has quit [Ping timeout: 272 seconds]
tomphp has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
alfiemax has joined #ruby
blindmoe has joined #ruby
blindmoe has joined #ruby
blindmoe has quit [Changing host]
blindmoe has quit [Ping timeout: 248 seconds]
enterprisey has quit [Remote host closed the connection]
_aeris_ has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
DTZUZO has quit [Ping timeout: 248 seconds]
_aeris_ has joined #ruby
tvw has quit [Remote host closed the connection]
blindmoe has joined #ruby
blindmoe has joined #ruby
uZiel has joined #ruby
alfiemax has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Ping timeout: 265 seconds]
enterprisey has joined #ruby
blindmoe has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
alfiemax has quit [Remote host closed the connection]
Puffball has quit [Quit: Puffball]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 265 seconds]
al2o3-cr has quit [Quit: 你变得越安静,你就越能听到]
iamarun has joined #ruby
dviola has quit [Quit: WeeChat 2.0]
JaccoP has joined #ruby
TomyLobo has joined #ruby
n13z has quit [Remote host closed the connection]
yeticry has quit [Ping timeout: 264 seconds]
nopolitica has joined #ruby
al2o3-cr has joined #ruby
yeticry has joined #ruby
despai has joined #ruby
RougeT430 has joined #ruby
nopolitica has quit [Ping timeout: 240 seconds]
blindmoe has joined #ruby
blindmoe has quit [Changing host]
blindmoe has joined #ruby
bhaak has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
blindmoe has quit [Ping timeout: 240 seconds]
jnyw has joined #ruby
yeticry has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
<elisaado> apeiros: it works now!
<elisaado> I'm using a database lol
hfp_work has quit [Quit: bye]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RougeT430 has quit [Ping timeout: 265 seconds]
RougeT430 has joined #ruby
hfp_work has joined #ruby
mikecmpb_ has quit [Ping timeout: 248 seconds]
ldepandis has joined #ruby
GodFather has joined #ruby
workmad3 has joined #ruby
jnyw has quit [Quit: WeeChat 2.0]
iamarun has quit [Remote host closed the connection]
nopolitica has joined #ruby
mikecmpbll has joined #ruby
blindmoe has joined #ruby
blindmoe has quit [Changing host]
blindmoe has joined #ruby
uZiel has quit [Remote host closed the connection]
Rr4sT has joined #ruby
blindmoe has quit [Ping timeout: 264 seconds]
_whitelogger has joined #ruby
uZiel has joined #ruby
d^sh has quit [Ping timeout: 256 seconds]
d^sh has joined #ruby
amatas has joined #ruby
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
selim has quit [Ping timeout: 256 seconds]
sameerynho has joined #ruby
selim has joined #ruby
enterprisey has quit [Remote host closed the connection]
amatas has quit [Quit: amatas]
amatas has joined #ruby
alfiemax has joined #ruby
bkxd has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
blindmoe has joined #ruby
blindmoe has quit [Changing host]
blindmoe has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
beaorn has quit []
AJA4350 has joined #ruby
remix2000 has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
Ishido has quit [Ping timeout: 265 seconds]
blindmoe has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Ping timeout: 255 seconds]
mikecmpb_ has joined #ruby
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
Ishido has joined #ruby
VladGh has quit [Remote host closed the connection]
daemonwrangler_ has quit [Ping timeout: 255 seconds]
mikecmpb_ has quit [Ping timeout: 265 seconds]
VladGh has joined #ruby
bkxd_ has quit []
vichib has quit [Ping timeout: 248 seconds]
blindmoe has joined #ruby
blindmoe has quit [Changing host]
blindmoe has joined #ruby
sameerynho has quit [Ping timeout: 256 seconds]
blindmoe has quit [Ping timeout: 240 seconds]
uZiel has quit [Remote host closed the connection]
moei has joined #ruby
vtx has joined #ruby
despai has quit [Quit: ...]
alex`` has quit [Ping timeout: 272 seconds]
zautomata has joined #ruby
jameser has joined #ruby
bmurt has joined #ruby
despai has joined #ruby
bmurt has quit [Client Quit]
jdawgaz has joined #ruby
jameser has quit [Ping timeout: 264 seconds]
DTZUZO has joined #ruby
uZiel has joined #ruby
vtx_ has joined #ruby
vtx has quit [Ping timeout: 256 seconds]
vtx_ is now known as vtx
mikecmpbll has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
vtx has quit [Quit: vtx]
leitz has joined #ruby
dinfuehr has joined #ruby
shaileshg has joined #ruby
vichib has joined #ruby
zanshin has joined #ruby
vichibit has joined #ruby
vichibit has quit [Max SendQ exceeded]
nadir has quit [Quit: Connection closed for inactivity]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
remix2000 has quit [Ping timeout: 264 seconds]
dinfuehr has quit [Ping timeout: 248 seconds]
herbmillerjr has joined #ruby
dinfuehr has joined #ruby
jerryskye has quit [Quit: ZNC 1.6.5+deb1 - http://znc.in]
jerryskye has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
Rutix has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
alex`` has joined #ruby
JaccoP has quit [Ping timeout: 265 seconds]
kapil___ has joined #ruby
charliesome has joined #ruby
JaccoP has joined #ruby
remix2000 has joined #ruby
xco has quit [Quit: xco]
xco has joined #ruby
blindmoe has joined #ruby
blindmoe has quit [Changing host]
blindmoe has joined #ruby
Rr4sT has quit [Quit: Connection closed for inactivity]
c0dy has joined #ruby
blindmoe has quit [Ping timeout: 248 seconds]
nopolitica has quit [Ping timeout: 256 seconds]
xco has quit [Ping timeout: 265 seconds]
blindmoe has joined #ruby
blindmoe has joined #ruby
blindmoe has quit [Changing host]
ahrs has quit [Remote host closed the connection]
blindmoe has quit [Ping timeout: 240 seconds]
ahrs has joined #ruby
Guest76443 has joined #ruby
despai has quit [Quit: ...]
<Guest76443> Hello Guys
zautomata has quit [Quit: WeeChat 1.7]
<al2o3-cr> o/
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
oleo has quit [Quit: Leaving]
<Guest76443> I'm looking for a regexp for the following string: "London, the 12.12.17". The result should be: "London 12.12.17". This regexp "^\w*" gives me "London" and "\d.{1,9}" gives me "12.12.17" How can I combine them together?
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
despai has joined #ruby
oleo has joined #ruby
oleo has quit [Changing host]
oleo has joined #ruby
amatas has quit [Quit: amatas]
<dminuoso> &ri MatchData Guest76443
<dminuoso> You can also use gsub with magical \ things
<dminuoso> Or actually.. gsub wont help you that much.
<dminuoso> You can also use .delete depending on what you do
charliesome has joined #ruby
sameerynho has joined #ruby
mikhael_k33hl has quit [Ping timeout: 260 seconds]
tokudan[m] has joined #ruby
JaccoP has quit [Remote host closed the connection]
<tokudan[m]> hi, i got a problem with data validation in ruby where i need to verify that a value has a specific type. Problem is that the "case" is too intelligent and instead of comparing the values, tries to check if that variable has a specific class: https://gist.github.com/tokudan/a3b2ac29d195bdddf560004d2c252027
uZiel has quit [Ping timeout: 248 seconds]
blindmoe has joined #ruby
blindmoe has quit [Changing host]
blindmoe has joined #ruby
<tokudan[m]> do I have to use a mapping of :string => String in a hash just to be able to use value.kind_of? or is there any way of making case or a similar construct work there?
uZiel has joined #ruby
alfiemax has quit [Remote host closed the connection]
<dminuoso> tokudan[m]: case uses ===
<dminuoso> tokudan[m]: case foo; when blah; ...; when quux; end first tests: `blah === foo`, then `quux === foo` until something matches.
blindmoe has quit [Ping timeout: 265 seconds]
rippa has joined #ruby
<tokudan[m]> ok, so how can I check if the class I've been given in the variable requirement is the class String?
<dminuoso> tokudan[m]: you can use a different form of case (or if/elsif)
k0mpa has quit [Remote host closed the connection]
<dminuoso> However..
blindmoe has joined #ruby
blindmoe has quit [Changing host]
blindmoe has joined #ruby
<tokudan[m]> it works if i use case when required == String
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<tokudan[m]> However?
<dminuoso> Err. I meant to use == sorry.
<dminuoso> Too much JS recently.
<tokudan[m]> ah :)
<tokudan[m]> thanks for the help dminuoso :)
quobo has joined #ruby
<dminuoso> tokudan[m]: That code you just showed me is a code smell.
<dminuoso> You shouldn't want to do this.
shinnya has quit [Ping timeout: 240 seconds]
<tokudan[m]> hmm... basically I'm digging into JSON there and just use it to ensure I've got some reasonable data back. e.g. a string where i expect a string. a float where i expect a float, etc.
blindmoe has quit [Ping timeout: 256 seconds]
<tokudan[m]> and the function I'm writing is roughly "get me the data from that path and ensure it's a Float" and if it isn't, just give me back a default float
<tokudan[m]> i don't have a better idea to write that
Barrt has quit [Quit: Leaving]
<dminuoso> tokudan[m]: Fair enough. That's probably one of the few spots to be explicitly checking for classes. :)
<tokudan[m]> hehe :)
<dminuoso> tokudan[m]: Though you could just describe the layout as some sample data, and check that the type structure amtches
<tokudan[m]> i tried that... it's a nightmare with this data source :(
<tokudan[m]> besides i had one of the data node suddenly contain a string somewhere instead of an integer.
dreamthese has quit [Quit: WeeChat 1.4]
JaccoP has joined #ruby
nicesignal has joined #ruby
sameerynho has quit [Ping timeout: 265 seconds]
xco has joined #ruby
despai has quit [Quit: ...]
goepsilongo has joined #ruby
mtkd has quit [Ping timeout: 272 seconds]
mtkd has joined #ruby
herbmillerjr has quit [Read error: Connection reset by peer]
despai has joined #ruby
mikhael_k33hl has joined #ruby
<mikhael_k33hl> Anyone using Jenkins? May I ask for how you built your piple for ruby CI?
blindmoe has joined #ruby
blindmoe has joined #ruby
blindmoe has quit [Changing host]
kapil___ has quit [Quit: Connection closed for inactivity]
blindmoe has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
<RougeT430> can anyone give me a hand with this again
herbmillerjr has joined #ruby
<RougeT430> trying to assign the result of attack_choice to a variable
alfiemax has quit [Ping timeout: 272 seconds]
blindmoe has joined #ruby
blindmoe has quit [Changing host]
blindmoe has joined #ruby
<dminuoso> RougeT430: Please edit your gist and give the file a suffix for syntax highlighting.
chocoelho has joined #ruby
mikecmpb_ has joined #ruby
<havenwood> RougeT430: #puts returns `nil`, no matter what it printed
blindmoe has quit [Ping timeout: 240 seconds]
<RougeT430> i think ive sorted help from a friend. ive updated syntax too
mikecmpbll has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
nofxx_ has joined #ruby
mikecmpb_ has quit [Ping timeout: 264 seconds]
nofxx has quit [Read error: Connection reset by peer]
chocoelho has quit [Quit: chocoelho]
<dminuoso> This must be how World of Warcraft started.
coderphive has quit [Ping timeout: 248 seconds]
webguynow has quit [Ping timeout: 265 seconds]
webguynow has joined #ruby
coderphive has joined #ruby
QualityAddict has quit [Remote host closed the connection]
xco has quit [Ping timeout: 265 seconds]
QualityAddict has joined #ruby
<riceandbeans> What do you guys think of the design of this?
<riceandbeans> I look at it and hate the single file aspect and feel like I'd rather it broken into a file for each major section of the API, but also I want to do something similar but make it more generic
<riceandbeans> I want to make something supporting multiple backends, but maybe single file for each of the entire backends is better, :\ I don't know
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<dminuoso> that extend self is making me cry.
<dminuoso> riceandbeans: Abstract that URL away...
blindmoe has joined #ruby
blindmoe has joined #ruby
blindmoe has quit [Changing host]
<dminuoso> riceandbeans: Do you know what `class << self` does ?
<riceandbeans> dminuoso: and please don't take this as me shitting on someone else's code, because I know my code will look like shit to plenty of people, but I wanted a nice example to base something on, and I saw that and didn't like it
<riceandbeans> some kind of horrifying inheritance?
<dminuoso> Oh this is not your code?
<riceandbeans> No, this is someone else's
amatas has joined #ruby
<riceandbeans> I had this one gem to do something, it did like 75% of what I wanted, but the missing part irked me, and they stopped supporting it, so I was going to do my own thing with it, but I figured I'd make it generic and support various providers, and then I looked around for other rest clients in ruby that I'd used, so I looked at vultr because the gem works fine for my use and I looked at the code and it
<riceandbeans> was exactly like the above
<riceandbeans> I kind of wanted to probe the water and see if it was just me disliking the style used or if it was generally frowned upon, because I'd rather do best practice
<riceandbeans> so, the one I thought looked a little better to model on is this
tomphp has joined #ruby
despai has quit [Quit: ...]
<riceandbeans> I don't know that inheriting NetHTTPClient is really necessary, but it basically has no external dependencies and mostly works
ski7777 has quit [Ping timeout: 240 seconds]
<riceandbeans> dminuoso: what do you think of that one in comparison for style?
RougeT430 has quit [Ping timeout: 248 seconds]
ski7777 has joined #ruby
RickHull has joined #ruby
blindmoe has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
trolltoll has quit [Ping timeout: 272 seconds]
steph_ has joined #ruby
orbyt_ has joined #ruby
troys has joined #ruby
jerryskye has quit [Quit: ZNC 1.6.5+deb1 - http://znc.in]
jerryskye has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
jdawgaz has joined #ruby
ur5us has joined #ruby
exhiled has joined #ruby
<leitz> How do you convert a BSON::Document to a hash? So far doc.to_hash doesn't seem to work.
<dminuoso> No need.
<dminuoso> It already is a hash.
<dminuoso> leitz: But if you wanted a real honest hash, it's called #to_h
dionysus69 has joined #ruby
<leitz> dminuoso, give me a minute to put up the gist.
dionysus69 has quit [Read error: Connection reset by peer]
steph_ has quit [Remote host closed the connection]
jdawgaz has quit [Quit: Textual IRC Client: www.textualapp.com]
jdawgaz has joined #ruby
<RickHull> leitz: hey! I've been busy: https://github.com/rickhull/traveller_rpg
<dminuoso> Does it use combinators?
jdawgaz has quit [Client Quit]
<RickHull> AFAICT it's 99% accurate to actual gameplay, modulo the variety of traveller rulesets
<leitz> RickHull, cool! Let me go look.
<dminuoso> People having trouble with monogo deserve their problems.
steph_ has joined #ruby
<RickHull> leitz: I need to update the README regarding chargen output
<RickHull> but just clone master and `rake chargen`
<RickHull> or `HUMAN=1 rake chargen`
<leitz> RickHull, that looks cool!
<leitz> Mind if I share the URL on the Traveller forum?
xco has joined #ruby
<dminuoso> leitz: If its public on github its fair game. ;p
<leitz> dminuoso, I'm using MongoDB for a couple reasons. Mostly for fun though.
<RickHull> not just yet
<dminuoso> leitz: There are no valid reasons to use mongodb.
<leitz> Yeah, but he'll get pestered with questions, RFEs, and old codgers griping a bout this or that.
<leitz> dminuoso, I disagree.
<dminuoso> leitz: Anything mongodb can do, other solutions do it better without antifeatures.
<RickHull> dminuoso: what are the top 3 alternatives? couchdb? rethink?
<RickHull> if you want a flexible document thingie
<dminuoso> RickHull: CouchDB, Postgres
<leitz> In this case I prefer MongoDB. At least I'm not using Ruby 1.8.7.
<leitz> For the moment, anyway.
mlkkk has joined #ruby
<dminuoso> RickHull: Since 9.4 postgres has become really attractive because you can do full object-oriented databases without rigid schemas :)
<dminuoso> With all the amazing stability and concurrency you have learned to love.
<RickHull> <3 postgres
<RickHull> my last job, we had implemented a crazy flexcolumn thing in ruby to make mysql more friendly to KV style additions
<RickHull> I kept my distance from it and my fingers crossed... ;)
<dminuoso> Heh
alfiemax has joined #ruby
<ar> @dminuoso by "object-oriented databases" you mean, "table with jsonb as a single column"?
<ar> dminuoso: that's kind of an antipattern, really
<dminuoso> ar: realistically more as a kind of hybrid.
vtx has joined #ruby
jerryskye has quit [Quit: ZNC 1.6.5+deb1 - http://znc.in]
mikhael_k33hl has quit [Ping timeout: 260 seconds]
nadir has joined #ruby
dviola has joined #ruby
<leitz> The key issue is that Character expects a hash and gets a BSON doc which is a hash. However, it's not allowing access to the values.
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vichib has quit [Remote host closed the connection]
gnufied has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
trolltoll has joined #ruby
Ltem has joined #ruby
vichib has joined #ruby
vichib has quit [Max SendQ exceeded]
gnufied has joined #ruby
vichib has joined #ruby
troys is now known as troys_
yqt has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<leitz> Okay, figured it out.
<leitz> Operator Error. :)
lytol_ has joined #ruby
yqt has quit [Ping timeout: 260 seconds]
xco has quit [Ping timeout: 248 seconds]
apeiros has quit [Read error: Connection reset by peer]
steph_ has quit [Remote host closed the connection]
<leitz> dminuoso, I won't disagree that there are great options for data storage. MongoDB solves a few problems for me: it has classes I can take for free and I like to learn. That pushes my brain to stay young while the rest of me ages.
<leitz> It was potentially an unsupported project at work so I got to show my management that I'd pitch in as needed. I'm not really a DBA or a coder by title.
<leitz> And, near to my heart is that it has a certification. Always good for large corp job searches.
apeiros_ has joined #ruby
tomphp has joined #ruby
jerryskye has joined #ruby
char_var[buffer] has quit [Remote host closed the connection]
miskatonic has joined #ruby
steph_ has joined #ruby
xavrix has quit [Ping timeout: 256 seconds]
xavrix has joined #ruby
guille-moe has joined #ruby
<craysiii> what difference is there, if any, between doing "gem install <gem>" and placing that gem inside a gemspec and doing "bundle install" ?
mlkkk has quit []
<riceandbeans> dminuoso: did you see the last code link I put up?
alfiemax has quit [Remote host closed the connection]
<havenwood> craysiii: bundler just uses rubygems to install the gem in the same place it would be if you manually installed it
<craysiii> okay, so riddle me this: i am trying to add a gem to my gem's dependencies. I can install it via "gem install typhoeus", but adding it to my gemspec and running bundle install results in an error, "Could not find gem 'typheous x64-mingw32'
<craysiii> yes im on windows :(
<havenwood> craysiii: windows 10?
<craysiii> yup
<havenwood> craysiii: have you considered using the Windows Subsystem for Linux (WSL)?
<craysiii> i have considered it, didn't enjoy it much
<havenwood> they keep patching it to make it more useable - maybe it'll end up nice
<craysiii> i hope so, i just didnt want to introduce even more uncertainty between the platforms i use
troys_ is now known as troys
despai has joined #ruby
<havenwood> craysiii: what version is your bundler?
guille-moe has quit [Ping timeout: 256 seconds]
<riceandbeans> ruby on windows is weird, I used it before to muck with the registry
Guest76443 has quit []
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
steph_ has quit [Remote host closed the connection]
<RickHull> craysiii: you may need to specify the "binary gem" in the Gemfile -- but I wouldn't expect rubygems to operate much differently in this regard
<RickHull> or there may be a platform directive that could help
<craysiii> sorry havenwood rickhull just had some people stop by for a moment, will answer soon :)
<RickHull> almost anyone else is better than I am with bundler -- I'm just stabbing in a somewhat educated direction ;)
leitz is now known as leitz_nap
wopi has left #ruby ["WeeChat 1.3"]
alfiemax has joined #ruby
RickHull has quit [Ping timeout: 260 seconds]
ShekharReddy has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
JaccoP has quit [Ping timeout: 248 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quobo has quit [Quit: Connection closed for inactivity]
tomphp has joined #ruby
astronavt has joined #ruby
astronavt has joined #ruby
astronavt has quit [Remote host closed the connection]
shaileshg has quit [Quit: Connection closed for inactivity]
tokudan[m] has left #ruby ["User left"]
bradleyprice has quit [Remote host closed the connection]
xco has joined #ruby
hanmac has quit [Ping timeout: 246 seconds]
SuperLag has quit [Quit: reboot]
steph_ has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
SuperLag has joined #ruby
linetrace has joined #ruby
<linetrace> Suggestions on preferred OAuth gem(s) to use these days?
<linetrace> Use case is auth for a JSON API, not being used w/Rails
uZiel has quit [Remote host closed the connection]
<linetrace> (OAuth client, not server)
steph_ has quit [Ping timeout: 265 seconds]
c0ncealed has quit [Remote host closed the connection]
RickHull has joined #ruby
c0ncealed has joined #ruby
hanmac has joined #ruby
_sfiguser has joined #ruby
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
steph_ has joined #ruby
bradleyprice has joined #ruby
steph_ has quit [Ping timeout: 260 seconds]
jamesaxl has quit [Quit: WeeChat 1.9.1]
alfiemax has joined #ruby
JaccoP has joined #ruby
TinkerTyper has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
TinkerTyper has joined #ruby
Dimik has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
milardov_ has joined #ruby
alfiemax has quit [Ping timeout: 272 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardo__ has joined #ruby
rrutkowski has joined #ruby
milardovich has quit [Ping timeout: 272 seconds]
xco has quit [Quit: xco]
milardov_ has quit [Ping timeout: 272 seconds]
rrutkowski has quit [Remote host closed the connection]
uZiel has joined #ruby
rrutkowski has joined #ruby
rrutkowski has quit [Read error: Connection reset by peer]
rrutkowski has joined #ruby
lytol_ has quit [Remote host closed the connection]
bkxd has joined #ruby
bkxd has quit [Max SendQ exceeded]
bkxd has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
steph_ has joined #ruby
rrutkowski_ has joined #ruby
ur5us has quit [Ping timeout: 268 seconds]
rrutkowski has quit [Ping timeout: 265 seconds]
steph_ has quit [Ping timeout: 248 seconds]
<craysiii> havenwood Bundler version 1.15.4
bradleyprice has quit [Ping timeout: 240 seconds]
LocaMocha has quit [Quit: Leaving]
bkxd_ has joined #ruby
LocaMocha has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
rrutkowski_ has quit [Ping timeout: 240 seconds]
jxv has joined #ruby
John____ has joined #ruby
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drewmcmillan has joined #ruby
despai has quit [Quit: ...]
<RickHull> craysiii: what's in the binance Gemfile / Gemfile.lock ?
isec has joined #ruby
<RickHull> you can also try `gem install binance` to see what happens there
despai has joined #ruby
steph_ has joined #ruby
<craysiii> rickhull ive updated the gist with the Gemfile
<RickHull> ok -- is there any different behavior with `gem install binance` ?
<craysiii> let me test
mostlybadfly has joined #ruby
steph_ has quit [Ping timeout: 240 seconds]
despai has quit [Client Quit]
quobo has joined #ruby
<craysiii> wow i'm feeling some shame now... i had it misspelled in the gemspec. could have sworn i checked that over and over again
nfsnobody has quit [Ping timeout: 255 seconds]
milardo__ has quit []
<RickHull> ha, I see -- it happens... mystery solved! xD
<RickHull> ty-fo-ee-us
nfsnobody has joined #ruby
Ishido has quit [Ping timeout: 263 seconds]
mtkd has quit [Ping timeout: 264 seconds]
<RickHull> they should call it typo-eus xD
<craysiii> hahaha
mtkd has joined #ruby
chocoelho has joined #ruby
alex`` has quit [Quit: WeeChat 1.9.1]
ta__ has quit [Quit: Leaving...]
steph_ has joined #ruby
sammi`_ has joined #ruby
tomphp has quit [Read error: Connection reset by peer]
steph_ has quit [Ping timeout: 256 seconds]
bkxd has joined #ruby
orbyt_ has joined #ruby
despai has joined #ruby
sammi` has quit [Quit: Lost terminal]
bkxd_ has quit [Ping timeout: 265 seconds]
tomphp has joined #ruby
sameerynho has joined #ruby
rrutkowski has joined #ruby
cadillac_ has quit [Ping timeout: 265 seconds]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
rrutkowski has quit [Quit: rrutkowski]
cadillac_ has joined #ruby
mikecmpbll has quit [Ping timeout: 264 seconds]
steph_ has joined #ruby
c0dy has quit [Quit: Leaving]
despai has quit [Quit: ...]
John____ has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
steph_ has quit [Ping timeout: 255 seconds]
Azure has quit [Read error: Connection reset by peer]
steph_ has joined #ruby
Azure has joined #ruby
troys is now known as troys_
steph_ has quit [Ping timeout: 263 seconds]
GodFather has quit [Ping timeout: 248 seconds]
rrutkowski has joined #ruby
rrutkowski has quit [Client Quit]
rrutkowski has joined #ruby
<KrzaQ> I have a question about my solution to yesterday's advent of code puzzle. With .lazy, it takes ~60 seconds on my computer to compute, without it's about 30% faster, but eats like 10 gigs of ram. Am I doing something horrendously wrong?
steph_ has joined #ruby
sameerynho has quit [Ping timeout: 255 seconds]
reber has quit [Remote host closed the connection]
cloaked1 has joined #ruby
cloaked1 has quit [Changing host]
cloaked1 has joined #ruby
steph_ has quit [Ping timeout: 248 seconds]
Ltem has quit [Quit: bye]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
rrutkowski has quit [Ping timeout: 264 seconds]
bkxd_ has quit [Ping timeout: 248 seconds]
troys_ is now known as troys
Technodrome has joined #ruby
eckhardt has joined #ruby
tomphp has joined #ruby
ur5us has joined #ruby
steph_ has joined #ruby
bkxd has quit []
ur5us has quit [Ping timeout: 260 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
despai has joined #ruby
steph_ has quit [Ping timeout: 265 seconds]
duderonomy has quit [Ping timeout: 260 seconds]
z3uS has quit [Quit: /dev/null]
<RickHull> that sounds reasonable, depending on the problem. lazy computation usually means consuming less space, and there ideally is no time tradeoff
<RickHull> but depending on the computation, there can be a time tradeoff
bkxd has joined #ruby
z3uS has joined #ruby
GodFather has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has quit [Client Quit]
GodFather has joined #ruby
TinkerTyper has quit [Quit: ZNC 1.7.x-nightly-20171128-66897057 - https://znc.in]
TinkerTyper has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
k0mpa has joined #ruby
Technodrome has joined #ruby
steph_ has joined #ruby
steph_ has quit [Ping timeout: 272 seconds]
Danishman has joined #ruby
RyanMcCoskrie has joined #ruby
eckhardt has joined #ruby
bkxd_ has joined #ruby
pastorinni has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
despai has quit [Quit: ...]
bkxd_ has quit []
ShekharReddy has quit [Quit: Connection closed for inactivity]
iszak has quit [Ping timeout: 272 seconds]
John____ has joined #ruby
iszak has joined #ruby
iszak has quit [Changing host]
iszak has joined #ruby
troys is now known as troys_
cloaked1 has quit [Ping timeout: 265 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
alfiemax has joined #ruby
JaccoP has quit [Quit: cya guys]
uZiel has quit [Ping timeout: 248 seconds]
mikecmpbll has quit [Ping timeout: 272 seconds]
mtkd has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
mtkd has joined #ruby
uZiel has joined #ruby
steph_ has joined #ruby
eckhardt_ has joined #ruby
mikecmpbll has joined #ruby
jxv has quit [Quit: zzz…]
eckhardt has quit [Ping timeout: 240 seconds]
jxv has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
bkxd has quit [Ping timeout: 248 seconds]
steph_ has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
d^sh has quit [Ping timeout: 265 seconds]
kies has joined #ruby
d^sh has joined #ruby
RyanMcCoskrie has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
banisterfiend has joined #ruby
RyanMcCoskrie has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
chocoelho has quit [Quit: chocoelho]
mikecmpb_ has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
mikecmpbll has quit [Ping timeout: 265 seconds]
steph_ has joined #ruby
amatas has quit [Quit: amatas]
steph_ has quit [Ping timeout: 265 seconds]
jxv has quit [Quit: string on the can snapped off]
trolltoll has quit [Ping timeout: 265 seconds]
bradleyprice has joined #ruby
steph_ has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bradleyprice has quit [Ping timeout: 265 seconds]