<ecommence>
Check it out guys! World's first demo of how to use OpenBSD with Rails to host your next killer apps: https://github.com/basicfeatures/openbsd-rails -- feedback/constructive criticism welcome!
jabberwock has joined #ruby
<jabberwock>
I'm looking to proxy either `ruby` or `irb` but just settings HTTPS_PROXY= ./ruby etc. isn't working for me
lfalcao has quit [Ping timeout: 264 seconds]
<gearnode>
jabberwock: Maybe use Wireshark with mitmproxy can help you :)
teclator has quit [Remote host closed the connection]
roadie has quit [Ping timeout: 272 seconds]
<adam12>
jabberwock: Which http library are you using?
lfalcao has joined #ruby
<jabberwock>
adam12: this is some internal library. Normally I could set the proxy with that variable but this isn't honoring it
<jabberwock>
And the target doesn't have proxychains etc
<jabberwock>
I can get around it but it's a pain
<adam12>
jabberwock: So is your internal library using Net::HTTP?
<jabberwock>
good q! I'm not sure, digging
<adam12>
Not sure about HTTPS_PROXY. Maybe HTTP_PROXY (without the S)
<jabberwock>
yeah I tried both. I've never used them with ruby, so now I know
goldfish has joined #ruby
<adam12>
I’m not sure if all HTTP clients for Ruby will honor them. Net::HTTP should, but again I’m not sure about that specific ENV variable. If it’s a legit var, it might be worth seeing if the `URI` library needs to be modified to support it.
Qchmqs has quit [Ping timeout: 268 seconds]
roadie has joined #ruby
* jabberwock
nods
<jabberwock>
👍
<jabberwock>
ty
pwnd_sfw5 has joined #ruby
pwnd_sfw has quit [Read error: Connection reset by peer]
pwnd_sfw5 is now known as pwnd_sfw
roadie has quit [Ping timeout: 244 seconds]
jabberwock has quit [Quit: WeeChat 2.8]
roadie has joined #ruby
postmodern has joined #ruby
roadie has quit [Ping timeout: 268 seconds]
lfalcao has quit [Ping timeout: 244 seconds]
roadie has joined #ruby
Guest71 has joined #ruby
roadie has quit [Ping timeout: 264 seconds]
lfalcao has joined #ruby
roadie has joined #ruby
involans has quit [Ping timeout: 268 seconds]
lfalcao has quit [Ping timeout: 244 seconds]
Guest71 has quit [Quit: Client closed]
involans has joined #ruby
involans has quit [Ping timeout: 268 seconds]
roadie has quit [Ping timeout: 268 seconds]
billyruffian has joined #ruby
billyruffian has quit [Ping timeout: 244 seconds]
involans has joined #ruby
lunarkitty has joined #ruby
billyruffian has joined #ruby
roadie has joined #ruby
TomyWork has quit [Remote host closed the connection]
postmodern has quit [Remote host closed the connection]
chonkbit has joined #ruby
billyruffian has quit [Ping timeout: 268 seconds]
Nowaker has quit [Remote host closed the connection]
Nowaker has joined #ruby
billyruffian has joined #ruby
postmodern has joined #ruby
billyruffian has quit [Client Quit]
billyruffian has joined #ruby
billyruffian has quit [Remote host closed the connection]
lfalcao has joined #ruby
atj1 has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
atj has quit [*.net *.split]
atj1 is now known as atj
lfalcao has quit [Ping timeout: 264 seconds]
crankharder has quit [Quit: leaving]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
tempate has joined #ruby
<tempate>
Is it possible iterate over a list by getting groups of n elements (e.g. the interations over [1,2,3,4] for n = 2 would be [1,2], [2,3] and [3,4]) ?
<tempate>
I guess each_cons is what I'm looking for
billyruffian has joined #ruby
billyruffian has quit [Ping timeout: 268 seconds]
<tempate>
Resending because I'm not sure if my last message got through
<nakilon>
guys, imagine a Ruby API backend dev. vacancy and a test task to implement the page https://i.imgur.com/gAXD1kb.png where 1) the button Buy subtracts money from user's balance 2) for simplicity every item is of quantity of either 0 or 1 3) for simplicity no need to implement auth 4) "code should be simple, not complicated, no excessive things, but
<mayhew>
anyone using Spring with Rails? I notice it's using about 5% CPU constantly even when I'm not interacting with my project, it's called lstat on all of my ruby files over and over. Is this expected? I feel like it should be using inotify or something so it's not polling.
henninb has joined #ruby
<weaksauce>
mayhew any luck combing through the issues?