jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
karmatr0n has quit [Ping timeout: 260 seconds]
Rodya_ has quit [Remote host closed the connection]
karmatr0n has joined #ruby
evansbee has joined #ruby
sumangurung has joined #ruby
<shevy> wixad_ hah I was wondering about that too... but looking back, I never used getoptlong for anything really so far
<Radar> ?twgr ruby-lang147
<ruby[bot]> Radar: I don't know anything about twgr
<Radar> ruby[bot]: :((((
sumangurung has quit [Client Quit]
boogeyman has joined #ruby
<jhass> Radar: add it! :)
palms has joined #ruby
sumangurung has joined #ruby
boogeyman has quit [Max SendQ exceeded]
boogeyman has joined #ruby
<wixad_> @shevy i guess optionparser and slop handle the needy situation better...
infernix has quit [Ping timeout: 260 seconds]
wrkrcoop has joined #ruby
aeterne has quit [Read error: Connection reset by peer]
nankyokusei has joined #ruby
amincd has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
<amincd> hi, why does File.new("filename", "r+") not create a duplex IO?
<sumangurung> Hi folks, I was wondering what skills would you expect a beginner vs an intermediate vs an advanced ruby programmer to have?
Rodya_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<ruby-lang147> thanks
<toretore> amincd: how do you determine that it doesn't?
nankyokusei has quit [Ping timeout: 276 seconds]
djbkd has quit [Quit: My people need me...]
<amincd> toretore: io.close_read fails
frem_ has quit [Quit: Connection closed for inactivity]
<toretore> amincd: code?
<toretore> amincd: and error
<amincd> in `close_read': closing non-duplex IO for reading (IOError)
Moosashi has joined #ruby
<amincd> io = File.new("textfile.txt", "r+"); io.close_read
LoneHerm_ has joined #ruby
ornerymoose has quit [Ping timeout: 272 seconds]
jaguarmagenta has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<toretore> amincd: actually, i don't think a file is a "duplex io"
Beverage has joined #ruby
<amincd> toretore: if the permissions are "r+", what is it then?
<toretore> duplex != r/w
<amincd> I thought they were synonymous
<toretore> duplex refers to an io that has two different channels for read and write afaik
<jhass> a pipe can be a duplex IO, actually two IOs abstracted into a single IO isntance
<toretore> sockets too are duplex in this sense
<jhass> or actually two pipes I should say
jetpackjoe has quit [Quit: WeeChat 1.5]
Wsewolod has quit [Ping timeout: 250 seconds]
solocshaw has quit [Ping timeout: 272 seconds]
arescorpio has joined #ruby
<amincd> hmm I guess I didn't understand IO and processes too well then
jaguarmagenta has quit [Ping timeout: 244 seconds]
<toretore> amincd: close_read makes sense when there's an "other side" that gets a signal that your side doesn't accept any further writes
ramfjord_ has joined #ruby
<amincd> toretore: so I guess objects created by File wouldn't need a duplex
<toretore> no
mistermo_ has quit [Remote host closed the connection]
<amincd> IO.popen creates duplexes which is consistent with your explanation
jackjackdripper has quit [Quit: Leaving.]
ramfjord has quit [Ping timeout: 252 seconds]
infernix has joined #ruby
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dcunit3d has quit [Ping timeout: 240 seconds]
febuiles has quit [Quit: febuiles]
evansbee has quit [Ping timeout: 246 seconds]
Moosashi has quit [Quit: Moosashi]
tmtwd has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
hahuang62 has joined #ruby
KnownSy0 has joined #ruby
evansbee has joined #ruby
moos3 has joined #ruby
KnownSyntax has quit [Ping timeout: 260 seconds]
CloCkWeRX has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
palms has quit [Ping timeout: 246 seconds]
hahuang62 has quit [Ping timeout: 250 seconds]
KCmetro has quit [Quit: Leaving...]
ramfjord_ has quit [Ping timeout: 244 seconds]
ta_ has joined #ruby
sumangurung has quit [Quit: sumangurung]
evansbee has quit [Read error: No route to host]
KnownSy0 has quit [Read error: Connection reset by peer]
ruby-lang147 has quit [Ping timeout: 250 seconds]
KnownSy0 has joined #ruby
romistrub has joined #ruby
<romistrub> sigh... so TCPServer#accept is returning a TCPSocket, but when I do a TCPSocket#recv, I get a string with length zero. What gives?
freerobby has joined #ruby
<Radar> ?code
<ruby[bot]> We can't help you without your code, please post it to https://gist.github.com
xall_ has joined #ruby
<romistrub> Radar, it's long and multifile
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
<Radar> glhf then\
<romistrub> lol, thanks
<Radar> "Why am I getting this problem?!" "Show us the code" "Nope." "Nope."
<romistrub> I'm just saying, it's a lot of code... gimme a minute and I'll gist it
<adam12> romistrub: Passing any args to #recv?
<Radar> Small reproducible example would be handy.
charliesome has joined #ruby
<romistrub> can't get it to reproduce on a small scale
<romistrub> here's the whole of it
<romistrub> almost, I left out a little bit (framework/web_socket)
AcidCrash0x00 has quit [Read error: Connection reset by peer]
<Radar> Gist supports multiple files.
<Radar> Can you please split that up into multiple files?
<romistrub> oh; well I copied and pasted all of these to one file; thought it would be easier that way
AcidCrash has joined #ruby
<romistrub> basically, my expectation was that every time TCPServer#accept returned a TCPSocket, it meant that a browser was making an HTTP request to me server
cdg has quit [Ping timeout: 244 seconds]
<romistrub> But I'm getting "requests" of zero length
solocshaw has joined #ruby
<romistrub> I can easily filter out requests with zero length, but I'm confused as to why TCPServer#accept would return a TCPSocket whose contents (via #recv) are length 0
<romistrub> I'm new to Sockets in general, so I'm guessing it's a misunderstanding on my part
<romistrub> adam12, yeah, 1024
<adam12> romistrub: How are you testing the connections? browser?
<romistrub> adam12: yeah
<romistrub> is it a keepalive or something?
<adam12> Can you telnet to it locally and dump some crap through it, to see if it's actually receiving 0 length?
<Radar> romistrub: Did you add the websocket bit?
<romistrub> Radar: the Websocket element wasn't relevant, so I just didn't include it in the pastejob
Hobogrammer has joined #ruby
noodle has joined #ruby
<adam12> I guess I should of asked what protocol this was..
<romistrub> adam12: protocol is http
<romistrub> adam12: don't get me wrong, it's receiving all of the manual http requests fine
Moosashi has joined #ruby
eljimador has joined #ruby
<adam12> romistrub: So just browser requests are failing?
eljimmy has quit [Ping timeout: 260 seconds]
<romistrub> adam12: browser requests aren't failing
lightt has quit [Ping timeout: 240 seconds]
jei2 has quit [Quit: Leaving]
<adam12> You're receiving a zero length string...
<romistrub> yeah
<adam12> but other regular strings too
<romistrub> but only once and a while
<adam12> So you're just wondering about the zero length?
<adam12> Ah.
<romistrub> and not prompted by the requests I'm making manually
eljimmy has joined #ruby
<romistrub> yeah, where's it coming from?
moos3 has quit [Ping timeout: 244 seconds]
<romistrub> do browsers send keepalives or something without any http headers?
<adam12> It could be keepalive? if you see the headers come back through. You'd have to ack keepalive support.
bmurt has joined #ruby
<romistrub> ack?
northfurr has joined #ruby
<adam12> When you send content back, send keepalive header
<adam12> So they send it to you if they support it, if you support it you send it back
<romistrub> adam12: but do they send it firs?
<romistrub> t?
<adam12> They normally do, in the request. That's for HTTP1.0
<adam12> I'm not sure about 1.1. I'm assuming it's always persistent, but no keepalive.
<romistrub> adam12: jeez, that's obnoxious
<romistrub> what if I don't want those messages?
<romistrub> do I just ignore them?
<romistrub> or can I instruct to stop sending?
<adam12> You'd have to say you support them, so if not, don't send the header that in your response.
hanmac has quit [Ping timeout: 258 seconds]
<adam12> Do you see a Connection: keep-alive header during your requests?
<romistrub> well right now I have no response to that, as the length = 0 crashes my expectation that the request will have headers lol
<adam12> (ie through Developer Tools)
<romistrub> let me check
hanmac has joined #ruby
<romistrub> I'm sniffing the entire string that comes through, just checking my terminal
<romistrub> yeah, I get connection=>keep-alive
<adam12> on the response?
<adam12> or from the client?
xcesariox has joined #ruby
<romistrub> on the request
<romistrub> from the client
<adam12> Do you send it back?
<romistrub> nope
<adam12> Likely not keepalive then, imho.
<romistrub> you mean they're not attempting to keep it alive?
<adam12> Nope.
<romistrub> oh, crap, that made so much sense
<adam12> I don't think they send 'pings' or anything like that, just the server doesn't automatically close.
<romistrub> so the "ping" of 0 bytes only starts happening after a negotiation of sorts?
<romistrub> oh
<adam12> Is it possible that recv times out? I'm not deeply familiar with it.
<romistrub> it shouldn't even be getting to the point where recv is called unless a socket is opened
<romistrub> in other words, the recv should have bits immediately
<romistrub> and then I'd think it would return an error or something instead of just following through with zero bytes
Moosashi has quit [Quit: Moosashi]
gfvcastro has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
replay has quit []
charliesome has joined #ruby
charliesome has quit [Client Quit]
gfvcastro has quit [Client Quit]
CloCkWeRX has left #ruby [#ruby]
<romistrub> adam12: I should note that the error appears to happen "at random"
<adam12> romistrub: after the headers arrived or before?
<romistrub> after
<adam12> Could you use #gets instead of #recv?
wrkrcoop has quit [Quit: wrkrcoop]
<romistrub> I think I tried that and it didn't work, let me try again... why, what's the difference?
<adam12> I'm no socket guru so I am not sure if that would fix anything..
Ropeney has joined #ruby
<romistrub> I don't think that'll work; gets reads a line and stops once the line terminates
gfvcastro has joined #ruby
<adam12> Yeah, you'd likely have to loop
<adam12> and probably break on newline.
wixad_ has quit [Quit: Leaving]
<romistrub> I'm just trying to google "tcp socket receiving string of zero bytes"
Guest62079 has quit [Ping timeout: 250 seconds]
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adam12> romistrub: I have a super primitive example I mocked up, and exiting telnet ended up recv'ing an empty string. By design perhaps?
ur5us has quit [Remote host closed the connection]
<adam12> I mean, a socket closed on one end but not on the other
<romistrub> adam12: but in my case, I close the socket on the server end, after the one recv
<adam12> Hmm ;\
markfletcher has joined #ruby
Sashimi_ has joined #ruby
Sashimi_ has quit [Client Quit]
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
mistermo_ has joined #ruby
saneax is now known as saneax_AFK
hahuang62 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
dikaio has joined #ruby
dikaio has quit [Max SendQ exceeded]
karmatr0n has joined #ruby
agentmeerkat has joined #ruby
blackgoat has quit [Ping timeout: 252 seconds]
swills has joined #ruby
amincd has quit [Quit: Page closed]
LoneHerm_ has quit [Remote host closed the connection]
hahuang62 has quit [Ping timeout: 260 seconds]
sumobob has joined #ruby
mistermo_ has quit [Remote host closed the connection]
Coldblackice has quit [Ping timeout: 264 seconds]
jrafanie has joined #ruby
agentmeerkat has quit [Ping timeout: 264 seconds]
enterprisey has joined #ruby
wuyin has joined #ruby
wuyin has quit [Remote host closed the connection]
cbyrda has quit [Quit: Gone]
markfletcher has quit [Quit: Textual IRC Client: www.textualapp.com]
<romistrub> I simplified it to its bare minimum; on Chrome, I get the same bizarre behaviour.... a "request" of 0 bytes
roamingdog has quit [Remote host closed the connection]
pilne has quit [Quit: Quitting!]
zeroDi has quit [Quit: WeeChat 1.5]
<adam12> Does that code actually work?
<adam12> I get 1024, then 0 (after updating code to work)
ur5us has joined #ruby
<toretore> tcp connection != http request
Yzguy has joined #ruby
roamingdog has joined #ruby
smathy has joined #ruby
Rodya_ has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
<romistrub> adam12: yeah, it does
<romistrub> toretore: I realize that, but I didn't think the client would send anything over a TCPSocket unless it was an HTTP request
<romistrub> I created a barebones client, and it doesn't send any magic
<toretore> how do you reproduce this 0 byte request?
<romistrub> toretore: just make a request with google Chrome to localhots
<toretore> i did, 1024 bytes
<romistrub> first recv delivers 761 bytes; 5 to 10 seconds later the second recv generates 0 bytes
<toretore> is the second recv on the same socket?
<romistrub> nope, it would have to get past the accept, right?
bmurt has joined #ruby
bmurt has quit [Client Quit]
<romistrub> yeah; confirmed it's a different socket
ornerymoose has joined #ruby
dcunit3d has joined #ruby
<smathy> Hmm, I was about to suggest it would be a keep-alive, but I'd expect that on the same socket.
ornerymoose has quit [Read error: Connection reset by peer]
<romistrub> tried to recreate the browser behaviour using test_client.rb and sending "", but no socket was created
ornerymoose has joined #ruby
Rodya_ has joined #ruby
karmatr0n has quit [Ping timeout: 260 seconds]
<toretore> romistrub: gist the exact code you're using to observe this behavior
<romistrub> toretore: sure, 1 sec
<toretore> nm, i'm seeing it now
<toretore> just took a lot longer
<toretore> i'm guessing you're not actually replying to the initial request, so it's probably chome trying to see if the host is still available
<romistrub> toretore: even when I'm replying (which I was, before I minimalized the script), it still sent the 0-byte signal
<toretore> define replying
<romistrub> with HTML
<toretore> do you close the socket, and then chrome opens another connection?
<romistrub> toretore: yup
blackgoat has joined #ruby
<romistrub> is anybody has a different browser, it would be pertinent to test it on that, too
Rodya_ has quit [Ping timeout: 250 seconds]
<romistrub> just to see if this is a chrome particular
nankyokusei has joined #ruby
brian has joined #ruby
brian is now known as Guest31917
ornerymoose has quit [Quit: ornerymoose]
matp_ has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
<smathy> Doesn't happen here (from Chrome, ruby 2.3), I just get three attempts at 692 bytes.
matp has quit [Ping timeout: 272 seconds]
<romistrub> smathy, give it time, it takes up to 20 secs
_Tariq has joined #ruby
<smathy> I left it for 5 minutes.
<romistrub> hmmm
<romistrub> did you use the exact code I did?
<smathy> Except not port 80.
<romistrub> what port
Yiota has joined #ruby
<smathy> A high port, I don't have ruby set up for root.
jaguarmagenta has joined #ruby
<romistrub> smathy: tried it with 3000, still getting the 0
Yzguy has quit [Quit: Zzz...]
claw has quit [Read error: Connection reset by peer]
Yiota has quit [Ping timeout: 240 seconds]
<smathy> Yeah, it'd be hard to imagine it was something caused by a specific port. Maybe your Chrome is making the reconnection so quickly that by the time you're looping and accepting, the buffer is already empty. I'm not sure how TCPServer handles itself with that.
<smathy> What if you make a thread for the accept instead?
<enterprisey> Does Ruby have a method similar to Python's partition method for strings?
jaguarmagenta has quit [Ping timeout: 272 seconds]
<smathy> enterprisey, partition
<enterprisey> okay
claw has joined #ruby
northfurr has quit [Ping timeout: 246 seconds]
<romistrub> smathy: that wouldn't make sense; I check socket first and it's a new socket when I click recv
bfig has joined #ruby
<bfig> hello
<smathy> romistrub, well, the behavior you're explaining doesn't makes sense.
moos3 has joined #ruby
<bfig> I'm having issues running the ruby interp. It hangs as soon as I start it (ubuntu 16.04)
<romistrub> smathy: I know it doesn't; but it's what happens
<smathy> bfig, describe what you're doing and what's happening.
<smathy> romistrub, right, so no point dismissing things that also don't make sense. The problem you're seeing is already "out there".
<smathy> romistrub, take a look and see if the thread approach still shows the same issue.
<romistrub> smathy: I see what you're saying
Yiota has joined #ruby
<romistrub> a thread for what specifically?
Regulati_ has joined #ruby
mattwashere has joined #ruby
<bfig> smathy: I'm on the console, write 'ruby', press enter
<smathy> romistrub, like `Thread.start(t.accept) do |socket|` instead of just `t.accept` - and `end` after you `socket.close`
<romistrub> smathy: on it
<bougyman> 1~/44
<smathy> bfig, right, and you should see a blank line waiting for STDIN that at EOF ruby will then process.
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
RegulationD has quit [Ping timeout: 244 seconds]
<smathy> bfig, if you want an interactive shell, use irb (or pry is an enhanced version, but doesn't ship with ruby, you'd need to install the gem).
<bfig> smathy: great! thanks for the advice
<romistrub> smathy: same thing
<smathy> romistrub, oh well. I'm out of ideas.
<romistrub> smathy: yeah, me too
<smathy> romistrub, which version of ruby are you using? I arrived late.
moos3 has quit [Ping timeout: 264 seconds]
sdothum has joined #ruby
<romistrub> smathy: err... 2.2.3
<smathy> Are you stuck there for a reason? Try moving to the latest.
<romistrub> smathy: stupid question, but I looked it up before... how do I do that? I'm on Windows, which might be a limiting factor
<smathy> I just switched to 2.2.3 and I still don't see the issue.
<romistrub> Chrome version?
<smathy> Oh, heh, Windows :) Ok, totally different network stack so none of my tests are relevant.
chimkan has joined #ruby
<romistrub> 51.0.2704.103 m
<smathy> Same.
hahuang62 has joined #ruby
<chimkan> question
<romistrub> toretore duplicated the problem
<romistrub> answer
<chimkan> lol
<chimkan> does anyone have try to do machine learning with ruby?
<enterprisey> Any idea how I can change this regexp to get Ruby to stop complaining? /==\s?(\w+)\s?==/
<smathy> romistrub, long shot, but have you tried from a new incognito session?
<romistrub> smathy: interesting idea, 1 sec
<smathy> chimkan, they have, the work is a little stale now though. People have tended to use Python or other languages more than ruby.
<romistrub> same problem
mattwashere has quit [Remote host closed the connection]
<_Tariq> I know there is one ML algorithm that could be useful for web dev
<_Tariq> Let me see if I have it starred
<chimkan> smathy, thanks. I’m currently using python scikit or even spacy.io and creating a CLI that generates the predictions or results in json
<chimkan> I call my python cli within ruby via eval()
<chimkan> it works
<chimkan> but trying to see if there’s anything better
mattwashere has joined #ruby
hahuang62 has quit [Ping timeout: 272 seconds]
<_Tariq> I'd probably recommend using your approach
<_Tariq> Best tool for the job and all.
<_Tariq> But this library could be useful for sites that want to "recommend" other parts of the website
<_Tariq> using machine learning to select articles that are very close to the existing article in question
<_Tariq> So potentially useful for webdev work
<smathy> romistrub, first request 384 length (for localhost:3100) and then I get two more at 410 length (because Chrome has added a cache header to the retries). Never a 0 length. Running 2.2.3 or 2.3.1 - all the same.
<chimkan> _Tariq, that’s a very good one, I didn’t know that
rkazak has quit [Quit: Sleep.....ing....]
<romistrub> smathy: I'm trying firefox
gfvcastro has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<smathy> FF for me just has a single request at 298 and no retries.
<romistrub> smathy: same weirdness with firefox
<smathy> Safari has some retries, all of them have content.
<smathy> romistrub, yeah, I definitely suspect TCPServer more than I would Chrome.
_Tariq has quit []
<smathy> romistrub, maybe try with TCPSocket instead, see if you get the same issue.
<romistrub> smathy: one problem, I tried to send a null string using TCPSocket, and didn't get a string with zero length, I got nothing at all
<romistrub> smathy: tried that already, no such problem
<smathy> romistrub, what's "a null string"? You mean "\0" ?
<romistrub> smathy: ""
nerium has quit [Quit: nerium]
gfvcastro has joined #ruby
Dimik1 has joined #ruby
<Dimik1> dudes dudes
<Dimik1> how can i range a float number
<toretore> romistrub: you will see that chrome initializes a connection and then closes it some time later
<Radar> Dimik1: what
<shevy> Dimik1 what does this mean
<Dimik1> 0.01..0.10
<romistrub> toretore: but I get the 0-byte string on a different socket
<shevy> what should be the output of this
<Dimik1> something like for x in 0.01..0.10 do puts x end
<shevy> no I mean
<toretore> romistrub: what it's doing is making a "preconnect" in case it needs to make another request, then closes it after a timeout when it figures it doesn't need it after all
<shevy> what are the differential steps there?
<shevy> is it 0.01 0.02 etc... or is it 0.010 0.011 etc...
<romistrub> toretore: same thing on firefox, though
<toretore> the "random" element is that chrome has a "predictor" that tries to learn when to preconnect and not
<Dimik1> 0.01 0.02 etc
<Radar> >> a = (0.01)..(0.10); a.to_a
<ruby[bot]> Radar: # => can't iterate from Float (TypeError) ...check link for more (https://eval.in/592396)
<Radar> Neat.
<Dimik1> yeah
<Radar> >> ((0.01)..(0.10)).step(0.01).to_a
<ruby[bot]> Radar: # => [0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.1] (https://eval.in/592397)
<chimkan> (1..100).map {|i| i/100.to_f}
<shevy> yay Radar for the rescue
<Dimik1> neat solutions
<shevy> 0.09000000000000001 tripped me up in IRB for a moment :D
lalalaaa has quit [Ping timeout: 250 seconds]
<romistrub> toretore: thanks for giving me something to read up on
<romistrub> smathy: thanks for all your help
<toretore> romistrub: in practical terms: you have to check for eof on the socket in your read loop and discard it if a complete request hasn't come through
maloik has quit [Remote host closed the connection]
<smathy> romistrub, you mean that client code you're showing with the `socket.send ""` ? I get a zero length string btw.
maloik has joined #ruby
<smathy> ...your client code connecting to your server code.
northfurr has joined #ruby
SilverKey has joined #ruby
<romistrub> smathy: that's exactly what I mean
ornerymoose has joined #ruby
<romistrub> toretore: can u give me an example of using eof?
braincrash has quit [Quit: bye bye]
<smathy> romistrub, last thought, maybe there's an initial empty connection made, and then the browser sends headers in another send. Try doing a second `s << socket.recv(1024)` after your initial `s = socket.recv(1024)` - just as a diagnostic step.
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<romistrub> smathy: I'm pretty sure toretore figured out that it's a TCP Preconnect
Dimik1 has quit [Ping timeout: 244 seconds]
<romistrub> apparently Chrome doesn't start issuing preconnects until it's expected certain responses from a server, which explains why smathy didn't get the 0-byte recv
<toretore> romistrub: data = ''; loop{ data << socket.recv(1234); break if socket.eof? or can_has_request?(data) }
<toretore> open in chrome, then you will see that the preconnect gets made; then if you click the link it will use that connection for the request
<smathy> romistrub, ok cool.
karmatr0n has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
northfurr has quit [Quit: northfurr]
chimkan has quit [Quit: chimkan]
LoneHermit has joined #ruby
hk238 has joined #ruby
yfeldblum has quit [Remote host closed the connection]
mattwashere has quit [Read error: Connection reset by peer]
sumobob has quit [Ping timeout: 250 seconds]
gfvcastro has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mattwashere has joined #ruby
tmtwd has quit [Ping timeout: 244 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
braincras has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
toretore has quit [Ping timeout: 264 seconds]
LoneHermit has quit [Ping timeout: 272 seconds]
Niham has joined #ruby
k3rn31 has joined #ruby
SilverKey has quit [Quit: Halted.]
northfurr has joined #ruby
tmtwd has joined #ruby
mercerist has joined #ruby
yfeldblum has joined #ruby
ornerymoose has quit [Quit: ornerymoose]
tomchapin has joined #ruby
swills has quit [Ping timeout: 250 seconds]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gix has quit [Ping timeout: 272 seconds]
gfvcastro has joined #ruby
RegulationD has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
blackgoat has quit [Ping timeout: 260 seconds]
arlek has quit [Ping timeout: 240 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
aryaching has quit [Ping timeout: 272 seconds]
Azure has quit [Remote host closed the connection]
Regulati_ has quit [Ping timeout: 272 seconds]
gix has joined #ruby
mumbles has joined #ruby
mumbles has quit [Client Quit]
swills has joined #ruby
karmatr0n has quit [Ping timeout: 250 seconds]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermo_ has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
aryaching has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
hahuang62 has joined #ruby
northfurr has quit [Quit: northfurr]
agentmeerkat has joined #ruby
saneax_AFK is now known as saneax
pontiki has joined #ruby
toblogan has joined #ruby
toblogan has quit [Max SendQ exceeded]
hahuang62 has quit [Ping timeout: 258 seconds]
enterprisey has quit [Quit: Leaving]
agentmeerkat has quit [Ping timeout: 246 seconds]
jord-n has quit [Ping timeout: 264 seconds]
blackgoat has joined #ruby
mikecmpbll has quit [Quit: Textual IRC Client: www.textualapp.com]
toblogan has joined #ruby
toblogan has quit [Max SendQ exceeded]
bfig_ has joined #ruby
bfig has quit [Ping timeout: 272 seconds]
wuyin has joined #ruby
yardenbar has joined #ruby
roamingdog has quit [Remote host closed the connection]
dopie_ has joined #ruby
dopie_ has quit [Client Quit]
LACampbell has joined #ruby
roamingdog has joined #ruby
dopie_ has joined #ruby
ponga has joined #ruby
karmatr0n has joined #ruby
Mattx has quit [Quit: Leaving]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
globalall0c has quit [Ping timeout: 260 seconds]
tmtwd has quit [Ping timeout: 250 seconds]
enterprisey has joined #ruby
aryaching has quit [Ping timeout: 252 seconds]
k3rn31 has joined #ruby
dopie_ has quit [Quit: Lost terminal]
saneax is now known as saneax_AFK
iajrz has joined #ruby
nankyokusei has joined #ruby
rkazak has joined #ruby
howdoi has joined #ruby
iajrz` has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
moos3 has joined #ruby
jaguarmagenta has joined #ruby
arescorpio has quit [Quit: Leaving.]
iajrz has quit [Disconnected by services]
dextertzu has joined #ruby
sdothum has quit [Ping timeout: 258 seconds]
crystal77 has joined #ruby
iajrz` has quit [Ping timeout: 260 seconds]
moos3 has quit [Ping timeout: 250 seconds]
romistrub has quit [Ping timeout: 250 seconds]
LoneHermit has joined #ruby
sdothum has joined #ruby
sdothum has quit [Client Quit]
pawnbox has quit [Ping timeout: 260 seconds]
dopie_ has joined #ruby
terminalrecluse has joined #ruby
LoneHermit has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
hk238 has joined #ruby
Guest31917 has quit [Ping timeout: 264 seconds]
<shevy> hmm
ahuman_ has quit [Ping timeout: 250 seconds]
ahuman has joined #ruby
kknight has joined #ruby
LACampbell has left #ruby ["Ex-Chat"]
hahuang62 has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
Dimik1 has joined #ruby
hahuang62 has quit [Ping timeout: 250 seconds]
yardenbar has quit [Ping timeout: 276 seconds]
diegoaguilar has joined #ruby
johnny56_ has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yardenbar has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
bfig_ has left #ruby [#ruby]
saneax_AFK is now known as saneax
kareeoleez has joined #ruby
der-landgraf has quit [Quit: WeeChat 1.5]
Sangwoo has joined #ruby
yardenbar has quit [Ping timeout: 276 seconds]
brian has joined #ruby
* Dimik np: Ernis - 1 Hour Dark Drum and Bass Mix [55:20m/235kbps/44kHz]
brian is now known as Guest39618
Sangwoo has quit [Quit: leaving]
sauvin has joined #ruby
cyphase has joined #ruby
enterprisey has quit [Remote host closed the connection]
Rickmasta has quit [Ping timeout: 260 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
ych has joined #ruby
<Radar> Dimik: no thanks
_mak_ has joined #ruby
djbkd has joined #ruby
duncannz has joined #ruby
emilkarl has joined #ruby
<_mak_> so, I have this endpoint JSON URI that requires me to be authenticated with cookies. I'm currently using watir to open a browser and authenticate th session. How could I authenticate my script without resorting to watir?
hk238 has joined #ruby
ych has quit [Ping timeout: 276 seconds]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ngw has joined #ruby
karmatr0n has quit [Ping timeout: 276 seconds]
Niham has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
atm0sphere has joined #ruby
Nawn has joined #ruby
d0lph1n98 has joined #ruby
Nawn has quit [Remote host closed the connection]
Rickmasta has joined #ruby
craigp_ has quit [Ping timeout: 244 seconds]
bluOxigen has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
hahuang62 has joined #ruby
northfurr has joined #ruby
raeoks has joined #ruby
n1x-nz has joined #ruby
gfvcastro has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gfvcastro has joined #ruby
northfurr has quit [Client Quit]
guardianJ has joined #ruby
hahuang62 has quit [Ping timeout: 260 seconds]
djbkd has quit [Quit: My people need me...]
last_staff has joined #ruby
gfvcastro has quit [Client Quit]
mradmacher has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
ngw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
emilkarl has quit [Read error: Connection reset by peer]
amclain has quit [Quit: Leaving]
pawnbox has joined #ruby
the_drow has joined #ruby
codecop has joined #ruby
TomyLobo has joined #ruby
pandaant has joined #ruby
guardianJ has quit [Remote host closed the connection]
aryaching has joined #ruby
PlasmaStar has quit [Ping timeout: 246 seconds]
ta_ has quit [Remote host closed the connection]
Niham has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
mercerist has quit [Quit: Computer has gone to sleep.]
aryaching has joined #ruby
pawnbox has quit [Remote host closed the connection]
* Dimik np: - Dark Drum & Bass MIX - [VOL.3] [80:00m/320kbps/44kHz]
djbkd has joined #ruby
<Dimik> stupid script
<Dimik> sorry
rkazak has quit [Quit: Sleep.....ing....]
pawnbox has joined #ruby
moos3 has joined #ruby
PlasmaStar has joined #ruby
binaryplease1 has joined #ruby
binaryplease has quit [Ping timeout: 246 seconds]
emilkarl has joined #ruby
yfeldblum has quit [Remote host closed the connection]
moos3 has quit [Ping timeout: 276 seconds]
LoneHermit has joined #ruby
blaxter has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
roamingdog has quit [Remote host closed the connection]
nankyokusei has joined #ruby
aryaching has joined #ruby
madgen has joined #ruby
firstdayonthejob has joined #ruby
LoneHermit has quit [Ping timeout: 250 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
fenre has joined #ruby
binaryplease1 is now known as binaryplease
dcunit3d has quit [Ping timeout: 272 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
karmatr0n has joined #ruby
Regulati_ has joined #ruby
anisha has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
Madplatypus has joined #ruby
emilkarl has quit [Quit: Textual IRC Client: www.textualapp.com]
vuoto has joined #ruby
karmatr0n has quit [Ping timeout: 276 seconds]
zacstewart has quit [Ping timeout: 252 seconds]
TomyLobo has quit [Ping timeout: 264 seconds]
TomyLobo has joined #ruby
bigkevmcd has joined #ruby
roamingdog has joined #ruby
conta has joined #ruby
der-landgraf has joined #ruby
firstdayonthejob has quit [Ping timeout: 260 seconds]
TomyLobo has quit [Ping timeout: 264 seconds]
Dimik1 has quit [Ping timeout: 244 seconds]
madgen has quit [Ping timeout: 272 seconds]
emiltin has joined #ruby
User458764 has joined #ruby
timfoo has joined #ruby
Ishido has joined #ruby
timfoo has quit [Client Quit]
roamingdog has quit [Remote host closed the connection]
ta_ has joined #ruby
spiette has joined #ruby
ur5us has joined #ruby
roamingdog has joined #ruby
ur5us has quit [Remote host closed the connection]
vdamewood has joined #ruby
gettalong has joined #ruby
<Sp4rKy> laurent2: oui t'as vu j'ai été gentil :p
<Sp4rKy> oups
Niham has quit [Ping timeout: 244 seconds]
Niham_ has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Ropeney has quit [Ping timeout: 260 seconds]
dionysus69 has joined #ruby
andikr has joined #ruby
craigp_ has joined #ruby
SolarSailor has joined #ruby
xall_ has quit [Ping timeout: 272 seconds]
twe4ked has quit [Ping timeout: 250 seconds]
ruby-lang467 has joined #ruby
voxxit has quit [Ping timeout: 240 seconds]
fullstack has quit [Ping timeout: 240 seconds]
aredridel has quit [Ping timeout: 240 seconds]
beawesomeinstead has quit [Ping timeout: 272 seconds]
zack6849 has quit [Ping timeout: 240 seconds]
nadir has quit [Ping timeout: 260 seconds]
aredridel has joined #ruby
Akuma0n3 has joined #ruby
voxxit has joined #ruby
yardenbar has joined #ruby
spiette has quit [Quit: :qa!]
xall_ has joined #ruby
fullstack has joined #ruby
Akuma has quit [Ping timeout: 258 seconds]
zack6849 has joined #ruby
zack6849 has quit [Changing host]
zack6849 has joined #ruby
SolarSailor has quit [Quit: Textual IRC Client: www.textualapp.com]
jgt has joined #ruby
madgen has joined #ruby
twe4ked has joined #ruby
aufi has joined #ruby
djbkd has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 276 seconds]
agit0 has joined #ruby
aries_liuxueyang has quit [Ping timeout: 276 seconds]
antgel has joined #ruby
cevett_ has joined #ruby
beawesomeinstead has joined #ruby
aries_liuxueyang has joined #ruby
cevett has quit [Ping timeout: 240 seconds]
karmatr0n has joined #ruby
<p1k> _mak_: you can set cookie headers on programatic requests just as with a browser, but if you want api access to your endpoint tokens are the more correct way
aganov has joined #ruby
ruby-lang467 has quit [Ping timeout: 250 seconds]
the_drow has joined #ruby
karmatr0n has quit [Ping timeout: 250 seconds]
Silthias has quit [Ping timeout: 240 seconds]
vdamewood has quit [Ping timeout: 252 seconds]
galeido_ is now known as galeido
jaguarmagenta has quit [Remote host closed the connection]
Akuma0n3 has quit [Read error: Connection reset by peer]
Akuma0n3 has joined #ruby
Silthias has joined #ruby
galeido has quit [Changing host]
galeido has joined #ruby
joonty has joined #ruby
Hounddog has joined #ruby
ur5us has joined #ruby
roamingdog has quit [Remote host closed the connection]
infra-red has joined #ruby
infra-red has quit [Client Quit]
vuoto has quit [Remote host closed the connection]
multi_io has quit [Ping timeout: 252 seconds]
multi_io has joined #ruby
mistermocha has joined #ruby
SuperLag has quit [Ping timeout: 260 seconds]
k3rn31 has quit [Quit: Computer has gone to sleep.]
agentmeerkat has joined #ruby
mistermo_ has quit [Ping timeout: 244 seconds]
edwinvdgraaf has joined #ruby
ngw has joined #ruby
SuperLag has joined #ruby
mistermo_ has joined #ruby
mistermocha has quit [Ping timeout: 240 seconds]
mistermo_ has quit [Read error: Connection reset by peer]
mradmacher has quit [Ping timeout: 244 seconds]
agentmeerkat has quit [Ping timeout: 244 seconds]
mooru has joined #ruby
ta_ has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
ta_ has joined #ruby
moos3 has joined #ruby
Akuma0n3 has quit [Read error: Connection reset by peer]
elaptics`away is now known as elaptics
Akuma0n3 has joined #ruby
gettalong has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
beawesomeinstead has quit [Remote host closed the connection]
yfeldblum has joined #ruby
k3rn31 has joined #ruby
noodle has quit [Ping timeout: 260 seconds]
moos3 has quit [Ping timeout: 244 seconds]
Coldblackice has joined #ruby
Axy has quit [Ping timeout: 244 seconds]
jaruga___ has joined #ruby
beawesomeinstead has joined #ruby
kp666 has joined #ruby
lalalaaa_ has joined #ruby
john0123 has quit [Quit: Connection closed for inactivity]
Hyuk has joined #ruby
Beverage is now known as Wsewolod
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
ocbtec has joined #ruby
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
skade has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
nankyokusei has joined #ruby
dcunit3d has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
Macaveli has joined #ruby
emiltin has quit [Quit: Computer has gone to sleep.]
HalpMe has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 258 seconds]
Guest91763 is now known as ndrst
ruby[bot] has joined #ruby
HalpMe has left #ruby [#ruby]
Sashimi_ has joined #ruby
mrgrieves has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
aryaching has quit [Read error: Connection reset by peer]
dcunit3d has quit [Ping timeout: 264 seconds]
blackgoat has quit [Ping timeout: 240 seconds]
edwinvdgraaf has joined #ruby
karmatr0n has joined #ruby
zacstewart has joined #ruby
madgen has quit [Ping timeout: 260 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
jaruga___ has quit [Quit: jaruga___]
pawnbox has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
tvw has joined #ruby
zacstewart has quit [Ping timeout: 240 seconds]
norc has joined #ruby
gettalong has joined #ruby
Sashimi_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 250 seconds]
fenre has quit [Remote host closed the connection]
tvw has quit []
roamingdog has joined #ruby
hanmac has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
hanmac has joined #ruby
kedare has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moos3 has joined #ruby
nhhc has joined #ruby
minimalism has quit [Quit: minimalism]
Mia has quit [Read error: Connection reset by peer]
AnoHito has quit [Read error: Connection reset by peer]
bnagy_ has quit [Ping timeout: 240 seconds]
nadir has joined #ruby
lxsameer has joined #ruby
Moosashi has joined #ruby
kareeole_ has joined #ruby
n1x-nz has quit [Quit: Computer says no]
Xeago_ has joined #ruby
yfeldblum has joined #ruby
kareeoleez has quit [Ping timeout: 272 seconds]
roamingdog has quit [Remote host closed the connection]
mistermocha has joined #ruby
dionysus69 has joined #ruby
Spami has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
mistermo_ has joined #ruby
mistermocha has quit [Ping timeout: 240 seconds]
mistermo_ has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
yxdjlr has joined #ruby
minimalism has joined #ruby
mistermo_ has joined #ruby
Hyuk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moos3 has quit [Ping timeout: 260 seconds]
misterm__ has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
mistermocha has quit [Ping timeout: 272 seconds]
mistermocha has joined #ruby
Snowy has joined #ruby
bnagy has joined #ruby
the_drow has joined #ruby
mistermo_ has quit [Ping timeout: 250 seconds]
thoraxe has quit [Ping timeout: 246 seconds]
the_drow has quit [Client Quit]
Moosashi has quit [Quit: Moosashi]
mistermo_ has joined #ruby
misterm__ has quit [Ping timeout: 250 seconds]
oshanz has joined #ruby
thoraxe has joined #ruby
mistermo_ has quit [Read error: Connection reset by peer]
mistermo_ has joined #ruby
roamingdog has joined #ruby
kareeole_ is now known as kareeoleez
Hyuk has joined #ruby
Mia has joined #ruby
mistermocha has quit [Ping timeout: 258 seconds]
roamingdog has quit [Remote host closed the connection]
brendan- has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest39618 has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
misterm__ has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
mistermo_ has quit [Ping timeout: 260 seconds]
nofxx has quit [Ping timeout: 260 seconds]
misterm__ has quit [Ping timeout: 250 seconds]
<oshanz> hi all, i'm new to ruby. as of github repository there are only 40 ruby contributors. like to know is that wrong or else why?.
joes_ has joined #ruby
joes_ has quit [Client Quit]
joes_ has joined #ruby
joes_ has quit [Client Quit]
kareeoleez has quit [Remote host closed the connection]
chip_ has joined #ruby
moei has quit [Quit: Leaving...]
_joes__ has joined #ruby
Xeago_ has quit [Remote host closed the connection]
Sashimi_ has joined #ruby
moei has joined #ruby
Xeago_ has joined #ruby
giz|work has joined #ruby
lalalaaa_ has quit [Quit: leaving]
Coldblackice has quit [Ping timeout: 244 seconds]
ur5us has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
edwinvdg_ has joined #ruby
madgen has joined #ruby
<maloik> oshanz there's no way to tell... a very small library could be "completely done" and see no commits for years, and have a single committer
the_drow has joined #ruby
<maloik> for other things you'd want more updates and probably a bigger team behind it, but it's all subjective
edwinvdgraaf has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
<hanmac> depends ... i did something big like a ruby binding for wxWidgets all by my self
lukebyrne has joined #ruby
karmatr0n has joined #ruby
zacstewart has joined #ruby
emiltin has joined #ruby
Hyuk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> I think they're talking about github.com/ruby/ruby
tvw has quit [Read error: Connection reset by peer]
<hanmac> jhass: yeah i see it myself ... there are only 40, but they are very active in commiting
<jhass> oshanz: ^ is only a mirror of the SVN repo where the development actually happens. Githubs contributor graph only shows people it could identify (knows the mail address of)
<maloik> nice reading skills, I did not catch that :)
karmatr0n has quit [Ping timeout: 260 seconds]
noodle has joined #ruby
zacstewart has quit [Ping timeout: 250 seconds]
jaguarmagenta has joined #ruby
elaptics is now known as elaptics`away
<oshanz> :relieved: thanks.
<jhass> oshanz: take the second newest commit for example https://github.com/ruby/ruby/commit/0f8a24a706e1e598a0e4bfaff3df0e0f8fc88d8c
bnagy has quit [Ping timeout: 252 seconds]
<jhass> github couldn't associate it to a github profile and so it won't show up in the contributors list
emiltin has quit [Quit: Computer has gone to sleep.]
zeroDi has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
<oshanz> hope there will be a solution. contributors deserve it.
kknight has quit [Ping timeout: 264 seconds]
<jhass> github is not source of truth here
<jhass> don't make it more important than it is
<norc> You are right jhass.
<norc> Slashdot is.
Hyuk has joined #ruby
Hyuk has quit [Max SendQ exceeded]
lukebyrne has quit [Quit: lukebyrne]
workmad3 has joined #ruby
bnagy has joined #ruby
Niham_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marr has joined #ruby
<oshanz> sory. i didn't mean anything like that. just i prefer github. btw thanks for information.
gettalong has quit [Ping timeout: 272 seconds]
bruce_lee has joined #ruby
koooge has quit [Quit: Leaving...]
agentmeerkat has joined #ruby
oshanz has quit [Quit: Page closed]
roamingdog has joined #ruby
LoneHermit has joined #ruby
bnagy has quit [Ping timeout: 276 seconds]
elaptics`away is now known as elaptics
marr has quit []
gettalong has joined #ruby
raeoks has quit [Read error: Connection reset by peer]
marr has joined #ruby
agentmeerkat has quit [Ping timeout: 252 seconds]
roamingdog has quit [Ping timeout: 244 seconds]
fenre has joined #ruby
ocbtec has quit [Quit: leaving]
LoneHermit has quit [Ping timeout: 252 seconds]
yeticry has quit [Ping timeout: 240 seconds]
Xeago_ has quit [Remote host closed the connection]
yeticry has joined #ruby
kareeoleez has joined #ruby
bnagy has joined #ruby
blaxter has quit [Quit: foo]
lightt has joined #ruby
edwinvdg_ has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
mercerist has joined #ruby
mooru has quit [Ping timeout: 264 seconds]
mooru has joined #ruby
bnagy has quit [Ping timeout: 276 seconds]
moeabdol has joined #ruby
norc has quit [Ping timeout: 250 seconds]
slackbotgz has joined #ruby
emiltin has joined #ruby
sdothum has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
bluOxigen has quit [Ping timeout: 250 seconds]
mistermocha has joined #ruby
jaruga___ has joined #ruby
Niham has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
bnagy has joined #ruby
Niham has quit [Max SendQ exceeded]
nankyokusei has joined #ruby
<ponga> what channel should i be asking general programming related question
Mia has quit [Read error: Connection reset by peer]
Niham has joined #ruby
Niham has quit [Max SendQ exceeded]
dcunit3d has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
<jhass> I think there's a #programming or ##programming? but eh, here's probably fine too
Niham has joined #ruby
conta has quit [Ping timeout: 240 seconds]
DoubleMalt has quit [Ping timeout: 240 seconds]
Niham has quit [Max SendQ exceeded]
bnagy has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
<ponga> pypy and crystal lang says its compiler is written in of language itself, why does that work? does CPU/OS naturally understands compiler?
bnagy has joined #ruby
Niham has joined #ruby
<ponga> its very dumbass question but it always tickled my mind
tesuji_ has quit [Read error: Connection reset by peer]
johnmilton has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 244 seconds]
dcunit3d has quit [Ping timeout: 240 seconds]
Dysp has joined #ruby
conta has joined #ruby
Ropeney has joined #ruby
<jhass> ponga: Crystal was bootstrapped with Ruby, pypy (I guess) with CPython (the main/offical one)
<jhass> once you have a basic compiler/interpreter running written in another language, you can then proceed to rewriting it in your own language
karmatr0n has joined #ruby
duncannz has quit [Remote host closed the connection]
<jhass> So for Crystal, you have the Crystal compiler written in Ruby, which can then compile a compiler written in Crystal
zacstewart has joined #ruby
<jhass> that resulting compiler you can then use to compile the next version of the compiler you wrote in Crystal
<ponga> damn
mrmortondk has joined #ruby
bweston92 has joined #ruby
<ponga> jhass: sounds crazy but thanks
emiltin has quit [Quit: Computer has gone to sleep.]
bnagy has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
<jhass> the lession to learn here is that a compiler is nothing special, it's just a program that reads text, interprets it, and generates some kind of output of it, be it other text (source to source compiler), machine code (source to binary compiler) or whatever else really
<ponga> ah
<ponga> yeah
<ponga> that's right!
<ponga> finally got it
karmatr0n has quit [Ping timeout: 244 seconds]
atm0sphere has quit [Quit: Leaving]
<jhass> and the input is actually not even limited to text, see for example the piet programming language or one could argue that disassemblers are compilers too
zacstewart has quit [Ping timeout: 258 seconds]
emiltin has joined #ruby
ocbtec has joined #ruby
GodFather has joined #ruby
chip_ has quit [Ping timeout: 260 seconds]
DoubleMalt has joined #ruby
Xeago_ has joined #ruby
yxdjlr has quit [Remote host closed the connection]
d0nn1e has quit [Ping timeout: 264 seconds]
User458764 has joined #ruby
d0nn1e has joined #ruby
gettalong has quit [Ping timeout: 260 seconds]
slackbotgz has quit [Remote host closed the connection]
Snowy has quit [Remote host closed the connection]
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
Gasher has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
Snowy has joined #ruby
Rickmasta has quit [Ping timeout: 252 seconds]
nadir has quit [Quit: Connection closed for inactivity]
Rickmasta has joined #ruby
rodfersou has joined #ruby
mikecmpbll has joined #ruby
gnufied has joined #ruby
nhhc has quit [Ping timeout: 264 seconds]
blaxter has joined #ruby
johnmilton has joined #ruby
gettalong has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mercerist has joined #ruby
emiltin has quit [Quit: Computer has gone to sleep.]
mercerist has quit [Client Quit]
mercerist has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Rickmasta has quit [Ping timeout: 276 seconds]
<Dysp> If I want to make methods private, like all except one, is there an easier way to do this than to simply private all of those who need be?
Rickmasta has joined #ruby
<Dysp> I mean, could you write something like "private all except x, y"?
<ljarvis> Dysp: in theory, yes
<Dysp> But we don't do that, now, do we?
<Dysp> :P
d0lph1n98 has quit [Ping timeout: 246 seconds]
madgen has quit [Ping timeout: 272 seconds]
mooru has quit [Ping timeout: 260 seconds]
<ljarvis> no.. but, surely you could just have any public methods at the top, then use the private keyword without any args, and have all methods below it private?
dionysus69 has quit [Ping timeout: 244 seconds]
hanmac has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
hanmac has joined #ruby
<Dysp> Alrighty. Thx.
sepp2k has joined #ruby
mistermocha has joined #ruby
pawnbox has quit [Remote host closed the connection]
Xeago_ has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
bnagy has joined #ruby
vdamewood has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
Macaveli has joined #ruby
emiltin has joined #ruby
fujinuma has joined #ruby
karmatr0n has joined #ruby
<fujinuma> what is the fastest way to get ruby's default load path?
<fujinuma> instead; ruby -e 'puts $:'
emiltin has quit [Client Quit]
zacstewart has joined #ruby
<fujinuma> ruby.vim uses that expression but it's too much slow.
matp_ is now known as matp
ornerymoose has joined #ruby
bnagy has quit [Ping timeout: 264 seconds]
ornerymoose has quit [Client Quit]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago_ has quit [Remote host closed the connection]
Hates_ has quit [Ping timeout: 258 seconds]
acalewin has quit [Ping timeout: 258 seconds]
Hates_ has joined #ruby
tfitts has quit [Quit: Connection closed for inactivity]
Xeago_ has joined #ruby
zipkid has quit [Ping timeout: 258 seconds]
armyriad has quit [Ping timeout: 244 seconds]
acalewin has joined #ruby
karmatr0n has quit [Ping timeout: 240 seconds]
ldnunes has joined #ruby
jaguarmagenta has joined #ruby
zipkid has joined #ruby
mdw has joined #ruby
Ropeney has joined #ruby
zacstewart has quit [Ping timeout: 260 seconds]
hanmac has quit [Ping timeout: 258 seconds]
skade has quit [Quit: Computer has gone to sleep.]
<jhass> fujinuma: you can speed it up a little with --disable-gems
<jhass> I doubt gem env is any faster
agit0 has joined #ruby
gnufied has quit [Quit: Leaving]
gettalong has quit [Ping timeout: 260 seconds]
armyriad has joined #ruby
<fujinuma> jhass: what's the equivalent of puts $: in gem env?
<fujinuma> gem env what?
shinnya has joined #ruby
<jhass> gem env gempath I think?
jaguarmagenta has quit [Ping timeout: 264 seconds]
<jhass> mh no, it's not even the same, nvm
agit0 has quit [Client Quit]
<fujinuma> jhass: thank you for the --disable-gem flag it's much faster.
gnufied has joined #ruby
Xeago_ has quit [Remote host closed the connection]
aries_liuxueyang has quit [Ping timeout: 240 seconds]
moos3 has joined #ruby
yottanami has joined #ruby
<yottanami> I have an array like this `[{:name=>"Maz", :age=>22}, {:name=>"Alex", :age=>2}]` now I want update it and change the age of Alex, how can I do using Ruby
aries_liuxueyang has joined #ruby
lukebyrne has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
d0lph1n98 has joined #ruby
Ishido has quit [Remote host closed the connection]
<fujinuma> yottanami: arr.each{|item| item[:key] = "blah" if item[:key]== "Alex"}
bnagy has joined #ruby
Ishido has joined #ruby
emiltin has joined #ruby
<fujinuma> yottanami: `arr.each { |person| person[:name] = "blah" if person[:name] == 'Alex'}` this looks nicer :)
lukebyrne has quit [Client Quit]
emiltin has quit [Client Quit]
rodferso1 has joined #ruby
kknight has joined #ruby
ldnunes_ has joined #ruby
Xeago_ has joined #ruby
bnagy has quit [Ping timeout: 260 seconds]
<shevy> and another one array = [{:name=>"Maz", :age=>22}, {:name=>"Alex", :age=>2}]; array.select {|entry| entry[:name] == 'Alex' }.first[:name] = 'John Doe' # => # => [{:name=>"Maz", :age=>22}, {:name=>"John Doe", :age=>2}]
<shevy> but in general, if you store it as a hash already, don't put it into an Array on top of that
ramfjord has quit [Ping timeout: 272 seconds]
hanmac has joined #ruby
Xeago_ has quit [Remote host closed the connection]
rodfersou has quit [Ping timeout: 260 seconds]
agentmeerkat has joined #ruby
TomyWork has joined #ruby
jord-n has joined #ruby
joonty has joined #ruby
mradmacher has joined #ruby
ldnunes_ has quit [Quit: Leaving]
gheegh has joined #ruby
agentmeerkat has quit [Ping timeout: 272 seconds]
Xeago_ has joined #ruby
chimkan has joined #ruby
fmcgeough has joined #ruby
rodferso1 is now known as rodfersou
bnagy has joined #ruby
f4cl3y has joined #ruby
agit0 has joined #ruby
moos3_ has joined #ruby
pawnbox has joined #ruby
moos3 has quit [Read error: Connection reset by peer]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
k3rn31 has joined #ruby
<shevy> hmmmmmm
<shevy> the ninja image rules though
ornerymoose has joined #ruby
<shevy> oh... it is more like rvm, not homebrew
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
synthroid has joined #ruby
strigon33 has joined #ruby
ornerymoose_ has joined #ruby
jmignault has joined #ruby
Ropeney has joined #ruby
ornerymoose has quit [Ping timeout: 244 seconds]
ornerymoose_ is now known as ornerymoose
arne_ has joined #ruby
aries_liuxueyang has quit [Ping timeout: 260 seconds]
aries_liuxueyang has joined #ruby
kspencer has quit [Ping timeout: 244 seconds]
<arne_> grml, how does one insert a tag in a text node with nokogiri?
neha- has joined #ruby
madgen has joined #ruby
lightt has quit [Remote host closed the connection]
emilkarl has joined #ruby
strigonLeader has quit [Ping timeout: 240 seconds]
skade has joined #ruby
DTZUBDUB has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
allcentury has joined #ruby
madgen has quit [Ping timeout: 260 seconds]
GodFather has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
freerobby has joined #ruby
moos3_ has quit [Ping timeout: 240 seconds]
dcunit3d has joined #ruby
cevett_ has quit [Quit: Leaving]
gettalong has joined #ruby
cevett_ has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
cevett_ has quit [Client Quit]
cevett has joined #ruby
jrafanie has joined #ruby
swills has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
madgen has joined #ruby
aufi has quit [Ping timeout: 260 seconds]
gfvcastro has joined #ruby
<hanmac> arne_: hm textnodes should not be able to have tags ... normally you would need to replace the text node ... but i currently don't know how ... i need to look it up
dcunit3d has quit [Ping timeout: 244 seconds]
karmatr0n has joined #ruby
zacstewart has joined #ruby
mistermocha has joined #ruby
edwinvdg_ has joined #ruby
Xeago_ has quit [Remote host closed the connection]
Xeago_ has joined #ruby
gettalong has quit [Ping timeout: 276 seconds]
rkazak has joined #ruby
aupadhye has joined #ruby
<jhass> shevy: http://linuxbrew.sh/
karmatr0n has quit [Ping timeout: 250 seconds]
edwinvdgraaf has quit [Ping timeout: 260 seconds]
<arne_> hanmac: guess i will have to "split" the text node, insert a node in between
<arne_> :/
zacstewart has quit [Ping timeout: 240 seconds]
mistermocha has quit [Ping timeout: 250 seconds]
<hanmac> arne_: yeah i think that is what need to be done ... i don't know if nokogiri has a helper for that :/ you might ask at #nokogiri
k3rn31 has quit [Quit: Computer has gone to sleep.]
<arne_> there is .swap which swaps a node with another node(set)
<arne_> which makes this pretty easy, i will see
Dysp has quit [Quit: Page closed]
YaknotiS has quit [Quit: Leaving]
mistermocha has joined #ruby
<arne_> so wait, people built a package manager for macosx, so they can install stuff linux user always have
chip_ has joined #ruby
<arne_> and someone sits down and builds a packagemanager so he can install those packages on his linux machine?
YaknotiS has joined #ruby
hutch34 has joined #ruby
mistermo_ has joined #ruby
Vile` has quit [Ping timeout: 240 seconds]
rkazak has quit [Quit: Sleep.....ing....]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
szybkapoczta has joined #ruby
chemiazpolski has joined #ruby
chemiazpolski has quit [Remote host closed the connection]
mistermo_ has quit [Ping timeout: 250 seconds]
kknight has quit [Remote host closed the connection]
szybkapoczta has quit [Client Quit]
Rodya_ has joined #ruby
strigonLeader has joined #ruby
szybkapoczta has joined #ruby
Xeago_ has quit [Remote host closed the connection]
szybkapoczta has quit [Client Quit]
chemiazpolski has joined #ruby
neha- has quit [Ping timeout: 276 seconds]
strigon33 has quit [Ping timeout: 246 seconds]
mistermocha has joined #ruby
Sashimi_ is now known as help
bmurt has joined #ruby
help is now known as Guest45078
mistermo_ has joined #ruby
chemiazpolski has quit [Client Quit]
Guest45078 is now known as Sashimi
mistermocha has quit [Ping timeout: 250 seconds]
mistermo_ has quit [Read error: Connection reset by peer]
Rodya_ has quit [Remote host closed the connection]
mrmortondk has quit [Read error: Connection reset by peer]
<jhass> amazing, isn't it?
mrmortondk has joined #ruby
last_staff has quit [Quit: last_staff]
<jhass> well linuxbrew does make sense for shared stuff where you can only install to $HOME actually ;)
<jhass> toastball's toast is a bit dated these days
eljimmy has quit [Quit: This computer has gone to sleep]
Xeago_ has joined #ruby
c0mrad3 has joined #ruby
spiette has joined #ruby
jgt1 has joined #ruby
Sashimi is now known as toto
mattwashere has quit [Remote host closed the connection]
toto is now known as Sashimi
ChiefAlexander has joined #ruby
Xeago_ has quit [Remote host closed the connection]
chip_ has quit [Ping timeout: 260 seconds]
jgt has quit [Ping timeout: 244 seconds]
mshowman has joined #ruby
toretore has joined #ruby
moos3 has joined #ruby
Macaveli has joined #ruby
gfvcastro has quit [Quit: Textual IRC Client: www.textualapp.com]
gfvcastro has joined #ruby
SirOliver has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.5]
edwinvdg_ has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
nerium has joined #ruby
Yiota has joined #ruby
A124 has quit [Quit: '']
pawnbox has quit [Remote host closed the connection]
nhhc has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
gfvcastro has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
mattwashere has joined #ruby
mattwashere has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
mshowman has quit [Quit: Textual IRC Client: www.textualapp.com]
A124 has joined #ruby
aegis3121 has joined #ruby
gfvcastro has joined #ruby
Vile` has joined #ruby
mtkd has quit [Ping timeout: 244 seconds]
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
mtkd has joined #ruby
GodFather_ has joined #ruby
noway_ has joined #ruby
GodFather has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 258 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
malconis has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
mostlybadfly has quit [Quit: Connection closed for inactivity]
pawnbox has quit [Remote host closed the connection]
nettoweb has joined #ruby
strigon33 has joined #ruby
zacstewart has joined #ruby
edwinvdgraaf has joined #ruby
strigonLeader has quit [Ping timeout: 246 seconds]
prestorium has joined #ruby
karmatr0n has joined #ruby
isxek has joined #ruby
moeabdol has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
freerobby has quit [Quit: Leaving.]
symm- has joined #ruby
VeryBewitching has joined #ruby
karmatr0n has quit [Ping timeout: 240 seconds]
SirOliver has quit [Quit: ZZZzzz…]
eljimmy has joined #ruby
bkxd has joined #ruby
SilverKey has joined #ruby
pawnbox has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Quit: WeeChat 0.4.2]
craigp_ has quit [Quit: WeeChat 1.5]
craigp has joined #ruby
pontiki has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hinbody has joined #ruby
ta_ has quit [Remote host closed the connection]
M-mistake has quit [Ping timeout: 244 seconds]
M-shine has quit [Ping timeout: 246 seconds]
merceris_ has joined #ruby
M-Kodo has quit [Ping timeout: 260 seconds]
lxsameer has quit [Quit: WeeChat 1.5]
aryaching has joined #ruby
hk238 has joined #ruby
gfvcastro has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ifsp has joined #ruby
mercerist has quit [Ping timeout: 250 seconds]
insanedreamer has joined #ruby
palms has joined #ruby
`tim` has joined #ruby
dasher00 has quit [Quit: Leaving]
skade has quit [Quit: Computer has gone to sleep.]
dasher00 has joined #ruby
sergio_101 has joined #ruby
User458764 has joined #ruby
northfurr has joined #ruby
LoneHerm_ has joined #ruby
<User458764> Hi, when using block methods like array.collect {} how do you refer to the instance. I see something very cool in Swift which do that but I can't reproduce it in ruby
wigust has joined #ruby
agentmeerkat has joined #ruby
Niham has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
andikr has quit [Remote host closed the connection]
<toretore> you can't
<jhass> what does "the instance" even mean here?
<jhass> the array?
<User458764> toretore oh great I see finally an interest to Swift over ruby :)
<User458764> jhass yes
<jhass> yes you can't, you have to closure the initial variable
<pontiki> array
<User458764> I thought a self will does the job but not
<jhass> so what's the cool thing?
mattwashere has joined #ruby
<mikecmpbll> depends exactly what you're trying to do but can probably suggest a way to do it.
<jhass> User458764: I was more interested in some real world usecases
reloaded has joined #ruby
<User458764> mikecmpbll jhass when you are using array powerful builtin api and you want to refer to the index
<arne_> grml, why does nokogiri support creating notes from "chunks" everywhere, but when you want to create element
<arne_> s
<apeiros> notes = nodes?
<arne_> yep
<jhass> User458764: so array.map.with_index {|elem, i| } ?
<apeiros> and "but when" = "but not when"?
<arne_> nope
sdwrage has joined #ruby
<apeiros> then phrase no parse
<User458764> jhass yes I saw this same expression in the collect documentation
<arne_> apeiros: pardon?
kareeoleez has quit [Read error: Connection reset by peer]
aganov has quit [Remote host closed the connection]
wigust_ has joined #ruby
<apeiros> arne_: can't make sense of what you said
<jhass> User458764: I find the stuff under "Shorthand Argument Names" in your link very confusing
<jhass> I think perl has similar stuff
<apeiros> "but when you want to create elements" - yeah, then what? lacks some statement as is…
kareeoleez has joined #ruby
Xeago_ has joined #ruby
<toretore> SyntaxError
<arne_> "... anything, but" sounds pretty valid to me
<jhass> User458764: I prefer to have readable names for stuff that actually have a semantic meaning for the data
<User458764> In the expression you gave me array.map.with_index {|elem, i| } how do you refer to the 'array' instance to collect only even index for example?
<arne_> i like every icecream, but chocolate
<mikecmpbll> User458764 : the example in that link you gave about passing a sorting function to the sort method can be done in ruby with lambdas, which are closures too
<apeiros> arne_: so "but" as "but not"
fenre has quit [Remote host closed the connection]
<mikecmpbll> >> backwards = ->(a, b){ b <=> a }; [1,2,3,4,5].sort(&backwards)
<apeiros> which you explicitly said "nope"
<ruby[bot]> mikecmpbll: # => [5, 4, 3, 2, 1] (https://eval.in/592845)
Xeago_ has quit [Remote host closed the connection]
<arne_> no you didn't use the word "as" you used "=" which is equal, which is not equal.
<User458764> mikecmpbll hum interresting I bookmark it
<apeiros> arne_: uh dude, then you should have said "no" when I asked "notes = nodes"
<arne_> u got me
wigust has quit [Ping timeout: 260 seconds]
<mikecmpbll> User458764 : that's identical to the sort example under "The Sort Method".
<jhass> User458764: I'm not sure what you mean, two possible interpretations: array.map.with_index {|elem, i| i.even? ? func(elem) : elem } or array.select.with_index {|_, i| i.even? }.map {|elem| func(elem) }
<reloaded> Gem net-ldap, how can I search internal ldap attributes like "pwdAccountLockedTime"? With ldapsearch command there is the "+" option who enables you to see those attributes but is there any in this gem?
<User458764> jhass ok it's the first time I see func method thanks
<arne_> either way.. nokogiri let's me add siblings like node.add_sibling "<img src="whatever.png">", but i cannot create an element like that, to insert it later on
<arne_> and i can't find the code in their github
KCmetro has joined #ruby
<apeiros> arne_: use Nokogiri.HTML("<element>")?
<arne_> that creates a document, where i have to search the element i want to insert
<jhass> User458764: tbh I have the feeling your use of "the instance" is not what you actually mean by it
<arne_> which is possible, but superugly
<apeiros> hm, ok
<apeiros> arne_: and Nokogiri.HTML.fragment("<element>")?
<arne_> *tests*
<apeiros> hm, no
<apeiros> doesn't work. but there was something like that
cdg has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
<apeiros> ah, Nokogiri::HTML.fragment("<element>"). but that doesn't given an element either. it's a DocumentFragment
<arne_> apeiros: well works for me
<jhass> User458764: func is a placeholder for some arbitrary operation on elem applied, I made it up on the spot, it's nothing given by the language
<arne_> apeiros: doc.at()
<arne_> apeiros: doc.at('//body').first.add_child Nokogiri::HTML.fragment('<img src="google.de">') does i what i want, thanks
<arne_> the nokogiri docs confused me there .. somehow
<apeiros> curious why a plain string doesn't work :-/
<mikecmpbll> arne_ , apeiros : not sure i'm following this exactly, but it sounded like it might be similar to an issue i was having a few years ago: http://stackoverflow.com/a/29219261/1520714
<mikecmpbll> this dude's answer seems comprehensive, if it is at all related
<arne_> still weird, that you can use html"fragments" everyhwere but in element-creations
<mikecmpbll> if not, ignore me :)
<apeiros> arne_: agreed
<apeiros> .add_child("html string") would make sense
<arne_> well, that works, i think
<apeiros> then I'm again confused as to what your issue is :D
<apeiros> but I got to go afk now
<arne_> yeah i will explain it, let me.. okeh
diegoaguilar has quit [Read error: Connection reset by peer]
<arne_> i have html templates with ruby-style-placeholders "#{example}", and i was using .gsub to replace them, after i went into html-escaping-errors, i went with nokogiri :D
<arne_> now i cannot use gsub since it escapes { and } :D
swills has joined #ruby
northfurr has quit [Ping timeout: 260 seconds]
<arne_> and if i want to insert a (for example) <img> node in text, i will have to rearrange everything, bleh
<arne_> so find text node => find placeholder => split textnode in 2 => insert img tag in between
<toretore> el.add_next_sibling('<img src="something"/>') #=> [#<Nokogiri::XML::Element:0x2ab4b63820d0 name="img" attributes=[#<Nokogiri::XML::Attr:0x2ab4b63820a8 name="src" value="something">]>]
<toretore> i don't see the issue
<arne_> that's no issue, i could easily add 3 elements, and remove the original
<arne_> but thats not "clean", i would rather want to use
<arne_> node.swap [text1,img-node,text2]
bkxd has quit [Ping timeout: 244 seconds]
<arne_> toretore: i was just confused how you can use <img src="something"> everywhere, but in element creation
<toretore> what do you mean element creation?
mdw has joined #ruby
<toretore> you are very confusing
<arne_> document.create_element('img')
<arne_> gives you an "img" node
borodin has quit [Ping timeout: 244 seconds]
<arne_> but you cannot do document.create_element('<img src="something">')
k3rn31 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<arne_> (i would create the nodes programmatically, but i already have them as strings, and they're alot)
TvL2386 has joined #ruby
<toretore> well, it makes sense that you get a fragment because a string can contain more than one element
noway_ has quit [Remote host closed the connection]
<arne_> im not confused about fragments, i was unable to find fragments at all being documented as suited for my use-case
<arne_> fragments seem to be what i want
karmatr0n has joined #ruby
Xeago_ has joined #ruby
agent_white has joined #ruby
nankyokusei has joined #ruby
M-shine has joined #ruby
Xeago_ has quit [Remote host closed the connection]
<TvL2386> hi guys, I'm trying to send complex objects with Savon 2.11 but I have no clue if it's even possible...
<arne_> just DO IT
<TvL2386> yeah that came out wrong
<TvL2386> I'm doing it, but failing miserably
<TvL2386> savon does not seem to understand how to convert objects to valid soap xml I think
<toretore> that sucks
<toretore> good luck with that
ChiefAlexander has quit [Remote host closed the connection]
<mikecmpbll> TvL2386 : complex objects?
<TvL2386> I was just wondering if anybody is familiar with soap and complex types
<mikecmpbll> TvL2386 : i've used savon quite a extensively.
<mikecmpbll> -a
<TvL2386> ah cool mikecmpbll
SilverKey has quit [Quit: Halted.]
<mikecmpbll> :/
nankyokusei has quit [Ping timeout: 260 seconds]
dcunit3d has joined #ruby
<TvL2386> let me show you
<TvL2386> I need to generate the following: https://gist.github.com/TvL2386/d3ad767c8bebb02de312a1af7396876d
codecop has quit [Remote host closed the connection]
<agent_white> Mornin'
<mikecmpbll> TvL2386 : okay, and what's the problem?
skade has joined #ruby
<TvL2386> well I'm struggling on how to get savon to create that output
Xeago_ has joined #ruby
<mikecmpbll> TvL2386 : what are you struggling with? ...
dcunit3d has quit [Ping timeout: 244 seconds]
M-Kodo has joined #ruby
mistermocha has joined #ruby
marr has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
<TvL2386> mikecmpbll, I don't know how to create the :message that I supply to Savon.client.call(:prequal, message: { ???? })
skade has quit [Client Quit]
<mikecmpbll> TvL2386 : oh okay. savon converts the hash to xml (and does a little bit of other nice stuff)
skade has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
aufi has joined #ruby
freerobby has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
<TvL2386> mikecmpbll, yes... And in my generated xml I have: <env:Body><tns:prequal><orderLocation>#<Vendor1::OrderLocation:0x00562c35649698></orderLocation><productGroup>THE_PRODUCT</productGroup></tns:prequal></env:Body>
allcentury has joined #ruby
<mikecmpbll> TvL2386 : okay, why are you passing a ruby object to the soap message?
User458764 has joined #ruby
<mikecmpbll> you'll probably want to render that object to XML before putting it in the message.
mistermocha has joined #ruby
<TvL2386> mikecmpbll, hmmm..... I thought I would keep that object around so I can add other things like persisting to the DB... That's probably gonna happen
mistermocha has quit [Read error: Connection reset by peer]
<TvL2386> mikecmpbll, yeah that sounds good. And how would I get the "href" object references in the output?
<mikecmpbll> that fine, but you can't just plonk the object in the hash and expect savon to know how to convert it to your valid xml soap request.
snath has quit [Ping timeout: 260 seconds]
nhhc is now known as Chau
mistermocha has joined #ruby
<TvL2386> mikecmpbll, yeah true :)
mistermocha has quit [Read error: Connection reset by peer]
Xeago_ has quit [Remote host closed the connection]
<mikecmpbll> TvL2386 : from what i recall (although i can't actually find it in the docs) to create attributes on the elements, you pass them under the key `attributes!`
gfvcastro has joined #ruby
<mikecmpbll> like message: { foo: "bar", attributes!: { foo: { "baz" => "blah" } } would result in something like <foo baz="blah">bar</foo>
giz|work has quit [Ping timeout: 272 seconds]
yardenbar has quit [Ping timeout: 272 seconds]
<TvL2386> mikecmpbll, so what you are saying is to work with sub elements instead of having references to the objects as shown in the gist?
mistermocha has joined #ruby
<mikecmpbll> TvL2386 : no i was trying to explain how to get the element attributes like in the gist.
mistermocha has quit [Read error: Connection reset by peer]
<TvL2386> oh the href!
roamingdog has joined #ruby
polishdub has joined #ruby
craigp has quit [Ping timeout: 276 seconds]
<mwlang> Is there a better way to tell the time portion of a Time is zero than t.hour + t.min + t.sec == 0 ?
roamingdog has quit [Read error: Connection reset by peer]
fujinuma has left #ruby ["Leaving"]
roamingdog has joined #ruby
gfvcastro has quit [Quit: Textual IRC Client: www.textualapp.com]
rippa has joined #ruby
yardenbar has joined #ruby
reloaded has quit [Quit: Page closed]
crystal77 has joined #ruby
snath has joined #ruby
M-mistake has joined #ruby
hinbody has quit [Ping timeout: 252 seconds]
mistermocha has joined #ruby
SirOliver has joined #ruby
sergio_101 has quit [Quit: Textual IRC Client: www.textualapp.com]
mistermo_ has joined #ruby
sergio_101 has joined #ruby
<mikecmpbll> mwlang : with Time, i doubt it.
jnoob22 has joined #ruby
TomyWork has quit [Remote host closed the connection]
Macaveli has joined #ruby
mister___ has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
<TvL2386> mikecmpbll, I've gotten the href to work like you said, added an example and output: https://gist.github.com/TvL2386/d3ad767c8bebb02de312a1af7396876d#file-ruby_snippet-rb
mattwashere has quit [Remote host closed the connection]
<mikecmpbll> TvL2386 : lovely
yardenbar has quit [Ping timeout: 252 seconds]
diegoaguilar has joined #ruby
mistermo_ has quit [Ping timeout: 250 seconds]
aegis3121 has quit [Ping timeout: 244 seconds]
Silthias1 has joined #ruby
Silthias1 has quit [Read error: Connection reset by peer]
mister___ has quit [Ping timeout: 250 seconds]
Silthias has quit [Ping timeout: 260 seconds]
<shevy> jhass I think I saw it years ago... but I never tried it, I have become controlled by inertia!
mattwashere has joined #ruby
SirOliver has quit [Quit: ZZZzzz…]
cdg has quit []
PaulCapestany has quit [Read error: Connection reset by peer]
aegis3121 has joined #ruby
strigon33 has quit [Read error: Connection reset by peer]
cdg has joined #ruby
strigon33 has joined #ruby
Masstodon has joined #ruby
<arne_> how great is that String#split keeps captured regex groups inside the split!?
<arne_> supergreat.
arne_ is now known as Bish
<Bish> >> "test \#{yo} test2".split /(\#{[^}]+})/
<Bish> :(
<Bish> >> "test \#{yo} test2".split /(\#{[^}]+})/
chicken has quit [Ping timeout: 246 seconds]
<ruby[bot]> Bish: # => ["test ", "\#{yo}", " test2"] (https://eval.in/592882)
mistermocha has joined #ruby
<Bish> isn't that f-ing great!?
rcs has quit [Ping timeout: 240 seconds]
theRealAlexz has quit [Quit: No Ping reply in 180 seconds.]
mistermocha has quit [Read error: Connection reset by peer]
mistermo_ has joined #ruby
PaulCapestany has joined #ruby
wvxtdg has joined #ruby
theRealAlexz has joined #ruby
theRealAlexz has quit [Changing host]
theRealAlexz has joined #ruby
mistermo_ has quit [Read error: Connection reset by peer]
rcs has joined #ruby
giz|work has joined #ruby
freerobby has quit [Quit: Leaving.]
<shevy> ugly!
mistermocha has joined #ruby
Dimik has joined #ruby
anisha has quit [Quit: Leaving]
SirOliver has joined #ruby
aufi has quit [Ping timeout: 260 seconds]
Vingador has joined #ruby
safetypin has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
SirOliver has quit [Client Quit]
mistermocha has quit [Read error: Connection reset by peer]
SirOliver has joined #ruby
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Akuma has joined #ruby
<Bish> shevy: why?
mikecmpbll has quit [Ping timeout: 246 seconds]
mistermocha has joined #ruby
codecop has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
Akuma0n3 has quit [Ping timeout: 240 seconds]
biberu has joined #ruby
<shevy> because of the \#{}
saneax is now known as saneax_AFK
mistermocha has quit [Ping timeout: 250 seconds]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago_ has joined #ruby
freerobby has joined #ruby
GodFather_ has quit [Ping timeout: 260 seconds]
<Bish> well that was just for demonstration
aryaching has quit [Read error: Connection reset by peer]
synthroid has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
<Bish> >> 'test #{yo} test2'.split /(\#{[^}]+})/
<Bish> better? :3
<ruby[bot]> Bish: # => ["test ", "\#{yo}", " test2"] (https://eval.in/592891)
<Bish> :( bottie whats wrong
roamingdog has joined #ruby
miqlas-H has joined #ruby
allcentury has quit [Ping timeout: 264 seconds]
mattwashere has quit []
mattwashere has joined #ruby
Silthias has joined #ruby
aryaching has joined #ruby
TomyLobo has joined #ruby
CJKinni has joined #ruby
dionysus69 has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
giz|work has quit [Ping timeout: 252 seconds]
roamingdog has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
Xeago__ has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
rodfersou is now known as rodfersou|lunch
miqlas-H has joined #ruby
CloCkWeRX has joined #ruby
gfvcastro has joined #ruby
synthroid has joined #ruby
allcentury has joined #ruby
Ishido has quit [Remote host closed the connection]
<apeiros> Bish: you're probably not identified with nickserv?
iCHAIT_ has left #ruby [#ruby]
Xeago_ has quit [Ping timeout: 260 seconds]
ChiefAlexander has joined #ruby
<jhass> it came back after all?
jaguarmagenta has joined #ruby
giz|work has joined #ruby
conta has quit [Ping timeout: 258 seconds]
Ishido has joined #ruby
Akuma has quit [Quit: So long sukkas!]
SirOliver has quit [Quit: ZZZzzz…]
SirOliver has joined #ruby
Billias has quit [Ping timeout: 260 seconds]
snath has quit [Ping timeout: 250 seconds]
Xeago__ has quit [Remote host closed the connection]
marr has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
LoneHerm_ has quit [Remote host closed the connection]
minimalism has quit [Quit: minimalism]
Xeago_ has joined #ruby
Xeago_ has quit [Remote host closed the connection]
<shevy> ruboto! come back!
<gregf_> >> p "am back"
<shevy> ruboto was so human-like, people constantly thought that ruboto was a real person
<ruby[bot]> gregf_: # => "am back" ...check link for more (https://eval.in/592897)
Billias has joined #ruby
<jhass> shevy: hint, do /whois ruby[bot]
<shevy> a butler bot!
<jhass> look at the cloak
snath has joined #ruby
wigust_ has quit [Remote host closed the connection]
Xeago_ has joined #ruby
freerobby has quit [Ping timeout: 258 seconds]
KCmetro has quit [Remote host closed the connection]
miqlas-H has quit [Ping timeout: 260 seconds]
Xeago_ has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 240 seconds]
wvxtdg has quit [Remote host closed the connection]
Ishido has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
Ishido has joined #ruby
merceris_ has quit [Ping timeout: 244 seconds]
Xeago_ has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
diegoaguilar has quit [Remote host closed the connection]
<apeiros> jhass: oh, so it did…
giz|work has quit [Ping timeout: 260 seconds]
f4cl3y has quit [Ping timeout: 250 seconds]
<jhass> might just be eval.in being slow
<jhass> did so on the old host too sometimes
User458764 has joined #ruby
Xeago_ has joined #ruby
yottanami has quit [Quit: Leaving]
Mia has joined #ruby
Ishido has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
bmurt_ has joined #ruby
mercerist has joined #ruby
bmurt has quit [Read error: Connection reset by peer]
jrafanie has quit [Quit: Textual IRC Client: www.textualapp.com]
amclain has joined #ruby
edwinvdgraaf has quit [Ping timeout: 260 seconds]
romistrub has joined #ruby
kedare has quit [Quit: Leaving]
whathappens has joined #ruby
<romistrub> for anyone that was here last night; toretore or smathy; I finally figured out what was causing the 0-byte string returned by recv
Ishido has joined #ruby
<adam12> which was?
<romistrub> It's the closing of a connection created by an TCP Preconnect
<romistrub> Figured out that closing causes the usually-blocking recv to return a string of 0 length
jrafanie has joined #ruby
freerobby has joined #ruby
<romistrub> then tested the preconnect out using a <link rel="preconnect"/> in the HTML I was delivering
<romistrub> it turned out that a preconnect is initiated almost immediately, and is closed 5-10 seconds later
<romistrub> it's that closing that was futzing me up
blandflakes has joined #ruby
mrgrieves has quit [Ping timeout: 250 seconds]
mercerist has quit [Ping timeout: 276 seconds]
isxek has quit [Quit: Leaving]
kus has joined #ruby
kus has quit [Max SendQ exceeded]
nerium has quit [Quit: nerium]
Xeago_ has quit [Remote host closed the connection]
madgen has quit [Ping timeout: 240 seconds]
KCmetro has joined #ruby
bkxd has joined #ruby
last_staff has joined #ruby
danostrowski has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
mercerist has joined #ruby
bluOxigen has joined #ruby
ngw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
[Butch] has joined #ruby
yardenbar has joined #ruby
xall_ has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 276 seconds]
nadir has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
SCHAAP137 has joined #ruby
nankyokusei has joined #ruby
Xeago_ has joined #ruby
mtkd has joined #ruby
mercerist has quit [Ping timeout: 260 seconds]
Kallis has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
gfvcastro has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gfvcastro has joined #ruby
dcunit3d has joined #ruby
mercerist has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
the_drow has quit [Quit: This computer has gone to sleep]
freerobby has quit [Read error: No route to host]
dionysus69 has joined #ruby
freerobby1 has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
dcunit3d has quit [Ping timeout: 250 seconds]
k3rn31 has quit [Quit: Computer has gone to sleep.]
codecop has quit [Remote host closed the connection]
Vingador has quit [Remote host closed the connection]
gfvcastro has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
vuoto has joined #ruby
gregf has quit [Quit: WeeChat 1.5]
jnoob22 has quit [Ping timeout: 252 seconds]
smathy has joined #ruby
SCHAAP137 has quit [Ping timeout: 276 seconds]
ChiefAlexander has joined #ruby
elaptics is now known as elaptics`away
moeabdol has joined #ruby
Coldblackice has joined #ruby
LoneHerm_ has joined #ruby
ocbtec has quit [Quit: leaving]
Xeago_ has quit [Ping timeout: 260 seconds]
ta_ has joined #ruby
gregf has joined #ruby
vuoto has quit [Quit: Lost terminal]
vuoto has joined #ruby
LoneHerm_ has quit [Ping timeout: 252 seconds]
ruby-lang191 has joined #ruby
saneax_AFK is now known as saneax
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Chau has quit [Ping timeout: 272 seconds]
frem_ has joined #ruby
<ruby-lang191> hello
globalall0c has joined #ruby
gettalong has joined #ruby
ocbtec has joined #ruby
jnoob22 has joined #ruby
SCHAAP137 has joined #ruby
<smathy> romistrub, thanks for the update.
<ruby-lang191> Can someone help me with understanding the function def of line 3 in https://gist.github.com/anonymous/52e0e7d130fdf02ca7e626f8d139dab2 or what to google for?
SirOliver has quit [Quit: ZZZzzz…]
<smathy> ruby-lang191, if it's the `h.` that you don't understand: singleton method. If it's the `[]=` that you don't understand, umm, just ruby docs.
<ruby-lang191> cool, thanks!
mebus has left #ruby [#ruby]
<smathy> Happy to explain either here if you need it, but some people like discovering for themselves, so I don't want to ruin the experience if that's you :)
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SirOliver has joined #ruby
dopie_ has quit [Quit: Lost terminal]
dopie_ has joined #ruby
tomchapin has joined #ruby
moeabdol has quit [Ping timeout: 244 seconds]
diegoaguilar has joined #ruby
Xeago_ has joined #ruby
al2o3-cr has quit [Ping timeout: 276 seconds]
Chau has joined #ruby
hutch34 has quit [Quit: WeeChat 1.5]
`tim` has joined #ruby
<hxegon_afk> how does this work?
hxegon_afk is now known as hxegon
<hxegon> >> [1, 2].send(*[:map, proc { |n| n * 2 }])
<hxegon> * not work
yardenbar has quit [Ping timeout: 260 seconds]
<apeiros> a proc as arg != a block arg
AnoHito has joined #ruby
<apeiros> you need to prefix a proc with & to tell ruby that it is to be treated as a block
Moosashi has joined #ruby
madgen has joined #ruby
<apeiros> >> meth, block = [:map, proc { |n| n * 2 }]; [1,2].send(meth, &block)
Xeago_ has quit [Read error: Connection reset by peer]
<ruby[bot]> apeiros: # => [2, 4] (https://eval.in/592932)
<hxegon> so you can't splat an array with a block and have it treat it as a block?
<apeiros> nope
karmatr0n has quit [Ping timeout: 246 seconds]
crdpink2 has joined #ruby
ta_ has quit [Remote host closed the connection]
crdpink has quit [Ping timeout: 250 seconds]
yardenbar has joined #ruby
hahuang62 has joined #ruby
Hounddog has quit [Remote host closed the connection]
fabianfrz1 has joined #ruby
mdw_ has joined #ruby
the_drow has joined #ruby
<smathy> >> [1, 2].send :map, &proc{|n| n * 2 }
mdw_ has quit [Max SendQ exceeded]
<ruby[bot]> smathy: # => [2, 4] (https://eval.in/592933)
mdw_ has joined #ruby
bmbouter has left #ruby ["WeeChat 1.2"]
antgel has quit [Ping timeout: 260 seconds]
mdw has quit [Ping timeout: 244 seconds]
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> also public_send > send
<ruby-lang191> `h = {} def h.[]=(k, v)` Why is a singleton method being called on an empty hash in the def? Also what is []= , on docs I found it as setting environment variable but I think I'm looking up the wrong thing.
<smathy> The & has to be part of the method call though, so yeah, no closer to the splat.
<apeiros> ruby-lang191: that's not calling a method, that's defining it
<fabianfrz1> are some ruby developers here - I have a question about URI
User458764 has joined #ruby
ocbtec has quit [Quit: leaving]
<smathy> fabianfrz1, best to just ask.
<apeiros> it defines the []= method for that single hash instance. and []= is what's invoked when you do: `some_hash[key] = value`
Xiti has quit [Quit: Xiti]
Moosashi has quit [Ping timeout: 260 seconds]
<fabianfrz1> I had to do this change because URI raises an exception if I would not do that: https://github.com/fabianfrz/ICAPrb-Server/commit/ae1cb025122d76f70bd41f480068c1996db96dc5
<dsimon> ruby-lang191, it's literally defining a method named "[]=" on h
djbkd has joined #ruby
<fabianfrz1> URI('host:port') should imho return a generic uri where the host and the port are set
<fabianfrz1> but my little workaround just works
<fabianfrz1> as well
<fabianfrz1> what is your opinion about that?
spider-mario has joined #ruby
<dsimon> fabianfrz1, what was the exception it raised, and the value of "str_uri" which it complained about?
dionysus69 has quit [Ping timeout: 240 seconds]
<fabianfrz1> it is host:port_number
rodfersou|lunch is now known as rodfersou
bluOxigen has quit [Ping timeout: 264 seconds]
<fabianfrz1> it comes from the network protocol - in this case it is an http connect method
Kallis is now known as Laxu5
Xiti has joined #ruby
bmurt_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
Laxu5 is now known as Kallis
<smathy> fabianfrz1, works for me in 2.3 - which version of ruby did you see an exception in?
<fabianfrz1> 2.3
bmurt has joined #ruby
<dsimon> >> uri = URI("example.com:123")
<ruby[bot]> dsimon: # => undefined method `URI' for main:Object (NoMethodError) ...check link for more (https://eval.in/592934)
<dsimon> oh, need to require
<dsimon> >> require 'uri'; URI("example.com:123")
<ruby[bot]> dsimon: # => #<URI::Generic example.com:123> (https://eval.in/592935)
jmignault has quit [Remote host closed the connection]
Moosashi has joined #ruby
gettalong has left #ruby [#ruby]
<dsimon> >> require 'uri'; u = URI("example.com:123"); "host #{u.host}, port #{u.port}"
mistermocha has quit [Remote host closed the connection]
<fabianfrz1> URI('1.localhost:123')
<ruby[bot]> dsimon: # => "host , port " (https://eval.in/592936)
<fabianfrz1> this one fails
Sashimi has joined #ruby
<dsimon> oh, hm, it didn't work
vuoto has quit [Remote host closed the connection]
<fabianfrz1> it is strange
finisherr has joined #ruby
<dsimon> >> require 'uri'; require 'pp'; u = URI("example.com:123"); u.pretty_inspect
<ruby[bot]> dsimon: # => "#<URI::Generic example.com:123>\n" (https://eval.in/592937)
<dsimon> well that wasn't helpful :-(
<smathy> fabianfrz1, still didn't raise an exception though, I'm struggling with the symptom report.
weaksauce has quit [Ping timeout: 260 seconds]
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
<fabianfrz1> did you start it with 1.
Sashimi has quit [Client Quit]
mistermocha has joined #ruby
<smathy> URI is actually pretty crappy at parsing URIs
ta_ has joined #ruby
bkxd has quit [Ping timeout: 258 seconds]
<smathy> >> require "uri"; URI("example.com:443").scheme
jetpackjoe has joined #ruby
<fabianfrz1> irb(main):005:0> a = URI('1.localhost:123')
<fabianfrz1> URI::InvalidURIError: bad URI(is not URI?): 1.localhost:123
<ruby[bot]> smathy: # => "example.com" (https://eval.in/592938)
<dsimon> oh, geez
<dsimon> i get it
<dsimon> it thinks the first part is the protocol :-(
<smathy> Yep, the colon throws it.
<smathy> It's really not a URI parser at all.
<apeiros> 1 is not valid as a subdomain afair
<dsimon> i guess that is reasonable of it
<smathy> ...although: "example.com:443" is not a URI.
<dsimon> since without a protocol it's not a proper URI according to the rfc
<fabianfrz1> some CDNs are numbered this way
Macaveli has joined #ruby
<smathy> dsimon, I actually think your code isn't terrible, the CONNECT request does *not* provide a URI.
<dsimon> or a "scheme" as the official docs put it
<apeiros> and missing the scheme, yes
<smathy> ...it provides a host:port
SilverKey has quit [Quit: Halted.]
<dsimon> smathy, s'not my code :-)
<smathy> Heh, sorry...
<smathy> fabianfrz1, ^
<apeiros> fabianfrz1: I doubt that
<smathy> fabianfrz1, just checking, you *do* understand that "1.localhost:123" *is* a bad URI right? As is "example.com:443" for that matter.
dopie_ has quit [Quit: Lost terminal]
hinbody has joined #ruby
Laxu5 has joined #ruby
dopie_ has joined #ruby
<fabianfrz1> ok, so everything works as expected and this should not be used as an uri - however the server requires it as it decides which service it will call
<fabianfrz1> It works just fine now ;)
jhack has joined #ruby
ramfjord has joined #ruby
Moosashi has quit [Quit: Moosashi]
KCmetro has quit [Remote host closed the connection]
SilverKey has joined #ruby
jottr has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
gfvcastro has joined #ruby
KCmetro has joined #ruby
MrBusiness has quit [Ping timeout: 250 seconds]
ocbtec has joined #ruby
enterprisey has joined #ruby
<fabianfrz1> thanks for your help
ramfjord has quit [Ping timeout: 260 seconds]
gatman has joined #ruby
jaruga___ has quit [Quit: jaruga___]
whathappens has quit [Quit: Leaving...]
<shevy> I am having a blackout I think ...
<shevy> from code like: class Base; end; class A < Base; end ... is there a way to find out the direct superclass from class A?
pilne has joined #ruby
<havenwood> shevy: ask it
<shevy> ah... .superclass I guess
<havenwood> shevy: A.superclass
<havenwood> yup!
<havenwood> <3 Ruby
<shevy> I think I never used this so far, thanks
jaguarmagenta has joined #ruby
vuoto has joined #ruby
roamingdog has quit [Remote host closed the connection]
k3rn31 has joined #ruby
jgt1 has quit [Ping timeout: 244 seconds]
Moosashi has joined #ruby
<havenwood> shevy: you're welcome, any time!
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wixad_ has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
<havenwood> shevy: thanks back - i updated my method finding code to not bug out finding that answer :)
KCmetro has quit [Remote host closed the connection]
dfockler has joined #ruby
conta has joined #ruby
aegis3121 has quit [Ping timeout: 260 seconds]
<shevy> hehe
SirOliver has quit [Quit: Ave]
AlexRussia has joined #ruby
KCmetro has joined #ruby
gatman has quit [Ping timeout: 264 seconds]
ta_ has quit [Remote host closed the connection]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
k3rn31 has quit [Quit: Computer has gone to sleep.]
postmodern has quit [Quit: Leaving]
Moosashi has quit [Quit: Moosashi]
mistermocha has quit [Remote host closed the connection]
<ruby-lang191> I'm still confused about https://gist.github.com/anonymous/52e0e7d130fdf02ca7e626f8d139dab2 and googling for []= and hash method isn't leading me anywhere
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
d0lph1n98 has quit [Ping timeout: 258 seconds]
<ruby-lang191> So it's creating a singleton method in a def, which is confusing. And is (k,v) the paramters for the method or is it the values taken from the hash after a key/value is assigned?
<malconis> it's overriding []= for h (hash)
<malconis> looks like it's just printing out what it's doing
weaksauce has joined #ruby
<malconis> so now whenever you're setting value for a key it'll print out "Setting hash key #{k} with #{v.inspect}"
craigp has joined #ruby
<ruby-lang191> what about the (k,v) part? is that the method param?
<toretore> it's just a method, like any other
<toretore> it takes two arguments
k3rn31 has joined #ruby
quakephil has joined #ruby
saneax is now known as saneax_AFK
aeruder has joined #ruby
<ruby-lang191> havent seen that kind of method def before and I'm still trying to understand it.
kareeoleez has quit [Remote host closed the connection]
<ruby-lang191> are there similar examples I can search for? I don't know what to search for?
<quakephil> Greets all! How can I access an array inside a sort_by block? I'm getting "nil" when trying to use it here http://pastebin.ca/3649166
nofxx has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ponga has quit [Quit: Connection closed for inactivity]
<quakephil> (line 22, sortedkeys.index(k) turns out to be nil)
whathappens has joined #ruby
mistermocha has joined #ruby
<dsimon> ruby-lang191, this seems to cover the topic pretty well: http://rubysnippets.com/2013/01/25/operator-overloading-in-ruby/
<dsimon> note that the other weird thing about the snippet you posted is that it's not only doing operator overloading, it's also defining a method on a singleton class
yardenbar has quit [Ping timeout: 272 seconds]
brian has joined #ruby
brian is now known as Guest79580
ramfjord has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dsimon> quakephil, it's a symbols vs strings problem
<dsimon> that's my guess anyways
<dsimon> try sortedkeys.index(k.to_sym)
<toretore> quakephil: it doesn't have anything to do with `sortedkeys` not being accessible
memorasus1 has joined #ruby
<jhass> yes two problems there
<jhass> first is symbols vs strings, just the other way around than dsimon mentioned
<jhass> second is that sortedkeys doesn't have all keys you ask it for
<dsimon> oh, right, yeah
`tim` has joined #ruby
<dsimon> and yeah
* dsimon nods in agreement
aegis3121 has joined #ruby
<quakephil> jhass: that's by design
<jhass> so .index returns nil in some (currently all) situations
<jhass> and you can't 0 <=> nil
<memorasus1> Would anyone be kind enough to review my code for a project I'm working on and suggest things I could do differently? It's the first script i'm writing in ruby so I don't know where it could be improved
<quakephil> can you help me write the sorter? I essentually want to get to the sorted hash, from unsorted hash, using sortedkeys as a guide
<quakephil> sortedkeys may or may not have all keys
<quakephil> any hints/pointers are welcome
<jhass> tbh I still consider depending on the order of a hash a code smell in itself
<memorasus1> https://github.com/bcoffey218/msf_rc is the project, if anyone has a minute to check it out
<quakephil> Ordering a hash is one of the basic functions of this data structure
<jhass> quakephil: what's the order of keys not in sortedkeys?
<hxegon> agreed, hashes should be order independant
ta_ has joined #ruby
<quakephil> jhass: either as before, or doesn't matter
<quakephil> whichever is simpler to implement
postmodern has joined #ruby
<jhass> quakephil: wrong, Hash is Ruby's implementation of a map. The ADT map doesn't define order. Ruby's Hash was in fact unordered up to version 1.9
<quakephil> doesn't help
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
<jhass> just getting the misconceptions out of the way first
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ramfjord_ has joined #ruby
Snowy has quit [Remote host closed the connection]
dionysus69 has joined #ruby
<jhass> .sort {|(a, _), (b, _)| a_i = sortedkeys.index(a); b_i = sortedkeys.index(b); a_i && b_i ? a_i <=> b_i : a_i || b_i ? 1 : a <=> b } should be your solution
synthroid has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 252 seconds]
agit0 has joined #ruby
<quakephil> Holy mother of god... let me give that a shot
mikecmpbll has joined #ruby
pandaant has quit [Remote host closed the connection]
memorasus1 is now known as memorasus
<quakephil> http://pastebin.ca/3649176 doesn't seem to be sorting; also returning a array whereas I should really want a hash in the same form back, but ordered
dikaio has joined #ruby
<quakephil> I'm on 2.3.0p0
roamingdog has joined #ruby
<jhass> yes you have to convert it back.
<jhass> Ruby's hash is insertion ordered. It does not support reordering in place
phrozen77_ has joined #ruby
kirun has joined #ruby
whathapp_ has joined #ruby
<quakephil> ok that's fine, but the ordering doesn't seem to be working either, the resulting array is still in the original order?
roamingdog has quit [Read error: Connection reset by peer]
araujo has joined #ruby
roamingdog has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
whathappens has quit [Ping timeout: 250 seconds]
phrozen77 has quit [Ping timeout: 250 seconds]
<jhass> you ignored the first problem I mentioned
<quakephil> I want to get this working. If I missed something, its not because I'm ignoring it
<quakephil> Its because I'm a noob who is trying to learn with your help
<quakephil> so what did I miss? Do I have to convert the hash to an array first?
<jhass> you have scrollback, reread what I and dsimon wrote
<quakephil> I thought "should be your solution" meant it should be my solution
ramfjord_ has quit [Ping timeout: 246 seconds]
<quakephil> My bad
<dsimon> jhass, why have them use sort instead of sort_by?
<jhass> because you can't compare Fixnum and nil
ramfjord has joined #ruby
<quakephil> http://pastebin.ca/3649186 using to_sym doesn't seem to help either
<dsimon> quakephil, i was wrong, i should've said "to_s"
Laxu5 has quit [Quit: -a- Connection Timed Out]
howdoi has quit [Quit: Connection closed for inactivity]
<quakephil> Aha, that works
<dsimon> quakephil, if the key isn't present in sortedkeys, should that element go before everything eles, or after?
xall_ has joined #ruby
<quakephil> It doesn't handle missing sortedkeys well, but for now I don't think you guys have the patience to help with any more of this
<quakephil> sorry to be such a burden
arlek has joined #ruby
Authenticator has joined #ruby
[Butch]_ has joined #ruby
<jhass> quakephil: sorry I had a mistake, this one works https://carc.in/#/r/126w
gfvcastro has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dsimon> jhack, quakephil, i would've probably done something like .sort_by{|k,v| sortedkeys.index(k.to_s) || -1}
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sauvin has quit [Read error: Connection reset by peer]
[Butch] has quit [Ping timeout: 244 seconds]
[Butch]_ is now known as [Butch]
[Butch] has quit [Client Quit]
nettoweb has quit [Read error: Connection reset by peer]
<jhass> well if we're sorting already, it's good to have a deterministic result
<jhass> alternative: https://carc.in/#/r/126x
<dsimon> oh, hm
<dsimon> then maybe .sort_by{|k,v| [sortedkeys.index(k.to_s) || -1, k] }
nankyokusei has joined #ruby
<jhass> allocates N arrays more than necessary ;)
nettoweb has joined #ruby
<dsimon> true
<shevy> evil!
<dsimon> maybe the best thing would be a sort_bys method that takes multiple blocks and executes them in sequence on ties...
elomatreb has quit [Remote host closed the connection]
<memorasus> anyone have any recommendations for my script ?
<dsimon> so like .sort_bys(Proc.new{|k| sortedkeys.index(k.to_s}, Proc.new{|k| k})
<dsimon> er, missing a paren, but you get the idea :-)
<shevy> memorasus looks great!
<shevy> ah
<shevy> your nick was memorasus1
<memorasus> shevy: is there anything you think I could do to make it faster/more efficient?
nerium has joined #ruby
<memorasus> yeah i noticed i was logged in on 2 computers, then logged out the other
<shevy> I did not notice the earlier link, I think you referred to https://github.com/bcoffey218/msf_rc but I am not sure which part you mean
ruby-lang989 has joined #ruby
mtkd has quit [Ping timeout: 250 seconds]
<memorasus> This is the main script, everything else is just nonsense / dependent directories
nankyokusei has quit [Ping timeout: 260 seconds]
moeabdol has joined #ruby
mtkd has joined #ruby
synthroid has joined #ruby
LoneHerm_ has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dcunit3d has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> I think you can simplify the various serv.name =~/sql/ lines
<memorasus> how so?
roamingdog has quit [Ping timeout: 240 seconds]
`tim` has joined #ruby
<memorasus> I don't even need it explained, just a link to that stuff would be tremendously helpful, I know virtually nothing about ruby lol
<hanmac> shevy *now making an Uncle Sam pose' i need you to Dislike the Ghostbusters 2016 Trailer ... there are still a few numbers left until 1.000.000 ;P
moeabdol has quit [Ping timeout: 260 seconds]
LoneHerm_ has quit [Ping timeout: 240 seconds]
ruby-lang989 has quit [Ping timeout: 250 seconds]
<dsimon> memorasus, google "ruby case regex" :-)
agit0 has quit [Quit: zzzZZZ….]
gfvcastro has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
dcunit3d has quit [Ping timeout: 276 seconds]
ta_ has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<memorasus> Perfect, muchas gracias
ta_ has joined #ruby
jgt1 has joined #ruby
<shevy> memorasus best way to build up a regex is at http://rubular.com/
kareeoleez has joined #ruby
<shevy> you can make a link to the solution from your script, to rubular
<shevy> click at "make permalink"
<memorasus> idk if you'd know this if you haven't worked with metasploit, but do you know if theres a way to interact with the framework / datastore without actually being in msf?
<shevy> no idea, I think the amount of people here who use or need metasploit is very very low
<memorasus> That's what I expected, but then in the offsec channel people just tell you to try harder lol
<shevy> memorasus here one of the regex possibilities: http://rubular.com/r/9ztKUTo1nE
<memorasus> thanks, so for the input in rubular, would it be like /ssh/
User458764 has joined #ruby
mattwashere has quit [Remote host closed the connection]
<memorasus> perfect, will that still work to match any part of the string to match? example:
<memorasus> ssh version 1.02.12312312343 will be matched for ssh?
DTZUBDUB has joined #ruby
jgt1 has quit [Ping timeout: 260 seconds]
crystal77 has joined #ruby
Dimik has quit [Ping timeout: 276 seconds]
alcy_ has joined #ruby
<memorasus> brb gotta restart my vm
mattwashere has joined #ruby
memorasus has quit [Quit: memorasus]
memorasus has joined #ruby
<alcy_> hello folks, is it possible to do multiple lines of code in erb templates ? I am trying to create a variable first, and then process that
ruby-lang814 has joined #ruby
aryaching_ has joined #ruby
aryaching has quit [Ping timeout: 244 seconds]
ruby-lang814 has quit [Client Quit]
<PaulePanter> Hi. Any idea how to improve readability and performance of
<PaulePanter> arr.reject{|l| l[:date].nil?}.sort_by{|v| v[:date]}.reverse?
jackjackdripper has joined #ruby
<PaulePanter> ? at end is part of the sentence.
<memorasus> ck
<memorasus> back*
<aegis3121> arr.compact.sort { |a, b| b[:date] <=> a[:date] }
<aegis3121> not compact, you'll still need #reject
<smathy> alcy_, yes.
<jhass> alcy_: yes but you shouldn't do it, your framework should offer you a way to extract that logic into a method external from the template and allow you to call it then
<aegis3121> though you could use select. arr.select { |thing| thing[:date] } if you prefer thinking about select rather than reject
dikaio has joined #ruby
<dsimon> i like PaulePanter's original version best
<jhass> Id add some spaces but it's pretty good already
joonty has joined #ruby
<alcy_> jhass: I am doing this in puppet's context, so my options are a little limited.
<jhass> ?puppet
<ruby[bot]> Please join #puppet for help with it.
* hanmac is now known as "I'Mrakul"
<jhass> PaulePanter: posts.reject {|post| post[:date].nil? }.sort {|a, b| b[:date] <=> a[:date] } would save the reverse call
dikaio has quit [Client Quit]
nankyokusei has joined #ruby
<aegis3121> And, yea: I think .select { |post| post[:date] } reads slightly better, but that's a matter of choice. Saves a method call on #nil?, though.
dikaio has joined #ruby
chip_ has joined #ruby
wigust has joined #ruby
wigust has quit [Remote host closed the connection]
<PaulePanter> aegis3121, jhass: Thanks a lot.
dikaio has quit [Client Quit]
<aegis3121> np
mercerist has joined #ruby
<ytti> anyone have extra berlin/ietf venue hotel reservation they want to get rid of?
CJKinni` has joined #ruby
mercerist has quit [Remote host closed the connection]
<hanmac> i always wanted some kind of reverse sort, but that doesn't exist yet
mattwashere has quit [Remote host closed the connection]
VeryBewitching has quit [Quit: Konversation terminated!]
jhack has quit [Quit: jhack]
mattwashere has joined #ruby
CJKinni has quit [Ping timeout: 264 seconds]
dikaio has joined #ruby
edwinvdg_ has joined #ruby
yfeldblum has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 272 seconds]
cdg has quit [Remote host closed the connection]
Pumukel has joined #ruby
CJKinni has joined #ruby
CJKinni` has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
edwinvdg_ has quit [Ping timeout: 258 seconds]
VeryBewitching has joined #ruby
johnmilton has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
wigust has joined #ruby
dcunit3d has joined #ruby
gizmore has joined #ruby
ramfjord has joined #ruby
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ruby
bluOxigen has quit [Client Quit]
dionysus69 has quit [Ping timeout: 260 seconds]
zenlot has joined #ruby
dfockler has quit [Ping timeout: 260 seconds]
elifoster has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dikaio has joined #ruby
zenlot6 has quit [Ping timeout: 276 seconds]
k3rn31 has quit [Quit: Computer has gone to sleep.]
dikaio has quit [Max SendQ exceeded]
bkxd has joined #ruby
giz|work has joined #ruby
Sashimi has joined #ruby
Guest79580 has quit [Ping timeout: 244 seconds]
nofxx has quit [Ping timeout: 276 seconds]
nofxx has joined #ruby
phrozen77_ has quit [Quit: Computer has gone to sleep.]
bkxd has quit [Ping timeout: 260 seconds]
Madplatypus has joined #ruby
brian_ has joined #ruby
Mia has quit [Read error: Connection reset by peer]
replay has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
yardenbar has joined #ruby
amcoder has joined #ruby
jmignault has joined #ruby
Endie has joined #ruby
dcunit3d has quit [Ping timeout: 272 seconds]
Akuma has joined #ruby
rodfersou is now known as rodfersou|afk
dcunit3d has joined #ruby
nankyokusei has quit [Remote host closed the connection]
giz|work has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
nankyokusei has joined #ruby
hahuang61 has joined #ruby
hays_ has joined #ruby
chridal has quit [Ping timeout: 264 seconds]
siovene has quit [Ping timeout: 264 seconds]
<havenwood> ruby-install --latest ruby-2.4.0-preview1
blandflakes has quit [Ping timeout: 264 seconds]
bumao has quit [Ping timeout: 264 seconds]
Satyajit has quit [Ping timeout: 264 seconds]
Trynemjoel has quit [Ping timeout: 264 seconds]
kdisneur has quit [Ping timeout: 264 seconds]
Tristan-Speccy has quit [Ping timeout: 264 seconds]
hahuang62 has quit [Ping timeout: 264 seconds]
Bish has quit [Ping timeout: 264 seconds]
modin has quit [Ping timeout: 264 seconds]
shaman42 has quit [Ping timeout: 264 seconds]
aibot has quit [Ping timeout: 264 seconds]
hiddenloop has quit [Ping timeout: 264 seconds]
SenpaiSilver has quit [Ping timeout: 264 seconds]
schlauberg has quit [Ping timeout: 264 seconds]
chee has quit [Ping timeout: 264 seconds]
marens_ has joined #ruby
Bish has joined #ruby
kp666 has quit [Ping timeout: 264 seconds]
johnny56_ has quit [Ping timeout: 264 seconds]
ahuman has quit [Ping timeout: 264 seconds]
tildes has quit [Ping timeout: 264 seconds]
jzigmund_ has quit [Ping timeout: 264 seconds]
cajone has quit [Ping timeout: 264 seconds]
lianj has quit [Ping timeout: 264 seconds]
ruisantos has quit [Ping timeout: 264 seconds]
bnjf has quit [Ping timeout: 264 seconds]
janno has quit [Ping timeout: 264 seconds]
gypsydav15 has quit [Ping timeout: 264 seconds]
electrostat has quit [Ping timeout: 264 seconds]
AustinMatherne has quit [Ping timeout: 264 seconds]
ramblinpeck has quit [Ping timeout: 264 seconds]
cardoni has quit [Ping timeout: 264 seconds]
chrisseaton has quit [Ping timeout: 264 seconds]
riceandbeans has quit [Ping timeout: 264 seconds]
dionyziz has quit [Ping timeout: 264 seconds]
aibot has joined #ruby
ta_ has quit [Remote host closed the connection]
gfvcastro has quit [Ping timeout: 264 seconds]
marens has quit [Ping timeout: 264 seconds]
okdas has quit [Ping timeout: 264 seconds]
hays has quit [Ping timeout: 264 seconds]
olspookishmagus has quit [Ping timeout: 264 seconds]
kdisneur has joined #ruby
hiddenloop has joined #ruby
riceandbeans has joined #ruby
shaman42 has joined #ruby
schlauberg has joined #ruby
ahuman has joined #ruby
ruisantos has joined #ruby
lianj has joined #ruby
lianj has quit [Changing host]
lianj has joined #ruby
dionyziz has joined #ruby
AustinMatherne has joined #ruby
janno has joined #ruby
bnjf has joined #ruby
timanema has joined #ruby
dionyziz is now known as Guest99599
jzigmund has joined #ruby
olspookishmagus has joined #ruby
kloeri_ has joined #ruby
olspookishmagus is now known as Guest57341
ramblinpeck has joined #ruby
cardoni has joined #ruby
chrisseaton has joined #ruby
timanema has quit [Client Quit]
ldnunes has quit [Ping timeout: 250 seconds]
prestorium has quit [Read error: Connection reset by peer]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Chau has quit [Quit: Leaving]
SenpaiSilver has joined #ruby
Trynemjoel has joined #ruby
okdas has joined #ruby
okdas has quit [Changing host]
okdas has joined #ruby
chridal has joined #ruby
chee has joined #ruby
electrostat has joined #ruby
bumao has joined #ruby
Tristan-Speccy has joined #ruby
pwnd_nsfw has quit [Ping timeout: 250 seconds]
Satyajit has joined #ruby
ldnunes has joined #ruby
aegis3121 has quit [Ping timeout: 240 seconds]
Tristan-Speccy is now known as Guest95150
kloeri has quit [Ping timeout: 624 seconds]
jgt1 has joined #ruby
conta has quit [Ping timeout: 264 seconds]
danostrowski has joined #ruby
blaxter has quit [Quit: foo]
gypsydave5 has joined #ruby
ta_ has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
pawnbox has quit [Remote host closed the connection]
timanema has joined #ruby
jackjackdripper has joined #ruby
sambio has joined #ruby
timanema has quit [Client Quit]
Macaveli has joined #ruby
arlek has quit [Read error: Connection reset by peer]
arlek has joined #ruby
aegis3121 has joined #ruby
Dimik1 has joined #ruby
kp666 has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
cdg has joined #ruby
Bugboy1028 has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
palms has quit [Quit: leaving]
K1SWR has joined #ruby
siovene has joined #ruby
<havenwood> baweaver: This patch that landed in 2.4.0-preview1 made me think of our ivar/local speed convo re puma: https://bugs.ruby-lang.org/issues/12274
cajone has joined #ruby
tildes has joined #ruby
Bugboy1028 has joined #ruby
whathapp_ has quit [Remote host closed the connection]
whathappens has joined #ruby
whathappens has quit [Remote host closed the connection]
_mak_ has left #ruby [".."]
dcunit3d has quit [Ping timeout: 276 seconds]
<havenwood> It'd be nice to simplify the Puma thread pool code once pre-2.4 is past EoL at the very least! (Unless it's really worth doing even now. I haven't done thorough benchmarks.)
ocbtec has quit [Quit: leaving]
modin has joined #ruby
whathappens has joined #ruby
<ruby-lang191> Is there a rails IRC or people answer rails questions here also?
KCmetro has quit [Remote host closed the connection]
<jhass> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<shevy> ruby-lang191 #rubyonrails but you may have to register first on freenode
whathappens has quit [Remote host closed the connection]
ruby-lang191 has left #ruby [#ruby]
whathappens has joined #ruby
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
nankyokusei has quit [Remote host closed the connection]
modin has quit [Ping timeout: 264 seconds]
<smathy> You don't ^
KCmetro has joined #ruby
whathappens has quit [Ping timeout: 252 seconds]
dcunit3d has joined #ruby
pwnd_nsfw has joined #ruby
Yiota has joined #ruby
Gasher has quit [Quit: Leaving]
tomchapin has joined #ruby
alcy_ has quit [Quit: leaving]
blackgoat has joined #ruby
<jhass> well, Radar's switching it on and off all the time, can't be bothered to change the factoid each time
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<smathy> No harm anyway :)
<shevy> :D
eljimmy has quit [Quit: This computer has gone to sleep]
centrx has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Guest48 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
dhollinger has joined #ruby
xall_ has quit [Ping timeout: 252 seconds]
chimkan has quit [Quit: chimkan]
jgt1 has quit [Quit: WeeChat 1.4]
lightt has joined #ruby
neo_ has joined #ruby
replay has quit [Ping timeout: 244 seconds]
modin has joined #ruby
<neo_> hi
<havenwood> neo_: hi
<apeiros> jhass: we could change it to "you may need to…"
<apeiros> but
<apeiros> meh :D
lightt has quit [Remote host closed the connection]
<jhass> ;)
crystal77 has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fabianfrz1 has left #ruby ["Konversation terminated!"]
pawnbox has joined #ruby
Lord_of_Life has quit [Excess Flood]
modin has quit [Ping timeout: 264 seconds]
ur5us has joined #ruby
moos3_ has joined #ruby
edwinvdgraaf has joined #ruby
Dimik1 has quit [Ping timeout: 250 seconds]
lightt has joined #ruby
lightt has quit [Max SendQ exceeded]
lightt has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Endie has quit [Ping timeout: 276 seconds]
Lord_of_Life has joined #ruby
LoneHermit has joined #ruby
moos3 has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 252 seconds]
<shevy> let unregistered users change factoids for you!!!
yardenbar has quit [Ping timeout: 276 seconds]
timanema has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gusrub has quit [Quit: Leaving]
Jayson_Virissimo has joined #ruby
moos3_ has quit [Remote host closed the connection]
timanema has quit [Client Quit]
dcunit3d has quit [Ping timeout: 252 seconds]
danostrowski has joined #ruby
timanema has joined #ruby
blandflakes has joined #ruby
bier_ has quit [Ping timeout: 276 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deviation has joined #ruby
Endie has joined #ruby
allcentury has quit [Ping timeout: 258 seconds]
aep-shoutlet has joined #ruby
<deviation> I have a ruby question that I'm not sure how to ask properly... I have a hash with many optional items and I want to send its values to a method only if they're defined in the hash. The method I'm calling takes values named keyword arguments. Ie I would like to call: myMethod(id: data['id']) if data['id'] is set, otherwise I'd like to just call myMethod()
<deviation> is there a shorthand/clean way to do that?
ta_ has quit [Remote host closed the connection]
timanema has quit [Quit: leaving]
ldnunes_ has joined #ruby
<tobiasvl> deviation: well, if data['id'] is not set it will be nil, so handle nil as a special case inside myMethod?
bier has joined #ruby
[Butch] has joined #ruby
<mradmacher> How about something like myMethod(data.fetch('id', nil))
<tobiasvl> mradmacher: won't it already be nil?
<deviation> myMethod is in a 3rd party lib
<tobiasvl> as long as data is set of course
<deviation> that I can't (or don't want to) modify
<toretore> deviation: what is myMethod actually?
<jhass> deviation: does it require the arguments to be passed?
<havenwood> deviation: If open source, link to the code?
<deviation> im writing something for vagrant
<tobiasvl> oh. well then what about data['id'] ? myMethod(data['id']) : myMethod
gusrub has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
<deviation> I have config that populates a hash, and sometimes the 'owner' and 'group' will be set and sometimes they will not
mtkd has quit [Ping timeout: 244 seconds]
<jhass> that says it takes an array, not keyword arguments?
timanema has joined #ruby
<deviation> if they're not set, vagrant defaults them to be the vagrant user
ldnunes has quit [Ping timeout: 250 seconds]
<timanema> :q
timanema has quit [Client Quit]
<deviation> i think OPTIONS are keyword arguments
<deviation> tobiasvl: I want to avoid having to specify all the permutations if that makes sense
modin has joined #ruby
ta_ has joined #ruby
<deviation> like there are many potential arguments and I don't want to have to list them all out if I can avoid it
<havenwood> mount_options: [data['id']].compact
<toretore> deviation: show some actual code if you can
jhack has joined #ruby
<deviation> k, I'll write a gist if that helps
<toretore> code > words
timanema has joined #ruby
timanema has quit [Client Quit]
<bougyman> .42
mtkd has joined #ruby
timanema has joined #ruby
synthroid has quit []
<havenwood> love the 2.4 stuff!
<havenwood> i was jealous of Clojure/Elixir unicode case
mwlang has quit [Quit: mwlang]
<jhass> deviation: given it doesn't even show up in API docs it's probably not keyword arguments but a plain hash still
Yiota has joined #ruby
KCmetro has quit [Quit: Leaving...]
<jhass> so just symbolize your keys and pass your hash
Endie has left #ruby [#ruby]
<lightt> python or java
enterprisey has quit [Read error: Connection reset by peer]
<lightt> to make money
<lightt> medium income
ejnahc_ has quit [Ping timeout: 272 seconds]
gse has quit [Ping timeout: 272 seconds]
johnny56_ has joined #ruby
ejnahc has joined #ruby
gse has joined #ruby
<lightt> wrong room sry
ornerymoose has quit [Quit: ornerymoose]
<jhass> deviation: as said I think you assumption is wrong
<deviation> ahh ok, I'm new to ruby
swills has quit [Ping timeout: 260 seconds]
<deviation> I'll look up how to do that @jhass
<jhass> options = {owner: "foo"}; config.vm.synced_folder ..., options
ornerymoose has joined #ruby
<deviation> I was under the (apparently wrong) assumption that passing a hash or keywords to a method was the same idea
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Kallis has quit [Read error: Connection reset by peer]
<jhass> it can look the same on the call side
<deviation> gotchya
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdothum has joined #ruby
<deviation> thanks jhass!
<raldu> is there any free or paid resource that I can consult to learn more about API development best practices?
nettoweb has joined #ruby
<raldu> including the API clients
mattwashere has quit [Remote host closed the connection]
<jhass> deviation: yeah it's all just big fat method_missing magic, no keyword arguments https://github.com/mitchellh/vagrant/blob/1f88a9737369eda3dede0d3aeb30928adf82a9f7/lib/vagrant/config/v2/root.rb#L24-L37
ChiefAlexander has quit [Remote host closed the connection]
<Jayson_Virissimo> A bit dated by now, but was pretty decent when I went through it.
DTZUBDUB has quit [Ping timeout: 244 seconds]
gizless has joined #ruby
<raldu> Jayson_Virissimo: looks like a nice guide, thanks.
<deviation> ahh thank you so much
ta__ has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
eljimmy has joined #ruby
sergio_101 has quit [Quit: Textual IRC Client: www.textualapp.com]
Masstodon has left #ruby [#ruby]
whathappens has joined #ruby
gizmore has quit [Ping timeout: 244 seconds]
pglombardo has joined #ruby
gizmore has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gizmore|2 has joined #ruby
Regulati_ has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
gizmore|3 has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
gizless has quit [Ping timeout: 272 seconds]
danostrowski has quit [Quit: Textual IRC Client: www.textualapp.com]
gizmore has quit [Ping timeout: 260 seconds]
FooMunki has quit [Quit: FooMunki]
ornerymoose has quit [Ping timeout: 272 seconds]
mattwashere has joined #ruby
sepp2k has quit [Quit: Leaving.]
FooMunki has joined #ruby
gizmore|2 has quit [Ping timeout: 260 seconds]
deviation has quit [Remote host closed the connection]
<shevy> lightt tell me more about how to make money! :)
<lightt> ..?
lightt has left #ruby ["Leaving"]
bmurt_ has joined #ruby
moos3 has joined #ruby
Gasher has joined #ruby
diegoviola has joined #ruby
moos3 has left #ruby [#ruby]
neo__ has joined #ruby
bmurt_ has quit [Client Quit]
bmurt has quit [Ping timeout: 260 seconds]
strigonLeader has joined #ruby
gizmore|3 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
giz|work has joined #ruby
neo_ has quit [Ping timeout: 250 seconds]
deviation has joined #ruby
strigon33 has quit [Ping timeout: 252 seconds]
vuoto has quit [Ping timeout: 276 seconds]
<smathy> You scared him off shevy
hahuang61 has quit [Ping timeout: 244 seconds]
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vuoto has joined #ruby
caudill has joined #ruby
hahuang61 has joined #ruby
ICantCook has quit [Read error: Connection reset by peer]
mdw_ has quit [Quit: Sleeping Zzzzz]
yfeldblum has joined #ruby
postmodern has quit [Ping timeout: 250 seconds]
hutch34 has joined #ruby
deviation has quit [Remote host closed the connection]
ICantCook has joined #ruby
<shevy> awww no money for me :(
CJKinni has quit [Read error: Connection reset by peer]
<smathy> Not without mad python java skillz.
millerti has joined #ruby
kimegede has joined #ruby
giz|work|2 has joined #ruby
Pumukel has quit [Quit: ChatZilla 0.9.92 [Firefox 47.0/20160604131506]]
deviation has joined #ruby
bkxd has joined #ruby
giz|work has quit [Ping timeout: 240 seconds]
dcunit3d has joined #ruby
Macaveli has joined #ruby
tomchapin has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xall_ has joined #ruby
caudill has quit [Remote host closed the connection]
CJKinni has joined #ruby
tomchapin has quit [Client Quit]
VeryBewitching has quit [Quit: Konversation terminated!]
Eiam has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
hahuang61 has quit [Ping timeout: 240 seconds]
ChiefAlexander has joined #ruby
ChiefAlexander has quit [Client Quit]
Sashimi has joined #ruby
ldnunes_ has quit [Quit: Leaving]
chip_ has quit [Ping timeout: 258 seconds]
jmignault has quit [Ping timeout: 244 seconds]
firstdayonthejob has joined #ruby
hutch34 has quit [Quit: WeeChat 1.5]
postmodern has joined #ruby
p0p0pr37 has quit [Read error: Connection reset by peer]
p0p0pr37 has joined #ruby
<spudowiar> wait... I haz mad python java skillz.
biberu has quit []
<spudowiar> LIGHTT, COME BACK!
<shevy> lol
skweek has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AndyBotwin has joined #ruby
djbkd has quit [Remote host closed the connection]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
djbkd has joined #ruby
<hxegon> before the money there was love
wigust has quit [Remote host closed the connection]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AndyBotwin has quit [Client Quit]
mello has joined #ruby
AndyBotwin has joined #ruby
prestorium has joined #ruby
troulouliou_div2 has joined #ruby
djbkd has quit [Ping timeout: 258 seconds]
<shevy> lol this is getting better and better
the_drow has quit [Quit: This computer has gone to sleep]
GodFather has joined #ruby
<mradmacher> but love for money is always
jaguarmagenta has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
timanema has quit [Ping timeout: 260 seconds]
pilne has left #ruby ["Leaving!"]
wigust has joined #ruby
moeabdol has joined #ruby
karapetyan has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
lightt has joined #ruby
mradmacher has quit [Quit: WeeChat 0.4.2]
djbkd has joined #ruby
<Radar> jhass: the registration thingo on #rubyonrails is now firmly on :)
wigust has quit [Remote host closed the connection]
kimegede has left #ruby ["Linkinus - http://linkinus.com"]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
lightt has quit [Read error: Connection reset by peer]
moeabdol has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
Snowy has joined #ruby
<shevy> good that nobody changed the factoid!
diegoaguilar has quit [Remote host closed the connection]
allcentury has joined #ruby
jnoob22 has quit [Quit: Leaving]
tomeara has joined #ruby
tomeara has quit [Client Quit]
pglombardo has quit []
troulouliou_div2 has quit [Quit: Leaving]
vuoto has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jnoob22 has joined #ruby
timanema has joined #ruby
neanderslob has joined #ruby
solars has quit [Ping timeout: 258 seconds]
minimalism has joined #ruby
centrx has quit [Quit: centrx]
symm- has quit [Ping timeout: 252 seconds]
hahuang61 has joined #ruby
timanema has quit [Ping timeout: 252 seconds]
al2o3-cr has joined #ruby
mrmortondk has quit [Quit: Textual IRC Client: www.textualapp.com]
skweek has quit [Ping timeout: 260 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
pawnbox has joined #ruby
gizmore has joined #ruby
safetypin has quit [Ping timeout: 244 seconds]
karapetyan has quit []
kirun has quit [Remote host closed the connection]
minimalism has quit [Quit: minimalism]
giz|work|2 has quit [Ping timeout: 244 seconds]
Jayson_Virissimo has quit []
minimalism has joined #ruby
dhollinger has quit [Quit: WeeChat 1.5]
pawnbox has quit [Ping timeout: 250 seconds]
ornerymoose has joined #ruby
elcontrastador has joined #ruby
edwinvdgraaf has joined #ruby
moeabdol has joined #ruby
banister has joined #ruby
moeabdol has quit [Client Quit]
kareeole_ has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
ornerymoose has quit [Quit: ornerymoose]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
kareeole_ has quit [Remote host closed the connection]
allcentury has quit [Read error: Connection reset by peer]
kareeoleez has quit [Ping timeout: 244 seconds]
moeabdol has joined #ruby
rodfersou|afk has quit [Quit: leaving]
Es0teric has joined #ruby
machinewar has joined #ruby
<machinewar> anyone know what Rack#BodyProxy class is used for?
whathappens has quit [Remote host closed the connection]
snath has quit [Ping timeout: 250 seconds]
Azure has joined #ruby
polishdub has quit [Quit: Leaving]
machinewar has quit [Client Quit]
aegis3121 has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
CJKinni has quit [Ping timeout: 264 seconds]
whathappens has joined #ruby
mattwashere has quit [Remote host closed the connection]
AndyBotwin has quit [Ping timeout: 260 seconds]
giz|work|2 has joined #ruby
madgen has quit [Ping timeout: 272 seconds]
gnufied has quit [Ping timeout: 250 seconds]
TomyLobo has quit [Ping timeout: 260 seconds]
elifoster has quit [Quit: vietnamese food]
ereslibre has quit [Ping timeout: 244 seconds]
gnufied has joined #ruby
ereslibre has joined #ruby
ereslibre has quit [Changing host]
ereslibre has joined #ruby
deviation has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 276 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[Butch] has quit [Quit: I'm out . . .]
pawnbox has joined #ruby
brian_ has quit [Ping timeout: 258 seconds]
hxegon is now known as hxegon_afk
pawnbox has quit [Ping timeout: 244 seconds]
Guest48 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rickmasta has quit [Ping timeout: 260 seconds]
allcentury has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Rickmasta has joined #ruby
<shevy> people are not patient anymore
ramfjord has quit [Ping timeout: 260 seconds]
ledestin has joined #ruby
Gasher has quit [Ping timeout: 246 seconds]
rkazak has joined #ruby
last_staff has quit [Quit: last_staff]
Snowy has quit [Remote host closed the connection]
bmurt has joined #ruby
Rickmasta has quit [Ping timeout: 240 seconds]
Gasher has joined #ruby
mistermocha has quit [Remote host closed the connection]
Rickmasta has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
mistermocha has joined #ruby
ramfjord has joined #ruby
nettoweb has joined #ruby
xall has joined #ruby
firstdayonthejob has quit [Ping timeout: 250 seconds]
Rickmasta has quit [Ping timeout: 258 seconds]
xall_ has quit [Ping timeout: 272 seconds]
mistermocha has quit [Ping timeout: 250 seconds]
infernix has quit [Ping timeout: 264 seconds]
rkazak has joined #ruby
Rickmasta has joined #ruby
marxarelli has joined #ruby
whathappens has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 244 seconds]
gnufied has quit [Quit: Leaving]
skweek has joined #ruby
ta_ has joined #ruby
ramfjord has joined #ruby
ta__ has quit [Ping timeout: 264 seconds]
Rickmasta has quit [Ping timeout: 244 seconds]
Rickmasta has joined #ruby
bkxd has joined #ruby
Guest48 has joined #ruby
saneax_AFK is now known as saneax
whathappens has joined #ruby
mattwashere has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
freerobby1 has quit [Quit: Leaving.]
pwnd_nsfw` has joined #ruby
spider-mario has quit [Remote host closed the connection]
koooge has joined #ruby
pwnd_nsfw has quit [Ping timeout: 244 seconds]
jottr has joined #ruby
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
glcx has joined #ruby
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
tds5016 has joined #ruby
<tds5016> hey. is anyone here using ruby relay?
johnny56_ has quit [Quit: WeeChat 1.4-dev]
infernix has joined #ruby
Gasher has quit [Quit: Leaving]
johnmilton has joined #ruby
mdw has joined #ruby
rkoller has joined #ruby
jaguarmagenta has joined #ruby
snsei has joined #ruby
nickjj has joined #ruby
madgen has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aeterne has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
johnny56 has joined #ruby
Rickmasta has quit [Ping timeout: 276 seconds]
<jhass> ?anyone
<ruby[bot]> Just ask your question, if anyone has, is or can, they will respond.
giz|work|2 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Rickmasta has joined #ruby
Rodya_ has joined #ruby
madgen has quit [Ping timeout: 272 seconds]
<neo__> does everyone like gorails.com ? I was thinking of starting my own rails learning site
<bougyman> I don't
<bougyman> but I don't like rails, so don't listen to me
Hobogrammer has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.5]
jottr has quit [Ping timeout: 246 seconds]
Rickmasta has quit [Ping timeout: 246 seconds]
Rickmasta has joined #ruby
whathappens has quit [Quit: Leaving...]
skweek has quit [Ping timeout: 246 seconds]