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
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…]
<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]
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
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
<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/
<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]
<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]
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]
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]
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]