baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ https://irclog.whitequark.org/ruby/
snguyen has joined #ruby
kies has quit [Quit: baaaaiiiiiiiiiii~]
ta_ has quit [Ping timeout: 252 seconds]
electrostat has quit [Quit: uwotm8]
electrostat has joined #ruby
Pumukel has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
tjohnson has quit [Quit: Connection closed for inactivity]
Pumukel has quit [Ping timeout: 260 seconds]
crdpink has quit [Quit: q term]
weemsledeux has joined #ruby
blandflakes has joined #ruby
weemsledeux has quit [Client Quit]
keeslinp has joined #ruby
crdpink has joined #ruby
minimalism has joined #ruby
C0D3JUNKIE has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
kegster has quit [Quit: Shiner, TX makes good beer.]
allcentury has quit [Ping timeout: 240 seconds]
kegster has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
etehtsea has quit [Quit: Computer has gone to sleep.]
Rodya_ has joined #ruby
d0nn1e has quit [Ping timeout: 276 seconds]
Guest65663 is now known as saneax_AFK
Pumukel has joined #ruby
toretore has quit [Ping timeout: 244 seconds]
CloCkWeRX has quit [Ping timeout: 244 seconds]
d0nn1e has joined #ruby
spudowiar has quit [Quit: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz]
Wolland has joined #ruby
jenrzzz has joined #ruby
mniip has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
mostlybadfly has joined #ruby
lightstalker has quit [Ping timeout: 276 seconds]
Pumukel has joined #ruby
LoneHerm_ has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
gusrub has quit [Remote host closed the connection]
saneax_AFK is now known as saneax
saneax is now known as Guest96080
RedNifre_ has joined #ruby
beilabs has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Voker57|2 has joined #ruby
Voker57|2 has quit [Client Quit]
RedNifre has quit [Ping timeout: 252 seconds]
SeepingN has quit [Ping timeout: 252 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kiba_ has quit [Ping timeout: 244 seconds]
kiba_ has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
marr has quit [Ping timeout: 260 seconds]
tectonic has joined #ruby
flashpoint9 has joined #ruby
beilabs has quit [Ping timeout: 276 seconds]
rodfersou has quit [Quit: leaving]
replay has quit []
Pumukel has joined #ruby
jonoyeong has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
CloCkWeRX has joined #ruby
symm- has quit [Ping timeout: 276 seconds]
ChiefAlexander has joined #ruby
nitric has quit [Ping timeout: 250 seconds]
ChiefAlexander has quit [Client Quit]
stamina has quit [Ping timeout: 258 seconds]
urbanmonk has quit [Quit: urbanmonk]
beilabs has joined #ruby
hahuang61 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
hahuang65 has quit [Ping timeout: 260 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
Pumukel has joined #ruby
beilabs_ has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
Pumukel has quit [Ping timeout: 264 seconds]
Rodya_ has joined #ruby
Pumukel has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
CihanKaygusuz has joined #ruby
klaas has quit [Read error: Connection reset by peer]
klaas has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Derperperd has quit [Quit: Derperperd]
Pumukel has joined #ruby
davedev24 has quit []
jonoyeong has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
jgt has quit [Ping timeout: 265 seconds]
C0D3JUNKIE has joined #ruby
Eiam has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
cyphase has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
malabaris has joined #ruby
airdisa has quit []
<malabaris> si quieres ganar mirando anuncios mira esto: https://www.facebook.com/malabarista72/
etehtsea has joined #ruby
jonoyeong has joined #ruby
urbanmonk has joined #ruby
enterprisey has joined #ruby
enterprisey has quit [Remote host closed the connection]
LoneHerm_ has quit [Remote host closed the connection]
enterprisey has joined #ruby
cyphase has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
enterprisey has quit [Remote host closed the connection]
Pumukel has joined #ruby
enterprisey has joined #ruby
moonythedwarf_ has quit [Ping timeout: 265 seconds]
mixtli has joined #ruby
moonythedwarf_ has joined #ruby
urbanmonk has quit [Client Quit]
martinium has quit [Quit: Leaving]
urbanmonk has joined #ruby
OTORelic4 has joined #ruby
zacts has joined #ruby
malabaris has left #ruby [#ruby]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
rsampaio_ has joined #ruby
enterprisey has quit [Remote host closed the connection]
the_rhizo3 has joined #ruby
tectonic has quit []
Wolland has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
OTORelic has joined #ruby
Pumukel has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
Ropeney has joined #ruby
OTORelic4 has quit [Ping timeout: 250 seconds]
Wolland has quit [Ping timeout: 250 seconds]
rkazak has quit [Quit: Sleep.....ing....]
Pumukel has quit [Ping timeout: 260 seconds]
the_rhizo3 has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
Rodya_ has quit [Remote host closed the connection]
moonythedwarf_ has quit [Ping timeout: 265 seconds]
jonoyeong has quit [Remote host closed the connection]
Rodya_ has joined #ruby
urbanmonk has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
hahuang61 has quit [Ping timeout: 252 seconds]
nankyokusei has joined #ruby
aazsdk has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
urbanmonk has joined #ruby
axisys has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 264 seconds]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
Immune has quit [Ping timeout: 244 seconds]
flashpoint9 has quit [Remote host closed the connection]
Pumukel has joined #ruby
nando293921 has joined #ruby
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 244 seconds]
aphprentice has joined #ruby
urbanmonk has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
Pumukel has quit [Ping timeout: 260 seconds]
shinnya has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
ta_ has joined #ruby
snguyen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomchapin has quit [Read error: Connection reset by peer]
tomchapin has joined #ruby
Amaterasu has quit [Quit: Leaving]
Pumukel has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 250 seconds]
PaulCapestany has quit [Quit: .]
Pumukel has joined #ruby
jonoyeong has joined #ruby
PaulCapestany has joined #ruby
CihanKaygusuz has left #ruby ["Leaving"]
arescorpio has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
tdy has quit [Ping timeout: 244 seconds]
tmtwd_ has joined #ruby
juggernaut has joined #ruby
<juggernaut> Hey guys! Are there any open source projects for which I could contribute to? I am a complete newbie with respect to contributing to open source. Any help or guidance would be appreciated.Thank you
<baweaver> !spam malabaris
<baweaver> juggernaut: What are you currently working on as far as side projects?
<baweaver> are you using any specific OS tools already?
hutch34 has joined #ruby
Pumukel has joined #ruby
<juggernaut> Currently I'm working on python for identifying bots in chat related projects
<juggernaut> @baeweaver Could you give any examples of OS tools ... Linux?
Xiti has quit [Quit: Xiti]
<baweaver> are you looking to contribute in Ruby or Python?
<juggernaut> Ruby
jenrzzz has quit [Ping timeout: 250 seconds]
<baweaver> The best opening is to look for bad documentation
<baweaver> pretty it up, make it more comprehensive
<baweaver> In the process you tend to learn how the framework runs on a whole, and once you know that it's a lot easier to dive into code problems.
Xiti has joined #ruby
<juggernaut> That sounds amazing! Thanks @baweaver. I'll go through github right away :)
<baweaver> That, and most OS people are bad about docs in the first place so always lots to love out there in the wild
Pumukel has quit [Ping timeout: 258 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
Pumukel has joined #ruby
<juggernaut> Haha! Not sure OS people would feel that way. Any projects that you are working on that are opensource ?
nando293921 has quit [Ping timeout: 265 seconds]
Rodya_ has quit [Remote host closed the connection]
dhollinger has joined #ruby
juggernaut has left #ruby [#ruby]
Pumukel has quit [Ping timeout: 260 seconds]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
DoubleMalt has quit [Ping timeout: 258 seconds]
arescorpio has quit [Read error: Connection reset by peer]
<baweaver> Currently far more into the Spark / Scala realm than Ruby
jackjackdripper has joined #ruby
<baweaver> ah, they left.
blackgoat has quit [Ping timeout: 244 seconds]
<moon_> What are some bare essential methods i should add to my bot's ruby sandbox/
<baweaver> I would just use eval.in like what was recommended before.
Niham has joined #ruby
<moon_> How would i hook my bot up to that?
Pumukel has joined #ruby
nando293921 has joined #ruby
<baweaver> I'll leave that as an exercise to the reader.
beilabs_ has quit [Remote host closed the connection]
<baweaver> but it has to do with watching what type of request that submit button triggers
Pumukel has quit [Ping timeout: 264 seconds]
jonoyeong has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
Wolland has joined #ruby
rajdesai has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
ReK2 has quit [Remote host closed the connection]
Pumukel has joined #ruby
jenrzzz has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
jonoyeong has joined #ruby
<moon_> Thanks for the tidvir baweaver
Pumukel has quit [Ping timeout: 258 seconds]
tdy has joined #ruby
Niham has quit [Quit: Textual IRC Client: www.textualapp.com]
keeslinp has quit [Ping timeout: 265 seconds]
beilabs has joined #ruby
redpants has joined #ruby
tmtwd_ has quit [Ping timeout: 244 seconds]
keeslinp has joined #ruby
redpants has quit [Quit: leaving]
redpants has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
electrostat has quit [Quit: uwotm8]
electrostat has joined #ruby
govg has quit [Ping timeout: 240 seconds]
rajdesai has quit [Remote host closed the connection]
Pumukel has joined #ruby
nando293921 has quit [Ping timeout: 258 seconds]
loechel has joined #ruby
rajdesai has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
OTORelic has quit [Ping timeout: 258 seconds]
azor has quit [Quit: Connection closed for inactivity]
crystal77 has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
<moon_> Ok. Its hookes to eval.in we just cant figure out the language types that are valid in the lang parimiter
Guest96080 is now known as saneax_AFK
<moon_> baweaver:
<baweaver> Look closer
<baweaver> There's a nice little dropdown menu
<moon_> I even tried rhe things in the dropdown menu :P
<baweaver> watch the post event in the network tab in chrome
<baweaver> it'll tell you what it submits.
Pumukel has quit [Ping timeout: 260 seconds]
lightstalker has joined #ruby
<moon_> Thx
Pumukel has joined #ruby
rajdesai has quit [Remote host closed the connection]
blackwind_123 has quit [Ping timeout: 252 seconds]
saneax_AFK is now known as saneax
saneax is now known as Guest53964
A_Drone has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
AndrewIsHere has quit []
ramfjord_ has quit [Ping timeout: 244 seconds]
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
alfiemax has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
A_Drone has quit [Ping timeout: 276 seconds]
Pumukel has joined #ruby
elifoster has joined #ruby
Coldblackice has quit [Ping timeout: 244 seconds]
<moon_> baweaver: we are stumped. Whats the lang value for javascript
<baweaver> I can't build this for you you know.
<moon_> Ik
joekarma has joined #ruby
A_Drone has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
s2013 has joined #ruby
Pumukel has joined #ruby
joekarma has quit [Client Quit]
A_Drone has quit [Remote host closed the connection]
Guest53964 is now known as saneax_AFK
danman has quit [Quit: danman]
chris349 has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
tmtwd_ has joined #ruby
redpants has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
kiba__ has joined #ruby
Pumukel has joined #ruby
jonoyeong has quit [Remote host closed the connection]
kiba_ has quit [Ping timeout: 260 seconds]
kiba__ is now known as kiba_
rajdesai has joined #ruby
l4v2 has joined #ruby
A_Drone has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
async_prince has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
rajdesai has quit [Remote host closed the connection]
solocshaw has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
C0D3JUNKIE has quit [Quit: irc client :P]
ta_ has joined #ruby
babblebre has joined #ruby
<moon_> Damn. Im stumped.
moneylotion has quit [Ping timeout: 252 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
nankyokusei has joined #ruby
ta_ has quit [Ping timeout: 250 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
soulisson has joined #ruby
<soulisson> Hello, sorry about this question, are "class" and "def" considered to be instructions in Ruby?
diegoviola has quit [Quit: WeeChat 1.5]
<zenspider> moon_: stuck with?
<zenspider> soulisson: "instructions" ?
<async_prince> soulisson: they are keywords
<zenspider> they're keywords... if that's what you mean
<moon_> Oh. We managed to connect to eval.in and post it, but it redirects us to forbidden for everything. And i kinda wrong channeled
<soulisson> some keywords like return are instructons/statements
<zenspider> soulisson: you keep using that word... care to clarify?
Cohedrin has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<async_prince> class and def are statements
gix has quit [Ping timeout: 252 seconds]
<zenspider> nothing in ruby is a statement... using contemporary lingo
nankyokusei has quit [Ping timeout: 276 seconds]
<async_prince> well, class ... end is a statement. but `class` is just a keyword
Pumukel has joined #ruby
<zenspider> class / end is an expression
<soulisson> async_prince, zenspider, ok, thanks
<async_prince> zenspider: there are no statements in contemporary lingo?
c355e3b has quit [Quit: Connection closed for inactivity]
rajdesai has joined #ruby
<moon_> baweaver: ikd your not gonna guide me. But does eval.in require users to be a browseR? We seemingly got the request perfect. And its telling us 'forbidden'
<soulisson> I thought the word instruction didn't apply in english but apparently it's the case: ". It is an instruction written in a high-level language that commands the computer to perform a specified action."
gix has joined #ruby
astrobun_ has joined #ruby
<zenspider> soulisson: your question is hard to answer. is `1 + 1` an instruction?
<soulisson> zenspider, yes
<zenspider> how many?
<soulisson> zenspider, I would say 1
Pumukel has quit [Ping timeout: 264 seconds]
<matthewd> soulisson: instruction is a relevant term, but it means something specific, and very unlikely the thing you're interested in
<soulisson> but yeah not an easy question to answer
<zenspider> soulisson: at what level is it a single instruction?
<async_prince> ruby program is a sequence of *lines* which are *statements*
<soulisson> zenspider, user level, then I don't know how the interpreter transforms it
<soulisson> I see class end as the equivalent "create this class"
<zenspider> yall keep saying statements... I keep saying there aren't any. nearly EVERYTHING in ruby is an _expression_.
<zenspider> the number of things we have considered statements is... I dunno... about 3-5. And you don't use them hardly ever
<async_prince> zenspider: what is an expression?
<zenspider> a thing that evaluates to some value
<baweaver> Ruby takes notes from lisp
<baweaver> lisp is comprised of s-expressions
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
the_rhizo3 has joined #ruby
<zenspider> the number of things ruby has that don't evaluate to a value is minuscule
<baweaver> zenspider: getting a slight headache trying to think of any
<zenspider> alias
<baweaver> because technically most of them return nil if nothing else.
<zenspider> undef
<matthewd> return
<soulisson> async_prince, do you agree with "class end" is the equivalent of "create this class"?
memorasus has quit [Ping timeout: 252 seconds]
<async_prince> soulisson: it is "create class object" *and* *assign this object to some constant in global table*
<baweaver> still returns nil technically.
arescorpio has joined #ruby
<soulisson> async_prince, ok
<zenspider> return is an expression
moeabdol has quit [Ping timeout: 265 seconds]
<soulisson> async_prince, plus the functions which are included in it, right?
<async_prince> soulisson: `class X .. end` and `X = Class.new { ... }` is the same
<zenspider> not really the same... but close
Pumukel has joined #ruby
<async_prince> ok, Class.new { .. } create a closure but who cares
<soulisson> async_prince, and def func end, is the equivalent of "create the func fonction"?
<async_prince> and also `class X ... end` could reopen already defined class
<zenspider> !ban Pumukel !T 1h please fix your connection
Pumukel was kicked from #ruby by ruby[bot] [please fix your connection]
<zenspider> oh noes... either I'm no op anymore or the bot is way way slow
<baweaver> bot is slow
kp666 has joined #ruby
<baweaver> shenanigans?
<baweaver> use !connection, does it for ya
<baweaver> apeiros and friends made fancy commands
gusrub has joined #ruby
qguv has quit [Quit: bye]
qguv has joined #ruby
adam^ is now known as adam12
<soulisson> async_prince, any confirmation about my last sentence?
A_Drone has quit [Remote host closed the connection]
jgt has joined #ruby
<baweaver> >> def foo; end
<ruby[bot]> baweaver: # => :foo (https://eval.in/624657)
adam12 is now known as Guest20954
<baweaver> >> class Bar; end
<ruby[bot]> baweaver: # => nil (https://eval.in/624658)
<async_prince> technically ruby often mutates some things and sometimes that things are global. and often you don't even care about return value. so it feels more like statements, not the expressions
<moon_> baweaver: it apparently dislikes my bot. We have the request pretty much perfect
<async_prince> in ruby everything is an optical illusion
<soulisson> :)
<baweaver> I want some of what they're smoking zenspider
<moon_> Is code:"javascript/node-0.10.29" valid? Just making sure. As we are stuck real hard.
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> moon_ I would think so but doesn't appear to even send a param to it for JS
<baweaver> do note I have no idea how it works
<baweaver> I'm just guessing along
<moon_> oh
Guest20954 is now known as adam12
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
<async_prince> how often should i care about the return value of a `class .. end`? yeah i know that it's an *expression* but i don't care. more important that it's a *statement* that defines a class
craigp has quit [Ping timeout: 244 seconds]
<soulisson> async_prince, the same goes with def foo; end, this instructions defines a function but returns a label
* baweaver grabs popcorn
<async_prince> "everything is an expression" was the first thing i learned about ruby.
jgt has quit [Ping timeout: 276 seconds]
<async_prince> i thought wow it's great
<matthewd> soulisson: I think it all comes down to why you're asking the question.
<matthewd> soulisson: If you want to know how things are commonly viewed, then the answer is no.
<async_prince> soulisson: yes. it's a statement and also it's an expression.
Derperperd has joined #ruby
<soulisson> matthewd, simple quetion that poped in my mind. No practical impact to be honest
<matthewd> soulisson: If you want to argue that the answer could technically be yes, then.. enjoy?
<async_prince> i think `def` returns a value for you be able to write `private def ... end` and so on
<async_prince> but private is not a keyword, it's a method
<zenspider> I'm back! stupid cafe network...
jackjackdripper has quit [Quit: Leaving.]
<soulisson> matthewd, oh sorry, didn't mean to start an argument or debating, it was a genuine question
<moon_> baweaver: ik your not gonna do this. But can yoy pm me what lang values you know work?
<async_prince> but we cannot implement `def` is a method because it's handy to 'erase the content'
<zenspider> async_prince: it seems clear to me that your fixation on "statement" has little to do with the discussion at hand.
<zenspider> and yet... define_method is a method.
jonoyeong has joined #ruby
<baweaver> moon_ : the ones in the drop down. JS just happens to post no value in the code param
<zenspider> baweaver: been a while... how goes?
<baweaver> Ah not to bad. Still over at Sony, now working on a monitoring and logging team
<baweaver> get to make all types of fancy charts and stuff.
<async_prince> zenspider: just curious why statements contradict expressions. i think ruby is a mix of both.
<baweaver> that and somehow I'm teaching Ruby now internally
<zenspider> I'm sure you do
<zenspider> baweaver: that's pretty cool... they're officially using ruby now? I thought it was just sorta underground ops'y stuff before
<moon_> Ah.
<baweaver> The entire ops core for PS4 is on Ruby / Rails
<moon_> setting a useragent fixed it
<baweaver> with a few smatterings of Node and now Elixir.
jhack has quit [Read error: Connection reset by peer]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blandflakes has joined #ruby
blandflakes has quit [Client Quit]
malconis has joined #ruby
<zenspider> yay! just committed my deprecations on minitest 5
jhack has joined #ruby
<baweaver> I should jump back into contributing to some Ruby projects.
coolboy has joined #ruby
<baweaver> Though now I'm on a lot of Python, JS, and AWS for Pluralsight. Figured it's good inspiration to actually learn them in depth.
<zenspider> I've been playing with racket (more and more) and rust (not sure, but probably less and less)
<soulisson> baweaver, you work for pluralsight?
<zenspider> need to get some of my projects dusted off and healthy again... hence the evening cafe and minitest
<baweaver> Only with Lisp can you be a Schemer and a Racketeer and somehow still get Clojure.
<baweaver> auditioning for it within the next few weeks
<soulisson> baweaver, good luck
<baweaver> they're not looking for Ruby and I know enough on the other subjects that it's a non-issue.
jonoyeong has quit [Remote host closed the connection]
coolboy has quit [Quit: rcirc on GNU Emacs 24.5.1]
alfiemax has joined #ruby
soulisson has quit [Changing host]
soulisson has joined #ruby
jenrzzz has joined #ruby
coolboy has joined #ruby
keeslinp has quit [Read error: Connection reset by peer]
Wolland has joined #ruby
keeslinp has joined #ruby
coolboy has quit [Remote host closed the connection]
Coldblackice has joined #ruby
SeepingN has joined #ruby
jarred has joined #ruby
beilabs has quit [Remote host closed the connection]
elifoster has quit [Quit: night]
hahuang61 has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
kies has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jonoyeong has joined #ruby
saneax_AFK is now known as saneax
<jonoyeong> Hey all anyone know of any good resources for a intermediate Ruby dev? I know the basics of the Ruby lang, looking for next steps.
saneax is now known as Guest72746
<SeepingN> build a database driven site with Rails
hahuang65 has joined #ruby
<baweaver> Look through the docs, especially Enumerable and String
<baweaver> though really, looking into open source projects or just outright building things in Ruby is the fastest way to get good with them
<baweaver> you can read as many books as you want about woodworking, but until you actually start carving you won't see the real gains in experience.
hahuang61 has quit [Ping timeout: 250 seconds]
_KaLiF has quit [Ping timeout: 258 seconds]
pawnbox has joined #ruby
<jonoyeong> Okay awesome. I see a lot of contributing to open source. Would trying to contribute straight to the Ruby lang be a good idea? Or is that too advanced?
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<baweaver> that'd be in C
<baweaver> so unless you're really good with that it may be hard
<jonoyeong> Oh I didn't even know that
<jonoyeong> haha
_KaLiF has joined #ruby
xall has quit [Ping timeout: 240 seconds]
<SeepingN> I'd say it's advanced, esp at this point. You'd have to be really good to enhance something, unless perhaps it was a little nor not-at-all developed area. a project that could be pulled in to ruby or as a module might be good
<baweaver> I mean, yeah it's a good way to learn the really advanced parts of the language but it's pretty deep in some cases.
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_KaLiF has quit [Max SendQ exceeded]
johnny56_ has quit [Ping timeout: 264 seconds]
mitt3ns has joined #ruby
agent_white has quit [Disconnected by services]
mitt3ns is now known as agent_white
<SeepingN> I was looking at code for SSH and SFTP today and realized I have a lot to learn
<agent_white> Evenin'
<SeepingN> all the class extending and such confuse me
tmtwd_ has quit [Ping timeout: 244 seconds]
zotherstupidguy has joined #ruby
A_Drone has joined #ruby
advorak has joined #ruby
<moon_> baweaver: thanks for your help.
beilabs has joined #ruby
<zotherstupidguy> any known limitations of sintatra streaming, say vs icecast2 server for instance?
arescorpio has quit [Quit: Leaving.]
johnny56_ has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
d0nn1e has quit [Quit: ZNC - http://znc.in]
lightstalker has quit [Ping timeout: 265 seconds]
<advorak> Has anybody got some suggestions for places I should be looking at for discovering the solution to this (probably simple) bitwise problem: https://gist.github.com/advorak/4134f3bec32f590821727671879e719c ?
rileyy has quit [Ping timeout: 265 seconds]
<zenspider> jonoyeong: not all contributions to ruby require C. you can contribute to lib/* test/* or any of the doco... but it'd probably be easier to get entry into a more user-level OSS project
moeabdol has joined #ruby
<advorak> I'm happy I made my program get this far :-) just one more hump..
<zenspider> advorak: you're just looking to see the changes from 1 to 0 instead of 0 to 1?
<advorak> zenspider, yes.
<zenspider> do the same thing backwards?
dhollinger has quit [Quit: WeeChat 1.4]
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
rajdesai has quit [Remote host closed the connection]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
moeabdol has quit [Ping timeout: 244 seconds]
etehtsea has quit [Quit: Computer has gone to sleep.]
tmtwd_ has joined #ruby
<advorak> zenspider, bits_to_change & starting_point
<advorak> zenspider, thanks! :-) I was plugging in everything ..... except that, obviously.
<agent_white> I want Perl's $_ in Ruby.
<agent_white> It seems like it'd mesh perfectly, passing single variables through a block and such.
<agent_white> Or... however many I guess.
Immune has joined #ruby
A_Drone has quit [Remote host closed the connection]
Pumukel has joined #ruby
<zenspider> but... that's not what it is? Isn't that just @_ evaluated in a scalar context?
<zenspider> and @_ is rather like *args, no?
craigp has joined #ruby
etehtsea has joined #ruby
A_Drone has joined #ruby
<eam> zenspider: nope
<zenspider> which nope?
mixtli has quit [Ping timeout: 265 seconds]
dhollinger has joined #ruby
<eam> @_ is like a default *args for all subroutines, that part's true
<eam> but $_ is entirely different - it's the default iterator
<eam> so you can say: print for @things
hahuang65 has quit [Ping timeout: 258 seconds]
<jonoyeong> Thanks for the tips zenspider, baweaver and SeepingN
<jonoyeong> will definitely keep that in mind!
<eam> and that means print $_ for @things; which is also just like: for my $iterator (@things) { print $iterator }
advorak has quit [Quit: Leaving]
<zenspider> eam: sure. I get that... but as I understood it... that was all being done via @_... they're all the same... what's their term? glob? blob? something
<eam> (except $_ is local/dynamic scope and my() is lexical scope but that's a bit more obscure)
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<agent_white> $_ reflects the last eval in the current binding, I thought?
<agent_white> "it"
<eam> zenspider: nope. And yes, there's a glob *_ which are all possible buckets for that symbol
bluOxigen has joined #ruby
<eam> but $_ and @_ are totally distinct
<eam> other than they both share the _ symbol
<eam> there's also a %_
Pumukel has quit [Ping timeout: 264 seconds]
<zenspider> I don't have enough perl to try to prove me right at this point :)
<zenspider> it's been MANY years. tho, oddly... I semi-recently ported some old OO perl I had from 10 years prior and it was clean as hell. I was amazed how quickly it came over to ruby
<agent_white> zenspider, eam: I'm learning Perl and just was curious a bit by the default scalar. It just seems neat :)
mixtli has joined #ruby
<agent_white> (Ruby shop without Ruby on our machines [except the Rails one] :( _
<zenspider> we DO use $_ in ruby... I think technically it was deprecated a while back
<eam> perl -MData::Dumper -wle'sub foo { print Dumper \@_; print Dumper \$_; }; foo 1,2,3'
<eam> give that a shot
beilabs_ has joined #ruby
<agent_white> I like the implicit nature of it.
<zenspider> but it is/was the default argument to a few IO functions to make writing 1-off 1-liners easier `ruby -pi -e' blah blah '`
<agent_white> First thing that reminded me of Ruby while learning Perl.
<eam> $_ is used like this: perl -wle'print for map { $_ * $_ } 1,2,3'
<agent_white> zenspider: From my understand, 'default arguments' are a bit different in Perl
Contigi has joined #ruby
<zenspider> agent_white: I was referring to ruby on that comment
beilabs__ has joined #ruby
<zenspider> yes, arguments as a whole in ruby are just... odd
govg has joined #ruby
beilabs has quit [Ping timeout: 265 seconds]
<zenspider> because Wall was a "linguist"... something something
<agent_white> zenspider: Oh! Okey doke. I wasn't making a statement, rather prodding if this were true ;)
A_Drone has quit [Remote host closed the connection]
<agent_white> I was referring to Perl*
<eam> echo this is rad | perl -pe's/rad/operating on the default iterator which had: "$_"/'
<zenspider> yeah ... do `ruby -h` and look at -a
<eam> I still use perl for one-liners
<zenspider> I do for simple substitution stuff because it is a few chars shorter :)
<eam> I like that ruby has -p and -a and -F and so on, but it's harder to work with
<zenspider> and I still use my `rename` script from that perl recipe book from way back
<eam> that damn readability
<zenspider> ironic
<agent_white> eam: I'm learning it now cause it's good to know :) And there's only python on our machines I work with.
danman has joined #ruby
<eam> the one crazy thing that perl has that ruby doesn't, afaik, is dynamic scope
dhollin3 has joined #ruby
beilabs_ has quit [Ping timeout: 244 seconds]
<zenspider> _fuck_ dynamic scope
<agent_white> eam: ?
<agent_white> eam: If you care to explain, I would care to listen :D
Ropeney has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
<eam> local scope is like you'd expect from a ruby local. It's only accessible within that lexical block, right?
<eam> er
<eam> sorry lexical
<zenspider> iirc, rather than closures and lexical scoping... perl would look up from the call stack... so across function calls
<agent_white> Mhm
<eam> dynamic scope is done with local() and it's overwriting a global temporarily based on lexical context
<eam> so
beilabs__ has quit [Remote host closed the connection]
Ropeney has joined #ruby
<agent_white> Oh damn.
<zenspider> I think one reason why that perl script ported to ruby so cleanly is because I used `use strict` and `my` everywhere
<eam> perl -wle'sub thing { print $foo }; our $foo = 5; thing(); { local $foo = 6; thing(); } thing();'
<eam> that's an example of dynamic scope
<eam> our($foo) makes a global just like $foo in ruby
<eam> but local($foo) creates a temporary that shadows it -- which vanishes as soon as you exit those {} block
<zenspider> reminds me so clearly why I don't miss perl
<eam> local is neat, you can use it like you'd use ensure!
<eam> make $foo an object and put the thing you want to ensure in the destructor
<eam> because perl's ref counted and not gc, so you have deterministic calls to the destructors at scope boundaries
<zenspider> except for those pesky cycles and such...
<eam> oh well, yes
<eam> no one's perfect :^)
<eam> did ruby bring over magic user/group id variables that can be set to setuid()?
conta has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
caral_ has joined #ruby
danman has quit [Quit: danman]
heelpmeplz has quit [Read error: Connection reset by peer]
<eam> well here's a neat trick: sudo perl -wle'system "id"; {local $< = 1; system "id" } system "id"'
heelpmeplz has joined #ruby
<eam> $< is magic and is your uid, setting it calls setuid()
caral has quit [Ping timeout: 244 seconds]
caral_ is now known as caral
<eam> and with local scope you can temporarily set it, drop privs, do things, then set it back :)
<eam> I made a gem for this in ruby
<eam> no magic like in perl though
tdy has quit [Ping timeout: 265 seconds]
conta has quit [Ping timeout: 264 seconds]
<agent_white> eam: Ahhh I see. I changed 'local' in that last block to 'our' and 'my'
gusrub has quit [Remote host closed the connection]
<agent_white> eam: 466, 555
<agent_white> *566
<agent_white> Hahah.
A_Drone has joined #ruby
<eam> my() will shadow it with a lexical, which is a completely separate value
<agent_white> local being 565
<agent_white> Ahhh.
<agent_white> I can dig it though :)
<eam> if you look at the global (by using the package namespace) you'll still see it as distinct
A_Drone has quit [Remote host closed the connection]
<eam> but if you use local() you actually temporarily replace the global value
ta_ has joined #ruby
Ropeney has quit [Ping timeout: 240 seconds]
<eam> like this: perl -wle'our $foo = 5; my $foo = 6; print $foo; print $::foo'
<agent_white> Huh. Each lex has it's own global/local/temps?
Pumukel has quit [Ping timeout: 260 seconds]
<agent_white> ooo
Pumukel has joined #ruby
<eam> lexicals are completely distinct from globals. Only globals exist in the symbol table. Anything with a package namespace is a global
bocaneri has joined #ruby
<agent_white> eam: Just saw your "$<" trick above... :D Perl feels like Ruby's grandma
<eam> it so is
<baweaver> I always feel like Ruby oneliners are an entirely different language
beilabs has joined #ruby
<agent_white> >> [1,2,3,2,1,1].group_by(&:itself)
<ruby[bot]> agent_white: # => {1=>[1, 1, 1], 2=>[2, 2], 3=>[3]} (https://eval.in/624685)
<agent_white> It's pretty :)
rsampaio_ has quit [Quit: WeeChat 1.5]
<agent_white> The implicit is kinda neat, gives the language its hearth.
ta_ has quit [Ping timeout: 244 seconds]
<baweaver> If you want to have fun, most if not all the Enumerable functions can be written in terms of Reduce.
<eam> wow they finally fixed the crash from wiping the symbol table during compilation
hutch34 has quit [Ping timeout: 258 seconds]
<eam> perl -wle'BEGIN{%::=()}'
<eam> this used to segfault
Pumukel has quit [Ping timeout: 264 seconds]
<eam> still will on a centos6 perl
Pumukel has joined #ruby
<eam> that's essentially like calling remove_const on everything toplevel
Wolland has joined #ruby
<baweaver> :(){ :|: & };: # ?
tdy has joined #ruby
Ropeney has joined #ruby
<agent_white> eam: Ooo...
<agent_white> I need to read up on that %. Really just have dipped my little toe into Perl so far; reading 'Modern Perl' to get goin.
<baweaver> eam: you think there's much of any real reason to know Perl anymore if you're already up on Ruby/Python?
<agent_white> I think if Perl/Ruby folks combined forces and made another jewel it would be fancy.
yardenbar has joined #ruby
<baweaver> (besides the obvious of preexisting architecture)
<eam> baweaver: I'd say learn perl instead of awk/sed
<agent_white> baweaver: My reasoning, it's guaranteed to be on every Linux system. Period :)
jackjackdripper has joined #ruby
<eam> the implementation is more consistent between unixes, and is generally better
<eam> PCRE is also really important
<agent_white> (I had the choice to do things in Python, but I'd rather just learn Perl instead and have it ready anywhere)
<baweaver> typically you can get away with Python 2 and Ruby 1.8.7 guaranteed
<eam> but no, I wouldn't write applications in perl these days
Pumukel has quit [Ping timeout: 264 seconds]
<eam> I miss taint mode though
Wolland has quit [Ping timeout: 250 seconds]
<agent_white> eam: Have you looked at Perl 6?
<baweaver> In my case, 1.9.3/2.x for AWS / CoreOS
<eam> yes. I won't be using it
<agent_white> Ah :) Just curious.
<eam> perl6 is hilarious but
<agent_white> eam: An experiment ;)
<eam> yeah
Pumukel has joined #ruby
<agent_white> Yeah exactly.
<baweaver> It has about as much lead time as ES6
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
<agent_white> I appreciate it though. Sounds like it was more about testing out VM's than grammar... or maybe both?
* agent_white shrugs
<eam> oh yeah, I'm always glad people are doing kinda crazy things
<Nilium> Crazy things are, thankfully, the thing I'm known for at work. Also getting drunk on wine...
<agent_white> eam: And why not! :) The spice of life.
nankyokusei has joined #ruby
<agent_white> Nilium: That's the spirits!
<Nilium> Bearing in mind none of the crazy things involve Ruby.
<Nilium> And I've been drinking wine.
<Nilium> So, you're getting the worst of both worlds.
<agent_white> The tastiest* Just pair your it with a complenting white/red pasta.
<agent_white> erm.
Pumukel has quit [Ping timeout: 260 seconds]
<agent_white> s/your//
<Nilium> That actually sounds pretty good. Kind of feel like going out for fish and chips tomorrow, though.
lightheaded has quit [Ping timeout: 258 seconds]
<agent_white> eam, Nilium, baweaver: Did you ever looks at _why's Potion?
Pumukel has joined #ruby
<baweaver> Poignant guide?
<baweaver> haven't seen Potion
<agent_white> No. Language!
<Nilium> I don't think I did. Read the wonky book, looked at shoes, not seen Potion.
<agent_white> whoa
<agent_white> wait
Contigi has quit [Quit: Leaving]
<Nilium> Granted, not really familiar with everything he did.
<Nilium> This appears to be perl?
<agent_white> Nilium: http://www.runciter.net/potion/
nankyokusei has quit [Ping timeout: 250 seconds]
<agent_white> Nah it appears to be updated... http://perl11.org/p2/
yfeldblu_ has joined #ruby
<Nilium> Is this post disappearance?
<agent_white> Former, yes, latter, no.
<agent_white> Some dude took over the caretaking for potion's VM, it was one of many on perl11.org
<Nilium> Ah.
* agent_white shrugs
<agent_white> I check in once ina while on the dude who maintains it to see if he actively does... apprently so.
etehtsea has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
yfeldblu_ has quit [Ping timeout: 250 seconds]
<Nilium> I'm accidentally making myself the maintainer of the Lua 5.2 implementation in Go. Starting to.. regret that decision.
<Nilium> Wonder if the Potion person has the same feeling.
dminuoso has joined #ruby
skade has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
mrwn has joined #ruby
etehtsea has joined #ruby
tmtwd_ has quit [Ping timeout: 244 seconds]
xall has joined #ruby
<mrwn> in all ruby books i read, it uses object messaging terminology, why? why they just don't say method-calling like any other language, what is different in saying you message the object with a message to respond, than just saying method-calling? is there something different about the language that makes using this terminology useful?
babblebre has quit [Quit: Connection closed for inactivity]
pawnbox has quit [Remote host closed the connection]
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
<Nilium> mrwn: Because it's messaging.
Pumukel has joined #ruby
Coldblackice has quit [Ping timeout: 244 seconds]
<dminuoso> mrwn: Well the behavior comes from smalltalk basically.
<dminuoso> mrwn: An example domain is lazy methods in ActiveRecord. They are caught using method_missing (but defined when AR actually parses the database metadata)
<Nilium> Also `Object.send :puts, "foo"` prints foo. It's messaging. The VM can probably make some optimizations around method calls, but semantically a method call is a message.
<dminuoso> mrwn: So the main usefulness is any metaprogramming that relies on method_missing
<async_prince> yes, method_missing is a manual dispatching of the message
<Nilium> It's hard explaining that method calls are just messaging after a bottle of wine.
<meatchicken> Does anyone actually know what a CRM is?
<Nilium> Customer relationship manager/ment?
<async_prince> meatchicken: an app with lot of crud
<meatchicken> I'm reading the wiki page
<meatchicken> and I have no clue what a CRM actually does
<meatchicken> Lol
<Nilium> Note: I hit Cmd+Ctrl+D and looked up what CRM is.
<dminuoso> mrwn: Ruby basically gives you the tools to catch specific messages (in form of "methods")
<dminuoso> Or to catch any message (in form of "method_missing")
<dminuoso> If that makes sense.
<async_prince> if ruby has messages where is the postman and where is my mailbox?
<mrwn> dminuoso: you mean i could call a method (message) and the something makes the object fail to get the message?
<async_prince> i'm sure erlang has messages
tmtwd_ has joined #ruby
<dminuoso> async_prince: The postman is hard to see, but using binding_of_caller you can get it.
<dminuoso> async_prince: and the mailbox is the object itself.
<dminuoso> mrwn: Let's look at it differently.
Pumukel has quit [Ping timeout: 250 seconds]
<dminuoso> mrwn: obj.method is actually obj.send(:method) (ruby does this really under the hood)
mixtli has quit [Ping timeout: 244 seconds]
<async_prince> not send(:method) but public_send(:method)
<dminuoso> I was simplifying for the sake of discussion.
Pumukel has joined #ruby
<async_prince> dminuoso: i think it matters. what is the analogy in messaging for private/protected methods?
<dminuoso> mrwn: Either the object finds a method in its ancestory matching that name (in which case it will respond using that method), or it will dispatch that message to the method :method_missing if its defined, and at last if none if defined a NoMethodError is raised.
<Nilium> What it _really_ does is kind of beyond the point of explaining why "message" vs. "method call"
daffy_duck_2 has joined #ruby
Ishido has joined #ruby
<dminuoso> mrwn: The distinction is only important when you implement DSLs or lazy metaprogramming (ActiveRecord makes use of this a lot).
<async_prince> and how to send a message without reply-to?
<async_prince> i mean, asynchronously
<dminuoso> async_prince: You cant.
<async_prince> only with celluloid
<dminuoso> Not in Ruby anyhow.
<async_prince> and celluloid has mailboxes
<Nilium> Not sure where asynchronous anything came into that
hahuang65 has joined #ruby
<mrwn> dminuoso: but the message will arrive to the object right a way, there is no such a thing like managing this messaging or something prevent the message to get to the object?
daffy_duck has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
raeoks has joined #ruby
Pumukel has joined #ruby
<dminuoso> mrwn: No, and I think it's dangerous to consider Ruby message-oriented.
lightheaded has joined #ruby
<mrwn> dminuoso: i mean, think about it as message makes a lot of ideas come to your mind than method calling
dhollinger has quit [Quit: WeeChat 1.4]
<mrwn> thinking*
<async_prince> really, messaging is a bad analogy. i send a message and forced to wait for someone to receive it and then to read. and n the other hand, when i receive a message i cannot ignore it.
<async_prince> relax, it's simply method calling
<async_prince> messaging is just a buzzword
skade has quit [Quit: Computer has gone to sleep.]
<dminuoso> mrwn: Indeed. DSLs use this to a great extend. For example: xml_builder.node_xyz "foo" // your builder might not even have a node_xyz defined, but method_missing sees the message (:node_xyz, "foo") and does something useful with it.
<dminuoso> This kind of metaprogramming is widely used for DSLs in fact.
<Nilium> It's a term, it's not like what you think a message is if you've only seen it outside of programming.
<dminuoso> mrwn: So for example that builder might then produce some output: <node_xyz>foo</node_xyz>
<mrwn> mmm, ok, i was just confused
<mrwn> thanks very much
Pumukel has quit [Ping timeout: 260 seconds]
blandflakes has joined #ruby
<async_prince> in erlang, for example, messages are more like real messages. you have a mailbox that accumulates messages. you have a semantics of checking out that mailbox. you can just send a message and don't wait for someone to read it and answer.
<async_prince> and methods in ruby are just functions bound to the class
<async_prince> messaging in ruby is just a word juggling
<dminuoso> or a module
blandflakes has quit [Client Quit]
solars has joined #ruby
<async_prince> i just wanted to show an opposite point of view. truth is somewhere in the middle
<mrwn> async_prince: as a programmer, you just want to call the method, just that, no more thoughts about it, this unnecessary analogy could make you think of it as if you making http request
mixtli has joined #ruby
tdy has quit [Ping timeout: 276 seconds]
<baweaver> Let's stop being pedantic about metaphors and analogies.
pawnbox has joined #ruby
<async_prince> i agree
<baweaver> it does no one any good
tomphp has joined #ruby
<mrwn> ok :)
<baweaver> Now a Monad is like a burrito.
Pumukel has joined #ruby
<baweaver> or a Spacesuit
<baweaver> I lose track
<Nilium> The monad is like a bad concept that maybe wasn't given proper consideration.
<Nilium> And also a cult.
<baweaver> Either
<async_prince> it scares me when i see monads somewhere outside of the haskell.
dminuoso has quit [Ping timeout: 265 seconds]
Immune has quit [Ping timeout: 244 seconds]
<baweaver> Frege
<agent_white> dminousu explained that well :) Never thought about it that way.
dminuoso has joined #ruby
<Nilium> I typically only see Haskell and Javascript obsessives talking about monads, and the latter case is weirder than the former somehow.
<baweaver> They show up a lot in Scala as well.
<Nilium> It's like bandwagoning, but.. no, it's just normal bandwagoning.
<baweaver> A monad is like a wagon train
<async_prince> clojure has monads too
<agent_white> Haskell are a different folk. Least our lead wizard wrote our routing engine with that.
<agent_white> (NOC here)
<Nilium> Only ever did android dev with Scala. It was.. neat but in the same class as my love of C++11.
<Nilium> Or I guess C++14 now. I can do a _ton_ of things. That doesn't mean I'm actually being a sane person in the process.
lele has quit [Ping timeout: 260 seconds]
A_Drone_ has joined #ruby
mrwn has quit [Quit: Page closed]
conta has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
<agent_white> So
<agent_white> Question.
<Nilium> Does the question require me to actually not have my head lopsided 'cause it turns out lopsided is more comfortable when body parts are heavier.
last_staff has joined #ruby
<Nilium> ... That should've had a question mark somewhere. Pretend I did.
Pumukel has joined #ruby
firstdayonthejob has joined #ruby
rkazak has joined #ruby
A_Drone_ has quit [Remote host closed the connection]
Pupp3tm4st3r has joined #ruby
<async_prince> are the rubyists basically good at making jokes?
<Nilium> Ruby people are generally good at being relaxed and nice.
lele has joined #ruby
Wolland has joined #ruby
<Nilium> I don't use Ruby as my day to day language and I will continue to insist the community is great.
etehtsea has quit [Read error: Connection reset by peer]
agit0 has quit [Quit: zzzZZZ….]
<async_prince> was it a joke attempt?
<Nilium> Was what?
<baweaver> I've now been roped into teaching Ruby at work, so progress
<agent_white> baweaver: \o/
<Nilium> I converted my office to Go. I have no problems with this, I wouldn't use Ruby for what we do.
phredus_ has quit [Read error: Connection reset by peer]
<async_prince> Nilium: converted from ruby?
<baweaver> though my area is Sys/DevOps
<Nilium> Converted from node.js and PHP.
phredus_ has joined #ruby
rkazak has quit [Client Quit]
<Nilium> Believe me, we couldn't do worse.
<agent_white> We're a CLEC. Haskell, C, Ruby, Python... wherever is fit.
Wolland_ has joined #ruby
<Nilium> Ruby would still be an improvement, but Go helps with homogeneity and not doing concurrent programming in a psychotic manner.
<baweaver> Node tooling still makes me want to jump off a cliff.
<Nilium> I have to maintain node.js things at work and I honestly don't know how people using it have convinced themselves this isn't torture.
Azure has quit [Ping timeout: 252 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
<Nilium> It's truly terrible. The ecosystem, the community, even just basic things like testing.
<baweaver> We've recently taken to Elixir for concurrency.
<async_prince> ruby has a best tooling
<async_prince> but it's slow (
rkazak has joined #ruby
<dminuoso> async_prince: Try jruby with truffle/graal.
<Nilium> I think Go has better tooling than Ruby. Built-in testing, pprof, etc. via the go tool.
<agent_white> baweaver: I was discussing that with the dev team here. We're telecom, so it fits like a glove.
<baweaver> or Crystal
<dminuoso> you will be downright amazed if you can get around the warmup phase.
<Nilium> It's very nice having a standard, even if the standard is minimal.
<async_prince> dminuoso: they are not better for *tools*
<Nilium> Being able to say "your tests must run with go test or they're not tests" is fantastic for automation.
<baweaver> We're at such a scale that we break everything :P
<async_prince> they're better for long-running stuff
Wolland has quit [Ping timeout: 250 seconds]
<async_prince> maybe
<dminuoso> async_prince: Ruby 3.0 is expected to come with *some* form of proper JIT compilation to finally introduce optimizations.
keeslinp has quit [Ping timeout: 276 seconds]
<Nilium> Telecom seems like an appropriate place for Erlang, given its history.
<baweaver> We've already managed to break ElasticSearch and a few other tools
<agent_white> Nilium: Yupyup! My point entirely.
<agent_white> Nilium: Session management is all it is.
<Nilium> I mean thematically appropriate
<Nilium> I've not used Erlang. It's on my to-learn list, but it's hard coming up with personal projects that it'd be good for.
Wolland_ has quit [Ping timeout: 250 seconds]
<agent_white> Yup exactly.
<agent_white> Nilium: Well for instance, in telecom say VOIP, registration. Perfect for tracking peers.
<agent_white> or subscribers, rather.
<Nilium> Yeah, I tend to be more in the processing massive tons of data area.
<agent_white> !
<Nilium> It is actually actively annoying when you have to measure something in petabytes
<agent_white> Question then! :D
kies has quit [Ping timeout: 240 seconds]
<agent_white> Rather no. Nevermind.
<Nilium> I've been drinking, my capacity for answering is limited.
<Nilium> Apparently not my capacity for typing.
<agent_white> :)
lheaded has joined #ruby
moeabdol has joined #ruby
dhollin3 has quit [Quit: WeeChat 1.5]
lightheaded has quit [Read error: Connection reset by peer]
<async_prince> chillin' like a pro rubyist
<Nilium> Also, my capacity for answering is actually probably just fine because the only thing I seem to suffer from during light drinking is a) I talk a lot and b) I have a hard time with coordinated, physical movement
<Nilium> Which is why I'll be disappointed if I ever get to the point that a bottle of wine _doesn't_ do this.
Pumukel has joined #ruby
<baweaver> Nilium: right there with you on petabytes :/
<Nilium> "Does our data have an expiry?" "Nope!" "Oh dear."
<baweaver> More of a "LOG ALL THE THINGS" mentality for some teams
<Nilium> Most people don't think about how to clean up after something's in place. It's kind of a problem.
<Nilium> Oh, yeah, we have that problem too.
<baweaver> thankfully we got down to TB scale again...
<baweaver> 30 day truncation unless you put it in Glacier
<Nilium> We have a DB explicitly for logging. Someone started logging new things to it, so the 20tb of space we had for the original logs is now only enough for less than 30 days of the new thing being logged.
aibot_ has quit [Ping timeout: 250 seconds]
<baweaver> we recently had approval to cut down to only 30 days logs from indefinite
<baweaver> so many dead OpenTSDB clusters after that, it was beautiful
<Nilium> I've had to strong-arm people into dropping less than 30 days of logs for one thing to keep 90 days of another thing
<baweaver> justification was that people might use it
moeabdol has quit [Ping timeout: 240 seconds]
<Nilium> And it's like pulling teeth every time I go "hey, we're nearly at 98% capacity on disk, I really do need to start removing data"
<baweaver> so we said better to apologize if someone was, they'll self-select if they really were using it after we cut it
<Nilium> Sadly, our logs are in MySQL.
<baweaver> oof
<Nilium> It hurts pretty bad.
<baweaver> Y'might see about getting Cassandra our Couchbase on that.
<Nilium> The replacement's a work in progress, but any replacement will involve rewriting some internal things.
<baweaver> KairosDB can handle a lot of the scale for time series
<Nilium> So, we're trying to get the datastore and format right before we do anything drastic.
Pumukel has quit [Ping timeout: 264 seconds]
<baweaver> current pipeline for us is to use Spark to normalize things out of Logstash piped in through Kafka.
<Nilium> We're using InfluxDB for general event logging and metric aggregates, but it's still a little weird.
rkazak has quit [Quit: Sleep.....ing....]
<baweaver> Influx is going to give you scale problems later.
harai has joined #ruby
<baweaver> we wanted to use it :/
firstdayonthejob has quit [Ping timeout: 264 seconds]
<Nilium> Influx is bad if you have anything resembling a cardinality bomb.
<Nilium> 'Cause it doesn't really try to make intelligent decisions about indices.
yfeldblum has joined #ruby
<baweaver> such is a time series store
<Nilium> It's literally just C(tag1) * C(tag2) * c(…)
<baweaver> Bosun might save you a ton of time.
A_Drone has joined #ruby
<baweaver> log processing and alerting system by StackExchange
<Nilium> Far as I know, someone's looking at doing an ELK thing and just.. generalized logging. I don't know yet.
<baweaver> nice piece of work, that one.
dminuoso has quit [Remote host closed the connection]
<Nilium> I would personally be fine with a syslog I could grep through, but we have to make it at least sort of idiot-friendly for people outside of the dev team.
<baweaver> Grafana
<Nilium> i.e., it needs to be palatable for people who like CSVs.
<Nilium> We actually use Grafana.
<baweaver> If you use Grafana and Bosun that takes care of 95% of scrub traffic wanting data
<Nilium> Doesn't give them the access we're looking for, though.
<Nilium> Basically, it has to be equivalent to what they've got now with MySQL + non-garbage indices.
<Nilium> Or at least that with some limitations.
<baweaver> Bosun comes close
<baweaver> watch some of the preview videos on it
<Nilium> We've got options for it, anyway, I just can't talk about it right now
<baweaver> I know the feeling
<baweaver> There are certain things I'd be sued blind for mentioning :P
<Nilium> The tedious part of it being half of what someone went "oh that's a product" to
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
memorasus has joined #ruby
submitnine has joined #ruby
<baweaver> well, bed for me. 'night
jeffaustin81 has joined #ruby
<Nilium> Have a good one.
yfeldblum has quit [Ping timeout: 250 seconds]
bocaneri has quit [Ping timeout: 265 seconds]
<Nilium> Actually, I should probably do the same.
<agent_white> Me5.
jeffaustin81 has left #ruby [#ruby]
<agent_white> Thanks for the help Nilium!
jeffaustin81 has joined #ruby
Pumukel has joined #ruby
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ropeney has quit [Read error: Connection reset by peer]
raeoks has joined #ruby
tdy has joined #ruby
Ropeney has joined #ruby
dminuoso has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
agit0 has joined #ruby
aganov has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
ICantCook has quit [Quit: bye]
mixtli has quit [Ping timeout: 265 seconds]
kies has joined #ruby
amclain has quit [Quit: Leaving]
memorasus has quit [Ping timeout: 244 seconds]
Guest72746 is now known as saneax_AFK
Pumukel has quit [Ping timeout: 260 seconds]
saneax_AFK is now known as saneax
yeticry has quit [Read error: Connection reset by peer]
saneax is now known as Guest81855
Pumukel has joined #ruby
ta_ has joined #ruby
Guest81855 is now known as saneax_AFK
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
tmtwd_ has quit [Ping timeout: 258 seconds]
Derperperd has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 265 seconds]
ta_ has joined #ruby
yeticry has joined #ruby
lubekpl has joined #ruby
Pumukel has joined #ruby
deniskozlov has joined #ruby
Derperperd has joined #ruby
A_Drone has quit [Remote host closed the connection]
raeoks has quit [Ping timeout: 250 seconds]
minimalism has quit [Quit: minimalism]
A_Drone has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 260 seconds]
goeast has joined #ruby
agent_white has quit [Quit: baibai]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
tdy has quit [Ping timeout: 276 seconds]
andikr has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.5]
hahuang65 has joined #ruby
tomphp has joined #ruby
edwinvdgraaf has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
lheaded has quit [Read error: Connection reset by peer]
lightheaded has joined #ruby
Pumukel has joined #ruby
claudiuinberlin has joined #ruby
weems has joined #ruby
Bish has quit [Ping timeout: 258 seconds]
teclator has joined #ruby
jeffaustin81 has left #ruby ["Textual IRC Client: www.textualapp.com"]
teclator_ has joined #ruby
yfeldblum has joined #ruby
edwinvdg_ has joined #ruby
pokalyis has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikhael_k33hl has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Wolland has joined #ruby
antgel has joined #ruby
lheaded has joined #ruby
lightheaded has quit [Read error: Connection reset by peer]
peteykun has quit [Quit: Leaving]
<mikhael_k33hl> Is there a way to get the uid and gid of a certain Process? Process.euid and Process.gid seems to only work to get the owner and group id of the current process.
Pumukel has joined #ruby
teclator has quit [Ping timeout: 258 seconds]
<dminuoso> &ri Process::spawn mikhael_k33hl
edwinvdgraaf has quit [Ping timeout: 244 seconds]
blaxter has joined #ruby
<mikhael_k33hl> dminuoso: depesz : What is the process is already running, and you just want to log that it is already running and owned by someone
Wolland has quit [Ping timeout: 250 seconds]
<mikhael_k33hl> dminuoso && `derpy : something like http://pastebin.com/SQK8zh3t
<ruby[bot]> mikhael_k33hl: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/7aa3add3e6434d072fa31615106e3633
<ruby[bot]> mikhael_k33hl: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
Pumukel has quit [Ping timeout: 260 seconds]
<dminuoso> mikhael_k33hl: `derpy is just a bot handling ri commands amongst other things
<mikhael_k33hl> dminuoso: hahaha, didn't know that sorry
nankyokusei has joined #ruby
symm- has joined #ruby
Pumukel has joined #ruby
<dminuoso> mikhael_k33hl: Im not sure whether there's a Ruby way to do this.
weemsledeux has joined #ruby
<dminuoso> From the looks of it there is not.
<mikhael_k33hl> dminuoso: another thing, if I want to rescue from an exception but do nothing and continue with the script/program, what's the best practice for that? just leave the rescue Errno::ESERCH blank?
<dminuoso> mikhael_k33hl: Yes.
<mikhael_k33hl> dminuoso: okay
<mikhael_k33hl> dminuoso: thanks
MrBusiness3 has joined #ruby
<jhass> I think there's no way because there's no POSIX way to do it
<jhass> that is I can't find a syscall to do it
l4v2 has quit [Quit: l4v2]
yfeldblum has quit [Quit: Leaving...]
hahuang65 has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Silthias has joined #ruby
MrBusiness2 has quit [Ping timeout: 250 seconds]
ec0 has quit [Ping timeout: 250 seconds]
symm- has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
Pumukel has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Silthias1 has joined #ruby
johnbat26 has joined #ruby
<jhass> that is you have to parse /proc on linux for example
teclator_ is now known as teclator
Burgestrand has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Silthias has quit [Ping timeout: 265 seconds]
<dminuoso> jhass: Pedants note: That requires syscalls, namely read :P
Pumukel has quit [Ping timeout: 260 seconds]
ddffg has joined #ruby
<jhass> open too and perhaps stats ;)
<jhass> *stat
Pumukel has joined #ruby
TomyWork has joined #ruby
<dminuoso> :)
the_rhizo3 has quit [Ping timeout: 240 seconds]
tdy has joined #ruby
<jhass> so "a syscall to do it" is actually right, you can't do it with a single one ;)
Pumukel has quit [Ping timeout: 264 seconds]
<dminuoso> Is there such a thing as overly pedantic? :P
aufi has joined #ruby
<dminuoso> At any rate, you win. :)
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> IMO you already were ;P
Madplatypus has joined #ruby
Pumukel has joined #ruby
<dminuoso> Heh.
Wolland has joined #ruby
aidalgol has joined #ruby
<dminuoso> jhass: I wonder though, the lack of syscalls does not imply lack of POSIX ways.
A_Drone has quit [Remote host closed the connection]
<jhass> pretty sure /proc isn't part of FHS
A_Drone_ has joined #ruby
<jhass> or POSIX
xpt has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
Pumukel has joined #ruby
<dminuoso> jhass: Oh I was merely pointing at the fact that a POSIX interface could use /sys and /proc under the hood if they chose to.
<dminuoso> Since we were already pedantritionalizing on the wording.
Pumukel has quit [Ping timeout: 264 seconds]
agit0 has quit [Ping timeout: 250 seconds]
mim1k has joined #ruby
A_Drone_ has quit [Ping timeout: 244 seconds]
A_Drone has joined #ruby
Snowy has joined #ruby
<mikhael_k33hl> I'm writing a ruby script. Trying to create unit tests, can't seem to find any documentation pertaining to MiniTest.
<mikhael_k33hl> http://ruby-doc.org/stdlib-2.1.2/libdoc/test/unit/rdoc/Test/Unit.html doesn't seem to have any docs about MiniTest to it though
johnbat26 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
elaptics has joined #ruby
Pumukel has joined #ruby
xpt has joined #ruby
harai has quit [Ping timeout: 250 seconds]
tomphp has joined #ruby
blandflakes has joined #ruby
tdy has quit [Ping timeout: 260 seconds]
tomphp has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
blandflakes has quit [Client Quit]
saneax_AFK has quit [Quit: Bye!]
mikecmpbll has joined #ruby
skade has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
craigp has quit [Quit: WeeChat 1.5]
S-HiP has joined #ruby
joonty has joined #ruby
devmagpie has joined #ruby
jonoyeong has quit [Remote host closed the connection]
jeanlinux has joined #ruby
<S-HiP> Dzień dobry,
<S-HiP> W chwili obecnej dla swojego klienta poszukuję doświadczonego programisty Ruby On Rails, który pracowałby stacjonarnie w jednej z podanych lokalizacji. Szczegóły oferty pod spodem:
<S-HiP> Location: Katowice / Rzeszów/ Warszawa / Wrocław / Poznań / Łódź / Opole / Kraków
<S-HiP> Position: Senior/Regular Dev
<S-HiP> Salary: Regular 50 – 80 zł/h (b2b); Senior 80 – 120 zł/h (b2b)
<S-HiP> Purpose of the job:
<S-HiP> To develop and maintain the user interface and related tools so that the product team can bring new projects from ideas to production and clients can use the application without problems, within the scope of the development procedures and systems in use.
<S-HiP> Accountabilities and result area’s
<S-HiP> • To estimate, design and implement user stories into pieces of code that can be released to production, based on the current technology and workflow in use.
<S-HiP> • To document his work and share knowledge so that people in the team are always informed of the evolution of the application, based on the tools and communication means in use.
<S-HiP> • To review the code of his teammates in order to insure a high level of quality of what is produced within the team, based on the reviewing tools and internal guidelines.
<S-HiP> • To test technical user stories that can’t be handled by the testing team to insure that no bug is introduced into the application, within the scope of the user stories
<S-HiP> • To monitor and maintain the application to make sure the clients tools are behaving as expected within the scope of the user stories and unpredicted technical events.
<S-HiP> Professionalism (education and knowledge)
moeabdol has joined #ruby
<mikecmpbll> :|
craigp has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
S-HiP has quit [Client Quit]
valkyrka has joined #ruby
<jhass> !spam S-HiP
devmagpie has quit [Quit: [BX] Bob Barker uses BitchX. Have your BitchX spayed or neutered.]
cibs has quit [Ping timeout: 240 seconds]
moeabdol has quit [Ping timeout: 265 seconds]
jaruga___ has joined #ruby
Pumukel has joined #ruby
async_prince has quit [Ping timeout: 265 seconds]
cibs has joined #ruby
deniskozlov has quit [Ping timeout: 244 seconds]
agit0 has joined #ruby
pandaant has joined #ruby
the_drow has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
saneax_-_ has joined #ruby
mark_66 has joined #ruby
beilabs_ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
mrgrieves has joined #ruby
beilabs__ has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
saneax_-_ has quit [Quit: Bye!]
reednj_ has joined #ruby
A_Drone has quit [Ping timeout: 244 seconds]
aibot_ has joined #ruby
beilabs_ has quit [Ping timeout: 258 seconds]
saneax has joined #ruby
gsingh93 has quit [Ping timeout: 244 seconds]
A_Drone has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
gsingh93 has joined #ruby
tdy has joined #ruby
lightheaded has quit [Ping timeout: 264 seconds]
jgt has joined #ruby
xall has quit [Ping timeout: 265 seconds]
ta__ has joined #ruby
flying has joined #ruby
marr has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
yardenbar has quit [Ping timeout: 252 seconds]
kp666 has quit [Ping timeout: 276 seconds]
ta__ has quit [Ping timeout: 276 seconds]
Derperperd has quit [Quit: Derperperd]
jenrzzz has quit [Ping timeout: 265 seconds]
moei has quit [Quit: Leaving...]
A_Drone has quit [Remote host closed the connection]
edwinvdg_ has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
pawnbox has joined #ruby
Pumukel has quit [Ping timeout: 244 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
reednj_ has quit [Quit: WeeChat 1.5]
Pumukel has joined #ruby
deniskozlov has joined #ruby
kp666 has joined #ruby
edwinvdg_ has joined #ruby
soulisson has quit [Quit: Quitte]
blackmesa has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
joonty has joined #ruby
xall has joined #ruby
TheHodge has joined #ruby
tdy has quit [Ping timeout: 258 seconds]
the_drow has joined #ruby
xall has quit [Ping timeout: 265 seconds]
jonoyeong has joined #ruby
geek876 has joined #ruby
tdy has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
leitz has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
xall has joined #ruby
jonoyeong has quit [Ping timeout: 252 seconds]
Pumukel has joined #ruby
the_drow_ has joined #ruby
ledestin has joined #ruby
c0mrad3 has joined #ruby
the_drow has quit [Ping timeout: 276 seconds]
aryaching has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
futilegames has joined #ruby
Pumukel has joined #ruby
moeabdol has joined #ruby
A_Drone has joined #ruby
nankyokusei has joined #ruby
joonty has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
lightheaded has joined #ruby
bluOxigen has joined #ruby
genpaku has joined #ruby
moeabdol has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
joonty has quit [Read error: Connection reset by peer]
joonty has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
Snowy is now known as smooooy
skade has quit [Quit: Computer has gone to sleep.]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
senayar has joined #ruby
astrobun_ has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 244 seconds]
marr has quit [Remote host closed the connection]
<geek876> Hello, I have a time format Thu Aug 18 05:21:08 2016 UTC just wanted to clarify that the equivalent representation in ruby would be %a %b %d %H:%M:%S %Y %Z ? Thanks
<Burgestrand> >> Time.now.strftime("%a %b %d %H:%M:%S %Y %Z")
jenrzzz has quit [Ping timeout: 276 seconds]
<ruby[bot]> Burgestrand: # => "Thu Aug 18 09:52:12 2016 UTC" (https://eval.in/624859)
<Burgestrand> geek876 looks similar enough?
etehtsea has joined #ruby
<Burgestrand> >> Time.now.localtime.zone
<ruby[bot]> Burgestrand: # => "UTC" (https://eval.in/624860)
<Burgestrand> ¯\_(ツ)_/¯
howdoi has joined #ruby
<geek876> Thanks Burgestrand
<Burgestrand> geek876 you're welcome, I hope it helped!
the_drow_ has quit [Quit: This computer has gone to sleep]
<geek876> yes indeed
<jhass> >> require "time"; Time.now.rfc822
<ruby[bot]> jhass: # => "Thu, 18 Aug 2016 09:54:34 +0000" (https://eval.in/624861)
<jhass> if it weren't for the ,
Pumukel has quit [Ping timeout: 264 seconds]
xyzzy12 has joined #ruby
zotherstupidguy has quit [Ping timeout: 240 seconds]
<Burgestrand> jhass as developers we're always looking out for those pesky ,
zotherstupidguy has joined #ruby
Pumukel has joined #ruby
<Burgestrand> and ;
<Burgestrand> !
<Burgestrand> (rfc822 is also more/less ambiguous on the time zone, too)
<jhass> >> require "time"; Time.now.utc.rfc822
<ruby[bot]> jhass: # => "Thu, 18 Aug 2016 09:58:44 -0000" (https://eval.in/624867)
<jhass> + vs - ?!
<Burgestrand> Haha, computers.
<jhass> okay, let's forget about that method
jaruga____ has joined #ruby
<Burgestrand> Fun fact about time! Sweden wanted to convert from Julian to Gregorian calendar in the year 1700, which meant skipping a certain amount of days, they decided the best course of action was to not have leap years, i.e. skip 29th of February, over the course of about 50 years.
<jhass> haha, fun
Pumukel has quit [Ping timeout: 260 seconds]
<Burgestrand> However, Sweden were having too many wars at the time, and kind of forgot to skip the leap year in 1704… and again in 1708! Now, come 1712, the king decided it was best to not switch calendar, and they went back to Julian calendar again.
jaruga___ has quit [Ping timeout: 276 seconds]
moeabdol has joined #ruby
<Burgestrand> Which means that if you're doing anything with time in the 17xx, and Sweden is involved, you better also think of the Swedish calendar, which is a mix between Julian and Gregorian, but only between these 12 years in history.
<Burgestrand> Time is fun!
<jhass> yeah
<jhass> NPT is a great timezone, + 5:45
<Burgestrand> Haha, time zones never cease to amaze
memorasus has joined #ruby
<Burgestrand> (Oh, by the way, egypt decided to skip daylight savings time this year… which they announced three days before the fact!)
craigp has quit [Ping timeout: 264 seconds]
<Burgestrand> (then they decided not to skip it, I believe!)
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> hah, I wouldn't miss DST though
xyzzy12 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
heelpmeplz has quit [Ping timeout: 250 seconds]
postmodern has quit [Quit: Leaving]
jaruga____ has quit [Remote host closed the connection]
the_drow_ has joined #ruby
jaruga____ has joined #ruby
Pumukel has joined #ruby
dminuoso_ has joined #ruby
moparisthebest has quit [Ping timeout: 260 seconds]
A_Drone has quit [Remote host closed the connection]
dminuoso_ has quit [Client Quit]
marr has joined #ruby
giz|work has joined #ruby
Pumukel has quit [Ping timeout: 244 seconds]
goeast has quit [Ping timeout: 240 seconds]
tdy has joined #ruby
xyzzy12 has joined #ruby
Pumukel has joined #ruby
blandflakes has joined #ruby
xall has quit [Ping timeout: 258 seconds]
aidalgol has quit [Quit: zZzZzzzZz]
blandflakes has quit [Client Quit]
memorasus has quit [Ping timeout: 240 seconds]
flashpoint9 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
xyzzy12 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
submitnine has quit [Ping timeout: 264 seconds]
jonoyeong has joined #ruby
stamina has joined #ruby
Pumukel has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
toretore has joined #ruby
xyzzy12 has joined #ruby
jonoyeong has quit [Ping timeout: 265 seconds]
agit0 has quit [Quit: I'm off]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Pumukel has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
Diabolik has quit [Excess Flood]
Diabolik has joined #ruby
jeanlinux has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 240 seconds]
agit0 has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
toretore has quit [Ping timeout: 265 seconds]
beilabs__ has quit [Remote host closed the connection]
edwinvdg_ has quit [Ping timeout: 276 seconds]
the_drow_ has quit [Quit: This computer has gone to sleep]
Burgestrand has joined #ruby
ta__ has joined #ruby
fyrelyte has joined #ruby
beilabs has joined #ruby
submitnine has joined #ruby
geek876 has quit [Quit: Page closed]
ta__ has quit [Ping timeout: 244 seconds]
tdy has quit [Ping timeout: 276 seconds]
edwinvdg_ has joined #ruby
goeast has joined #ruby
xyzzy12 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
deniskozlov has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
weckl has joined #ruby
skade has joined #ruby
xyzzy12 has joined #ruby
agit0 has quit [Ping timeout: 250 seconds]
deniskozlov has joined #ruby
toretore has joined #ruby
xyzzy12 has quit [Client Quit]
skade has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
jeanlinux has joined #ruby
elaptics has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 260 seconds]
govg has quit [Ping timeout: 258 seconds]
atmosx has quit [Quit: WeeChat 1.4]
jeanlinux has quit [Ping timeout: 252 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
edwinvdg_ has quit [Ping timeout: 264 seconds]
edwinvdgraaf has joined #ruby
Pumukel has joined #ruby
xyzzy12 has joined #ruby
lightstalker has joined #ruby
cevett has quit [Read error: Connection reset by peer]
moeabdol has quit [Ping timeout: 240 seconds]
Pupp3tm4st3r has quit [Remote host closed the connection]
xyzzy12 has quit [Client Quit]
Immune has joined #ruby
hanmac has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
craigp has joined #ruby
Pumukel has joined #ruby
govg has joined #ruby
Pupp3tm4st3r has joined #ruby
sdothum has joined #ruby
fyrelyte has quit [Ping timeout: 276 seconds]
tdy has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
blingrang has quit [Quit: WeeChat 1.3]
anisha_ has joined #ruby
blingrang has joined #ruby
moeabdol has joined #ruby
blackmesa has joined #ruby
kus has joined #ruby
kus has quit [Max SendQ exceeded]
nikivi has joined #ruby
jonoyeong has joined #ruby
xyzzy12 has joined #ruby
rodfersou has joined #ruby
hanmac has joined #ruby
xyzzy12 has quit [Client Quit]
ldnunes has joined #ruby
sulky has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 244 seconds]
edwinvdgraaf has joined #ruby
jonoyeong has quit [Ping timeout: 252 seconds]
nettoweb has joined #ruby
Ropeney has joined #ruby
Pumukel has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
c355e3b has joined #ruby
the_drow_ has joined #ruby
beilabs_ has joined #ruby
nankyokusei has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Burgestrand has joined #ruby
xall has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 258 seconds]
beilabs has quit [Ping timeout: 260 seconds]
allcentury has joined #ruby
Vlat- has joined #ruby
Vlat- has left #ruby [#ruby]
jonoyeong has joined #ruby
edwinvdg_ has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
bluOxigen has quit [Ping timeout: 258 seconds]
mim1k has joined #ruby
xcesariox has joined #ruby
xall has quit [Ping timeout: 252 seconds]
bluOxigen has joined #ruby
GodFather has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 240 seconds]
rodfersou has quit [Ping timeout: 276 seconds]
govg has quit [Ping timeout: 276 seconds]
meth has joined #ruby
jonoyeong has quit []
Diabolik has quit [Excess Flood]
reednj has joined #ruby
reednj is now known as reednj_
Diabolik has joined #ruby
Wolland has quit []
GodFather has joined #ruby
skade has joined #ruby
rodfersou has joined #ruby
tdy has quit [Ping timeout: 276 seconds]
stamina has quit [Ping timeout: 240 seconds]
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has quit [Client Quit]
xyzzy12 has joined #ruby
dminuoso has quit [Ping timeout: 250 seconds]
GodFather has quit [Remote host closed the connection]
mixtli has joined #ruby
GodFather has joined #ruby
xyzzy12 has quit [Client Quit]
tyang has joined #ruby
iamvery has joined #ruby
elimode has joined #ruby
mixtli has quit [Ping timeout: 265 seconds]
Rodya_ has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
tyang_ has joined #ruby
elimode has quit [Client Quit]
synthroid has joined #ruby
giz|work|2 has joined #ruby
giz|work has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
synthroid has quit [Client Quit]
tyang has quit [Ping timeout: 264 seconds]
synthroid has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
flashpoint9 has joined #ruby
elaptics has joined #ruby
yardenbar has joined #ruby
deniskozlov_ has joined #ruby
deniskozlov has quit [Ping timeout: 276 seconds]
inukshuk_ has joined #ruby
govg has joined #ruby
IanMalcolm has joined #ruby
dminuoso has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
GinoManWrx has joined #ruby
stamina has joined #ruby
the_drow_ has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
moeabdol has quit [Ping timeout: 240 seconds]
xyzzy12 has joined #ruby
the_drow_ has joined #ruby
xyzzy12 has quit [Client Quit]
millerti has joined #ruby
tectonic has joined #ruby
mikhael_k33hl has quit [Ping timeout: 264 seconds]
flashpoint9 has joined #ruby
tdy has joined #ruby
smooooy has quit [Remote host closed the connection]
blackmesa has joined #ruby
alfiemax has quit [Ping timeout: 244 seconds]
jarred has quit [Quit: Connection closed for inactivity]
ta__ has joined #ruby
moeabdol has joined #ruby
xall has joined #ruby
hk238 has joined #ruby
xyzzy12 has joined #ruby
xyzzy12 has quit [Client Quit]
stamina has quit [Ping timeout: 240 seconds]
inukshuk_ has quit [Quit: leaving]
ta__ has quit [Ping timeout: 276 seconds]
xall has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 250 seconds]
teclator has quit [Remote host closed the connection]
johnny56_ has quit [Ping timeout: 264 seconds]
johnny56 has joined #ruby
okrasi has joined #ruby
joonty has joined #ruby
iamvery has quit [Quit: Leaving...]
tectonic has quit []
last_staff has quit [Quit: last_staff]
moparisthebest has joined #ruby
Skelz0r has quit [Ping timeout: 265 seconds]
memorasus has joined #ruby
anisha_ has quit [Quit: Leaving]
nando293921 has joined #ruby
the_drow_ has quit [Read error: Connection reset by peer]
the_drow_ has joined #ruby
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
malconis has joined #ruby
jeanlinux has joined #ruby
crystal77 has joined #ruby
memorasus has quit [Ping timeout: 265 seconds]
xyzzy12 has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
xyzzy12 has quit [Client Quit]
RegulationD has joined #ruby
tyang_ has quit [Ping timeout: 240 seconds]
lightheaded has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 252 seconds]
babblebre has joined #ruby
lightheaded has joined #ruby
hutch34 has joined #ruby
lightheaded has quit [Read error: No route to host]
agit0 has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
lightheaded has joined #ruby
pawnbox has joined #ruby
sergey_makagon has joined #ruby
xyzzy12 has joined #ruby
nettoweb has quit [Ping timeout: 258 seconds]
hutch34 has quit [Ping timeout: 260 seconds]
moeabdol1 has joined #ruby
ramortegui has joined #ruby
ycakar has joined #ruby
moeabdol has quit [Ping timeout: 260 seconds]
tyang_ has joined #ruby
airdisa has joined #ruby
al2o3-cr has quit [Ping timeout: 264 seconds]
okrasi has quit [Ping timeout: 244 seconds]
strax has joined #ruby
Vile` has joined #ruby
Earleys has joined #ruby
Vingador has joined #ruby
cdg has joined #ruby
aupadhye has joined #ruby
aphprentice has quit [Quit: Connection closed for inactivity]
tvsutton has quit [Changing host]
tvsutton has joined #ruby
tyang__ has joined #ruby
iooner has joined #ruby
mim1k_ has joined #ruby
mim1k has quit [Ping timeout: 265 seconds]
jaruga___ has joined #ruby
hutch34 has joined #ruby
tyang_ has quit [Ping timeout: 258 seconds]
Pupp3tm4_ has joined #ruby
jaruga____ has quit [Ping timeout: 265 seconds]
xall has joined #ruby
centrx has joined #ruby
leitz has quit [Quit: Nappy time]
Pupp3tm4st3r has quit [Ping timeout: 240 seconds]
swills has joined #ruby
sergey_makagon has quit []
okrasi has joined #ruby
moeabdol1 has quit [Ping timeout: 250 seconds]
xall has quit [Ping timeout: 244 seconds]
pokalyis has joined #ruby
async_prince has joined #ruby
seth has quit [Ping timeout: 244 seconds]
s2013 has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
OTORelic has joined #ruby
blackmesa has joined #ruby
molgrew has joined #ruby
molgrew has left #ruby [#ruby]
kobain has joined #ruby
coolboy has joined #ruby
gnufied has joined #ruby
malconis has quit [Read error: Connection reset by peer]
coolboy has quit [Client Quit]
vuoto has joined #ruby
coolboy has joined #ruby
aganov has quit [Remote host closed the connection]
nankyokusei has joined #ruby
malconis has joined #ruby
aganov has joined #ruby
xyzzy12 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Pumukel has quit [Ping timeout: 264 seconds]
allcentury has quit [Ping timeout: 244 seconds]
MrBusiness2 has joined #ruby
solocshaw has joined #ruby
soulisson has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
moeabdol1 has joined #ruby
Guest74629 has quit [Ping timeout: 240 seconds]
coolboy has quit [Remote host closed the connection]
tyang_ has joined #ruby
xyzzy12 has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
blackmesa has joined #ruby
MrBusiness3 has quit [Ping timeout: 250 seconds]
tvon has joined #ruby
tyang__ has quit [Ping timeout: 252 seconds]
Pupp3tm4_ has quit [Remote host closed the connection]
coolboy has joined #ruby
Pumukel has joined #ruby
IanMalcolm has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Omni_ has joined #ruby
Toledo|REI is now known as croberts
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
OTORelic has quit [Ping timeout: 250 seconds]
eljimmy has quit [Quit: This computer has gone to sleep]
Rodya_ has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
tdy has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
jeanlinux has joined #ruby
pawnbox has joined #ruby
luizpicolo has joined #ruby
moeabdol1 has quit [Ping timeout: 265 seconds]
jeanlinux has quit [Ping timeout: 276 seconds]
allcentury has joined #ruby
jaruga___ has quit [Remote host closed the connection]
ChiefAlexander has joined #ruby
jaruga___ has joined #ruby
the_rhizo3 has joined #ruby
meth has quit [Quit: Bye!]
Pumukel has joined #ruby
tvon has quit [Quit: Peace out, y'all!]
a1fa has joined #ruby
<a1fa> hello, how do you concat a string if original variable may or may not exist?
<a1fa> i had to do a if check first, but surely there is a better way?
memorasus has joined #ruby
<a1fa> if string string << "lol" else string = "lol"
tyang_ has quit [Ping timeout: 260 seconds]
harfangk has joined #ruby
<dminuoso> a1fa: The "most elegant" way is to use defined?(variable)
<dminuoso> (Despite being very elegant(
<apeiros> the most elegant way is to not have conditionally existing variables
<dminuoso> Heh.
<a1fa> apeiros: ;)
<apeiros> which is rather difficult to achieve anyway. you'll usually end up with an existing variable referencing nil.
lightheaded has quit [Remote host closed the connection]
mim1k_ has quit [Quit: Reconnecting]
mim1k has joined #ruby
<dminuoso> And don't even get me started on why defined?() is one of the most monstreous hacks in Ruby.
<apeiros> >> if false; x = 1; end; defined?(x)
<ruby[bot]> apeiros: # => "local-variable" (https://eval.in/625001)
lightheaded has joined #ruby
<dminuoso> You just got me started.
<dminuoso> :(
<a1fa> ;)
<apeiros> despite the branch with `x = 1` not being executed, the lvar exists.
<a1fa> :popcorn is it Monday?
<dminuoso> >> puts a if a = 1
<ruby[bot]> dminuoso: # => /tmp/execpad-2d9548656a43/source-2d9548656a43:2: warning: found = in conditional, should be == ...check link for more (https://eval.in/625003)
<dminuoso> apeiros: Same story. ^- :)
Pumukel has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
Pumukel has joined #ruby
<dminuoso> a1fa: The general problem is that whether an identifier is considered a variable or method, is decided during lexing (!). But if at any point in a stack frame a variable exists, it exists in the entire frame.
<dminuoso> Despite my example demonstrating that it still results in unexpected behavior if used carelessly
<a1fa> thank you
DaniG2k has joined #ruby
lightheaded has quit [Ping timeout: 244 seconds]
<dminuoso> >> def f; p local_variables; a = 1; end; f()
<ruby[bot]> dminuoso: # => [:a] ...check link for more (https://eval.in/625006)
luizpicolo has quit [Quit: WeeChat 1.4]
A124 has quit [Quit: '']
loechel has joined #ruby
<apeiros> not quite sure why you put a (!) there
<dminuoso> apeiros: during parsing I would have understood it at bit.
xyzzy12 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
A124 has joined #ruby
memorasus has quit [Ping timeout: 260 seconds]
<apeiros> ah. I thought you meant "as opposed to during runtime"
etehtsea has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
<dminuoso> >> def f; p binding.local_variable_get(:a); a = 1; end; f()
<ruby[bot]> dminuoso: # => nil ...check link for more (https://eval.in/625007)
Pumukel has quit [Ping timeout: 260 seconds]
OTORelic has joined #ruby
tyang_ has joined #ruby
<dminuoso> a1fa: So yeah, actually come to think of it, just test whether variable.nil? - you cannot "conditionally" make a variable exist.
pokalyis has joined #ruby
<dminuoso> It simply cannot be done.
dhollinger has joined #ruby
<a1fa> dminuoso: my solution is to if string; string << lol; else string = "lol";
joonty has quit [Quit: Leaving]
moeabdol1 has joined #ruby
<dminuoso> a1fa: Yeah. Personally I would test for .nil? explicitly, since I reserve (if expr) to test for truthy in general.
<dminuoso> But that's just personal preference.
<async_prince> a1fa: "#{string}lol"
<a1fa> async_prince: that would work
xyzzy12 has joined #ruby
<apeiros> dminuoso: I only test for .nil? for boolean variables
<dminuoso> o_o
<apeiros> all other variables should IMO always be nil or value-object (usually of a single type)
<dminuoso> apeiros: Well as long as its consistent through-out your code base.. :P
<apeiros> i.e. user_name is always either a string or nil. so `if user_name` is fine to test for nil. it'll never ever be `false`.
<async_prince> when `.nil?` can be true on the boolean?
Omni_ has quit [Ping timeout: 276 seconds]
Vingador has quit [Remote host closed the connection]
<apeiros> async_prince: bad phrasing on my part. "on a boolean variable which is allowed to be nil".
<dminuoso> apeiros: Yeah that would be the other approach. Ruby is too duck-typy - so I prefer my code to be explicit.
<apeiros> analogous to "a String variable which is allowed to be nil"
<dminuoso> Since just because the variable is named "string" it does not mean it must be a string.
<dminuoso> In particular when shit hits the fan it usually is not. :P
IanMalcolm has joined #ruby
<async_prince> boolean variables which are allowed to be nil is an antipattern.
<dminuoso> apeiros: You just made me want to write Crystal code more.
<dminuoso> :(
<async_prince> this is when in database someone didn't add a `NOT NULL` constraint on the boolean field
howdoi has quit [Quit: Connection closed for inactivity]
<apeiros> dminuoso: "I want ruby to be statically typed"?
flashpoint9 has joined #ruby
aryaching has quit []
<dminuoso> apeiros: ;-)
jud has joined #ruby
<apeiros> I rarely ever assert on a var's type
<harfangk> so i want to become a ruby dev, not just rails dev, what topics and books should i learn?
<toretore> ruby
ta__ has joined #ruby
hutch34 has quit [Quit: WeeChat 1.5]
<apeiros> the syntax, the object model, the core libs
The_Phoenix has joined #ruby
dunpeal has joined #ruby
<apeiros> and at least a glimpse of the stdlib & gem ecosystem.
<dunpeal> Does anyone know what a Counter is in Python? Can I get the same in Ruby?
<dminuoso> harfangk: One important bit (probably not relevant in the beginning but keep this in mind): When you start writing productive code, write tests.
<dminuoso> Minitest, rspec, whatever floats your boat.
<dminuoso> But after years of Rubying I found rspec to be one of the best things in Ruby.
<dunpeal> (A Counter instance takes an iterable (think Ruby's Enumerable) and returns a hash mapping its elements to their frequency)
<async_prince> harfangk: what do you want to write instead of rails?
xall has joined #ruby
KaliLinuxGR has quit [Changing host]
KaliLinuxGR has joined #ruby
<dunpeal> e.g. Counter("abbc") #=> {a: 1, b: 2, c: 1}
<dminuoso> dunpeal: Nope, we have all these tricks in the Enumerable bag.
<dminuoso> Ruby is not a big fan of hiding services in classes, for the stdlib at least.
beelzebot has joined #ruby
solocshaw has quit [Ping timeout: 252 seconds]
ChiefAlexander has quit [Remote host closed the connection]
<harfangk> dminuoso is it much better than minitest? one lesson i got while writing rails app is to stay away from gems unless absolutely necessary
<apeiros> dunpeal: "abbc".chars.each_with_object(Hash.new(0)) { |char, count| count[char] += 1 }
<apeiros> in newer rubies, there'll be count_by iirc
edwinvdg_ has quit [Ping timeout: 240 seconds]
Pupp3tm4st3r has joined #ruby
<dunpeal> apeiros: thanks
<dminuoso> >> "abbc".split("").inject(Hash.new(0)) { |h, o| h[o] += 1; h}
<ruby[bot]> dminuoso: # => {"a"=>1, "b"=>2, "c"=>1} (https://eval.in/625010)
ta__ has quit [Ping timeout: 260 seconds]
govg has quit [Ping timeout: 260 seconds]
atom_ has joined #ruby
<apeiros> .chars > .split("") IMO
<dminuoso> Oh. Yeah.
<dminuoso> each_with_object eh?
<apeiros> and .each_with_object > .inject with `; accumulator` in the block
<dminuoso> I guess its a bit nicer considering you dont have to return the memo like in reduce/inject.
<dminuoso> Yeah.
johnny56 has quit [Ping timeout: 264 seconds]
<dunpeal> toretore: group_by should also work
<apeiros> yupp :)
<harfangk> async_prince well i'm not saying i do not want to write rails. it's just that i learned it hard way that i cannot be a good rails dev if i just remain just a rails dev without good knowledge of ruby
<apeiros> group_by will also work, yes. might even be faster, but is more allocation heavy.
<dminuoso> harfangk: Whether you use minitest or rspec is your choice. I will not recommend either way.
<dminuoso> Both are solid and have a huge community.
johnny56_ has joined #ruby
<apeiros> also needs an additional pass to perform the .size on the groups
okrasi has quit [Quit: Konversation terminated!]
<dunpeal> what's the fastest way to go from a hash of {group => collection of instances} to .size
moeabdol1 has quit [Ping timeout: 276 seconds]
<dunpeal> some sort of a map I assume
<harfangk> dminuoso well then my default behavior is to stick to ruby core libraries :D thank you for the recommendations!
moeabdol1 has joined #ruby
<ljarvis> dunpeal: .size of what, the collection?
<async_prince> need to write Enumerable#count_by
<dunpeal> apeiros: I couldn't find a count_by in the latest Ruby docs, maybe it's just a common recipe?
<dminuoso> harfangk: Absolutely. Tests improve code more than any book in the world Id say.
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso> :)
<dunpeal> ljarvis: yes
xall has quit [Ping timeout: 258 seconds]
<dminuoso> Good coding out there.
<beelzebot> is there any way to get qtbindings for ruby 2.3 by now?
eljimmy has joined #ruby
<toretore> harfangk: learning or trying out rspec should be done after you learn the basics
<harfangk> dminuoso yeah i learned that hard way - test saves life
ChiefAlexander has joined #ruby
<ljarvis> dunpeal: hash.map { |k, v| [k, v.size] }.to_h -- alternatively each_with_object if you care about extra method calls/the extra array
craigp has quit [Ping timeout: 240 seconds]
<harfangk> toretore what do you mean by basics?
<toretore> ruby basics
<ljarvis> dunpeal: e.g. hash.each_with_object({}) { |(k, v), h| h[k] = v.size }
Rodya_ has quit [Remote host closed the connection]
<apeiros> dunpeal: I think it's slated for 2.4.0
<toretore> rspec is a gem that's not part of ruby basics
edwinvdgraaf has joined #ruby
<toretore> neither is testing, tbh, but if it's what you're used to then do it
loechel has quit [Ping timeout: 260 seconds]
<apeiros> hm, reading NEWS/ChangeLog it seems it's not in 2.4.0 either.
<dunpeal> ljarvis: thanks
<apeiros> but I'm pretty sure I saw it as an accepted feature for upcoming rubies :-/
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dunpeal> Ruby is pretty cool, only issue with it is that it's slow, or at least our Rails stack is slow
<ljarvis> dunpeal: i now realise you just said fast, i imagine each_with_object would be much faster but i dont know, you'll want to bench it if necessary
<apeiros> another take at group -> sizes:
<ljarvis> ruby is super slow
<apeiros> hash.map { |k,v| [k,v.size] }.to_h
<dunpeal> ljarvis: nah, I meant concise
<ljarvis> hey I wrote that
<apeiros> oh
<apeiros> only saw your second impl :)
<ljarvis> apeiros be stealing
<dunpeal> stealin yo shit
<dunpeal> all the codez
dminuoso has quit [Ping timeout: 258 seconds]
<apeiros> it's not stealing if it's from my own snippets!
<ljarvis> hmm
<dunpeal> anyway, yeah, if you guys can make Ruby a little bit faster, that would be great mmkay
<ljarvis> ok ok
<ljarvis> if you want processing speed, you're using the wrong language
<dunpeal> Raw Processing Powah
<ljarvis> if you want to be happy and have development speed, ruby is awesome
tyang_ has quit [Ping timeout: 244 seconds]
<dunpeal> what if my happiness also depends on processing speed
<dunpeal> because I get shite from my bosses when website is slow
<ljarvis> then you benchmark your happiness
<mim1k> dunpeal: scale up your app nodes?
<dunpeal> kk
xyzzy12 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<dunpeal> maybe with Truffle Ruby will be blazing fast one fine morning
<ljarvis> dockerize your container to roflscale
<ljarvis> shard it, obviously
<dunpeal> obviously
<dunpeal> I'll also make sure to hipsterize my nosql
<ljarvis> i mean if you haven't done that yet you're way behind
beilabs has joined #ruby
<soulisson> dunpeal, :)
submitnine has quit []
<soulisson> I said once I didn't know nosql, people were shocked
<soulisson> :)
<mim1k> What is the most hipster nosql DB? CouchDB or something?
beilabs_ has quit [Remote host closed the connection]
beilabs_ has joined #ruby
KaliLinuxGR has quit [Quit: Keep Hacking]
camilasan has quit [Quit: No Ping reply in 180 seconds.]
KaliLinuxGR has joined #ruby
<dunpeal> sorry, I was too busy riding my fixie to the organic coffee shop to get some fair-trade, cruelty-free, sustainably-farmed, responsibly-ground mochaccino
camilasan has joined #ruby
Pupp3tm4st3r has quit [Remote host closed the connection]
beilabs has quit [Ping timeout: 240 seconds]
aufi has quit [Ping timeout: 240 seconds]
axisys has joined #ruby
dminuoso has joined #ruby
tyang_ has joined #ruby
karmatr0n has joined #ruby
Pumukel has joined #ruby
the_drow has joined #ruby
the_drow_ has quit [Read error: No route to host]
etehtsea has quit [Ping timeout: 265 seconds]
rodfersou is now known as rodfersou|lunch
rippa has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
tyang_ has quit [Ping timeout: 250 seconds]
zacts has quit [Quit: WeeChat 1.5]
jeanlinux has joined #ruby
giz|work|2 has quit [Ping timeout: 244 seconds]
saneax is now known as saneax-_-|AFK
workmad3_ has joined #ruby
jeanlinux has quit [Ping timeout: 258 seconds]
tyang_ has joined #ruby
etehtsea has joined #ruby
hutch34 has joined #ruby
kp666 has quit [Remote host closed the connection]
kiba_ has quit [Ping timeout: 252 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
<dunpeal> OK, I'm in IRB, and I defined a variable `foo`. Now I want to define a method `foo` to supercede that variable. Possible?
kiba_ has joined #ruby
dminuoso has quit [Remote host closed the connection]
<dunpeal> >> foo = 1; def foo; 2; end; puts foo
<ruby[bot]> dunpeal: # => 1 ...check link for more (https://eval.in/625014)
swills has quit [Quit: Leaving]
cd-rum_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lightheaded has joined #ruby
<matthewd> dunpeal: No
etetz has joined #ruby
<dunpeal> matthewd: but I was told nothing is impossible!!!
<dunpeal> (thanks)
soulisson has left #ruby ["Quitte"]
Omni_ has joined #ruby
<dunpeal> speaking of hipsters, what do you guys think of Crystal?
<matthewd> Well, if you dug deep enough, you could probably try to replace irb's current binding with a new one, that copied all the other locals etc :)
solocshaw has joined #ruby
mikecmpbll has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
synthroid has quit [Remote host closed the connection]
<jhass> dunpeal: it's awesome :P
Moosashi has joined #ruby
<dunpeal> jhass: isn't it too different from Ruby though? no dynamic method dispatch, no method_missing
<dunpeal> I wonder if it even feels like Ruby to program in
jeanlinux has joined #ruby
IanMalcolm has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> it's quite different, it doesn't feel like Ruby, no. It does still feel at home though
<jhass> it's not "what's this strange place all about" but more "oh, it's like this here, ok"
yardenbar has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
jeanlinu_ has joined #ruby
coolboy has quit [Remote host closed the connection]
jeanlinux has quit [Ping timeout: 244 seconds]
conta has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mozzarella has quit [Ping timeout: 276 seconds]
moeabdol1 has quit [Quit: WeeChat 1.4]
SteenJobs has joined #ruby
BrianJ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<SteenJobs> anyone have an elegant ruby implementation of insertion sort using blocks rather than for loops?
moeabdol has joined #ruby
jeanlinux has joined #ruby
jeanlinu_ has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
<jhass> just replace your for loops with n.times and/or n.upto(m)
<jhass> perhaps an .each_index here and there
moeabdol has quit [Client Quit]
<SteenJobs> jhass: yea for the main part of the function that works…i’m wondering about the insert method - i’ll gist you what i wrote in a sec. if you couldn’t guess, i’m finally taking the time to learn algos and data structures for interview prep ha
solocshaw has quit [Ping timeout: 258 seconds]
<SteenJobs> and while i’ve been practicing using swift, i figured i should get more familiar doing it in ruby since that’ll be my go to lang
moeabdol has joined #ruby
jeanlinu_ has joined #ruby
jeanlinux has quit [Ping timeout: 240 seconds]
<jhass> these days for is just syntax sugar over .each
coolboy has joined #ruby
mustmodify has joined #ruby
<SteenJobs> jhass: really?? i thought it was the opposite
mozzarella has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
<jhass> no, not at all
Rodya_ has joined #ruby
pokalyis has joined #ruby
[Butch] has joined #ruby
SilverKey has joined #ruby
<mustmodify> ok here's an academic sort of question. I have a model Waypoint... a stop on a map. And it has a calculated status. In that status, I use "tech_report_count" to make some decisions. So I'd like to move "tech_report_count" out into its own method. But I don't really want tech_report_count to be a part of the api. I could mark it 'private' but in Ruby, nothing is really private... so ... I guess, is that what makes sense here? Just to mark it private?
<SteenJobs> but for is sucha python thing…blocks are like Ruby’s TM
jeanlinu_ has quit [Ping timeout: 264 seconds]
jeanlinux has joined #ruby
Pumukel has joined #ruby
<jhass> mustmodify: yes
<jhass> it really is private, it just doesn't mean that there's absolutely no way to call it
synthroid has joined #ruby
<jhass> for all that matters is communicates the same intent though
<mustmodify> jhass: great, thanks for the confirmation. I've been working in Ruby forever but my thinking is still evolving. I used to use `private' a lot, but haven't been lately. Maybe time to get back in to that.
<jhass> *it
deniskozlov_ has quit [Ping timeout: 244 seconds]
<jhass> hence I argue public_send over send where possible
<jhass> some people do argue everything should be public, the argument is that if it's worth for you to extract into a method, it might be worth for somebody else to reuse it, don't prevent them from doing so
<mustmodify> Is that a thing? I hadn't even heard of that.
<jhass> yes it is
cdg has quit [Remote host closed the connection]
<mustmodify> Sure. But you don't want sloppy apis.
Vingador has joined #ruby
DaniG2k has quit [Ping timeout: 250 seconds]
<mustmodify> or seemingly-sloppy, overly-verbose
govg has joined #ruby
<mustmodify> apis
<jhass> yes, the more surface the easier to break backwards compatibility
Weavel has joined #ruby
jeanlinu_ has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
djbkd has quit [Read error: Connection reset by peer]
<SteenJobs> jhass: https://gist.github.com/jesiegel1/d84bf821e07f9feed9c2fd4afb6341c3 - this is what i have. seems sugary enough i guess
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
craigp has joined #ruby
<jhass> array.each_index for line 13
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<SteenJobs> nice
deniskozlov_ has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
<mustmodify> If I have a TimeFrame model, with a start_time and an end_time... I know I want #future? and #past? ... but what's the question for current?
<mustmodify> #current? seems wrong.
<mustmodify> #now?
<SteenJobs> jhass: eh although it needs to be -1 because of the array[n + 1] check
<mustmodify> #happenin?
<SteenJobs> DateTime.now?
jeanlinux has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mustmodify> SteenJobs: no, it's not a discreet time.
<jhass> SteenJobs: if so the current code has the same issue
<mustmodify> It's a range of times.
<SteenJobs> jhass: nah because i used non-inclusive array.count -1 (which is basically array.count - 2)
the_drow has quit [Quit: This computer has gone to sleep]
<mustmodify> But I guess it makes sense to use the same name. It works.
jeanlinu_ has quit [Ping timeout: 244 seconds]
coolboy has quit [Remote host closed the connection]
<jhass> SteenJobs: your other loop you can do right_index.downto(0) do |i| break if array[i] <= value
stamina has joined #ruby
<SteenJobs> mustmodify: don’t understand - you have a date and want to know if it falls within a range?
brianpWins_ has joined #ruby
nankyokusei has joined #ruby
<jhass> mustmodify: covers?
<SteenJobs> yea .covers? will check the range
blackmesa has quit [Ping timeout: 250 seconds]
<SteenJobs> jhass: yea was thinking about that, that’s cool - with the other loop though, if i’m using each_index(), how can i subtract that additional index without doing a check that index + 1 doesn’t exceed the array’s indexes
<jhass> SteenJobs: 0.upto(array.size - 2) then
brianpWins has quit [Ping timeout: 244 seconds]
brianpWins_ is now known as brianpWins
<SteenJobs> ah right
Pumukel has joined #ruby
jeanlinux has quit [Ping timeout: 240 seconds]
jeanlinu_ has joined #ruby
<SteenJobs> jhass: do you know of any good libraries to use locally where i can write and run ruby code interactively and easily? like the equivalent of a swift playground
<jhass> mustmodify: and I think I don't like past? and future? too much either tbh
<mustmodify> jhass: I think #now? will work. (a) same interface as Time, which is nice. (b) "when is it between 10:30 am and 1:30 pm?" can be answered "now."
<jhass> SteenJobs: no, I only use pry
<mustmodify> jhass: Well, I'm open to suggestions.
<SteenJobs> yea same - but the line by line bit can be a bit annoying. aright back to learning!
<jhass> mustmodify: it's closer to a range than to a time though IMO
<mustmodify> that's true.
dminuoso has joined #ruby
<mustmodify> we do implement #includes?
aganov has quit [Remote host closed the connection]
<jhass> frame.starts_before?(Time.now), frame.covers?(Time.now), frame.ends_after?(now) ?
jeanlinux has joined #ruby
<jhass> well, start_ / end_ if you want to follow core's broken english :P
nankyokusei has quit [Ping timeout: 276 seconds]
Earleys has left #ruby ["Leaving"]
jeanlinu_ has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
jeanlinu_ has joined #ruby
danman has joined #ruby
stamina has quit [Ping timeout: 258 seconds]
byteflame has joined #ruby
Pumukel has joined #ruby
nitric has joined #ruby
shinnya has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
Emmanuel_Chanel has quit [Read error: No route to host]
jeanlinux has joined #ruby
Moosashi has quit [Quit: Moosashi]
jeanlinu_ has quit [Ping timeout: 260 seconds]
araujo has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 264 seconds]
johnny56_ has quit [Ping timeout: 264 seconds]
goeast has quit [Ping timeout: 244 seconds]
LuckyABA has joined #ruby
andikr has quit [Read error: Connection reset by peer]
IanMalcolm has joined #ruby
Moosashi has joined #ruby
amclain has joined #ruby
jeanlinu_ has joined #ruby
LuckyABA has quit [Client Quit]
crystal77 has joined #ruby
jackjackdripper has joined #ruby
jeanlinux has quit [Ping timeout: 276 seconds]
mark_66 has quit [Quit: Leaving.]
LuckyABA has joined #ruby
gusrub has joined #ruby
gusrub has quit [Client Quit]
Vlat- has joined #ruby
jeanlinux has joined #ruby
RegulationD has joined #ruby
jeanlinu_ has quit [Ping timeout: 244 seconds]
edwinvdgraaf has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
symm- has joined #ruby
Vlat- has quit [Client Quit]
deniskozlov_ has quit [Ping timeout: 258 seconds]
l4v2 has joined #ruby
johnny56_ has joined #ruby
mixtli has joined #ruby
jeanlinu_ has joined #ruby
mrgrieves has quit [Ping timeout: 258 seconds]
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
deniskozlov_ has joined #ruby
TomyWork has quit [Ping timeout: 276 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
symm- has quit [Client Quit]
symm- has joined #ruby
zacts has joined #ruby
jeanlinux has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
lubekpl has joined #ruby
harai has joined #ruby
flying has quit []
lubekpl has quit [Client Quit]
mixtli has quit [Ping timeout: 265 seconds]
jeanlin__ has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
lubekpl has joined #ruby
heelpmeplz has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
symm- has quit [Client Quit]
ta__ has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
jeanlinux has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
xall has joined #ruby
jeanlin__ has quit [Ping timeout: 265 seconds]
claudiuinberlin has quit []
gxdsgrlfrnd has joined #ruby
lubekpl has quit [Ping timeout: 258 seconds]
deniskozlov_ has quit [Ping timeout: 250 seconds]
deniskozlov_ has joined #ruby
ta__ has quit [Ping timeout: 258 seconds]
jeanlinu_ has joined #ruby
tdy1 has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
malconis_ has joined #ruby
tdy has quit [Ping timeout: 244 seconds]
xall has quit [Ping timeout: 240 seconds]
jeanlinux has joined #ruby
teclator has joined #ruby
gxdsgrlfrnd has quit [Quit: Lost terminal]
spudowiar has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
malconis has quit [Ping timeout: 258 seconds]
jeanlinu_ has joined #ruby
tomphp has quit [Ping timeout: 276 seconds]
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
symm- has joined #ruby
peteykun has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
gxdsgrlfrnd has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
heelpmeplz has quit [Ping timeout: 258 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jeanlinux has joined #ruby
teclator has joined #ruby
Pumukel has joined #ruby
jeanlinu_ has quit [Ping timeout: 244 seconds]
alfiemax has joined #ruby
giz|work|2 has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
moonythedwarf_ has joined #ruby
jeanlinu_ has joined #ruby
deniskozlov_ has quit [Ping timeout: 252 seconds]
Moosashi has quit [Quit: Moosashi]
Moosashi has joined #ruby
tomphp has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
conta has joined #ruby
jeanlinux has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
giz|work|2 has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
jeanlinu_ has quit [Ping timeout: 265 seconds]
deniskozlov_ has joined #ruby
Pumukel has joined #ruby
AndrewIsHere has joined #ruby
jeanlinu_ has joined #ruby
malconis_ has quit [Remote host closed the connection]
tomphp has quit [Ping timeout: 244 seconds]
babblebre has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
byteflame has quit [Ping timeout: 244 seconds]
diegoviola has joined #ruby
senayar has quit []
symm- has quit [Quit: Leaving...]
jeanlinux has quit [Ping timeout: 265 seconds]
pokalyis has joined #ruby
araujo_ has joined #ruby
symm- has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
l4v2 has quit [Quit: l4v2]
jeanlinux has joined #ruby
symm- has quit [Client Quit]
jeanlinu_ has quit [Ping timeout: 244 seconds]
araujo_ has quit [Max SendQ exceeded]
xyzzy12 has joined #ruby
araujo_ has joined #ruby
nikivi has quit [Quit: irc]
araujo has quit [Ping timeout: 240 seconds]
malconis has joined #ruby
agit0 has joined #ruby
Ropeney has quit [Quit: Leaving]
ChiefAlexander has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 244 seconds]
jeanlinux has quit [Ping timeout: 244 seconds]
jeanlinux has joined #ruby
<SteenJobs> jhass: turns out there’s a great plugin for sublime that allows you to have a pry repl open next to and linked to your code
flashpoint9 has joined #ruby
rodfersou|lunch is now known as rodfersou
flashpoint9 has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
bjh13 has joined #ruby
flashpoint9 has joined #ruby
Moosashi has quit [Quit: Moosashi]
ramortegui has quit [Quit: Ex-Chat]
jeanlinu_ has joined #ruby
Moosashi has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
jeanlin__ has joined #ruby
TomyLobo has joined #ruby
whathappens has joined #ruby
ChiefAlexander has joined #ruby
ramfjord has joined #ruby
jeanlinux has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
Drumphet has joined #ruby
smathy has joined #ruby
xyzzy12 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<kegster> what is the best way to run a function ,and if false, wait X seconds and tryagain--- up to Y times in ruby?
agent_white has joined #ruby
Pumukel has joined #ruby
deniskozlov_ has quit [Ping timeout: 260 seconds]
deniskozlov has joined #ruby
RegulationD has joined #ruby
jeanlinu_ has joined #ruby
<smathy> kegster, you want to block during those X seconds? Or you want this running as a background retry?
jeanlin__ has quit [Ping timeout: 265 seconds]
snguyen has joined #ruby
<jhass> Y.times { break if foo; sleep(X); }
jeanlinux has quit [Ping timeout: 265 seconds]
<kegster> smathy, block it. the user has to wait on it. basically i can't modify a case if it's open so i need to isCaseOpen() -- and if FALSE, wait then try it again
<kegster> but i want to limit it to like 8 tries or something, at 500ms or something
<kegster> jhass, so is Y an integer?
<jhass> sure
xyzzy12 has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
Rodya_ has quit [Remote host closed the connection]
jeanlinux has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
jokke has quit [Remote host closed the connection]
jeanlinu_ has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
jokke has joined #ruby
pawnbox has joined #ruby
davedev24 has joined #ruby
tyang_ has quit [Ping timeout: 250 seconds]
nikivi has joined #ruby
tyang_ has joined #ruby
hahuang65 has joined #ruby
symm- has joined #ruby
ycakar has quit [Quit: Leaving]
jeanlinu_ has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
replay has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
jeanlinux has joined #ruby
tyang_ has quit [Ping timeout: 250 seconds]
<dunpeal> What's a good library to quickly visualize result sets?
<dunpeal> Plots, charts, bar graphs, etc.
jeanlinu_ has quit [Ping timeout: 265 seconds]
hahuang65 has quit [Ping timeout: 240 seconds]
<kegster> jhass, sure? lol can it be something else?
<jhass> anything there's a times method defined on
binaryplease1 has joined #ruby
xyzzy12 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jeanlinu_ has joined #ruby
deniskozlov has quit [Ping timeout: 276 seconds]
jeanlinux has quit [Ping timeout: 244 seconds]
binaryplease has quit [Ping timeout: 252 seconds]
Pumukel has joined #ruby
jeanlinux has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
teclator has quit [Ping timeout: 265 seconds]
ramfjord has quit [Ping timeout: 244 seconds]
jeanlinu_ has quit [Ping timeout: 265 seconds]
jeanlin__ has joined #ruby
deniskozlov has joined #ruby
[Butch] has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
jeanlinux has quit [Ping timeout: 265 seconds]
jeanlinux has joined #ruby
tyang_ has joined #ruby
moei has joined #ruby
zeroDi has joined #ruby
[Butch] has joined #ruby
binaryplease1 is now known as binaryplease
pawnbox has quit [Remote host closed the connection]
hanmac has quit [Ping timeout: 258 seconds]
l4v2 has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
jeanlin__ has quit [Ping timeout: 265 seconds]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
Moosashi has quit [Quit: Moosashi]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
jeanlinux has joined #ruby
vuoto_ has joined #ruby
zacts has quit [Ping timeout: 252 seconds]
coolboy has joined #ruby
irick has quit [Ping timeout: 250 seconds]
heelpmeplz has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto_ has quit [Remote host closed the connection]
vuoto has joined #ruby
Pumukel has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
jeanlinu_ has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
vuoto has quit [Remote host closed the connection]
DoubleMalt has quit [Read error: Connection reset by peer]
irick has joined #ruby
Pumukel has quit [Ping timeout: 250 seconds]
dinoangelov has joined #ruby
Moosashi has joined #ruby
jeanlinu_ has quit [Ping timeout: 244 seconds]
l4v2 has quit [Quit: l4v2]
hanmac has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
SeepingN has joined #ruby
IanMalcolm has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
Pumukel has joined #ruby
b3atr has joined #ruby
<b3atr> is there any book you would suggest about REST and impelementing it by Ruby?
<b3atr> I've found: RESTful Rails Development and APIs on Rails
<b3atr> any other suggestions?
mustmodify has left #ruby [#ruby]
swills has joined #ruby
johnmilton has joined #ruby
youch has joined #ruby
hahuang65 has joined #ruby
deniskozlov has quit [Read error: Connection reset by peer]
ponga has joined #ruby
deniskozlov has joined #ruby
pawnbox has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
kiba_ has quit [Ping timeout: 276 seconds]
johnmilton has quit [Ping timeout: 258 seconds]
cdg has joined #ruby
cdg has quit [Remote host closed the connection]
IanMalcolm has joined #ruby
johnmilton has joined #ruby
cdg has joined #ruby
IanMalcolm has quit [Max SendQ exceeded]
marxarelli has joined #ruby
<baweaver> b3atr How much do you understand what REST is?
<baweaver> Because Rails and pretty well any modern web framework uses it already.
blackwind_123 has joined #ruby
<b3atr> baweaver: yeah, I know that.
<baweaver> so what do you mean by implement it in Ruby?
<havenwood> b3atr: Say more about what you're trying to do and why?
<b3atr> baweaver: I just have a general understanding of REST, HTTP methods and resource sharing
nankyokusei has joined #ruby
Pumukel has joined #ruby
centrx_ has joined #ruby
<b3atr> havenwood: about implementing, I meant what is a correct way to desgin a REST API by Ruby tools/frameworks
Moosashi has quit [Ping timeout: 240 seconds]
<b3atr> SteenJobs: thanks
mrBen2k2k2k has quit [Max SendQ exceeded]
<havenwood> b3atr: The Ruby way to do HTTP 1.1 is Rack! http://rack.github.io
<agent_white> Afternoon folks.
<havenwood> b3atr: Grape is one of many adapters that's focused on APIs.
centrx has quit [Ping timeout: 276 seconds]
BrianJ has joined #ruby
<b3atr> I'd would appriciate if you guys suggest a book to learn REST fundamentals/
Pumukel has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
<toretore> HTTP: (method, headers, body) -> (status, headers, body)
<havenwood> b3atr: Here's a link to some slides with a bunch of HTTP libraries in Ruby that might be fun to look up: https://www.docdroid.net/e7CFBl3/http-in-rubyland.pdf.html
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
KaliLinuxGR has quit [Remote host closed the connection]
miqlas-H has joined #ruby
jaruga___ has quit [Quit: jaruga___]
blackmesa has joined #ruby
<havenwood> b3atr: You might like reading the spec for HTTP 1.0 and then HTTP 1.1 and bonus points for HTTP 2.0 (H2).
<toretore> really looking forward to having to deal with http2
<b3atr> havenwood: in the slides? or RFC?
banisterfiend has joined #ruby
<havenwood> b3atr: the latter
workmad3_ has quit [Ping timeout: 244 seconds]
<b3atr> havenwood: OK, thank you
SeepingN has quit [Quit: The system is going down for reboot NOW!]
<havenwood> b3atr: And of course read Roy Fielding's dissertation: https://www.ics.uci.edu/~fielding/pubs/dissertation/fielding_dissertation.pdf
jaruga___ has joined #ruby
SeepingN has joined #ruby
<havenwood> b3atr: The thesis plus rfcs should get you a long way along with careful reads.
youch has quit []
dinoangelov_ has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
moon_ has quit [Ping timeout: 276 seconds]
youch has joined #ruby
dinoangelov has quit [Read error: Connection reset by peer]
etetz has quit [Remote host closed the connection]
<havenwood> Nice we have a pure Ruby implementation of H2 protocol already: https://github.com/igrigorik/http-2
ta__ has joined #ruby
youch has quit [Client Quit]
etetz has joined #ruby
youch has joined #ruby
jaruga___ has quit [Client Quit]
etetz has quit [Read error: Connection reset by peer]
jgt has quit [Ping timeout: 258 seconds]
etetz has joined #ruby
etetz has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
Pumukel has joined #ruby
Vingador has quit [Read error: Connection reset by peer]
blaxter has quit [Quit: foo]
IanMalcolm has joined #ruby
xall has joined #ruby
youch has quit [Client Quit]
IanMalcolm has quit [Max SendQ exceeded]
youch has joined #ruby
finisherr has joined #ruby
ta__ has quit [Ping timeout: 250 seconds]
chridal has quit [Ping timeout: 276 seconds]
youch has quit [Client Quit]
youch has joined #ruby
SilverKey has quit [Read error: Connection reset by peer]
jackjackdripper has quit [Quit: Leaving.]
Pumukel has quit [Ping timeout: 244 seconds]
<foxxx0> i'm trying to call another sinatra route from within an endpoint but i cannot figure out how to properly set the request body for that call, this does not work: https://paste.foxxx0.de/4IS3J3/
Pumukel has joined #ruby
b3atr has quit [Quit: leaving]
dn` has joined #ruby
IanMalcolm has joined #ruby
RedNifre_ is now known as RedNifre
<foxxx0> the request body is just empty
Pumukel has quit [Ping timeout: 264 seconds]
chridal has joined #ruby
claudiuinberlin has joined #ruby
Eiam has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
ec0 has joined #ruby
banisterfiend has joined #ruby
Dimik has joined #ruby
tyang_ has quit [Ping timeout: 244 seconds]
etetz has joined #ruby
Pumukel has joined #ruby
pokalyis has quit [Read error: Connection reset by peer]
zacts has joined #ruby
pokalyis has joined #ruby
rajdesai has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
Madplatypus has joined #ruby
tyang_ has joined #ruby
cloaked1 has quit [Ping timeout: 265 seconds]
DoubleMalt has joined #ruby
sdrew has joined #ruby
sdrew has quit [Max SendQ exceeded]
elifoster has joined #ruby
dinoangelov_ has quit [Quit: (null)]
sdrew has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Silthias1 has quit [Ping timeout: 250 seconds]
giz|work|2 has joined #ruby
IanMalcolm has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bad_ip has quit [Ping timeout: 244 seconds]
bad_ip has joined #ruby
jhack has quit []
Pumukel has joined #ruby
moeabdol has quit [Ping timeout: 258 seconds]
giz|work|2 has quit [Ping timeout: 265 seconds]
elaptics has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<foxxx0> alright, seems like 'rack.input' does the magic trick: https://paste.foxxx0.de/8H4L/
neanderslob has joined #ruby
<foxxx0> this works now
Kilo`byte has quit [Quit: ZNC - 1.6.0 - http://znc.in]
mrBen2k2k2k has joined #ruby
craigp has quit [Ping timeout: 258 seconds]
giz|work|2 has joined #ruby
Kilo`byte has joined #ruby
kiba_ has joined #ruby
thm has joined #ruby
<thm> how do I teach gem --user-install to install binaries in ~/.local/bin and not in ~/bin ?
Pupp3tm4st3r has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
ledestin has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
<matthewd> thm: Does --bindir not work?
<thm> is there a permanent solution?
<matthewd> .gemrc?
moon_ has joined #ruby
nhhc has joined #ruby
<thm> thanks
moonythedwarf_ has quit [Ping timeout: 250 seconds]
Silthias has joined #ruby
firstdayonthejob has joined #ruby
mrBen2k2k2k has joined #ruby
cdg has quit [Ping timeout: 264 seconds]
dikaio has joined #ruby
dikaio has quit [Max SendQ exceeded]
rajdesai has quit [Remote host closed the connection]
Silthias has quit [Client Quit]
rajdesai has joined #ruby
<SeepingN> if I have an older net-ssh gem in my main (project's) gems, but in my home direcotry gems I have a newer one that I'd like to "prefer", how do I get Rails console to use my copy? Change some Gem paths?
Pumukel has joined #ruby
rajdesai has quit [Read error: Connection reset by peer]
rajdesai_ has joined #ruby
rajdesai_ has quit [Read error: Connection reset by peer]
rajdesai has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
CuriousMind has joined #ruby
<CuriousMind> I haven't been in this channel for a long time now
<CuriousMind> Probably 2-3 years ago
Pumukel has quit [Ping timeout: 264 seconds]
<matthewd> SeepingN: In a Rails application, you should be using bundler, whose job is precisely to ensure everyone is using the same versions of gems
allcentury has quit [Ping timeout: 276 seconds]
karmatr0_ has joined #ruby
karmatr0n has quit [Read error: Connection reset by peer]
mrBen2k2k2k has joined #ruby
etetz has quit [Remote host closed the connection]
etetz has joined #ruby
<SeepingN> yes but I'm not in charge of everyone
kiba_ has quit [Ping timeout: 250 seconds]
<thm> matthewd: I tried echo "gem: --bindir=ENV['HOME']/.local/bin" > .gemrc, but that doesn't work
<SeepingN> I'm not part of the web team, I'm running reporting scripts, often from console. So I have a need for SFTP. They don't.
ledestin has quit [Ping timeout: 265 seconds]
<thm> matthewd: nevermind, ~ works
bluOxigen has quit [Ping timeout: 240 seconds]
siegy has joined #ruby
craigp has joined #ruby
<havenwood> SeepingN: You can add a group to the Gemfile for your case. Some folk rig up a Gemfile.local.
<siegy> hi :+1:
<havenwood> SeepingN: http://bundler.io/groups.html
<matthewd> SeepingN: If the application has a dependency on the older version, using the new one presumably risks incompatibilities / breaking other things
<matthewd> groups allow you to opt out of installing things, but the full dependency tree still has to be coherent
<SeepingN> yes possibly (I asked them if it would be possible to update ssh and includ sftp or if I should pursue keeping separate ones for my needs)
dikaio has joined #ruby
<zacts> hi rubyists
<SeepingN> thx
Pumukel has joined #ruby
etetz has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
dikaio has quit [Max SendQ exceeded]
kiba_ has joined #ruby
<matthewd> SeepingN: If you just want to make it work, you'll need to modify your local Gemfile & re-bundle.. but yeah, I'd recommend finding a less fragile path
mrBen2k2k2k has quit [Max SendQ exceeded]
jgt has joined #ruby
Macaveli has joined #ruby
<havenwood> zacts: hi
TomyLobo has quit [Read error: Connection reset by peer]
bad_ip has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 258 seconds]
bad_ip has joined #ruby
peteykun has quit [Quit: Leaving]
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 265 seconds]
hahuang61 has joined #ruby
nikivi has quit [Quit: irc]
mrBen2k2k2k has joined #ruby
Pumukel has joined #ruby
jgt has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 276 seconds]
shinnya has quit [Ping timeout: 264 seconds]
SteenJobs has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
tyang_ has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
coolboy has quit [Ping timeout: 265 seconds]
mrBen2k2k2k has quit [Max SendQ exceeded]
klaas has quit [Quit: ZNC - http://znc.sourceforge.net]
SteenJobs has quit [Client Quit]
bad_ip has quit [Ping timeout: 276 seconds]
bad_ip has joined #ruby
kiba_ has quit [Ping timeout: 258 seconds]
mrBen2k2k2k has joined #ruby
Pumukel has joined #ruby
xall has quit [Ping timeout: 250 seconds]
bad_ip has quit [Ping timeout: 258 seconds]
neanderslob has quit [Ping timeout: 240 seconds]
bad_ip has joined #ruby
bad_ip has quit [Changing host]
bad_ip has joined #ruby
minimalism has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
neanderslob has joined #ruby
Pumukel has joined #ruby
ramfjord has joined #ruby
zacts has quit [Quit: WeeChat 1.5]
zacts has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
giz|work|2 has quit [Ping timeout: 265 seconds]
rajdesai has quit [Remote host closed the connection]
replay has quit [Ping timeout: 265 seconds]
kiba_ has joined #ruby
zacts has quit [Client Quit]
Pumukel has quit [Ping timeout: 260 seconds]
bad_ip has quit [Ping timeout: 260 seconds]
bad_ip has joined #ruby
bad_ip has quit [Changing host]
bad_ip has joined #ruby
mrBen2k2k2k has joined #ruby
meth has joined #ruby
siovene has joined #ruby
coolboy has joined #ruby
centrx has joined #ruby
speakingcode has joined #ruby
kiba__ has joined #ruby
kiba_ has quit [Ping timeout: 250 seconds]
kiba__ is now known as kiba_
Pumukel has joined #ruby
Rodya_ has joined #ruby
centrx_ has quit [Ping timeout: 264 seconds]
eljimmy has quit [Quit: This computer has gone to sleep]
<siegy> hi
beilabs_ has quit [Remote host closed the connection]
<siegy> Who's using rvm (write 'rvm') and who's using rbenv (write 'rbenv')
lightheaded has quit [Read error: Connection reset by peer]
<ljarvis> neither \o/
<siegy> haha
Pumukel has quit [Ping timeout: 260 seconds]
<siegy> just system ruby?
<havenwood> siegy: chruby
<ljarvis> I use chruby
lightheaded has joined #ruby
etetz has joined #ruby
<ljarvis> which I like because it's ridiculously simple and I can understand the source in 2 minutes
<ljarvis> it doesn't try to do too much
<ljarvis> and shims suck
<dminuoso> siegy: Most people have switched to chruby because it is ridiculous small, and absolutely non-intrusive (no shell hacks)
<dminuoso> Most that I know of I mean.
Rodya_ has quit [Ping timeout: 250 seconds]
<dminuoso> siegy: It's usually used in tandem with ruby-install
<siegy> yeah
<toretore> chruby > rbenv > rvm
<siegy> I just read the repos README
<ljarvis> chruby > rbenv > * rvm
thm has left #ruby [#ruby]
<toretore> it is telling that they were created in the opposite chronological order
<ljarvis> damn i messed it up
jackjackdripper has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
<siegy> dminuoso: ruby-install is also like 99% used with rbenv
<ljarvis> ruby-install is built by the same author of chruby and is probably 99% used for chruby too
Pupp3tm4st3r has quit [Remote host closed the connection]
<jhass> pacman \o/
jeanlinux has joined #ruby
<dminuoso> siegy: I just stated that chruby is usually used together with ruby-install. Whether other managers use ruby-install I don't care about.
Pupp3tm4st3r has joined #ruby
<siegy> ok
lightheaded has quit [Read error: Connection reset by peer]
<ljarvis> oh right i missed that first comment
<siegy> ljarvis: i think sstepenson built rbenv and ruby-install
weckl has quit [Remote host closed the connection]
<ljarvis> need coffee, or probably sleep
<ljarvis> siegy: no
<siegy> haha
lightheaded has joined #ruby
<matthewd> siegy: that's ruby-build
coolboy has quit [Ping timeout: 250 seconds]
<ljarvis> ^
Pumukel has joined #ruby
<dminuoso> postmodern came by the other day, asking about a definite source of third party requirements for Ruby. We eventually determined the definite source to be ruby-install's source code. :P
<siegy> ah
<siegy> sorry
<siegy> need sleep too..
<havenwood> for the latest versions and checksums it's just a: ruby-install --latest
mrBen2k2k2k has joined #ruby
harai54 has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
tyang_ has joined #ruby
the_rhizo3 has quit [Ping timeout: 244 seconds]
harai has quit [Ping timeout: 244 seconds]
Pupp3tm4st3r has quit [Ping timeout: 276 seconds]
centrx_ has joined #ruby
rajdesai has joined #ruby
nankyokusei has joined #ruby
centrx has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 260 seconds]
lightheaded has quit [Read error: Connection reset by peer]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
MrBusiness2 has quit [Ping timeout: 250 seconds]
spudowiar has quit [Quit: gtg]
centrx has joined #ruby
lightheaded has joined #ruby
ta__ has joined #ruby
centrx_ has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdothum has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
centrx_ has joined #ruby
centrx has quit [Read error: Connection reset by peer]
flashpoint9 has quit [Remote host closed the connection]
Macaveli has joined #ruby
Macaveli has quit [Client Quit]
Pumukel has joined #ruby
ta__ has quit [Ping timeout: 260 seconds]
conta has quit [Ping timeout: 264 seconds]
jgt has joined #ruby
ta_ has quit [Remote host closed the connection]
mrBen2k2k2k has quit [Max SendQ exceeded]
Macaveli has joined #ruby
etetz has quit [Quit: Leaving...]
crystal77 has joined #ruby
ixti has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 258 seconds]
Sammichmaker has quit [Ping timeout: 240 seconds]
xall has joined #ruby
blackmesa has joined #ruby
beilabs has joined #ruby
centrx_ has quit [Read error: Connection reset by peer]
lightheaded has quit [Read error: Connection reset by peer]
Macaveli has quit [Client Quit]
diegoviola is now known as dviola
lightheaded has joined #ruby
futilegames has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
mrBen2k2k2k has joined #ruby
flashpoint9 has joined #ruby
johnmilton has quit [Remote host closed the connection]
teclator has joined #ruby
xall has quit [Ping timeout: 244 seconds]
beilabs has quit [Ping timeout: 265 seconds]
claudiuinberlin has quit []
finisherr_ has joined #ruby
finisherr has quit [Ping timeout: 276 seconds]
finisherr_ is now known as finisherr
whathappens has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 252 seconds]
Pumukel has joined #ruby
whathappens has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
allcentury has joined #ruby
Guest38 has joined #ruby
swills has quit [Ping timeout: 260 seconds]
caral has quit [Ping timeout: 250 seconds]
weemsledeux has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
neanderslob has quit [Ping timeout: 244 seconds]
whathappens has quit [Quit: Leaving...]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rajdesai has quit [Remote host closed the connection]
tdy1 has quit [Quit: tdy1]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
pokalyis has joined #ruby
eljimmy has joined #ruby
jeremyhall has joined #ruby
neanderslob has joined #ruby
neanderslob has quit [Disconnected by services]
neanderslob_ has joined #ruby
Pumukel has joined #ruby
johnmilton has joined #ruby
claw_ has quit [Read error: Connection reset by peer]
Drumphet has quit [Ping timeout: 258 seconds]
pokalyis has quit [Client Quit]
mrBen2k2k2k has quit [Max SendQ exceeded]
cdg has joined #ruby
neanderslob has joined #ruby
pokalyis has joined #ruby
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kiba_ has quit [Quit: ChatZilla 0.9.92 [Firefox 48.0/20160726073904]]
teclator has quit [Quit: No Ping reply in 180 seconds.]
claw has joined #ruby
Pumukel has quit [Ping timeout: 258 seconds]
marxarelli is now known as marxarelli|afk
johnmilton has quit [Ping timeout: 265 seconds]
johnmilton has joined #ruby
Pumukel has joined #ruby
yardenbar has joined #ruby
mrBen2k2k2k has joined #ruby
teclator has joined #ruby
last_staff has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Coldblackice has joined #ruby
teclator has quit [Client Quit]
neanderslob has quit [Remote host closed the connection]
neanderslob_ has quit [Read error: Connection reset by peer]
flashpoint9 has quit [Ping timeout: 250 seconds]
teclator has joined #ruby
djbkd_ has joined #ruby
hangelo has joined #ruby
Pumukel has joined #ruby
djbkd has quit [Ping timeout: 244 seconds]
RoseAleria has quit [Remote host closed the connection]
zacts has joined #ruby
aupadhye has quit [Remote host closed the connection]
tomphp has joined #ruby
moon_ has quit [Ping timeout: 244 seconds]
DenSchub has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 264 seconds]
DenSchub has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
moon_ has joined #ruby
coolboy has joined #ruby
zacstewart has quit [Ping timeout: 276 seconds]
last_staff has quit [Read error: Connection reset by peer]
last_staff has joined #ruby
knog has joined #ruby
mykeee has joined #ruby
siegy has left #ruby ["Killed buffer"]
mykeee has quit [Client Quit]
Pumukel has joined #ruby
synthroid has quit []
mrBen2k2k2k has joined #ruby
_dev has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
_dev has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
zacstewart has joined #ruby
xall has joined #ruby
SteenJobs has joined #ruby
beilabs has joined #ruby
xall has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
replay has joined #ruby
whathappens has joined #ruby
beilabs has quit [Ping timeout: 276 seconds]
jeanlinux has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
the_rhizo3 has joined #ruby
hahuang61 has joined #ruby
jeanlinu_ has joined #ruby
tdy has joined #ruby
blackgoat has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 250 seconds]
Amaterasu has joined #ruby
last_staff has quit [Quit: last_staff]
coolboy has quit [Read error: Connection reset by peer]
jeanlinu_ has quit [Ping timeout: 244 seconds]
hahuang61 has quit [Ping timeout: 258 seconds]
jeanlinux has joined #ruby
zacstewart has quit [Ping timeout: 265 seconds]
neanderslob has joined #ruby
neanderslob has quit [Remote host closed the connection]
coolboy has joined #ruby
nhhc has quit [Quit: Leaving]
mrBen2k2k2k has quit [Max SendQ exceeded]
rodfersou has quit [Quit: leaving]
jenrzzz_ has joined #ruby
sepp2k has quit [Quit: Leaving.]
jeanlinu_ has joined #ruby
speakingcode has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
GodFather has quit [Ping timeout: 265 seconds]
Alina-malina_ has joined #ruby
jeanlinux has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
blackmesa has quit [Ping timeout: 250 seconds]
rajdesai has joined #ruby
SteenJobs has quit [Ping timeout: 258 seconds]
H3nrik has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
mrBen2k2k2k has joined #ruby
Alina-malina has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
jeanlinu_ has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
coolboy has quit [Remote host closed the connection]
coolboy has joined #ruby
ldnunes has quit [Quit: Leaving]
rajdesai has quit [Ping timeout: 244 seconds]
SteenJobs has joined #ruby
strax has quit [Quit: Connection closed for inactivity]
jeanlinux has joined #ruby
jeremyhall has quit [Remote host closed the connection]
beilabs has joined #ruby
xall has joined #ruby
haraigo has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
jeanlinu_ has quit [Ping timeout: 265 seconds]
H3nrik has quit [Quit: WeeChat 1.4]
harai54 has quit [Ping timeout: 250 seconds]
allcentury has quit [Ping timeout: 252 seconds]
jeanlinu_ has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeanlinux has quit [Ping timeout: 265 seconds]
marxarelli|afk is now known as marxarelli
marxarelli is now known as marxarelli|afk
beilabs has quit [Ping timeout: 244 seconds]
SteenJobs_ has joined #ruby
jeanlinux has joined #ruby
SteenJobs has quit [Read error: Connection reset by peer]
SteenJobs_ is now known as SteenJobs
marxarelli|afk is now known as marxarelli
cpruitt has joined #ruby
xall has quit [Ping timeout: 258 seconds]
goeast has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
xall has joined #ruby
tomphp has joined #ruby
ixti has joined #ruby
jeanlinu_ has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
hangelo has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
team2016 has joined #ruby
zacstewart has joined #ruby
GinoManWrx has quit [Quit: Leaving]
GinoManWorks has quit [Quit: Leaving]
Alina-malina_ has quit [Ping timeout: 240 seconds]
jeanlinu_ has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
jeanlinux has joined #ruby
goeast has quit [Ping timeout: 258 seconds]
neanderslob has joined #ruby
teclator has quit [Ping timeout: 258 seconds]
GodFather has joined #ruby
Alina-malina has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
jeanlinu_ has joined #ruby
ta_ has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
Azure has joined #ruby
blackmesa has joined #ruby
mim1k has quit [Ping timeout: 244 seconds]
pandaant has quit [Remote host closed the connection]
jeanlinux has joined #ruby
Pumukel has joined #ruby
ramfjord has quit [Quit: Lost terminal]
jeanlinu_ has quit [Ping timeout: 265 seconds]
sepp2k has joined #ruby
ddffg has quit [Quit: Leaving]
ta_ has quit [Ping timeout: 265 seconds]
jeanlinu_ has joined #ruby
mrBen2k2k2k has joined #ruby
<PaulePanter> Hi.
dunpeal has quit [Quit: leaving]
bjh13 has quit [Remote host closed the connection]
<PaulePanter> Any idea what the default for `openssl_verify_mode` in Ruby 2.1.5 is?
<PaulePanter> If I don’t set it, I am able to deliver an email with https://github.com/mikel/mail.
<PaulePanter> If I set it to `peer` it fails, with `OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed`.
<PaulePanter> Reading https://www-origin.openssl.org/docs/manmaster/ssl/SSL_CTX_set_verify.html I thought there are only four modes.
<jhass> it's VERIFY_PEER, I guess something sets it to NONE for you
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeanlinux has quit [Ping timeout: 265 seconds]
<jhass> there are only two modes relevant to client sockets
<PaulePanter> Indeed.
Silthias has joined #ruby
leea has joined #ruby
<PaulePanter> Is there a way to increase the debug level, why the error is thrown.
Pumukel has quit [Ping timeout: 258 seconds]
<PaulePanter> ?
<jhass> that error has 3 popular reasons: 1) the cert is indeed invalid 2) your openssl/ruby didn't discover your system CA store 3) your server sends an incomplete certificate chain
CuriousMind has quit [Ping timeout: 264 seconds]
<jhass> not that i'm aware of, but checking those three should get you a high chance to fix it
jeanlinux has joined #ruby
<PaulePanter> :openssl_verify_mode=>nil
<PaulePanter> … so it’s not set.
jeanlinu_ has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
<jhass> 4) would be the server uses a custom (self signed) CA, though you may consider it a special case of 1)
<PaulePanter> jhass: I checked with SWAKS (--tls-verify) and it worked.
nankyokusei has joined #ruby
<jhass> 5) would be the servers CA is not in your system CA bundle
tomphp has joined #ruby
<PaulePanter> … then SWAKS would also fail.
<jhass> it's probably 2 then
<PaulePanter> Let me check with a known valid one. smtp.google.com for example.
Silthias has quit [Ping timeout: 240 seconds]
<PaulePanter> *smtp.gmail.com
Alina-malina has quit [Ping timeout: 244 seconds]
jeanlinux has quit [Ping timeout: 244 seconds]
<jhass> check if OpenSSL::X509::DEFAULT_CERT_FILE and/or OpenSSL::X509::DEFAULT_CERT_DIR returns a valid value for you
<jhass> if so set ca_file/ca_path respectively to one
jeanlinux has joined #ruby
<jhass> setting one of those is enough, dir overrules file
<jhass> there should be a way to get a hold of the default cert store and call set_default_paths on it, but I can't find it anymore atm
Madplatypus has quit [Quit: Connection closed for inactivity]
Pumukel has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 250 seconds]
haraigo has quit [Ping timeout: 250 seconds]
Alina-malina has joined #ruby
<jhass> ah OpenSSL::SSL::SSLContext::DEFAULT_CERT_STORE.set_default_paths
<PaulePanter> It works with smtp.gmail.com.
roubix has joined #ruby
<PaulePanter> OpenSSL::SSL::SSLContext::DEFAULT_CERT_STORE.set_default_paths returns `nil`'
mostlybadfly has joined #ruby
tyang__ has joined #ruby
<jhass> then I bet on incomplete chain and whatever swaks is is stupid enough to pull intermediates
<jhass> that's fine
SeepingN_ has joined #ruby
SeepingN has quit [Disconnected by services]
<PaulePanter> Sorry, I forgot to pass *peer*. It doesn’t work with that either. :/
SteenJobs has quit [Quit: SteenJobs]
jeanlinu_ has joined #ruby
<jhass> ah, so try the above suggestions in combination with peer
<PaulePanter> > OpenSSL::X509::DEFAULT_CERT_FILE
<PaulePanter> => "/usr/lib/ssl/cert.pem"
<jhass> curios, what's your OS?
<PaulePanter> Debian
<PaulePanter> Debian 8.5
<jhass> very curious
jeanlinux has quit [Ping timeout: 244 seconds]
<jhass> I expected that to be /etc/ssl/ca-certificates.crt on debian
<jhass> or /etc/ssl/certs/ca-certificates.crt can't remember exactly atm
tyang_ has quit [Ping timeout: 250 seconds]
<PaulePanter> /etc/ssl/certs/ca-certificates.crt
<PaulePanter> jhass: Indeed.
<PaulePanter> Let me try that.
jeanlinux has joined #ruby
tyang_ has joined #ruby
haraigoshi has joined #ruby
<PaulePanter> jhass: Sorry, for being stupid. How do I use `OpenSSL::SSL::SSLContext::DEFAULT_CERT_STORE.set_default_paths`?
<jhass> you just call it
<PaulePanter> Using `=` or passing an argument does not work.
flashpoint9 has joined #ruby
Pumukel has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
<jhass> it sets it in the store, no further argument passing necessary
* PaulePanter is confused.
ate has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
<PaulePanter> Is there a way, to set `/etc/ssl/certs/ca-certificates.crt` as the default?
sdrew has joined #ruby
jeanlinu_ has joined #ruby
<jhass> openssl is stupid, it has compile time flags for setting those paths and I would expect debian to pass those correctly
<jhass> however it does not use those defaults unless you call a particular function on the cert store in use
<jhass> that call is the Ruby binding to that that function
tyang__ has quit [Ping timeout: 265 seconds]
<PaulePanter> Ah. Now I understand it better.
hutch34 has quit [Ping timeout: 258 seconds]
cd-rum has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
ate has quit [Read error: No route to host]
<jhass> SSL_CTX_set_default_verify_paths if you want to dig
Pumukel has quit [Ping timeout: 260 seconds]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeanlinux has joined #ruby
jeanlinu_ has quit [Ping timeout: 244 seconds]
<jhass> now I wonder if the mail gem is stupid in the code and not just the docs or if something else is messing the default verify mode for you
youch has quit [Quit: WeeChat 1.5]
mrBen2k2k2k has quit [Max SendQ exceeded]
zacts has quit [Quit: WeeChat 1.5]
jeanlinu_ has joined #ruby
byteflame has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
ate has joined #ruby
ate has left #ruby [#ruby]
jeanlinux has joined #ruby
Pumukel has joined #ruby
<PaulePanter> jhass: Good question.
<PaulePanter> I’ll contact the Debian folks.
<PaulePanter> … about the paths.
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yardenbar has quit [Ping timeout: 258 seconds]
jeanlinu_ has quit [Ping timeout: 265 seconds]
mrBen2k2k2k has joined #ruby
SteenJobs has joined #ruby
<jhass> oh boy
<jhass> oh boy
jeanlinux has quit [Ping timeout: 244 seconds]
<jhass> and there I thought Ruby had better defaults now
jeanlinux has joined #ruby
neanderslob has quit [Ping timeout: 276 seconds]
<jhass> but apparently that's just for net/http
<jhass> how sad
<baweaver> Well, that's Net::HTTP
<baweaver> it's not known to be sane
Pumukel has quit [Ping timeout: 264 seconds]
<baweaver> could always chime in for 3.0 and say we need a good http library
<jhass> net/http seems to be the only thing we sane defaults here
rajdesai has joined #ruby
<jhass> all other stuff is broken (net/smtp, OpenSSL::SSL::SSLContext.new, OpenSSL::SSL::SSLSocket.new)
rajdesai has quit [Read error: Connection reset by peer]
<jhass> https://github.com/mikel/mail/blob/master/lib/mail/network/delivery_methods/smtp.rb#L137 with the default of that being nil doesn't particularly help either
rajdesai has joined #ruby
rajdesai has quit [Read error: Connection reset by peer]
mooru has joined #ruby
rajdesai has joined #ruby
lel has quit [Read error: Connection reset by peer]
dhollinger has quit [Quit: WeeChat 1.5]
<PaulePanter> jhass: badssl.com – very nice service
jeanlinux has quit [Ping timeout: 244 seconds]
tomphp has joined #ruby
jeanlinux has joined #ruby
Eiam_ has joined #ruby
<PaulePanter> jhass: So to summarize. The Gem *mail* just uses the defaults from `net/smtp`, and these should be improved?
tomphp has quit [Client Quit]
Scient has quit [Quit: ZNC - http://znc.in]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
beelzebot has quit [Quit: Konversation terminated!]
<jhass> yes
<jhass> well, a bit worse its own default is to set verify_mode to nil again
<jhass> while I didn't verify I'm fairly confident that being interpreted as none
mikeliss has joined #ruby
<jhass> but hey, what's Github's web editor good for https://github.com/mikel/mail/pull/1020
marxarelli has quit [Read error: Connection reset by peer]
rikkipitt has joined #ruby
<jhass> not that it's for anything but documenting that flaw
<jhass> given 80 open PRs
SeepingN_ has quit [Ping timeout: 265 seconds]
jeanlinux has quit [Ping timeout: 258 seconds]
workmad3 has joined #ruby
SeepingN has joined #ruby
leea has joined #ruby
bronson_ has quit []
<PaulePanter> jhass: Very nice. Thank you for being awesome. ;-)
bronson has joined #ruby
<PaulePanter> jhass: … and for helping me.
<jhass> yw
<PaulePanter> Good night everyone.
<jhass> thanks for caring about TLS
a1fa has left #ruby [#ruby]
Pumukel has quit [Ping timeout: 260 seconds]
<PaulePanter> One last remark, I think to remember, that in case of SMTP a lot of servers (MTAs) don’t check the certificate. Maybe because there are so many configured incorrectly.
Coldblackice has quit [Ping timeout: 250 seconds]
<PaulePanter> So maybe that’s way, net/smtp does it too.
* PaulePanter hopes it’ll change soon to be stricter.
jeanlinux has joined #ruby
<jhass> LE should change it
<jhass> also postfix is an early adopter for DANE
<jhass> but long road till that reaches ruby
mikeliss has quit [Quit: mikeliss]
<jhass> sadly
<dminuoso> jhass: Today apeiros made me realize again why I need to start with crystal. if(string) ....
BTRE has quit [Quit: Leaving]
<dminuoso> That clearly has this bizarre behavior of possibly not doing what you want if nil/false/true suddenly appear there. :|
Pumukel has joined #ruby
<dminuoso> I cant bring myself to start with crystal, don't know what to do with it.
<jhass> oh well, I'm afraid doesn't change much about it
jeanlinux has quit [Ping timeout: 240 seconds]
<jhass> PaulePanter: one counter argument could be that I yet have to see a MUA that doesn't verify
marxarelli has joined #ruby
<jhass> by default
lel has joined #ruby
Scient has joined #ruby
shinnya has joined #ruby
<jhass> dminuoso: I mean you can restrict the type of each and every method argument if you want to, but if you don't you still have the same problem
Drumphet has joined #ruby
<jhass> which isn't one IME too
moparisthebest has quit [Ping timeout: 265 seconds]
<dminuoso> jhass: I just hold the stance that if(string.nil?) is better style than to rely on nil evaluating as false, simply because the code is not clear what you expect.
<dminuoso> apeiros prefers the other route - but in the end what I really just long for is static typing.
mrBen2k2k2k has quit [Max SendQ exceeded]
marxarelli has quit [Read error: Connection reset by peer]
firstdayonthejob has quit [Ping timeout: 276 seconds]
<jhass> yeah I don't like the truthiness inversion .nil? does either
Pumukel has quit [Ping timeout: 244 seconds]
<jhass> it's less clear to me in fact, one step more in the mind
<jhass> you either have to switch to unless (no elsif), add a ! (extra step in the mind) or swap the common case into the bottom branch
<jhass> not worth it in practice IMO
<PaulePanter> jhass: Agreed regarding MUA.
<dminuoso> Well I dont really want to argue about which route is better. In the end the issue from my side is just that I prefer code to be explicit, which is why my kernel code always explicitly tests for (ptr == nullptr) rather rathan (ptr)
Pumukel has joined #ruby
<dminuoso> And part of the problem in this case, is that I don't want to indicate that "false/true" could be there to influence the branch
tyang_ has quit [Quit: Leaving]
<dminuoso> Static typing would solve that.
spudowiar has joined #ruby
<jhass> yes, if you specify types
<dminuoso> Yeah
<dminuoso> asm>> 1
<ruby[bot]> dminuoso: I have disassembled your code, the result is at https://eval.in/625321
mrBen2k2k2k has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zeroDi has quit [Quit: WeeChat 1.5]
Pumukel has quit [Ping timeout: 260 seconds]
Dimik has quit [Ping timeout: 260 seconds]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeanlinux has joined #ruby
mikecmpbll has joined #ruby
ledestin has joined #ruby
<PaulePanter> jhass: lrwxrwxrwx 1 root root 14 Mär 18 2013 /usr/lib/ssl/certs -> /etc/ssl/certs
<PaulePanter> … is present in Debian 8.5.
blackmesa has quit [Ping timeout: 258 seconds]
<PaulePanter> So no idea why it doesn’t work even after `OpenSSL::SSL::SSLContext::DEFAULT_CERT_STORE.set_default_paths`.
[Butch] has quit [Quit: I'm out . . .]
workmad3 has quit [Ping timeout: 265 seconds]
<jhass> yeah, I guess it just doesn't use the default store
<jhass> and Net::SMTP.default_ssl_context seems to return a new instance each time
whathappens has quit [Remote host closed the connection]
<jhass> so you have to pass it to the mail gem explicitly I'm afraid
whathappens has joined #ruby
jeanlinu_ has joined #ruby
jeanlinux has quit [Ping timeout: 252 seconds]
Pumukel has joined #ruby
jenrzzz_ has quit [Ping timeout: 250 seconds]
whathappens has quit [Read error: Connection reset by peer]
whathapp_ has joined #ruby
blackmesa has joined #ruby
Drumphet has quit [Ping timeout: 240 seconds]
rikkipitt has quit [Quit: Leaving...]
jeanlinu_ has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
dling has quit []
Pumukel has quit [Ping timeout: 260 seconds]
elifoster has quit [Quit: comida]
whathapp_ has quit [Remote host closed the connection]
hutch34 has joined #ruby
whathappens has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
RegulationD has quit [Remote host closed the connection]
whathappens has joined #ruby
cpruitt has quit [Quit: cpruitt]
leftpad has joined #ruby
pokalyis has joined #ruby
BTRE has joined #ruby
OTORelic has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
hahuang61 has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
toretore has quit [Ping timeout: 276 seconds]
whathappens has quit [Ping timeout: 264 seconds]
deniskozlov has quit [Ping timeout: 252 seconds]
rajdesai has quit [Remote host closed the connection]
Drumphet has joined #ruby
MrBusiness2 has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
mrBen2k2k2k has quit [Max SendQ exceeded]
jottr has joined #ruby
tubbo has quit [Ping timeout: 244 seconds]
dminuoso has quit [Ping timeout: 276 seconds]
solars has quit [Ping timeout: 250 seconds]
allcentury has joined #ruby
mooru has quit [Quit: Textual IRC Client: www.textualapp.com]
redpants has joined #ruby
mrBen2k2k2k has joined #ruby
der-landgraf has quit [Quit: WeeChat 1.5]
sepp2k has quit [Read error: Connection reset by peer]
moon_ has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
LuckyABA has joined #ruby
Drumphet has quit [Ping timeout: 265 seconds]
ICantCook has joined #ruby
ICantCook has quit [Client Quit]
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
craysiii has joined #ruby
simmons has joined #ruby
leftpad has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 265 seconds]
MrBusiness3 has joined #ruby
z3uS has quit [Quit: /dev/null]
TPug has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
MrBusiness2 has quit [Ping timeout: 250 seconds]
hutch34 has joined #ruby
karmatr0_ has quit [Ping timeout: 244 seconds]
MrBusiness2 has joined #ruby
airdisa has quit []
MrBusiness3 has quit [Ping timeout: 250 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
simmons has left #ruby [#ruby]
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
leea has joined #ruby
sdrew has joined #ruby
jenrzzz has joined #ruby
sdrew has quit [Client Quit]
cd-rum_ has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
Guest38 has joined #ruby
cd-rum has quit [Ping timeout: 240 seconds]
jhack has joined #ruby
nankyokusei has joined #ruby
der-landgraf has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
stamina has joined #ruby
mrBen2k2k2k has joined #ruby
saneax-_-|AFK is now known as saneax
rkazak has joined #ruby
RegulationD has joined #ruby
cutiefun has joined #ruby