apeiros_ changed the topic of #ruby-lang to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste code on http://gist.github.com
ta_ has quit [Ping timeout: 252 seconds]
intinig has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
ta_ has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 240 seconds]
<wiggl3> Senjai: hey just got back from work
<wiggl3> Senjai: cool thanks
_djbkd has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
_djbkd has joined #ruby-lang
kirin` has quit [Ping timeout: 256 seconds]
kirin` has joined #ruby-lang
mikecmpbll has quit [Quit: ciao.]
yatish27 has quit [Ping timeout: 256 seconds]
dziemid has joined #ruby-lang
_djbkd has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
kirin` has quit [Read error: Connection reset by peer]
chadwtaylor has joined #ruby-lang
kirin` has joined #ruby-lang
Aova has joined #ruby-lang
stefff has quit [Quit: stefff]
webhat_ is now known as webhat
kirin` has quit [Ping timeout: 244 seconds]
momomomomo has joined #ruby-lang
kirin` has joined #ruby-lang
symm- has quit [Ping timeout: 245 seconds]
momomomomo has quit [Ping timeout: 264 seconds]
dziemid has quit [Remote host closed the connection]
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
Sadin has joined #ruby-lang
yusuf1 has joined #ruby-lang
yusuf1 has quit [Max SendQ exceeded]
yusuf1 has joined #ruby-lang
yusuf1 has quit [Max SendQ exceeded]
yusuf1 has joined #ruby-lang
yusuf1 has quit [Max SendQ exceeded]
yusuf1 has joined #ruby-lang
Sadin has quit [Ping timeout: 245 seconds]
yusuf1 has quit [Max SendQ exceeded]
yusuf1 has joined #ruby-lang
yusuf1 has quit [Max SendQ exceeded]
kirin` has quit [Ping timeout: 246 seconds]
yusuf1 has joined #ruby-lang
yusuf1 has quit [Max SendQ exceeded]
kirin` has joined #ruby-lang
yusuf1 has joined #ruby-lang
yusuf1 has quit [Max SendQ exceeded]
intinig has quit [Remote host closed the connection]
yusuf1 has joined #ruby-lang
yusuf1 has quit [Max SendQ exceeded]
yusuf1 has joined #ruby-lang
yusuf1 has quit [Max SendQ exceeded]
yusuf1 has joined #ruby-lang
yusuf1 has quit [Max SendQ exceeded]
yusuf has joined #ruby-lang
yusuf has quit [Max SendQ exceeded]
tunaCanBruh has joined #ruby-lang
yusuf has joined #ruby-lang
yusuf has quit [Max SendQ exceeded]
yusuf has joined #ruby-lang
yusuf has quit [Max SendQ exceeded]
kirin` has quit [Read error: Connection reset by peer]
yusuf has joined #ruby-lang
_djbkd has joined #ruby-lang
kirin` has joined #ruby-lang
yusuf has quit [Max SendQ exceeded]
yusuf has joined #ruby-lang
yusuf has quit [Max SendQ exceeded]
tunaCanBruh has quit [Ping timeout: 245 seconds]
<bougyman> is there a way to tell ruby (specifically rest-client, but I suppose it's underneath that) to use ipv6 instead of ipv4?
Musashi007 has joined #ruby-lang
<bougyman> google keeps showing me how to use v4 instead of v6
<bougyman> i want the opposite
yusuf_403 has joined #ruby-lang
yusuf_403 has quit [Max SendQ exceeded]
<bougyman> specifically, a RestClient.pos('https://www.googleapis.com' ... ) should use the AAAA record lookup, not the A record lookup.
yusuf_403 has joined #ruby-lang
centrx has joined #ruby-lang
yusuf_403 has quit [Max SendQ exceeded]
Musashi007 has quit [Client Quit]
yusuf_403 has joined #ruby-lang
yusuf_403 has quit [Max SendQ exceeded]
<bougyman> damn google is totally failing me here.
kirin` has quit [Read error: Connection reset by peer]
<bougyman> rubyists don't like ipv6?
cytoskeletor has quit [Ping timeout: 245 seconds]
yusuf_403 has joined #ruby-lang
kirin` has joined #ruby-lang
<bougyman> we're trying to go all-v6 in a new stack and ruby is failing all over the place.
yusuf_403 has quit [Max SendQ exceeded]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yusuf_403 has joined #ruby-lang
yusuf_403 has quit [Max SendQ exceeded]
rbowlby has quit [Remote host closed the connection]
yusuf_403 has joined #ruby-lang
yusuf_403 has quit [Max SendQ exceeded]
yusuf_403 has joined #ruby-lang
yusuf_403 has quit [Max SendQ exceeded]
<Senjai> bougyman Why are you going all v6
<Senjai> we dont need to do that yet
<bougyman> Senjai: how does that in any way get me closer to a solution for this use case?
<bougyman> i just dug around gai.conf, it's correct, says everything should prefer v6
<bougyman> but nothing does.
<bougyman> it's not just ruby, I have to tell wget to prefer v6, too.
<bougyman> and if I tell ruby an address directly (with http://[2001:fee:faa::]/ syntax) it does do v6
<bougyman> but I can't specify http://hostname.com with ruby and ever have it look for v6 AAAA records and prefer them
<bougyman> this has to be ruby-controlled behavior, right?
fujimura has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
_djbkd has quit [Remote host closed the connection]
Test51351 has joined #ruby-lang
<wallerdev> i don't know of a way to configure it at the "ruby" level
<wallerdev> you should look into what methods rest client uses to connect to the internet
<wallerdev> and see if those allow options
_djbkd has joined #ruby-lang
Musashi007 has joined #ruby-lang
benten has joined #ruby-lang
<bougyman> it uses net::http underneath
dziemid has joined #ruby-lang
<bougyman> btw: Senjai we have cloud servers we spin up all the time all over the place that use google apis to do location enrichment.
<bougyman> google apis require that they know your endpoint ips.
kirin` has quit [Read error: Connection reset by peer]
<bougyman> with V6, we allow our /64 and all the boxes, no matter where they are in the world, are part of that /64
kirin` has joined #ruby-lang
<bougyman> so we don't have to muck with the google developer interface and add in ip everytime a new cloud instance is deployed.
matrisking has quit [Quit: leaving]
Bwild has quit [Ping timeout: 252 seconds]
Bwild has joined #ruby-lang
<darix> bougyman: hmm
kirin` has quit [Ping timeout: 252 seconds]
Aova has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
hendranata_ has joined #ruby-lang
Aova has joined #ruby-lang
dziemid has quit [Remote host closed the connection]
andy___ has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
andy___ has quit [Client Quit]
andy___ has joined #ruby-lang
andy___ is now known as StreetlampSalad
rbowlby has joined #ruby-lang
yatish27 has joined #ruby-lang
kirin` has quit [Ping timeout: 265 seconds]
kirin` has joined #ruby-lang
marr has quit [Ping timeout: 245 seconds]
seank_ has quit [Remote host closed the connection]
seank_ has joined #ruby-lang
kirin` has quit [Ping timeout: 265 seconds]
kirin` has joined #ruby-lang
p3ery has joined #ruby-lang
enkristoffer has quit [Quit: ❤]
enkristoffer has joined #ruby-lang
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kirin` has quit [Ping timeout: 250 seconds]
kirin` has joined #ruby-lang
p3ery has quit [Ping timeout: 256 seconds]
ecnalyr has joined #ruby-lang
ta_ has quit [Ping timeout: 252 seconds]
ta_ has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
p3ery has joined #ruby-lang
ta_ has quit [Ping timeout: 252 seconds]
<jdecuirm> Hey good night
sonic_boom has joined #ruby-lang
<jdecuirm> How can i create a Ruby executable?
StreetlampSalad has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
<jdecuirm> I am training at creating a project directory and there is a point where i should create a ruby runnable script
<pipework> My guess is that your computer might be involved.
Musashi007 has quit [Quit: Musashi007]
dziemid has joined #ruby-lang
<wprice> lol
amsi has quit [Quit: Leaving]
<jdecuirm> lol
<jdecuirm> I'm on Linux
kirin` has quit [Ping timeout: 246 seconds]
<jdecuirm> is not like creating a jar?
<jdecuirm> if there is a jvm regardless the operating system it will run, is it not the same with ruby?
kirin` has joined #ruby-lang
Test51351 has quit [Ping timeout: 245 seconds]
<pipework> jdecuirm: You have to package things together.
<pipework> I'd suggest dusting off your search engine.
<jdecuirm> lol
ta_ has joined #ruby-lang
<jdecuirm> i found a way
<jdecuirm> but, it's like erm, for unix based
<jdecuirm> well, the task says
<jdecuirm> Put a script in the bin directory that you can run.
<jdecuirm> i have a project skeleton directory with a bunch of folders and stuff
<jdecuirm> and a bin folder
<centrx> What do you mean by create a Ruby executable
<centrx> A Ruby script is executable, but it is not a binary package and requires a Ruby interpreter on target machines
<jdecuirm> i'm thinking something i just can double click
<jdecuirm> the instruction is not that specific so i'm a little stuck here
<jdecuirm> then
<pipework> You can 'just doubleclick' any file in your OS.
<jdecuirm> the other point says
<pipework> The question is, do you want to distribute the script with the runtime or not?
<centrx> You can doubleclick anywhere on the screen
<jdecuirm> Mention the bin script you created in your gemspec so that it gets installed
<pipework> centrx: I can doubleclick anywhere I damn whale please, centrx.
<jdecuirm> Lol, i almost spit my coffee
<jdecuirm> this test is kinda weird, or at least, i'm not getting the whole picture
<pipework> centrx: It'd be hilarious to package up a gem that packages a ruby that includes the script.
<jdecuirm> i have some unit test, and a script at lib
<jdecuirm> ./lib
kirin` has quit [Ping timeout: 250 seconds]
<jdecuirm> the test passes
ta_ has quit [Ping timeout: 252 seconds]
<jdecuirm> but, i'm guessing i have to create a binary
<pipework> then ship it!
<centrx> MVP!
<jdecuirm> MVP?
kirin` has joined #ruby-lang
<jdecuirm> like Model-View-Presenter?
<centrx> Minimum Viable Potion
<jdecuirm> i googled that
<pipework> Most Valuable Pretender
<weaksauce> minimum viable product
<jdecuirm> lol
oleo__ has joined #ruby-lang
<jdecuirm> now i hate you all
<jdecuirm> kidding
oleo is now known as Guest62867
<jdecuirm> i guess is like in C#
<jdecuirm> when you compile
<jdecuirm> it generates executables
<jdecuirm> if i can remember
<jdecuirm> i'm very rusty developing
Guest62867 has quit [Ping timeout: 244 seconds]
<pipework> Try rust.
j4cknewt has quit [Remote host closed the connection]
b_hoffman has joined #ruby-lang
<jdecuirm> is that a joke? lol
<jdecuirm> Rust programming language? hahaha
kirin` has quit [Read error: Connection reset by peer]
lytol_ has quit [Remote host closed the connection]
kirin` has joined #ruby-lang
Aova has quit [Read error: Connection reset by peer]
<centrx> jdecuirm, If you make a file like #!/usr/bin/ruby\nputs "Hello, world"EOF set it chmod +x then run ./my_file.rb
<centrx> jdecuirm, See interpreted vs compiled language
ta_ has joined #ruby-lang
<jdecuirm> Thanks! centrx
j4cknewt has joined #ruby-lang
ta_ has quit [Ping timeout: 250 seconds]
Aova has joined #ruby-lang
arooni-mobile has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
<jdecuirm> i guess is kinda creating my own gem
Lewix has joined #ruby-lang
<jdecuirm> 4 step says, put a script in the bin directory that you can run.
<jdecuirm> then 5 step says mention the bin script you created in your Gemspec so that it gets installed.
<jdecuirm> 6 step says use your Gemspec to install your own module and make sure it works, then use gem to uninstall it
iamninja has quit [Quit: ZZZzzz…]
StreetlampSalad has joined #ruby-lang
Musashi007 has joined #ruby-lang
kirin` has quit [Ping timeout: 245 seconds]
ecnalyr has quit [Remote host closed the connection]
kirin` has joined #ruby-lang
StreetlampSalad has quit [Ping timeout: 264 seconds]
devbug has joined #ruby-lang
benten has quit [Ping timeout: 245 seconds]
tunaCanBruh has joined #ruby-lang
kirin` has quit [Ping timeout: 255 seconds]
b_hoffman has quit [Quit: b_hoffman]
kirin` has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 250 seconds]
vlad_starkov has quit [Ping timeout: 240 seconds]
kapil__ has joined #ruby-lang
StreetlampSalad has joined #ruby-lang
b_hoffman has joined #ruby-lang
vlad_starkov has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
roamingd_ has quit [Remote host closed the connection]
StreetlampSalad has quit [Ping timeout: 264 seconds]
arooni-mobile has quit [Ping timeout: 264 seconds]
kirin` has quit [Ping timeout: 245 seconds]
kirin` has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
b_hoffman has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
StreetlampSalad has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
StreetlampSalad has quit [Ping timeout: 244 seconds]
bzalasky has joined #ruby-lang
Musashi007 has joined #ruby-lang
b_hoffman has joined #ruby-lang
ta_ has joined #ruby-lang
cytoskeletor has joined #ruby-lang
StreetlampSalad has joined #ruby-lang
_djbkd has quit [Remote host closed the connection]
kirin` has quit [Ping timeout: 244 seconds]
roamingdog has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 250 seconds]
kirin` has joined #ruby-lang
houhoulis has joined #ruby-lang
amystephen has quit [Quit: amystephen]
roamingdog has quit [Ping timeout: 256 seconds]
kirin` has quit [Ping timeout: 250 seconds]
hahuang65 has quit [Ping timeout: 246 seconds]
kirin` has joined #ruby-lang
<jdecuirm> Ok, i successfully created a gem
<jdecuirm> i don't get the real use of bin directory but i just commented that part
<jdecuirm> in the gemspec file
<jdecuirm> lol
ta_ has quit [Ping timeout: 252 seconds]
<centrx> Some gems are simply libraries used by other code
<centrx> Some gems are like programs or have maintenance scripts or utility programs
Aova has quit [Read error: Connection reset by peer]
<jdecuirm> i am more like used to the first ones you mention
ta_ has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
Aova has joined #ruby-lang
<bnagy> jdecuirm: learn ruby the hard way ( zed shaw ) covers a lot of this in very bitesized pieces
ta_ has quit [Ping timeout: 252 seconds]
<bnagy> I don't like a lot of his ruby style from later exercises, but the startup section is pretty useful to get a handle on building gems by hand etc
<jdecuirm> bnagy in fact i'm working with that book!
<jdecuirm> but there's no much explanation about what it wants with the executable
<bnagy> maybe you went too fast, then
<jdecuirm> in that exercise it explains about tests and how to use the skeleton of a project, i got it, but, he let a quiz to do the same
<jdecuirm> but i could not figure out what to do with bin folder, as it says it's for executables
Musashi007 has quit [Quit: Musashi007]
kirin` has quit [Read error: Connection reset by peer]
ta_ has joined #ruby-lang
kirin` has joined #ruby-lang
<bnagy> 10:09 < centrx> jdecuirm, If you make a file like #!/usr/bin/ruby\nputs "Hello, world"EOF set it chmod +x then run ./my_file.rb
bzalasky has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
<bnagy> although imho #! /usr/bin/env ruby is better
Bwild has quit [Ping timeout: 264 seconds]
gwendall has quit [Remote host closed the connection]
cytomich has joined #ruby-lang
havenwood has quit []
ta_ has quit [Ping timeout: 245 seconds]
<jdecuirm> thanks bnagy!
<bnagy> you don't need the .rb extension btw
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
brooks has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 252 seconds]
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
intinig has joined #ruby-lang
b_hoffman has quit [Read error: No route to host]
ta_ has joined #ruby-lang
<jdecuirm> i got this error trying to build the gem
<jdecuirm> ERROR: While executing gem ... (Gem::InvalidSpecificationException)
<jdecuirm> ["bin/bin/EXAMPLE"] are not files
<jdecuirm> in my gemspec i have
<jdecuirm> spec.executables = ['bin/EXAMPLE']
<jdecuirm> but i don't have bin/bin/EXAMPLE folder don't know what that error means
ta_ has quit [Ping timeout: 256 seconds]
intinig has quit [Ping timeout: 252 seconds]
kirin` has quit [Ping timeout: 264 seconds]
<jdecuirm> damn
<jdecuirm> got it
<jdecuirm> thanks centrx
kirin` has joined #ruby-lang
amystephen has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
b_hoffman has joined #ruby-lang
kirin` has quit [Ping timeout: 245 seconds]
kirin` has joined #ruby-lang
amystephen has quit [Quit: amystephen]
devbug has left #ruby-lang ["http://quassel-irc.org - Chat comfortably. Anywhere."]
bzalasky has joined #ruby-lang
sudoubuntu has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
cmisenas has joined #ruby-lang
araujo has quit [Quit: Leaving]
kirin` has quit [Ping timeout: 240 seconds]
kirin` has joined #ruby-lang
Pugsley_ has quit [Quit: Lingo: www.lingoirc.com]
bzalasky has quit [Remote host closed the connection]
ta_ has joined #ruby-lang
chadwtaylor has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
StreetlampSalad has quit [Remote host closed the connection]
Aova has joined #ruby-lang
StreetlampSalad has joined #ruby-lang
kirin` has quit [Ping timeout: 264 seconds]
dziemid has quit [Remote host closed the connection]
kirin` has joined #ruby-lang
ta_ has quit [Ping timeout: 252 seconds]
devbug has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
b_hoffman has quit [Ping timeout: 250 seconds]
devbug has left #ruby-lang ["http://quassel-irc.org - Chat comfortably. Anywhere."]
kirin` has quit [Ping timeout: 245 seconds]
kirin` has joined #ruby-lang
gwendall has joined #ruby-lang
dziemid has joined #ruby-lang
Musashi007 has joined #ruby-lang
brixen_ is now known as brixen
ta_ has joined #ruby-lang
spuk has quit [Read error: Connection reset by peer]
gwendall has quit [Ping timeout: 252 seconds]
dellavg_ has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
marcdel has joined #ruby-lang
ta_ has quit [Ping timeout: 252 seconds]
cmisenas has quit [Quit: cmisenas]
miqui has joined #ruby-lang
ta_ has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
gix has quit [Ping timeout: 250 seconds]
iliketurtles has joined #ruby-lang
centrx has quit [Quit: Shutting down, Please wait...]
ta_ has quit [Ping timeout: 265 seconds]
gix has joined #ruby-lang
_djbkd has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
kirin` has quit [Read error: Connection reset by peer]
ur5us has joined #ruby-lang
kirin` has joined #ruby-lang
tkuchiki_ has joined #ruby-lang
tkuchiki has quit [Ping timeout: 256 seconds]
spuk has joined #ruby-lang
spuk has quit [Client Quit]
dziemid has quit [Remote host closed the connection]
spuk has joined #ruby-lang
spuk has quit [Client Quit]
ur5us has quit [Ping timeout: 265 seconds]
spuk has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
kyb3r_ has joined #ruby-lang
sonic_boom has quit [Remote host closed the connection]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
spuk has joined #ruby-lang
Aova has quit [Read error: Connection reset by peer]
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
RobertBirnie has joined #ruby-lang
ta_ has joined #ruby-lang
Aova has joined #ruby-lang
ottlikg has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
Musashi007 has joined #ruby-lang
ta_ has quit [Ping timeout: 265 seconds]
tunaCanBruh has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
brooks has quit [Quit: brooks]
kirin` has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 256 seconds]
dellavg_ has quit [Ping timeout: 264 seconds]
ecnalyr has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
ottlikg has quit [Ping timeout: 240 seconds]
ecnalyr has quit [Ping timeout: 244 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
kirin` has quit [Ping timeout: 256 seconds]
kirin` has joined #ruby-lang
dellavg_ has joined #ruby-lang
|jemc| has joined #ruby-lang
bzalasky has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
bzalasky has quit [Remote host closed the connection]
dellavg_ has quit [Ping timeout: 264 seconds]
iliketurtles has quit [Quit: zzzzz…..]
Lewix has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
cytomich has left #ruby-lang [#ruby-lang]
ta_ has joined #ruby-lang
havenwood has joined #ruby-lang
cytomich has joined #ruby-lang
oleo__ has quit [Quit: Verlassend]
tkuchiki has joined #ruby-lang
tkuchiki_ has quit [Ping timeout: 250 seconds]
_djbkd has quit [Quit: My people need me...]
ta_ has quit [Ping timeout: 252 seconds]
hahuang65 has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
Sadin has joined #ruby-lang
ta_ has joined #ruby-lang
morton has joined #ruby-lang
<morton> is there a language easier than ruby?
ta_ has quit [Ping timeout: 252 seconds]
Aova has joined #ruby-lang
skade has joined #ruby-lang
Miphix has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
Torrieri has quit [Read error: Connection reset by peer]
Torrieri has joined #ruby-lang
Torrieri has joined #ruby-lang
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 250 seconds]
cornerma1 is now known as cornerman
ta_ has joined #ruby-lang
<|jemc|> morton: depends on what's tripping you up
<|jemc|> ruby is typically very easy to read, but honestly has a lot of wacky syntax rules that make the learning curve for *really* understanding it kind of steep
<|jemc|> so writing it is a little more difficult
ruby-lang056 has joined #ruby-lang
morton has quit [Quit: Page closed]
<weaksauce> python is pretty easy as there is only one way to do things typcially
<weaksauce> typically*
Mon_Ouie has quit [Quit: WeeChat 1.1.1]
<weaksauce> but morton isn't here anymore
rbowlby has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 252 seconds]
ruby-lang056 has quit [Ping timeout: 246 seconds]
ta_ has joined #ruby-lang
diegoviola has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby-lang
apeiros_ has joined #ruby-lang
jo__ has quit [Quit: Connection closed for inactivity]
ta_ has quit [Ping timeout: 256 seconds]
lytol has joined #ruby-lang
rbowlby_ has joined #ruby-lang
cytoskeletor has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Averna has quit [Quit: Leaving.]
hahuang65 has quit [Ping timeout: 265 seconds]
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Torrieri has quit [Quit: Lingo: www.lingoirc.com]
iliketurtles has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
ta_ has joined #ruby-lang
fclausen has quit [Ping timeout: 272 seconds]
apeiros_ has quit [Ping timeout: 245 seconds]
Torrieri has joined #ruby-lang
Torrieri has joined #ruby-lang
riffraff has joined #ruby-lang
ta_ has quit [Ping timeout: 245 seconds]
|jemc| has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
ta_ has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
iliketurtles has joined #ruby-lang
Aova has quit [Read error: Connection reset by peer]
iliketurtles has quit [Max SendQ exceeded]
ta_ has quit [Ping timeout: 252 seconds]
tunaCanBruh has quit [Ping timeout: 264 seconds]
j4cknewt has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
j4cknewt has joined #ruby-lang
Aova has joined #ruby-lang
iliketurtles has joined #ruby-lang
fclausen has joined #ruby-lang
kwd has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
kyb3r_ has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
ta_ has joined #ruby-lang
iliketurtles has quit [Excess Flood]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Max SendQ exceeded]
ta_ has quit [Ping timeout: 264 seconds]
hahuang65 has joined #ruby-lang
hahuang65 has quit [Client Quit]
djellemah has joined #ruby-lang
hahuang65 has joined #ruby-lang
iliketurtles has joined #ruby-lang
roamingdog has joined #ruby-lang
iliketurtles has quit [Remote host closed the connection]
marcdel has quit []
hahuang65 has quit [Client Quit]
hahuang65 has joined #ruby-lang
riffraff has quit [Quit: This computer has gone to sleep]
hahuang65 has quit [Client Quit]
hahuang65 has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
djellemah has quit [Ping timeout: 264 seconds]
ta_ has joined #ruby-lang
ta has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
ta has joined #ruby-lang
rahul_j has joined #ruby-lang
rahul_j has left #ruby-lang [#ruby-lang]
fclausen has quit [Ping timeout: 272 seconds]
iliketurtles has joined #ruby-lang
fusillicode has joined #ruby-lang
diegoviola has quit [Remote host closed the connection]
iliketurtles has quit [Client Quit]
fujimura has quit [Remote host closed the connection]
fujimura has joined #ruby-lang
ta has quit [Ping timeout: 252 seconds]
djellemah has joined #ruby-lang
fusillicode has quit [Ping timeout: 244 seconds]
fujimura has quit [Ping timeout: 240 seconds]
riffraff has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Aova has quit [Read error: Connection reset by peer]
riffraff has quit [Client Quit]
apeiros_ has joined #ruby-lang
ta has joined #ruby-lang
Aova has joined #ruby-lang
fclausen has joined #ruby-lang
Antivan has joined #ruby-lang
ta has quit [Remote host closed the connection]
ta has joined #ruby-lang
x0f has quit [Ping timeout: 265 seconds]
fusillicode has joined #ruby-lang
ta has quit [Ping timeout: 250 seconds]
lytol has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
x0f has joined #ruby-lang
mattyohe has quit [Quit: Connection closed for inactivity]
fusillicode has quit [Quit: Leaving.]
lytol has joined #ruby-lang
ta has joined #ruby-lang
fujimura has joined #ruby-lang
StreetlampSalad has quit [Remote host closed the connection]
fujimura has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
ta has quit [Ping timeout: 252 seconds]
dziemid has joined #ruby-lang
Integralist has joined #ruby-lang
hendranata_ has quit [Ping timeout: 255 seconds]
yfeldblu_ has joined #ruby-lang
Obfuscate has quit [Remote host closed the connection]
symm- has joined #ruby-lang
Obfuscate has joined #ruby-lang
workmad3 has quit [Ping timeout: 250 seconds]
dziemid has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 264 seconds]
fclausen has quit [Ping timeout: 272 seconds]
ta has joined #ruby-lang
hendranata_ has joined #ruby-lang
fujimura has joined #ruby-lang
djellemah has quit [Ping timeout: 252 seconds]
tunaCanBruh has joined #ruby-lang
ta_ has joined #ruby-lang
mikecmpbll has joined #ruby-lang
ta has quit [Ping timeout: 245 seconds]
tunaCanBruh has quit [Ping timeout: 252 seconds]
iamninja has joined #ruby-lang
vrinek has joined #ruby-lang
lytol has quit [Remote host closed the connection]
pabloh has joined #ruby-lang
Miphix has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
ta has joined #ruby-lang
fujimura_ has joined #ruby-lang
Sadin has quit [Remote host closed the connection]
Sadin has joined #ruby-lang
fusillicode has joined #ruby-lang
pabloh has quit [Remote host closed the connection]
pabloh has joined #ruby-lang
pabloh has quit [Remote host closed the connection]
kapil__ has quit [Quit: Connection closed for inactivity]
<yorickpeterse> morning
chinmay_dd has joined #ruby-lang
Aova has joined #ruby-lang
Sadin has quit [Ping timeout: 265 seconds]
bzalasky has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
ta has quit [Ping timeout: 252 seconds]
intinig has joined #ruby-lang
gwendall has joined #ruby-lang
ta has joined #ruby-lang
marr has joined #ruby-lang
Miphix has quit [Read error: Connection reset by peer]
Miphix has joined #ruby-lang
ta has quit [Ping timeout: 250 seconds]
Miphix is now known as Misphix
rahul_j has joined #ruby-lang
Misphix has quit [Client Quit]
Miphix has joined #ruby-lang
oak_alternate has joined #ruby-lang
fujimura_ has quit [Remote host closed the connection]
<oak_alternate> hey check out this horrible app I made!
ocko has joined #ruby-lang
<oak_alternate> any ideas how I could make the ajax request links persist for the user?
<oak_alternate> (sry if this is not the place to ask, not sure, I can move it elsewhere if necessary)
<oak_alternate> using rails on back-end
Forgetful_Lion has quit [Remote host closed the connection]
<maloik> I think it'd be better off in #rubyonrails, but when you ask make sure to include the relevant code
<maloik> I doubt people are going to dig through a live website to find exactly what you mean
<oak_alternate> oh, ok thanks I'll try there. so that's on freenode server?
<oak_alternate> found it thanks!
fujimura has joined #ruby-lang
riffraff has joined #ruby-lang
symm- has quit [Ping timeout: 245 seconds]
ta has joined #ruby-lang
pico-pete has joined #ruby-lang
mikecmpbll has quit [Read error: Connection reset by peer]
rikkipitt has joined #ruby-lang
mikecmpbll has joined #ruby-lang
piotrj has joined #ruby-lang
intinig has quit [Remote host closed the connection]
ta has quit [Ping timeout: 245 seconds]
ta has joined #ruby-lang
stef204 has joined #ruby-lang
qba73 has joined #ruby-lang
intinig has joined #ruby-lang
ta has quit [Ping timeout: 250 seconds]
tenderlove has joined #ruby-lang
qba73 has quit [Read error: Connection reset by peer]
qba73 has joined #ruby-lang
Integralist has quit [Read error: Connection reset by peer]
j4cknewt has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
arBmind1 has joined #ruby-lang
workmad3 has joined #ruby-lang
workmad3 has quit [Client Quit]
arBmind2 has joined #ruby-lang
djellemah has joined #ruby-lang
arBmind2 has quit [Client Quit]
arBmind has quit [Ping timeout: 250 seconds]
arBmind1 has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby-lang
p3ery has quit [Quit: (null)]
Aova has quit [Read error: Connection reset by peer]
Aova has joined #ruby-lang
ta has joined #ruby-lang
rahul_j has quit [Ping timeout: 244 seconds]
vrinek has quit [Quit: Leaving...]
<[spoiler]> morning
ta has quit [Ping timeout: 256 seconds]
rahul_j has joined #ruby-lang
hanjin has joined #ruby-lang
AlexAltea has quit [Ping timeout: 240 seconds]
vrinek has joined #ruby-lang
ta has joined #ruby-lang
ur5us has joined #ruby-lang
mnngfltg has joined #ruby-lang
mnngfltg2 has joined #ruby-lang
mnngfltg2 has quit [Read error: Connection reset by peer]
ghostpl has joined #ruby-lang
ldnunes has joined #ruby-lang
piotrj has quit [Ping timeout: 245 seconds]
ta has quit [Ping timeout: 264 seconds]
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
stamina has joined #ruby-lang
piotrj has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
gwendall has quit [Ping timeout: 252 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
gwendall has joined #ruby-lang
ruby-lang239 has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 264 seconds]
<ruby-lang239> Hi, i m trying to install appium_console gem and its failing at nokogiri gem!! I have installed nokogiri 1.6.6.2 but when installing appium_console its trying to install nokogiri 1.6.3.1 for some reason. Why is it installing an older version when a newer version already exists?
kyb3r_ has joined #ruby-lang
<ruby-lang239> please help....
AlexAltea has joined #ruby-lang
rikkipitt has quit [Quit: Leaving...]
<yorickpeterse> Because the Gem might depend on said version
<workmad3> ruby-lang239: that, and many other dependency questions, can usually be answered by looking at rubygems.org, e.g. https://rubygems.org/gems/appium_lib
<ruby-lang239> HUH! so yorickpeterse in the link it says ~> 1.6.3.1
piotrj has quit [Ping timeout: 255 seconds]
<ruby-lang239> i have 1.6.6.2, this should satisfy the depenedency right?
<workmad3> no
<workmad3> ~> 1.6.3.1 == >= 1.6.3.1 & < 1.6.4
rbowlby_ has quit [Remote host closed the connection]
<workmad3> why do people never seem to know what '~>' means? :(
<ruby-lang239> AH OK! got it.... i thought it meant just meant >= 1.6.3.1
<workmad3> no... that would be >= 1.6.3.1
ta has joined #ruby-lang
tenderlove has quit [Quit: Leaving...]
<ruby-lang239> i am not able to install that 1.6.3.1 version of nokogiri, I am on yosomite and the fix for installing nokogiri installs the latest version of nokogiri
<apeiros_> yorickpeterse: if you want more ranting topics, try using oracle instead of postgres.
<apeiros_> no idea what I'm doing wrong, but at the moment >50% of >350 tests fail for me (oracle enhanced adapter).
<yorickpeterse> apeiros_: do I look like I have 5 billion dollars?
<apeiros_> yes
<yorickpeterse> TIL
<apeiros_> you don't look that different from zuckerberg :-p
<yorickpeterse> ...thanks?
<apeiros_> I mean, clothing & stuff
<yorickpeterse> Hey I at least have colour in my warderobe
<yorickpeterse> * wardrobe
<yorickpeterse> and I rarely wear hoodies, only when going outside
<apeiros_> :)
<apeiros_> anyway, lunch time. hopefully the ora enhanced adapter guys tell me how I fuck up, so I can run the tests properly.
ta has quit [Ping timeout: 252 seconds]
<workmad3> apeiros_: that depends... have you sacrified enough goats to their dark gods yet?
kyb3r_ has quit [Read error: Connection reset by peer]
<yorickpeterse> yo crypto question, was CBC broken or was that EBS?
<yorickpeterse> or EBS or w/e it was
<yorickpeterse> I recall there was one which basically gave you a free trip to hell if you used it
djellemah has quit [Ping timeout: 265 seconds]
<yorickpeterse> where's tarcieri when you need him
<bnagy> yorickpeterse: ECB
<yorickpeterse> Ah, so CBC is fine?
<bnagy> um
<bnagy> in theory yes?
<bnagy> there are lots of things that can go wrong though
<bnagy> so probably not recommended for new designs
<bnagy> I'd probably recommend GCM or CTR
ta has joined #ruby-lang
<yorickpeterse> hmm
<bnagy> but mainly I'd recommend nacl sacretbox :)
<workmad3> mmm, authenticated encryption
<bnagy> *secretbox
<bnagy> ctr is pretty easy to screw up tbh
<ruby-lang239> thanks workmad3 and yorickpeterse was able to install that particular version of nokogiri and installed appium_console
<workmad3> if you're using openssl primitives, most encryption seems to be pretty easy to screw up
<yorickpeterse> > if you use openssl
<yorickpeterse> that's where you go wrong already
<workmad3> yorickpeterse: quite possible :) they do seem to have a hatred of sane defaults
ta has quit [Ping timeout: 252 seconds]
fclausen has joined #ruby-lang
<bnagy> yorickpeterse: I thought you were a rusty now? Aren't you using openssl under the hood? ;)
Aova has quit [Read error: Connection reset by peer]
Keltia has quit [Quit: Changing server]
Keltia_ is now known as Keltia
ruby-lang239 has quit [Ping timeout: 246 seconds]
ghostpl has quit [Remote host closed the connection]
<yorickpeterse> "rusty"?
Keltia has quit [Changing host]
Keltia has joined #ruby-lang
riffraff has quit [Quit: This computer has gone to sleep]
symm- has joined #ruby-lang
<bnagy> gcm is definitely preferable to ctr, it's also way more annoying to implement
<bnagy> Rust Programming Language Afficionado
<yorickpeterse> eh no
<yorickpeterse> I toyed with it, but that's about it
vrinek has quit [Quit: Leaving...]
tkuchiki has quit [Ping timeout: 264 seconds]
Xney2 has joined #ruby-lang
<wnd> funny how many probing/weak account scanning attempts that suggested configuration stops :-)
Aova has joined #ruby-lang
<yorickpeterse> Just running SSH on a non default port stops almost all login attempts you'll get
Xney has quit [Ping timeout: 246 seconds]
<bnagy> that's the one that's all tinfoil hat about the nist curves, yeah?
<workmad3> bnagy: pretty much
rahul_j has quit [Quit: rahul_j]
<bnagy> I think I read it a month ago or something when it came across my twatter. It's pretty good.
<workmad3> yeah, I incorporated most of it into my chef SSH setup... haven't gone to only using tor hidden services for SSH though :)
* bnagy wouldn't bother
houhoulis has quit [Remote host closed the connection]
<bnagy> hidden services are the least convincing part of tor
rahul_j has joined #ruby-lang
houhoulis has joined #ruby-lang
<workmad3> I had a bit of trouble until OpenSSH 6.7 came out on homebrew too... but that happened pretty quickly after the changes, so wasn't more than a minor inconvenience
<workmad3> there were issues with chacha20 on 6.6
<wnd> I was using 2**13 + 22 until I got upset about the firewall when I was working onsite at customer for nearly a year (and before I discovered corkscrew). I never went back to non-standard port, though. How it's just fail2ban and just recently (part of) that configuration.
<wnd> port-knocking would be interesting, but also a no-no with random networks
stamina has quit [Quit: WeeChat 1.1.1]
riffraff has joined #ruby-lang
<workmad3> yeah... I've pretty much just stuck with key + TOTP authentication
houhoulis has quit [Ping timeout: 265 seconds]
ta has joined #ruby-lang
<darix> wnd: ssh on 443 with something like http://www.rutschle.net/tech/sslh.shtml
arBmind has joined #ruby-lang
<darix> openvpn tcp mode on 443 is really neat for random networks
<yorickpeterse> except plenty of networks actually block openvpn's protocol :/
riffraff_ has joined #ruby-lang
riffraff has quit [Ping timeout: 250 seconds]
Voker57 has quit []
<darix> yorickpeterse: that's not your normal firewall then. they need deep packet inspection for that.
Voker57 has joined #ruby-lang
<darix> and many hotels, coffee shops and such arent that advanced.
<darix> yorickpeterse: and i doubt those firewalls would allow corkscrew and so on to pass through :)
intinig has quit [Remote host closed the connection]
ta has quit [Ping timeout: 250 seconds]
ecnalyr has joined #ruby-lang
apeiros_ has quit []
stamina has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
ta has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
intinig has joined #ruby-lang
ta has quit [Ping timeout: 252 seconds]
stamina has quit [Quit: WeeChat 1.1.1]
fclausen has quit [Ping timeout: 272 seconds]
ta has joined #ruby-lang
intinig has quit [Remote host closed the connection]
rbowlby has joined #ruby-lang
ta has quit [Ping timeout: 252 seconds]
rbowlby has quit [Ping timeout: 265 seconds]
intinig has joined #ruby-lang
apeiros_ has joined #ruby-lang
tkuchiki has joined #ruby-lang
roamingdog has joined #ruby-lang
charliesome has joined #ruby-lang
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ta has joined #ruby-lang
fclausen has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
vrinek has joined #ruby-lang
ta has quit [Ping timeout: 240 seconds]
Aova has quit [Read error: Connection reset by peer]
ghostpl has joined #ruby-lang
fclausen has quit [Ping timeout: 272 seconds]
Aova has joined #ruby-lang
ghostpl has quit [Ping timeout: 240 seconds]
<yorickpeterse> darix: I know of at least one university in France that does this
<yorickpeterse> also, openvpn's protocol is fairly easy to detect IIR
<yorickpeterse> * IIRC
Lewix has joined #ruby-lang
intinig has quit [Remote host closed the connection]
<workmad3> would depend a bit on whether the traffic was wrapped up in an allowable protocol (such as a persistant https connection for example)
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
stef204 has joined #ruby-lang
<workmad3> tbh, there comes a point where you have to ask whether it's worthwhile bothering to circumvent the countermeasures though... with a network that's so actively against you, why do you want to access your secure servers? Just change to a trusted network :)
vrinek has quit [Quit: Leaving...]
<yorickpeterse> Well, so a friend wanted to play vidya on the campus
<yorickpeterse> and they block pretty much everything
<yorickpeterse> I've yet to see them block OpenVPN via SOCKS5
caral has joined #ruby-lang
<yorickpeterse> they do however block SSH for some reason
<yorickpeterse> Tried running it over port 80, but then the wifi splash page tries to hijack it
<yorickpeterse> "port 80? that's HTTP...ALWAYS"
futilegames_ has joined #ruby-lang
futilegames has quit [Ping timeout: 245 seconds]
futilegames_ is now known as futilegames
fujimura has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby-lang
djellemah has joined #ruby-lang
symm- has quit [Ping timeout: 250 seconds]
sudoubuntu has joined #ruby-lang
mkaesz has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
hahuang61 has joined #ruby-lang
tkuchiki has joined #ruby-lang
hahuang61 has quit [Ping timeout: 265 seconds]
ta has joined #ruby-lang
roamingdog has joined #ruby-lang
ecnalyr has quit [Quit: Macbook has gone to sleep. . .]
ta has quit [Ping timeout: 252 seconds]
ta has joined #ruby-lang
<wnd> I wonder if they would have blocked ip over dns
<wnd> (and iodine is one of the reasons I still carry my n900 with me when I travel)
jxie_ has joined #ruby-lang
<yorickpeterse> can't exactly play games over DNS :P
ghostpl has joined #ruby-lang
ta has quit [Ping timeout: 246 seconds]
roamingdog has quit [Remote host closed the connection]
workmad3 is now known as wm3|away
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jxie has quit [Ping timeout: 264 seconds]
vrinek has joined #ruby-lang
<wnd> I never tired playing, but it can be quite fast. My ping from a random wifi in Riga, through my server back in Finland, was usually around 100-300 ms. Not enough for most games, but more than enogh for almost anything else. I even use VoIP once. Throughput leaves room for improvement but with ~700 byte requests that's quite all right. Accidentally started watching a news clip once, even.
Novalenko has joined #ruby-lang
<wnd> and in unrelated news, Haken (as in progressive metal) still works for me :-)
Aova has quit [Read error: Connection reset by peer]
<Novalenko> Just looked Haken up, sounds pretty good
vrinek has quit [Quit: Linkinus - http://linkinus.com]
<maloik> I concur
<maloik> reminds me of in flames
Aova has joined #ruby-lang
<maloik> actually, dream theater even more
roamingdog has joined #ruby-lang
charliesome has quit [Quit: zzz]
Novalenko has quit [Ping timeout: 240 seconds]
djellemah has quit [Ping timeout: 240 seconds]
ta has joined #ruby-lang
ta has quit [Ping timeout: 252 seconds]
rahul_j has quit [Quit: rahul_j]
intinig has joined #ruby-lang
<Eising> does anyone know if I can temporary suspend a rack middleware from running?
ghostpl has quit [Remote host closed the connection]
Torrieri has quit [Quit: Be back later ...]
Torrieri has joined #ruby-lang
Torrieri has joined #ruby-lang
hendranata_ has quit [Ping timeout: 245 seconds]
jo__ has joined #ruby-lang
<yorickpeterse> No, you have to take it out of the middleware list
rahul_j has joined #ruby-lang
cmisenas has joined #ruby-lang
<lupine> you could write a suppressor wrapper, wouldn't be much work
<Eising> right
<lupine> although there's several ways to do it, the rack api doesn't really lend itself to this
<Eising> but the problem is that I have a page that is called with .pdf
<Eising> I use pdfkit
<Eising> and for most actions it should generate a page that can be converted in to pdf, except one...
<Eising> where I generate the pdf inline
Torrieri has quit [Ping timeout: 252 seconds]
<Eising> so I was thinking that I might be able to do a redirect away from the .pdf url
<Eising> if I can detect it somehow
<lupine> you'd basically have to build two downstream chains, one with the middleware you want, one without, and then select a downstream chain based on whatever criteria
<Eising> (this is sinatra btw)
<lupine> oh, that's easy. you can just return a redirect and ignore the downstream
<lupine> if path =~ /\.pdf\Z/i or so
fusillicode has quit [Ping timeout: 240 seconds]
<Eising> lupine: right, that was what I ended up with also. I'll try it :)
ta has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
<Eising> lupine: except that sinatra's env doesn't show the .pdf part of the path
<lupine> probably because your middleware has been placed somewhere after something that strips it out
<lupine> put it before the stripping-out-middleware, job done
ta has quit [Ping timeout: 250 seconds]
ryba has joined #ruby-lang
<Eising> nevermind, REQUEST_PATH has it...
ryba is now known as simi
marr has quit [Read error: Connection reset by peer]
ta_ has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 244 seconds]
sankaber has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
piotrj has joined #ruby-lang
tkuchiki has joined #ruby-lang
<Eising> lupine: that worked great. Thanks for the help :)
cmisenas has quit [Quit: cmisenas]
tkuchiki has quit [Ping timeout: 245 seconds]
intinig has quit [Remote host closed the connection]
ocko has quit [Remote host closed the connection]
hagabaka has quit [Read error: Connection reset by peer]
ocko has joined #ruby-lang
hagabaka has joined #ruby-lang
ta has joined #ruby-lang
Aova has quit [Read error: Connection reset by peer]
ghostpl has joined #ruby-lang
Aova has joined #ruby-lang
ta has quit [Ping timeout: 252 seconds]
ta has joined #ruby-lang
amystephen has joined #ruby-lang
jxie_ has quit [Quit: leaving]
malconis has joined #ruby-lang
malconis has quit [Remote host closed the connection]
jxie has joined #ruby-lang
fujimura has joined #ruby-lang
malconis has joined #ruby-lang
momomomomo has joined #ruby-lang
tcopeland has quit [Quit: Leaving.]
wm3|away is now known as workmad3
stardiviner has quit [Ping timeout: 240 seconds]
Novalenko has joined #ruby-lang
fujimura has quit [Ping timeout: 252 seconds]
Pugsley_ has joined #ruby-lang
setanta has joined #ruby-lang
Novalenko has quit [Ping timeout: 240 seconds]
Antivan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cmisenas has joined #ruby-lang
hanjin has left #ruby-lang [#ruby-lang]
ocko has quit [Remote host closed the connection]
marr has joined #ruby-lang
chadwtaylor has joined #ruby-lang
fusillicode has joined #ruby-lang
oleo has joined #ruby-lang
chinmay_dd has quit [Quit: Connection closed for inactivity]
ruby-lang239 has joined #ruby-lang
ruby-lang239 has left #ruby-lang [#ruby-lang]
rahul_j has quit [Quit: rahul_j]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has joined #ruby-lang
vrinek has joined #ruby-lang
enebo has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
slawrence00 has joined #ruby-lang
piotrj has quit [Remote host closed the connection]
piotrj has joined #ruby-lang
yatish27 has joined #ruby-lang
j4cknewt has joined #ruby-lang
sankaber has quit [Read error: Connection reset by peer]
tunaCanBruh has quit [Ping timeout: 255 seconds]
sankaber has joined #ruby-lang
tcopeland has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
oleo is now known as Guest11037
oleo__ has joined #ruby-lang
Guest11037 has quit [Ping timeout: 240 seconds]
mattyohe has joined #ruby-lang
oleo__ has quit [Read error: Connection reset by peer]
whippythellama has joined #ruby-lang
piotrj has quit [Read error: Connection reset by peer]
oleo__ has joined #ruby-lang
ta has quit [Read error: Connection timed out]
intinig has joined #ruby-lang
gwendall has quit [Ping timeout: 252 seconds]
bzalasky has joined #ruby-lang
stardiviner has joined #ruby-lang
ta has joined #ruby-lang
Aova has quit [Read error: Connection reset by peer]
tunaCanBruh has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
nathanstitt has joined #ruby-lang
chadwtaylor has quit [Remote host closed the connection]
Aova has joined #ruby-lang
momomomomo has joined #ruby-lang
marr has quit [Ping timeout: 265 seconds]
banister has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
gwendall has joined #ruby-lang
chadwtaylor has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cmisenas has quit [Ping timeout: 240 seconds]
roamingdog has quit [Remote host closed the connection]
b_hoffman has joined #ruby-lang
b_hoffman has quit [Client Quit]
j4cknewt has quit [Remote host closed the connection]
ledestin has quit [Quit: ledestin]
cmisenas has joined #ruby-lang
havenwood has joined #ruby-lang
rippa has joined #ruby-lang
b_hoffman has joined #ruby-lang
dzejrou has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
riotjone_ has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 255 seconds]
roamingdog has joined #ruby-lang
iamninja has quit [Quit: ZZZzzz…]
momomomomo has joined #ruby-lang
rahul_j has joined #ruby-lang
mustmodify has joined #ruby-lang
<mustmodify> I'm looking for a light-weight framework to experiment with micro-services in support of my monolithic Rails app. Any suggestions? I'm currently experimenting with Scorched.
<mustmodify> only one thing bothers me, which is that every time I type it, my fingers add a T ... scortched.
<mustmodify> no idea why.
kwd has quit [Quit: kwd]
<workmad3> mustmodify: it does sound like there's a 't' in there when I say 'scorched' :)
<yorickpeterse> what's wrong with just using separate Sinatra apps/
<yorickpeterse> * ?
wallerdev has joined #ruby-lang
<havenwood> mustmodify: I've really been enjoying Roda: http://roda.jeremyevans.net/
<mustmodify> Sinatra, Scort, whatever.
<havenwood> mustmodify: The Roda plugin system is fantastic.
<j2p2> ooh never seen Roda before
<j2p2> that's pretty slick
tcopeland has quit [Quit: Leaving.]
ghostpl has quit [Remote host closed the connection]
doobi-sham-95717 has joined #ruby-lang
zeba has joined #ruby-lang
fujimura_ has joined #ruby-lang
yatish27 has joined #ruby-lang
Aova has quit [Read error: Connection reset by peer]
piotrj has joined #ruby-lang
kshah has joined #ruby-lang
<kshah> is there a standard way in a gemspec to state that a gem is optional, that is, if you can build it, great, if it can’t be built, you can’t use a specific feature… or should this just be handled in an entirely separate gem?
<kshah> or do people just advise with post-installation messages?
momomomomo has quit [Quit: momomomomo]
roamingdog has quit [Remote host closed the connection]
oleo__ is now known as oleo
<havenwood> kshah: I don't know of any Bundler-specific way, but the Gemfile is Ruby so you could `rescue LoadError` etc.
<kshah> havenwood: yes, I’m looking for a way to do this within the Gem::Specification syntax
Aova has joined #ruby-lang
<havenwood> kshah: hmm
piotrj has quit [Ping timeout: 255 seconds]
<kshah> it seems to me it would defeat the point to have “optional dependencies” oxymoron as that is
<havenwood> kshah: Oh sorry, I was looking at other channels, no Bundler even in your question! >.>
<kshah> np
mkaesz has quit [Remote host closed the connection]
mustmodify has left #ruby-lang [#ruby-lang]
yfeldblum has joined #ruby-lang
RitterJack has joined #ruby-lang
RobertBirnie has joined #ruby-lang
<havenwood> kshah: Some discussion of the subject: https://github.com/rubygems/rubygems/issues/346
<kshah> havenwood: yeah, I saw that, but you’re right it is the most relevant discussion on this.. and the conclusion I believe is don’t be a hero and confuse rubygems, just use begin/rescue
zeba has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 252 seconds]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
zach has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros_ has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby-lang
fujimura_ has quit [Read error: Connection reset by peer]
konr has joined #ruby-lang
fujimura_ has joined #ruby-lang
TvL2386 has joined #ruby-lang
greenarrow has joined #ruby-lang
j4cknewt has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
fujimura_ has quit [Ping timeout: 264 seconds]
momomomomo has joined #ruby-lang
tcopeland has joined #ruby-lang
roamingdog has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
gwendall has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
rahul_j has quit [Ping timeout: 255 seconds]
ta has quit [Ping timeout: 252 seconds]
zach has quit [Quit: Leaving]
momomomomo has quit [Ping timeout: 250 seconds]
JohnBat26 has joined #ruby-lang
zach has joined #ruby-lang
riotjones has joined #ruby-lang
rahul_j has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
b_hoffman has joined #ruby-lang
Xeago_ has joined #ruby-lang
Xeago_ has left #ruby-lang [#ruby-lang]
riotjones has quit [Ping timeout: 245 seconds]
zach has quit [Quit: Leaving]
zach has joined #ruby-lang
priodev has quit [Ping timeout: 245 seconds]
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
rbowlby has joined #ruby-lang
fusillicode has quit [Ping timeout: 245 seconds]
apeiros_ has joined #ruby-lang
bb010g has quit [Quit: Connection closed for inactivity]
vrinek has quit [Quit: Linkinus - http://linkinus.com]
banister has joined #ruby-lang
momomomomo has joined #ruby-lang
redgluten has joined #ruby-lang
rbowlby has quit [Ping timeout: 252 seconds]
vondruch has quit [Quit: Ex-Chat]
ta has joined #ruby-lang
Aova has quit [Read error: Connection reset by peer]
simi has quit [Ping timeout: 245 seconds]
ta has quit [Ping timeout: 245 seconds]
ldnunes has quit [Ping timeout: 244 seconds]
ldnunes has joined #ruby-lang
Aova has joined #ruby-lang
momomomomo_ has joined #ruby-lang
thisirs has joined #ruby-lang
momomomomo has quit [Ping timeout: 245 seconds]
momomomomo_ is now known as momomomomo
bzalasky has joined #ruby-lang
dagda1__ has joined #ruby-lang
dagda1_ has quit [Ping timeout: 245 seconds]
j4cknewt has quit [Ping timeout: 244 seconds]
riffraff_ has quit [Quit: This computer has gone to sleep]
bzalasky has quit [Remote host closed the connection]
redgluten has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
bin7me has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
rahul_j has quit [Quit: rahul_j]
momomomomo has quit [Quit: momomomomo]
yatish27 has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
deol has joined #ruby-lang
TvL2386 has quit [Remote host closed the connection]
riffraff has joined #ruby-lang
roamingdog has quit [Read error: Connection reset by peer]
roamingd_ has joined #ruby-lang
roamingd_ has quit [Remote host closed the connection]
kyb3r_ has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
qba73 has quit []
mnngfltg has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
greenarrow has quit [Quit: 500]
simi has joined #ruby-lang
wallerdev has joined #ruby-lang
Lewix has quit [Client Quit]
yatish27 has joined #ruby-lang
Miphix has quit [Quit: Leaving]
iliketurtles has joined #ruby-lang
mikecmpbll has joined #ruby-lang
rbowlby has joined #ruby-lang
RobertBirnie has joined #ruby-lang
zach has quit [Quit: Leaving]
_djbkd has joined #ruby-lang
Miphix has joined #ruby-lang
Aova has quit [Read error: Connection reset by peer]
mostlybadfly has joined #ruby-lang
ta has joined #ruby-lang
arBmind has joined #ruby-lang
arBmind has quit [Client Quit]
cmisenas has quit [Ping timeout: 255 seconds]
Aova has joined #ruby-lang
workmad3 has quit [Ping timeout: 256 seconds]
ta has quit [Ping timeout: 255 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
awerush has joined #ruby-lang
<awerush> Greetings. Quick question: is Net::HTTP thread safe? Especially when it comes to open_timeout, read_timeout. I found some quite old blog posts about Timeout#timeout being the problem.
gix has quit [Ping timeout: 255 seconds]
chouhoulis has quit [Ping timeout: 264 seconds]
<wallerdev> i know there was a lot of discussion about how net/http was awful a few years ago, dont remember why though or if anything has changed since then
<wallerdev> haha
_djbkd has quit [Remote host closed the connection]
gix has joined #ruby-lang
thisirs has quit [Ping timeout: 244 seconds]
_djbkd has joined #ruby-lang
benlovell has joined #ruby-lang
dellavg_ has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
awerush has quit [Quit: Leaving]
riotjones has joined #ruby-lang
kshah has quit [Quit: kshah]
hahuang61 has joined #ruby-lang
lytol has joined #ruby-lang
havenwood has quit []
Mon_Ouie has quit [Quit: WeeChat 1.1.1]
riotjones has quit [Ping timeout: 264 seconds]
roamingdog has joined #ruby-lang
AlexAltea has quit [Ping timeout: 252 seconds]
iamninja has joined #ruby-lang
roamingdog has quit [Ping timeout: 250 seconds]
thebastl has joined #ruby-lang
thebastl has quit [Client Quit]
thebastl has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
priodev has joined #ruby-lang
ghostpl has joined #ruby-lang
momomomomo has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
riffraff has quit [Quit: This computer has gone to sleep]
ghostpl has quit [Ping timeout: 265 seconds]
Aova has quit [Read error: Connection reset by peer]
lytol has quit [Remote host closed the connection]
konr has quit [Quit: Connection closed for inactivity]
lytol has joined #ruby-lang
Aova has joined #ruby-lang
benlovell has quit [Ping timeout: 246 seconds]
riffraff has joined #ruby-lang
cornerma1 has joined #ruby-lang
sarkyniin has joined #ruby-lang
yfeldblum has joined #ruby-lang
cornerman has quit [Ping timeout: 252 seconds]
cornerma1 is now known as cornerman
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
AlexAltea has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
AlexAltea has quit [Remote host closed the connection]
lytol has quit [Remote host closed the connection]
AlexAltea has joined #ruby-lang
<Senjai> net/http is awesome
<yorickpeterse> meh
<yorickpeterse> it's pretty wonky actually
lytol has joined #ruby-lang
ta has joined #ruby-lang
big_poppa has joined #ruby-lang
<big_poppa> hello everyone
<momomomomo> Hello
<momomomomo> Senjai: net/http in ruby or go? :P
<Pugsley_> Hey guys! I'm interested in Getting started with Ruby (Sinatra in particular) any suggestions for where to start?
<Senjai> momomomomo: In both :P
<Senjai> I've had no issues with either
<momomomomo> !books
<Pugsley_> I've done some basic Ruby, not really sure where is the best place to start :P
<momomomomo> !book
<momomomomo> !tutorial
<momomomomo> !helpa
<momomomomo> damn
<Pugsley_> .book
<Pugsley_> Welp
<momomomomo> really depends what you want to learn; a good general ruby book is The Well Grounded Rubyist
<Pugsley_> Any online wiki, ebooks anything like that?
<big_poppa> i would like to write a web app that analyzes data pulled from a TCP relay by performing some simple calculations, and then presents data that meets certain user-specified criteria in a table. the problem is, this would mean that in addition to serving pages, the method connected to the relay would need to run 24/7. i have been able to do this locally in python but i would like to turn it into a web app. can this be done with ru
ta has quit [Ping timeout: 264 seconds]
zach has joined #ruby-lang
futilegames has quit [Quit: futilegames]
mikecmpbll has quit [Quit: ciao.]
lytol has quit [Remote host closed the connection]
<jhass> first of all ruby can do all python can do and vice versa, it's pretty much a question of which language you like more
<jhass> and I think what you really have is a design question
<jhass> your collector and your web app should most likely be separate processes/applications that communicate through a common datastore
<big_poppa> that's what i was thinking but i wasn't sure if that was a possibility
<big_poppa> i like what i've seen from ruby so far so my initial thoughts were to use ruby on rails for the user interface, but write the data to the database from a constantly running python script
<big_poppa> which should be easy to hack together since i already have all the code necessary to run this locally
gwendall has joined #ruby-lang
<big_poppa> and display the data on a webpage straight out of '95
<jhass> certainly possible
<jhass> I think the hardest part is to find out what you want to store, where and how
<jhass> then find a datastore that has nice client libraries for both languages ideally
<big_poppa> the issue is i have literally no knowledge about databases
<big_poppa> never used them
<jhass> there's always a first time!
<big_poppa> i used html 5 to read a .txt file from the folder my index.html is in, and i just wrote html-formatted code containing the relevant data to this text file using a loop
<jhass> since your description is a bit "high level" (in other words vague), it's a bit hard to give any more specific recommendations
<big_poppa> which is probably absolutely disgusting to anyone who knows anything about databases
duderonomy has joined #ruby-lang
<big_poppa> no secrecy involved, just dunno how well i can explain it haha
<big_poppa> TCP relay pushes out data on market orders in EVE online, those orders are analyzed and numbers are crunched, and ideally orders matching certain parameters specified by the user are all displayed nicely in a sorted table
ta has joined #ruby-lang
<big_poppa> if ruby can do number crunching, what i would probably do then is just write a python script that would just pull the data from TCP and push it straight into a DB, which ruby would then pull data from when necessary
<jhass> so, that sounds like you want to store them unconditionally and the "user defined criteria" part is just for display
<big_poppa> exactly
<jhass> how does a order look like, do you need to associate to other data, i.e. items, users involved?
<big_poppa> so the way data arrives is: you get json containing all orders for a particular item in a particular region. i need to run calculations based on the orders on this item, and store the data for each item in each region
<big_poppa> if i get data for an item/region combo for which i already have data, i would overwrite the previous data
<jhass> sounds like you easily want to associate other stuff, like the original data to the computed results, both to the region etc
<big_poppa> i need to associate many things to many other things, my python is a mess of dicts and arrays
<jhass> typically for such structured data you would use an RDBMS, relational database management system
<jhass> many of those can probably do a fair deal of the crunching for you, though that involves learning a bunch of SQL
ta has quit [Ping timeout: 252 seconds]
<jhass> typical choices are SQLite, PostgreSQL and MySQL/MariaDB
<momomomomo> sqlite isn’t a choice for any real size data
<jhass> SQLite is good for prototyping since it has literally no setup, you just point the client library to a filename
<jhass> but as said it doesn't scale well
<jhass> since both understand SQL (granted, some details differ), prototyping with SQLite and later switching to for example postgres is certainly something to think about
ta has joined #ruby-lang
<big_poppa> i have a teeny bit of experience with sql
riffraff has quit [Quit: Leaving]
<bougyman> you end up not actually using postgres' features if you do it that way, sometimes.
<bougyman> for example, if you wanted to use pg as a document store you'd want to start right with postgres for its jsonb types and operators.
<momomomomo> in general though, you should develop with the same db as you rproduction db will use
<jhass> yeah, but his data doesn't look too suited for a doc store, except maybe for archiving the raw captures
<bougyman> I agree fully, momomomomo.
<bougyman> jhass: was just one example.
<bougyman> I didn't look at his specific datas.
<big_poppa> bougyman: many columns, much wow
havenwood has joined #ruby-lang
<bougyman> anything that postgrs has which sqlite didn't, really.
<jhass> all I'm saying is that postgres can be a bit overwhelming if you're new to databases, SQLite is a bit more forgiving, not performance wise but in setup & usage
<jhass> so IMO it's good to tip your toes into the RDMS world
<jhass> *RDBMS
<big_poppa> ya but i don't want to dip my toes
<big_poppa> i want to jump in head first
<big_poppa> learn to swim or drown
<big_poppa> that's how i like to learn, by failing miserably over and over until something works and i have no idea why it ACTUALLY works but i'm just happy i managed to get it to do so
ta has quit [Ping timeout: 264 seconds]
roamingdog has joined #ruby-lang
mikecmpbll has joined #ruby-lang
houhoulis has joined #ruby-lang
benlovell has joined #ruby-lang
roamingdog has quit [Ping timeout: 264 seconds]
cmisenas has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
Aova has quit [Read error: Connection reset by peer]
big_poppa has quit [Ping timeout: 246 seconds]
Pugsley_ has quit [Quit: Lingo: www.lingoirc.com]
Aova has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
Pugsley_ has joined #ruby-lang
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
bb010g has joined #ruby-lang
Musashi007 has joined #ruby-lang
j4cknewt has joined #ruby-lang
fusillicode has joined #ruby-lang
ur5us has joined #ruby-lang
riotjones has joined #ruby-lang
<[spoiler]> Ugh Is there a way to do something like `ruby ">= 1.9.3"` in a Gemfile?
riotjones has quit [Ping timeout: 250 seconds]
mkaesz has joined #ruby-lang
yfeldblum has joined #ruby-lang
_djbkd has quit [Remote host closed the connection]
momomomomo_ has joined #ruby-lang
momomomomo has quit [Ping timeout: 244 seconds]
momomomomo_ is now known as momomomomo
roamingdog has joined #ruby-lang
Pugsley_ has quit [Quit: Lingo: www.lingoirc.com]
Pugsley_ has joined #ruby-lang
<darix> [spoiler]: if i recall correctly yes ;)
momomomomo has quit [Quit: momomomomo]
roamingdog has quit [Read error: No route to host]
roamingdog has joined #ruby-lang
dorei has joined #ruby-lang
iliketurtles has joined #ruby-lang
thisirs has joined #ruby-lang
<[spoiler]> darix: it only lets you specify a specific ruby version, it does not support operators :/
<havenwood> [spoiler]: How about specifying the Ruby version in .ruby-version instead of Gemfile?
roamingdog has quit [Remote host closed the connection]
<[spoiler]> havenwood: who said I am using RVM or similar? :P
<[spoiler]> I wanted to specify it as a requirement
<[spoiler]> oh well
<[spoiler]> Ended up using `Gem::Version.new(RUBY_VERSION) >= Gem::Version.new(required_ruby = '1.9.3')` in the gemfile
<[spoiler]> and raising an exception if they don't match
<[spoiler]> Okay I'm off now, guys! See you later or tomorrow :-)
momomomomo has joined #ruby-lang
mkaesz has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 245 seconds]
Sadin has joined #ruby-lang
postmodern has joined #ruby-lang
fclausen has joined #ruby-lang
crdpink has quit [Quit: q term]
diegoviola has joined #ruby-lang
_djbkd has joined #ruby-lang
crdpink has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dellavg_ has quit [Ping timeout: 264 seconds]
Aova has quit [Read error: Connection reset by peer]
StreetlampSalad has joined #ruby-lang
_djbkd has quit [Ping timeout: 245 seconds]
qba73 has joined #ruby-lang
Aova has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
gwendall has joined #ruby-lang
benlovell has quit [Ping timeout: 264 seconds]
fclausen has quit [Ping timeout: 272 seconds]
wallerdev has quit [Quit: wallerdev]
dziemid has joined #ruby-lang
Sadin has quit [Remote host closed the connection]
ta has joined #ruby-lang
wallerdev has joined #ruby-lang
Sadin has joined #ruby-lang
gwendall has quit [Ping timeout: 252 seconds]
Sadin has quit [Remote host closed the connection]
_djbkd has joined #ruby-lang
dziemid has quit [Remote host closed the connection]
lytol has joined #ruby-lang
momomomomo has quit [Ping timeout: 245 seconds]
gwendall has joined #ruby-lang
linoespinoza has joined #ruby-lang
rikkipitt has joined #ruby-lang
workmad3 has joined #ruby-lang
sarkyniin has quit [Quit: Quit]
thebastl has quit [Quit: Leaving...]
crdpink has quit [Quit: q term]
thisirs has quit [Ping timeout: 255 seconds]
Double has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 255 seconds]
iliketurtles has quit [Quit: zzzzz…..]
tunaCanBruh has joined #ruby-lang
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chadwtaylor has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
AlexAltea has quit [Ping timeout: 252 seconds]
setanta has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
sarkyniin has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
sarkyniin has quit [Read error: Connection reset by peer]
bin7me has quit [Read error: Connection reset by peer]
Aova has quit [Read error: Connection reset by peer]
StevenNunez has joined #ruby-lang
<StevenNunez> I've got some weird code going on
<StevenNunez> it's coming
<StevenNunez> wtf_hash = Hash.new {|h,k| h[k] = []; 0}
Mon_Ouie has quit [Read error: Connection reset by peer]
<StevenNunez> wtf_hash[:banana] #=> 0
<StevenNunez> wtf_hash[:banana] #=> []
<StevenNunez> que?
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
StreetlampSalad has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
havenwood has quit []
Aova has joined #ruby-lang
<matled> StevenNunez: on the first access you call the block because the key :banana doesn't exist yet. you decide to assign [] as the value for that key but return 0 (wtf). second time the block is not executed and you get the value, as it exists.
nunayerBeezwax has joined #ruby-lang
nunayerB_ has joined #ruby-lang
rikkipitt has quit [Remote host closed the connection]
StevenNu_ has joined #ruby-lang
chadwtaylor has joined #ruby-lang
yfeldblum has joined #ruby-lang
StevenNunez has quit [Ping timeout: 264 seconds]
riotjones has joined #ruby-lang
nunayerBeezwax has quit [Ping timeout: 245 seconds]
StevenNu_ has quit [Remote host closed the connection]
redgetan has quit [Quit: This computer has gone to sleep]
Antivan has joined #ruby-lang
Torrieri has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Torrieri has quit [Changing host]
Torrieri has joined #ruby-lang
marr has joined #ruby-lang
Antivan has quit [Client Quit]
riotjones has quit [Ping timeout: 252 seconds]
j4cknewt has quit [Remote host closed the connection]
fclausen has joined #ruby-lang
wallerdev has joined #ruby-lang
Double has quit [Ping timeout: 250 seconds]
hachiya_ has quit [Quit: bye]
chadwtaylor has quit [Read error: Connection reset by peer]
chadwtaylor has joined #ruby-lang
hachiya has joined #ruby-lang
<ljarvis> at least the variable name is applicable
cmisenas has quit [Read error: Connection reset by peer]
dorei has quit []
cmisenas has joined #ruby-lang
rikkipitt has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
maso has joined #ruby-lang
iliketurtles has joined #ruby-lang
hramrach has quit [Ping timeout: 250 seconds]
iliketurtles has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
hramrach has joined #ruby-lang
AlexAltea has joined #ruby-lang
chadwtaylor has quit [Remote host closed the connection]
RitterJack has quit [Remote host closed the connection]
cytoskeletor has joined #ruby-lang
dzejrou has quit [Ping timeout: 252 seconds]
tunaCanBruh has quit [Ping timeout: 245 seconds]
diegoviola has quit [Remote host closed the connection]
gwendall_ has joined #ruby-lang
skade has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
gwendall has quit [Ping timeout: 252 seconds]
rikkipitt has quit [Quit: Leaving...]
Aova has quit [Read error: Connection reset by peer]
lele has quit [Ping timeout: 252 seconds]
tunaCanBruh has joined #ruby-lang
Aova has joined #ruby-lang
whippythellama has quit [Quit: whippythellama]
amsi has joined #ruby-lang
jxie has quit [Quit: leaving]
enebo has quit [Quit: enebo]
yatish27 has quit [Remote host closed the connection]
Sadin has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
solars has quit [Ping timeout: 256 seconds]
skade has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 264 seconds]
iliketurtles has quit [Quit: zzzzz…..]
apeiros_ has joined #ruby-lang
linoespinoza has quit [Quit: Textual IRC Client: www.textualapp.com]
iliketurtles has joined #ruby-lang
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
__butch__ has quit [Quit: Leaving.]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
tkuchiki has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 250 seconds]
iamninja has quit [Max SendQ exceeded]
cytoskeletor has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Averna has joined #ruby-lang
iamninja has joined #ruby-lang
jo__ has quit [Quit: Connection closed for inactivity]
workmad3 has quit [Ping timeout: 240 seconds]