havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.4, 2.5.6, 2.7.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
FernandoBasso has quit [Remote host closed the connection]
alan_w has quit [Read error: Connection reset by peer]
alan_w has joined #ruby
jacksoow has quit [Ping timeout: 240 seconds]
cow[moo] has quit [Ping timeout: 240 seconds]
tdy2 has joined #ruby
banisterfiend has joined #ruby
jacksoow has joined #ruby
tdy1 has quit [Ping timeout: 268 seconds]
Swyper has quit [Remote host closed the connection]
xco has quit [Quit: xco]
blackmesa has quit [Ping timeout: 245 seconds]
chalkmonster has joined #ruby
tdy3 has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
tdy2 has quit [Ping timeout: 268 seconds]
Salve has quit [Ping timeout: 268 seconds]
Swyper has joined #ruby
Esa_ has quit []
xall_ has quit [Ping timeout: 268 seconds]
kotisky has joined #ruby
YOUR_NICK has joined #ruby
jrafanie has joined #ruby
kotisky has quit [Ping timeout: 260 seconds]
YOUR_NIC1 has joined #ruby
YOUR_NICK has quit [Ping timeout: 276 seconds]
jrafanie_ has joined #ruby
jrafanie_ has quit [Client Quit]
YOUR_NIC1 has quit [Quit: Lost terminal]
jrafanie has quit [Ping timeout: 246 seconds]
budonyc has quit [Quit: Leaving]
tdy4 has joined #ruby
tdy4 has quit [Read error: Connection reset by peer]
tdy4 has joined #ruby
tdy3 has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
Technodrome has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
kyrylo has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
tdy has joined #ruby
hutch1 has quit [Ping timeout: 246 seconds]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kotisky has joined #ruby
tdy4 has quit [Ping timeout: 276 seconds]
jottr_ has quit [Ping timeout: 276 seconds]
ramfjord has joined #ruby
codefriar has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
cthulchu has quit [Ping timeout: 265 seconds]
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ruby
jottr_ has joined #ruby
xall_ has joined #ruby
xall_ has quit [Client Quit]
jackkall has joined #ruby
jottr_ has quit [Ping timeout: 246 seconds]
<Technodrome> What are some great Ruby podcast, anyone got any recommendations ?
hutch1 has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 246 seconds]
Swyper has quit [Remote host closed the connection]
gix has quit [Ping timeout: 240 seconds]
Swyper has joined #ruby
jackkall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Ping timeout: 245 seconds]
kyrylo has joined #ruby
<adam12> Technodrome: Nothing great imho. Rubyrogues can be OK. Remote Ruby has some OK episodes too. For me, it normally depends on guest.
<adam12> Technodrome: Panel on Rubyrogues went through a bunch of churn and it's OK now but there were a few better panelists for a while (ie. avdi).
<adam12> Technodrome: Giant Robots and Bike Shed normally great. Some Ruby content since they are both from Thoughtbot afaik.
<baweaver> adam12: The current lead of the Rogues is a rampant mysoginist and kind of a piece of trash human.
<Technodrome> yeah, i got all of those added to my RSS
<Technodrome> baweaver overtly or secretly ?
<baweaver> Thinks secretly, but pretty overt to those of us that know people they screwed over
<adam12> baweaver: :\ I didn't know that but I've tried to distance myself from drama lately.
<baweaver> He had a secretary that was working with him on editing and threw her under the bus pretty hard
<baweaver> Then proceeded to mock her on another podcast, which led to most of the churn
<Technodrome> this is what happens when communities get too large
fphilipe_ has joined #ruby
<baweaver> Most of the content tends to be between Medium and dev.to these days for articles
<adam12> baweaver: Interesting back story. I agree one commenter, the older episodes were better. There was one guest for a while where I couldn't handle them at all. Completely stopped listening.
<baweaver> Haven't really listened to it in years
<adam12> baweaver: Which is ironic since HN has basically tuned me off Medium. I think you post to dev.to?
<baweaver> Yeah, mostly
<baweaver> Medium annoyed me
<baweaver> Too many popovers for registration, dev.to keeps out of the way and has a simpler editor
<baweaver> that, and syntax highlighting
<adam12> baweaver: I use the Make Medium Readable Again browser extension. It's the only way. I still avoid almost every medium url now, tho I was told my a friend that the paid content is much better.
<Technodrome> the rails world sometimes is bigger than i think it is
entel has joined #ruby
<baweaver> I write for free on principle
<baweaver> So I never really got behind the paywall idea
fphilipe_ has quit [Ping timeout: 240 seconds]
<baweaver> If I ever end up publishing a book there'll be a free version somewhere online as well
<Technodrome> I've been doing django stuff for a few years, its much more quiet over there, but also more boring
<baweaver> I mean if you want noise
<baweaver> Javascript is calling
Swyper has joined #ruby
<Technodrome> baweaver alot of noise there as well? I'm out of the loop
<baweaver> JS is a lot of rebuilding and rebranding from year to year
<baweaver> though it seems to have settled down quite a bit lately
<baweaver> ~2005-2015 were some dark times though
<Technodrome> i sorta program in a hole, i don't pay attention to whats going on
<Technodrome> sometimes thats bad because I miss out on a ton of stuff, lots of gems i didn't even know existed etc
<Technodrome> well I did a ton of Drupal stuff as well for a while, talk about noise!
Junaos has quit [Quit: ZNC - http://znc.in]
<adam12> Technodrome: I find the Ruby+Roda+Sequel+Unpoly ecosystem fairly quiet. It's nice to upgrade at my own pace.
Junaos has joined #ruby
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Remote host closed the connection]
<Technodrome> adam12 if i use ruby, i'm going to use rails , i think for many people its the same
<adam12> Technodrome: I don't blame you if you're not a normal Ruby user. Rails comes with a ton of benefits.
bambanx has quit [Quit: Leaving]
jmcgnh has quit [Ping timeout: 240 seconds]
jmcgnh has joined #ruby
akem-lnvo has joined #ruby
akem_lnvo has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
akem-lnvo has quit [Ping timeout: 265 seconds]
Guest12469 has joined #ruby
edwardly has quit [Ping timeout: 245 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
hutch1 has quit [Ping timeout: 245 seconds]
alfiemax has joined #ruby
tsujp has joined #ruby
AJA4350 has quit [Quit: AJA4350]
alfiemax has quit [Ping timeout: 245 seconds]
akem_lnvo has quit [Ping timeout: 268 seconds]
greypack has quit [Quit: All your IRC are belong to ZNC]
meowray has left #ruby ["WeeChat 2.5"]
YOUR_NICK has joined #ruby
akem-lnvo has joined #ruby
greypack has joined #ruby
G has quit [Ping timeout: 276 seconds]
Pip_ has joined #ruby
Guest12469 has quit [Ping timeout: 268 seconds]
YOUR_NICK has quit [Quit: leaving]
bitrex has joined #ruby
tpanarch1st has quit [Ping timeout: 240 seconds]
greypack has quit [Ping timeout: 265 seconds]
bitrex has quit [Client Quit]
bitrex has joined #ruby
tpanarch1st has joined #ruby
mre- has quit [Ping timeout: 268 seconds]
bitrex_ has joined #ruby
bitrex has quit [Quit: leaving]
bitrex_ has quit [Client Quit]
bitrex has joined #ruby
bitrex_ has joined #ruby
bitrex has quit [Client Quit]
bitrex_ has quit [Client Quit]
bitrex has joined #ruby
bitrex_ has joined #ruby
bitrex has quit [Quit: leaving]
bitrex_ has quit [Client Quit]
bitrex has joined #ruby
mre- has joined #ruby
bitrex has quit [Client Quit]
Pip_ has quit [Changing host]
Pip_ has joined #ruby
Pip_ is now known as Pip
jenrzzz has joined #ruby
akem_lnvo has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
akem-lnvo has quit [Ping timeout: 240 seconds]
mre- has quit [Ping timeout: 265 seconds]
akem_lnvo has quit [Read error: Connection reset by peer]
davidw_ has quit [Ping timeout: 276 seconds]
alfiemax has joined #ruby
brool has quit [Ping timeout: 276 seconds]
akem-lnvo has joined #ruby
SCHAPiE has quit [Ping timeout: 245 seconds]
SCHAPiE has joined #ruby
bambanx has joined #ruby
donofrio has quit [Remote host closed the connection]
_whitelogger has joined #ruby
tdy has quit [Ping timeout: 276 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure|dc has joined #ruby
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
witlesswonder has quit [Remote host closed the connection]
tsujp has joined #ruby
witlesswonder has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dellavg has joined #ruby
ramfjord has joined #ruby
Inline has quit [Quit: Leaving]
levifig has quit [Ping timeout: 246 seconds]
rheddry has joined #ruby
BTRE has quit [Ping timeout: 268 seconds]
greypack has joined #ruby
BTRE has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
MrBismuth has quit [Ping timeout: 245 seconds]
xco has joined #ruby
MrBismuth has joined #ruby
jackkall has joined #ruby
jenrzzz has joined #ruby
blackmesa has joined #ruby
schne1der has joined #ruby
<sagax> hi all!
<sagax> we have `in` syntax?
<sagax> like as 'foo' in ['foo', 'bar', 'baz']
<sagax> ?
sarink has joined #ruby
<leftylink> note that we have `for ... in ...`
<leftylink> &>> for a in [1, 2, 3]; print a; end
<rubydoc> # => 123[1, 2, 3] (https://carc.in/#/r/7mhn)
ozzloy has joined #ruby
ozzloy has quit [Changing host]
<leftylink> as you can see.
ozzloy has joined #ruby
<leftylink> you might not see if oten
<leftylink> s/if oten/it often/
ozzloy has quit [Client Quit]
<leftylink> you might more likely see [1, 2, 3].each { |a| ... }
<baweaver> `for ... in` is extremely rare in Ruby
ozzloy has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Changing host]
murarisumit has joined #ruby
<baweaver> In your case, you want `include?`
<baweaver> `array.include?('item')`
<baweaver> There's also the new pattern matching syntax in 2.7+, which is case ... in
<sagax> yes, i use `include?`
<sagax> just think that have better syntax
<sagax> ok
<baweaver> You'll find that "better" is very subjective
<baweaver> yours seems to be based on Python
<leftylink> HOWEVER! we can do something very unreasonable.
<leftylink> are you ready
<sagax> ha ha, yes, `in` bit like as syntax of python
<baweaver> oooo
<baweaver> leftylink is going to show us a magic trick :D
<baweaver> &>> class Object; def in(collection) collection.include?(self) end; end; 'foo'.in %w(foo bar baz)
<rubydoc> # => true (https://carc.in/#/r/7mhp)
<baweaver> Something like that?
<leftylink> excellent
schne1der has quit [Ping timeout: 245 seconds]
<baweaver> Didn't Rails have something like that?
<baweaver> I can never remember. I tend to avoid AR patches to objects
<baweaver> Easier to abstract things later if you're not too reliant on them
<baweaver> Then again no one should _ever_ look at my .pryrc
dbugger has joined #ruby
<baweaver> It's scary
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
fphilipe_ has joined #ruby
<leftylink> hmm, wonder if we can take it farther, maybe write `flip` or something
hiroaki has quit [Ping timeout: 245 seconds]
<leftylink> ah, seems good
<baweaver> flip?
<leftylink> module Flip refine Object do def flip(new_name, old_name) define_method(new_name) { |arg| arg.send(old_name, self) } end end end; using Flip; flip(:in?, :include?); "foo".in? %w(foo bar baz)
<leftylink> O javem
<leftylink> &>> module Flip refine Object do def flip(new_name, old_name) define_method(new_name) { |arg| arg.send(old_name, self) } end end end; using Flip; flip(:in?, :include?); "foo".in? %w(foo bar baz)
<rubydoc> # => true (https://carc.in/#/r/7mhq)
<leftylink> I haven't decided what else to flip yet
<leftylink> but now we can flip!!!
fphilipe_ has quit [Ping timeout: 245 seconds]
<leftylink> isn't it splendid
<baweaver> Do you know what currying is?
<leftylink> https://www.reddit.com/r/haskell/comments/31fbpq/mnemonic_for_uncurrycurry_which_is_which/cq11y1e/ "So, 'curry' is the one that makes functions Haskelly."
<leftylink> I always have to think about it. for the sake of a thing being made, one shoud probably assume I said "no"
<baweaver> you know dig?
<leftylink> yup
<baweaver> to start with, there's a concept called closures
<baweaver> &>> adds = -> a { -> b { a + b } }; adds[1][2]
<rubydoc> # => 3 (https://carc.in/#/r/7mhr)
<baweaver> &>> adds = -> a { -> b { a + b } }; [1,2,3].map &adds[1]
<rubydoc> # => [2, 3, 4] (https://carc.in/#/r/7mhs)
<baweaver> adds remembers that `1` as `a`
<baweaver> Now what if we did that with dig, and took some hints from flip?
<baweaver> &>> digs = -> *paths { -> obj { obj.dig(*paths) } }; [{ a: { b: { c: 2 } } } , { a: { b: { c: 4 } } } ].map(&digs[:a, :b, :c])
<rubydoc> # => [2, 4] (https://carc.in/#/r/7mht)
tdy has joined #ruby
alfiemax has quit [Remote host closed the connection]
<leftylink> 👍
<baweaver> Now if there's a dig, what about a bury?
jenrzzz has quit [Ping timeout: 240 seconds]
<baweaver> &>> burries = -> value, *path { -> obj { obj.dig(*path[0..-2])[path[-1] = value } }; [{ a: { b: { c: 2 } } } , { a: { b: { c: 4 } } } ].map(&burries[10, :a, :b, :c])
<rubydoc> stderr: -e:2: syntax error, unexpected '}', expecting ']'... check link for more (https://carc.in/#/r/7mhu)
<baweaver> &>> burries = -> value, *path { -> obj { obj.dig(*path[0..-2])[path[-1]] = value } }; [{ a: { b: { c: 2 } } } , { a: { b: { c: 4 } } } ].map(&burries[10, :a, :b, :c])
<rubydoc> # => [10, 10] (https://carc.in/#/r/7mhv)
<baweaver> &>> burries = -> value, *path { -> obj { obj.dig(*path[0..-2])[path[-1]] = value; obj } }; [{ a: { b: { c: 2 } } } , { a: { b: { c: 4 } } } ].map(&burries[10, :a, :b, :c])
<rubydoc> # => [{:a=>{:b=>{:c=>10}}}, {:a=>{:b=>{:c=>10}}}] (https://carc.in/#/r/7mhw)
<baweaver> There we go.
<baweaver> Don't really care for the argument order though
sarink has quit [Remote host closed the connection]
alfiemax has joined #ruby
x86sk has quit [Quit: Connection closed for inactivity]
bitwinery has quit [Quit: Leaving]
<baweaver> &>> class Object; def bury(*path, &val_fn) lead, tail = path[0..-2], path[-2]; o = self.dig(*lead); o[tail] = yield(o[tail]); o end; end; { a: { b: { c: 2 } } }.bury(:a, :b, :c) { |v| v * 2 }
<rubydoc> stderr: -e:2:in `block in <main>': undefined method `*' for nil:NilClass (NoMethodError)... check link for more (https://carc.in/#/r/7mhx)
ur5us has quit [Remote host closed the connection]
<baweaver> &>> class Object; def bury(*path, &val_fn) lead, tail = path[0..-2], path[-1]; o = self.dig(*lead); o[tail] = yield(o[tail]); self end; end; { a: { b: { c: 2 } } }.bury(:a, :b, :c) { |v| v * 2 }
<rubydoc> # => {:a=>{:b=>{:c=>4}}} (https://carc.in/#/r/7mhy)
ur5us has joined #ruby
<baweaver> &>> class Object; def bury(*path, &val_fn) lead, tail = path[0..-2], path[-1]; o = self.dig(*lead); o[tail] = yield(o[tail]); self end; end; [{ a: { b: { c: 2 } } } , { a: { b: { c: 4 } } } ].map { |v| v.bury(:a, :b, :c) { |v| v * 2 } }
<rubydoc> # => [{:a=>{:b=>{:c=>4}}}, {:a=>{:b=>{:c=>8}}}] (https://carc.in/#/r/7mhz)
<baweaver> yay
sarink has joined #ruby
cd has quit [Quit: cd]
blackmesa has quit [Ping timeout: 250 seconds]
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
ur5us has quit [Ping timeout: 276 seconds]
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
<leftylink> I still haven't looked very hard since "ruby lens" is a search term that gets tons of results that are not what I want, so I didn't find anyone who tried anything similar other than xf
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
BTRE has quit [Ping timeout: 265 seconds]
andikr has joined #ruby
queip has quit [Ping timeout: 265 seconds]
murarisumit has quit [Ping timeout: 245 seconds]
queip has joined #ruby
tpanarch1st has quit [Ping timeout: 240 seconds]
rheddry has quit [Ping timeout: 240 seconds]
levifig has joined #ruby
<baweaver> If you're going to RubyConf I mention them in my talk
BTRE has joined #ruby
alfiemax has quit [Remote host closed the connection]
jackkall has quit [Quit: Textual IRC Client: www.textualapp.com]
murarisumit has joined #ruby
TomyWork has joined #ruby
ur5us has joined #ruby
<TomyWork> I'm looking for a library where I can do jsonpath or jsonpath-like expressions on either JSON strings or ruby structures derived from them. Additionally, I need to be able to compare version numbers, i.e. '19.8'<'19.9'<'19.10'<'19.10.1'
<TomyWork> (i need to do those comparisons in the jsonpath-like expression)
<baweaver> &>> ['19.8','19.9','19.10','19.10.1'].sort
<rubydoc> stderr: playpen: timeout triggered! (https://carc.in/#/r/7mj2)
<baweaver> &>> ['19.8','19.9','19.10','19.10.1'].sort
<rubydoc> # => ["19.10", "19.10.1", "19.8", "19.9"] (https://carc.in/#/r/7mj3)
<baweaver> Heh, it works fine with 3 I bet
<baweaver> &>> ['19.8'.0,'19.9.0','19.10.0','19.10.1'].sort
<rubydoc> stderr: -e:2: no .<digit> floating literal anymore; put 0 before dot... check link for more (https://carc.in/#/r/7mj4)
<baweaver> &>> ['19.8.0','19.9.0','19.10.0','19.10.1'].sort
<rubydoc> # => ["19.10.0", "19.10.1", "19.8.0", "19.9.0"] (https://carc.in/#/r/7mj5)
<baweaver> Well ok then. There was a library somewhere around for gem versions that does
<baweaver> &>> ['19.8','19.9','19.10','19.10.1'].sort_by { |v| Gem::Version.new(v) }
<rubydoc> # => ["19.8", "19.9", "19.10", "19.10.1"] (https://carc.in/#/r/7mj6)
<baweaver> yay
<baweaver> So that gets the version part. What about JSON path now TomyWork?
mre- has joined #ruby
queip has quit [Ping timeout: 265 seconds]
bambanx has quit [Quit: Leaving]
sarink has quit [Remote host closed the connection]
mre- has quit [Ping timeout: 265 seconds]
JayDoubleu has quit [Ping timeout: 276 seconds]
JayDoubleu has joined #ruby
phaul has quit [Quit: :wq]
BH23 has joined #ruby
queip has joined #ruby
yasumi2136 has joined #ruby
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy has quit [Ping timeout: 246 seconds]
schne1der has joined #ruby
blackmesa has joined #ruby
kotisky has quit [Ping timeout: 260 seconds]
hiroaki has joined #ruby
<TomyWork> baweaver, yeah i know how to use jsonpath and how to compare versions, but i dont know how to compare versions inside a jsonpath or jsonpath-like expression :)
<baweaver> Was more of referring to not knowing JSON path
tsujp has joined #ruby
<TomyWork> basically if version node #1 < version node #2 then match the parent node
kent\n has quit [Ping timeout: 245 seconds]
<TomyWork> oh, jsonpath is like xpath, except for json instead of xml
<baweaver> Ah
sarink has joined #ruby
<baweaver> Hrm
<baweaver> Just on JSON, or on Objects?
<baweaver> I mean I guess one could just switch out handlers, so kinda moot
<TomyWork> either will do fine
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
kent\n has joined #ruby
<baweaver> Problem is that somehow you'd have to get it to distinguish that those are versions
<baweaver> Gem::Version probably implements <=> so that takes care of comparators
<baweaver> I could probably wire up something similar in a DSL, it'd mostly be path traversal with a few keywords for good measure
sarink has quit [Remote host closed the connection]
fphilipe_ has joined #ruby
sarink has joined #ruby
<baweaver> Heheheheh, found a gem name for it too
<baweaver> So give me two "objects" as a sample or some data to play with if you could TomyWork
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sarink has quit [Remote host closed the connection]
Intelo has joined #ruby
sarink has joined #ruby
Intelo has quit [Remote host closed the connection]
Intelo has joined #ruby
tsujp has joined #ruby
Intelo has quit [Client Quit]
Intelo_ has joined #ruby
Intelo_ has quit [Remote host closed the connection]
Intelo has joined #ruby
Intelo has left #ruby [#ruby]
Intelo has joined #ruby
yasumi2136 has quit [Remote host closed the connection]
<baweaver> Qo does some of that already with hash / indiscriminate matching
<baweaver> and considering `===` works on Procs too, well there's all types of fun on that one
x86sk has joined #ruby
davor_ has joined #ruby
davor has quit [Ping timeout: 245 seconds]
davor_ is now known as davor
teclator has quit [Read error: Connection reset by peer]
teclator has joined #ruby
lxsameer has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
dionysus69 has joined #ruby
jottr_ has joined #ruby
xco has quit [Quit: xco]
akemacer has quit [Read error: Connection reset by peer]
akemacer has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
murarisumit has quit [Ping timeout: 264 seconds]
BTRE has quit [Ping timeout: 265 seconds]
queip has quit [Ping timeout: 245 seconds]
queip has joined #ruby
BTRE has joined #ruby
i9zO5AP has joined #ruby
Ai9zO5AP has quit [Ping timeout: 265 seconds]
akemacer has quit [Remote host closed the connection]
akemacer has joined #ruby
rntsrtoh^ has quit [Read error: Connection reset by peer]
rntsrtoh^ has joined #ruby
rntsrtoh^ has quit [Max SendQ exceeded]
rntsrtoh^ has joined #ruby
rntsrtoh^ has quit [Max SendQ exceeded]
CalimeroTeknik has quit [Remote host closed the connection]
rntsrtoh^ has joined #ruby
rntsrtoh^ has quit [Max SendQ exceeded]
sarink has quit [Remote host closed the connection]
ellcs has joined #ruby
rntsrtoh^ has joined #ruby
rntsrtoh^ has quit [Max SendQ exceeded]
stan has quit [Remote host closed the connection]
rntsrtoh^ has joined #ruby
rntsrtoh^ has quit [Max SendQ exceeded]
sarink has joined #ruby
sagax has quit [Remote host closed the connection]
dasher00 has joined #ruby
cjohnson has quit [Ping timeout: 245 seconds]
shenghi has quit [Ping timeout: 245 seconds]
greypack has quit [Ping timeout: 245 seconds]
stan has joined #ruby
balo has quit [Ping timeout: 245 seconds]
lucas_ has quit [Ping timeout: 245 seconds]
jcalla has quit [Ping timeout: 245 seconds]
cjohnson has joined #ruby
murarisumit has joined #ruby
jcalla has joined #ruby
lucas has joined #ruby
balo has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CalimeroTeknik has joined #ruby
greypack has joined #ruby
sarink has quit [Ping timeout: 246 seconds]
hiroaki has quit [Quit: Leaving]
ur5us has quit [Remote host closed the connection]
Pip_ has joined #ruby
i9zO5AP has quit [Quit: WeeChat 2.5]
Pip_ is now known as Guest46063
Ai9zO5AP has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
Pip has quit [Ping timeout: 246 seconds]
sarink has joined #ruby
kyrylo has joined #ruby
shenghi has joined #ruby
murarisumit has quit [Read error: Connection reset by peer]
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
hightower2 has quit [Ping timeout: 240 seconds]
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest46063 is now known as Pip
Pip is now known as Guest3637
jenrzzz has joined #ruby
Guest3637 has quit [Quit: Leaving]
queip has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
queip has joined #ruby
yann-kaelig has joined #ruby
blackmesa has joined #ruby
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
blackmesa has quit [Remote host closed the connection]
sarink has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
fphilipe_ has quit [Read error: Connection reset by peer]
sarink has joined #ruby
hightower2 has joined #ruby
queip has quit [Quit: bye, freenode]
poontangmessiah has joined #ruby
murarisumit has joined #ruby
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
queip has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
blackmesa has joined #ruby
AJA4350 has joined #ruby
tsujp has joined #ruby
blackmesa has quit [Remote host closed the connection]
reaVer_ has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
reaVer has joined #ruby
poontangmessiah_ has joined #ruby
poontangmessiah has quit [Read error: Connection reset by peer]
chalkmonster has joined #ruby
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
poontangmessiah_ has quit [Read error: Connection reset by peer]
Technodrome has joined #ruby
sarink has quit [Ping timeout: 245 seconds]
sagax has joined #ruby
kotisky has joined #ruby
BH23 has quit [Ping timeout: 250 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
murarisumit has quit [Ping timeout: 265 seconds]
schne1der has quit [Ping timeout: 268 seconds]
jottr_ has joined #ruby
queip has quit [Ping timeout: 245 seconds]
fphilipe_ has joined #ruby
queip has joined #ruby
murarisumit has joined #ruby
schne1der has joined #ruby
BH23 has joined #ruby
murarisumit has quit [Ping timeout: 245 seconds]
fphilipe_ has quit [Read error: Connection reset by peer]
fphilipe_ has joined #ruby
andikr has quit [Ping timeout: 265 seconds]
andikr has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
Swyper has joined #ruby
blackmesa has joined #ruby
murarisumit has joined #ruby
sarink has joined #ruby
Swyper has quit [Ping timeout: 250 seconds]
murarisumit has quit [Ping timeout: 265 seconds]
x86sk has quit [Quit: Connection closed for inactivity]
ramfjord has joined #ruby
yann-kaelig has quit [Quit: yann-kaelig]
ramfjord has quit [Ping timeout: 265 seconds]
queip has quit [Ping timeout: 276 seconds]
queip has joined #ruby
Esa_ has joined #ruby
phaul has joined #ruby
jrafanie has joined #ruby
suukim has joined #ruby
jenrzzz has joined #ruby
jottr_ has quit [Ping timeout: 246 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
depesz has joined #ruby
<depesz> hi. I have array like: [ '10.?', '10.10', '10.2?' ], how can I change it so that it will become [ '10.1', '10.2', '10.10', '10.21', '10.22' ] -> as in, each ? should generate 2 elements with ? substituted by either 1 or 2 ?
jottr_ has joined #ruby
lucasb has joined #ruby
<phaul> &>> [ '10.?', '10.10', '10.2?' ].flat_map { |e| e =~ /\?/ ? [e.tr('?', '1'), e.tr('?', '2')] : e }
<rubydoc> # => ["10.1", "10.2", "10.10", "10.21", "10.22"] (https://carc.in/#/r/7mmg)
<phaul> seems to work but not particularly clever. There might be something more succint
<depesz> phaul: that looks very cool. is there any nice way to make it sensible for longer arrays of substititions?
<depesz> like "?" => (a, b, c, d, e, f, g, ..., z) ?
<phaul> you could map that part. let me demonstrate..
murarisumit has joined #ruby
<phaul> &>> [ '10.?', '10.10', '10.2?' ].flat_map { |e| e =~ /\?/ ? ('1' .. '10').map {|x| e.tr('?', x) } : e }
<rubydoc> # => ["10.1", "10.2", "10.3", "10.4", "10.5", "10.6", "10.7", "10.8", "10.9", "10.1", "10.10", "10.21",... check link for more (https://carc.in/#/r/7mmh)
<depesz> ok, and final question - this works, but if input has multiple ? I'd like to get a product of all combinations. for example, if we substitute ? => 1,2, and input is "10.??", I'd like to get 10.11, 10.12, 10.21, 20.22
<depesz> sorry for causing additional problems :)
andikr has quit [Ping timeout: 250 seconds]
<phaul> :) no problem
murarisumit has quit [Ping timeout: 265 seconds]
<phaul> Array#product could solve this I think..
sarink has quit [Remote host closed the connection]
fphilipe_ has quit [Read error: Connection reset by peer]
sarink has joined #ruby
<phaul> but it's getting more of a challange
blackmesa has quit [Remote host closed the connection]
andikr has joined #ruby
codefriar has joined #ruby
BH23 has quit [Ping timeout: 240 seconds]
sarink has quit [Ping timeout: 276 seconds]
sarink has joined #ruby
<depesz> yeah, I think I'll write it as a loop.
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iNs has quit [Remote host closed the connection]
iNs has joined #ruby
schne1der has quit [Ping timeout: 264 seconds]
eclm has joined #ruby
AJA4350 has quit [Quit: AJA4350]
alfiemax has joined #ruby
sarink has quit [Ping timeout: 240 seconds]
jottr_ has quit [Ping timeout: 265 seconds]
alan_w has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
<depesz> phaul: what do you think about this approach: https://share.riseup.net/#4viVlbVREtnth4GD1QcSBg ?
SuperL4g has joined #ruby
sarink has joined #ruby
sarink has quit [Remote host closed the connection]
SuperLag has quit [Ping timeout: 240 seconds]
sarink has joined #ruby
fphilipe_ has joined #ruby
howdoi has joined #ruby
galaxie has quit [Remote host closed the connection]
Guest22 has joined #ruby
galaxie has joined #ruby
sputnik13 has joined #ruby
andikr has quit [Quit: No Ping reply in 180 seconds.]
andikr has joined #ruby
Guest22 is now known as fretta
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fretta> Anyone know if watir has their own channel?
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
kyrylo has joined #ruby
robotcars has left #ruby [#ruby]
alfiemax has quit [Ping timeout: 268 seconds]
cnsvc has quit [Remote host closed the connection]
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cnsvc has joined #ruby
fretta has quit [Quit: Textual IRC Client: www.textualapp.com]
drincruz has joined #ruby
mre- has joined #ruby
murarisumit has joined #ruby
suukim has quit [Quit: Konversation terminated!]
nixy6 has joined #ruby
grilix has joined #ruby
jrafanie has joined #ruby
murarisumit has quit [Ping timeout: 245 seconds]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BH23 has joined #ruby
kyrylo has joined #ruby
murarisumit has joined #ruby
alfiemax has joined #ruby
Rapture has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tpanarch1st has joined #ruby
sputnik13 has joined #ruby
jottr_ has joined #ruby
greengriminal has joined #ruby
SuperL4g is now known as SuperLag
SeepingN has joined #ruby
chalkmonster has joined #ruby
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Ping timeout: 240 seconds]
brool has joined #ruby
stryek has joined #ruby
donofrio has joined #ruby
sarink has quit [Remote host closed the connection]
<depesz> how can I, possibly easily, create object of class that I have its name in variable? For example: c = "String"; x = <some_magic>; which makes x = String.new
greengriminal has quit [Quit: This computer has gone to sleep]
sarink has joined #ruby
davidw_ has joined #ruby
murarisumit has quit [Ping timeout: 268 seconds]
Technodrome has joined #ruby
fphilipe_ has quit [Ping timeout: 245 seconds]
<havenwood> depesz: c = 'String'; Module.const_get(c).new
Intelo has quit [Remote host closed the connection]
<depesz> thanks
DaRock has quit [Ping timeout: 265 seconds]
Rapture has quit [Ping timeout: 245 seconds]
drincruz_ has joined #ruby
drincruz has quit [Read error: No route to host]
greengriminal has joined #ruby
jacksoow_ has joined #ruby
tpanarch1st_ has joined #ruby
jacksoow has quit [Ping timeout: 240 seconds]
tpanarch1st has quit [Ping timeout: 240 seconds]
greengriminal has quit [Client Quit]
schne1der has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
dellavg has left #ruby ["Ex-Chat"]
sputnik13 has joined #ruby
dretnx has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
jrafanie has joined #ruby
chalkmonster has joined #ruby
sasha has joined #ruby
sasha is now known as Guest22112
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
witlesswonder_ has joined #ruby
witlesswonder has quit [Remote host closed the connection]
blackmesa has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
banisterfiend has joined #ruby
sputnik13 has joined #ruby
murarisumit has joined #ruby
Guest22112 is now known as SashaZakharchuk
murarisumit has quit [Ping timeout: 240 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andikr has quit [Remote host closed the connection]
SashaZakharchuk_ has joined #ruby
SashaZakharchuk has quit []
SashaZakharchuk_ has quit [Client Quit]
SashaZakharchuk has joined #ruby
kyrylo has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cthulchu_ has joined #ruby
sputnik13 has joined #ruby
jenrzzz has joined #ruby
dionysus69 has joined #ruby
dionysus69 has quit [Remote host closed the connection]
lupine has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
lupine has joined #ruby
banisterfiend has joined #ruby
BH23 has quit [Ping timeout: 240 seconds]
murarisumit has joined #ruby
jottr_ has quit [Ping timeout: 265 seconds]
phaul has quit [Quit: :wq]
jottr_ has joined #ruby
rippa has joined #ruby
Salve has joined #ruby
jottr has joined #ruby
Salve has quit [Client Quit]
schne1der has quit [Ping timeout: 240 seconds]
jottr__ has joined #ruby
jottr_ has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
Eiam has quit [Ping timeout: 264 seconds]
Eiam_ has joined #ruby
SashaZakharchuk has quit []
fphilipe_ has joined #ruby
SashaZakharchuk has joined #ruby
Seance[m] has left #ruby ["User left"]
jenrzzz has quit [Ping timeout: 245 seconds]
<Technodrome> what is the most advanced ruby book you guys can think of? Just tons of meta programming or what not
<havenwood> Technodrome: Not metaprogramming related, but Ruby Under a Microscope.
<Technodrome> yeah, i read that one
<Technodrome> just was looking for another book to pass some time, been focusing on c++ / data structure stuff
<Technodrome> havenwood looks like i'll be going into a new rails position until recruiting picks back up a bit for me
<havenwood> Technodrome: Nice, working on a Rails app sounds pretty nice to me about now. :)
<Technodrome> what are you doing now? no more ruby?
<havenwood> i'm still doing at least some Rub. :
<havenwood> Ruby*
<havenwood> Technodrome: Was just working with Avdi on a Dart and Python tutorial app for work.
<Technodrome> its funny, i'm making this little app because all my old ruby stuff is like rails 3 and the employer wanted to see something new, so i made a small real estate management platform, but i keep working on it, and i put a friend of mines property in there, and he's using it, i got billing working right and everything
Ven`` has joined #ruby
Ven`` has quit [Read error: Connection reset by peer]
<Technodrome> then again, i do plan all my design and functionality in xd ahead of time, coming together quite nice
<Technodrome> havenwood Dart? people are still using it?
murarisumit has quit [Ping timeout: 268 seconds]
<txdv> hello
<havenwood> txdv: hi!
<Technodrome> Nothing against Dart really I actually liked a few things about it, I just literally thought almost no one was using it in production much.
mre- has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
codefriar has quit [Quit: Textual IRC Client: www.textualapp.com]
murarisumit has joined #ruby
millerti has joined #ruby
Rapture has joined #ruby
TomyWork has quit [Ping timeout: 246 seconds]
Eiam_ is now known as Eiam
lxsameer has quit [Quit: out]
codefriar has joined #ruby
imtravis has joined #ruby
xfbs has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
luminousnine has quit [Quit: Toodles]
kyrylo has quit [Quit: Textual IRC Client: www.textualapp.com]
xfbs has joined #ruby
murarisumit has quit [Ping timeout: 265 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
murarisumit has joined #ruby
luminousnine has joined #ruby
luminousnine has quit [Changing host]
luminousnine has joined #ruby
code_zombie has joined #ruby
jottr__ has quit [Ping timeout: 265 seconds]
fig-le-deunch has joined #ruby
fphilipe_ has quit [Ping timeout: 250 seconds]
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
<havenwood> Technodrome: Flutter gave it new legs!
<havenwood> Or new wings?
sputnik13 has joined #ruby
ramfjord has joined #ruby
fig-le-deunch has quit [Ping timeout: 245 seconds]
dinfuehr has quit [Ping timeout: 240 seconds]
alfiemax has quit [Remote host closed the connection]
InfinityFye has joined #ruby
dinfuehr has joined #ruby
hightower2 has quit [Ping timeout: 268 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
dretnx has quit [Quit: Going offline, see ya! (www.adiirc.com)]
schne1der has joined #ruby
mre- has joined #ruby
Kilobyte22 has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<Technodrome> havenwood googles version of react native?
<Technodrome> i've never heard of this
<havenwood> Technodrome: Dart used to be a VM embedded in Chrome and it could also compile to JavaScript for browsers that didn't have a Dart VM. Now days Google has added support for compiling to native ARM and x86.
<Technodrome> oh wow, so it actually compiles to arm , so is there any interpreting at all going on in an app?
<havenwood> Technodrome: It interprets in development mode for hot reloads, but when you deploy it compiles to actual native code.
<Technodrome> react native still interprets JS right? It just calls native components
<havenwood> Technodrome: yup
<Technodrome> so this is better then
<havenwood> Technodrome: They also did a huge project to implement native graphics down to the metal.
<Technodrome> with flutter you mean?
<Technodrome> so you're saying it could be used for game dev or 3d applications with no performance loss?
<havenwood> Technodrome: Yeah, with Flutter I mean. Great for animations and games. Skia.
<Technodrome> crazy
<Technodrome> hell implement android in this damn thing then, i'm sick of java over there
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mozzarella> Technodrome: ever heard of fuchsia?
<Technodrome> its a color right?
<mozzarella> operating system
<mozzarella> being developed by Google
<havenwood> Technodrome: Flutter works on iOS, Android, Fuchsia, macOS, Windows, Linux and then Fuchsia for Web for the DOM.
<havenwood> I mean Flutter for Web >.>
<jhass> I think it's actually their plan to very gradually shift the ecosystem towards flutter in the mid-term
<jhass> Android is just too big to kill it like that
troulouliou_dev has joined #ruby
<jhass> Also Kotlin ain't that bad if you're sick of Java :D
<jhass> (I'm less sick of java and more sick of the hideous Android APIs)
stan has quit [Remote host closed the connection]
stan has joined #ruby
<Technodrome> jhass yeah, this flutter looks very cool though
<Technodrome> i'm sold
<havenwood> Technodrome: Yell when you're ready to take payments in your Flutter app and I'll show you the Square plugins for Flutter. ;)
<havenwood> Technodrome: https://youtu.be/_necENw9CUs
<havenwood> Technodrome: Ruby makes a great backend for your Flutter app. ;)
sauvin has quit [Read error: Connection reset by peer]
sputnik13 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
murarisumit has quit [Ping timeout: 268 seconds]
fphilipe_ has joined #ruby
millerti has joined #ruby
jottr__ has joined #ruby
cd has joined #ruby
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sameerynho has joined #ruby
fphilipe_ has quit [Ping timeout: 246 seconds]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr__ has quit [Ping timeout: 268 seconds]
wald0 has joined #ruby
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
millerti has joined #ruby
Esa_ has quit []
wald0 has quit [Read error: Connection reset by peer]
wald0 has joined #ruby
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
sputnik13 has joined #ruby
jottr__ has joined #ruby
SeepingN has joined #ruby
millerti has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
blackmesa has joined #ruby
jottr__ has quit [Ping timeout: 240 seconds]
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
davidw_ has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
alfiemax has quit [Ping timeout: 268 seconds]
banisterfiend has joined #ruby
postmodern has joined #ruby
sarink_ has joined #ruby
RyanMcCoskrie has joined #ruby
sarink has quit [Ping timeout: 240 seconds]
wald0 has quit [Read error: Connection reset by peer]
RyanMcCoskrie has quit [Remote host closed the connection]
wald0 has joined #ruby
davidw_ has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has joined #ruby
ramfjord has joined #ruby
troulouliou_div2 has joined #ruby
jottr__ has joined #ruby
fphilipe_ has joined #ruby
ellcs has quit [Ping timeout: 240 seconds]
fphilipe_ has quit [Ping timeout: 240 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
tdy has joined #ruby
jottr__ has quit [Ping timeout: 265 seconds]
Swyper has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
wald0 has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
InfinityFye has quit [Ping timeout: 245 seconds]
ellcs has joined #ruby
wald0 has joined #ruby
dionysus69 has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
Fernando-Basso has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
Tempesta has quit [Quit: See ya!]
wald0 has quit [Read error: Connection reset by peer]
wald0 has joined #ruby
imtravis has quit [Quit: leaving]
Tempesta has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
wald0 has joined #ruby
bitwinery has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
wald0 has joined #ruby
banisterfiend has joined #ruby
cow[moo] has quit [Ping timeout: 265 seconds]
wald0 has quit [Read error: Connection reset by peer]
wald0 has joined #ruby
sawebb287 has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
wald0 has quit [Read error: Connection reset by peer]
ramfjord has quit [Ping timeout: 265 seconds]
sawebb287 has quit [Client Quit]
wald0 has joined #ruby
ramfjord has joined #ruby
bitwinery has quit [Quit: Leaving]
wald0 has quit [Read error: Connection reset by peer]
Swyper has quit [Remote host closed the connection]
RyanMcCoskrie has joined #ruby
Intelo has joined #ruby
wald0 has joined #ruby
sawebb287 has joined #ruby
Swyper has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wald0 has quit [Read error: Connection reset by peer]
wald0 has joined #ruby
Swyper has quit [Ping timeout: 240 seconds]
wald0 has quit [Read error: Connection reset by peer]
tdy1 has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
sputnik13 has joined #ruby
wald0 has joined #ruby
tdy has quit [Ping timeout: 268 seconds]
wald0 has quit [Read error: Connection reset by peer]
etupat has joined #ruby
sawebb287 has quit [Quit: Bye!]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
wald0 has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
wald0 has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
schne1der has quit [Ping timeout: 240 seconds]
drincruz_ is now known as drincruz
ramfjord has quit [Ping timeout: 265 seconds]
wald0 has joined #ruby
etupat has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
wald0 has joined #ruby
jenrzzz has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
etupat has joined #ruby
wald0 has joined #ruby
ramfjord has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
wald0 has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
bambanx has joined #ruby
wald0 has joined #ruby
RyanMcCoskrie has quit [Remote host closed the connection]
wald0 has quit [Read error: Connection reset by peer]
wald0 has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wald0 has quit [Read error: Connection reset by peer]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
wald0 has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
rrichardsr3 has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
tdy2 has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dostoyevsky has quit [Quit: leaving]
dostoyevsky has joined #ruby
rrichardsr3 has quit [Client Quit]
fphilipe_ has joined #ruby
tdy1 has quit [Ping timeout: 265 seconds]
fphilipe_ has quit [Ping timeout: 240 seconds]
drincruz has quit [Ping timeout: 240 seconds]
troulouliou_dev has quit [Quit: Leaving]
dbugger has quit [Ping timeout: 264 seconds]
ellcs1 has joined #ruby
jenrzzz has joined #ruby
brandoncc has joined #ruby
brandoncc has quit [Client Quit]
AJA4350 has joined #ruby
Technodrome has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
luminousnine has quit [Ping timeout: 276 seconds]
xfbs has quit [Ping timeout: 250 seconds]
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 245 seconds]
sputnik13 has joined #ruby
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
zapata has quit [Ping timeout: 252 seconds]
zapata has joined #ruby
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sputnik13 has joined #ruby
codefriar has joined #ruby
tdy2 has quit [Ping timeout: 265 seconds]
etupat has quit [Remote host closed the connection]
bitwinery has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
SeepingN has joined #ruby
grilix has quit [Ping timeout: 240 seconds]
<Technodrome> havenwood what makes ruby such a good choice for the backend? anything besides just being ruby / rails?
etupat has joined #ruby
banisterfiend has quit [Ping timeout: 240 seconds]
vondruch_ has joined #ruby
etupat has quit [Remote host closed the connection]
vondruch has quit [Ping timeout: 240 seconds]
vondruch_ is now known as vondruch
jenrzzz has joined #ruby
ellcs1 has quit [Ping timeout: 265 seconds]
mre- has quit [Ping timeout: 240 seconds]
etupat has joined #ruby
sameerynho has quit [Quit: WeeChat 2.4]
<Eiam> cause ruby is fun to write =P
<Technodrome> Eiam that is definitely the main point for me, but was just curious if there were another
stooj has joined #ruby
stooj has quit [Client Quit]
ramfjord has joined #ruby
stooj has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
cd has quit [Ping timeout: 240 seconds]
witlesswonder_ is now known as witlesswonder
<havenwood> Technodrome: It's also one of the seven languages that Lambda supports. Lambda is nice for a mobile backend.
* Technodrome googles lambda
<havenwood> Technodrome: And it's also one of the languages that Square has an SDK for so you get niceties around the REST API.
<Technodrome> is Lambda a project name?
<havenwood> Technodrome: https://aws.amazon.com/lambda/
<Technodrome> ah
<Technodrome> interesting, i only use ec2 on the amazon stack
<havenwood> Technodrome: it's super easy to just run a Ruby function that does some HTTP on Lambda serverlessly
davidw_ has quit [Ping timeout: 276 seconds]
<Technodrome> so you are essentially just paying for function execution time here with lambda?
vondruch_ has joined #ruby
<havenwood> Technodrome: it's free to 1M requests per/mo and 400,000 GB-sec per/mo
<havenwood> Technodrome: then you pay
<Technodrome> interesting
<Technodrome> i can see how this would be awesome for mobile apps
<havenwood> $0.0000002 per request after 1M
vondruch has quit [Ping timeout: 245 seconds]
vondruch_ is now known as vondruch
etupat has quit [Remote host closed the connection]
banisterfiend has joined #ruby
<Technodrome> amazon really wants to run the internet these days huh
<banisterfiend> hello
<havenwood> Technodrome: and then there's Lambda Edge to geodistribute your function so mobile works well everywhere: https://aws.amazon.com/lambda/edge
<havenwood> banisterfiend: o/
banisterfiend has quit [Client Quit]
sarink_ has quit [Remote host closed the connection]
<Technodrome> very interesting, thanks for showing me this havenwood
<Technodrome> and flutter
stryek has quit [Quit: Connection closed for inactivity]
<Technodrome> who knows, maybe react native will be behind me at some point
etupat has joined #ruby
banisterfiend has joined #ruby
DaRock has joined #ruby
gix has joined #ruby
SanguineAnomaly has quit [Ping timeout: 245 seconds]
gix has quit [Ping timeout: 276 seconds]
mre- has joined #ruby
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
ramfjord has joined #ruby
fphilipe_ has joined #ruby
SanguineAnomaly has joined #ruby
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
etupat has quit [Remote host closed the connection]
fphilipe_ has quit [Ping timeout: 268 seconds]
blackmesa has quit [Ping timeout: 276 seconds]
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Intelo has quit [Remote host closed the connection]