adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.1, 2.7.3, 2.6.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
pyra has quit [Ping timeout: 250 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
weaksauce has joined #ruby
nofxx_ has joined #ruby
nofxx has quit [Ping timeout: 252 seconds]
Qchmqs has joined #ruby
Technodrome has joined #ruby
siery has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
venmx has joined #ruby
RougeR has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
venmx has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
ChmEarl has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
MalkbabY has quit [Remote host closed the connection]
MalkbabY_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
cuerbot has quit [Read error: Connection reset by peer]
evdubs_ has joined #ruby
elcuervo has joined #ruby
evdubs has quit [Ping timeout: 240 seconds]
moldorcoder7 has quit [Ping timeout: 246 seconds]
evdubs has joined #ruby
gix has quit [Read error: Connection reset by peer]
gix has joined #ruby
evdubs_ has quit [Ping timeout: 268 seconds]
moldorcoder7 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
robotbee has quit [Ping timeout: 240 seconds]
deviantfero has quit [Ping timeout: 252 seconds]
venmx has joined #ruby
venmx has quit [Ping timeout: 265 seconds]
Raboo has quit [Remote host closed the connection]
Fusl has quit [Excess Flood]
Fusl has joined #ruby
Raboo has joined #ruby
m27frogy has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MalkbabY_ is now known as MalkbabY
bucareli has joined #ruby
jla has joined #ruby
robotbee has joined #ruby
siery has quit [Ping timeout: 250 seconds]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
jenrzzz has quit [Ping timeout: 240 seconds]
venmx has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
Qchmqs has quit [Read error: Connection reset by peer]
Qchmqs has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
mozzarella has quit [Remote host closed the connection]
jenrzzz has joined #ruby
mozzarella has joined #ruby
mozzarella has quit [Remote host closed the connection]
mozzarella has joined #ruby
mozzarella has quit [Remote host closed the connection]
mozzarella has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
hiroaki has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
Qchmqs has quit [Ping timeout: 240 seconds]
bucareli has quit [Quit: leaving]
lchapoguzman has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
FetidToot4 has joined #ruby
FetidToot has quit [Ping timeout: 260 seconds]
FetidToot4 is now known as FetidToot
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
jenrzzz has joined #ruby
vondruch has joined #ruby
robotbee has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
vasanth has joined #ruby
gearnode has joined #ruby
jenrzzz has joined #ruby
gearnode has quit [Ping timeout: 245 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
asgwq12321 has joined #ruby
lightstalker has quit [Ping timeout: 246 seconds]
lightstalker has joined #ruby
venmx has joined #ruby
asgwq12321 has quit [Quit: asgwq12321]
lchapoguzman has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
venmx has quit [Ping timeout: 260 seconds]
BSaboia has joined #ruby
BSaboia has quit [Remote host closed the connection]
cd has quit [Quit: cd]
jenrzzz has quit [Ping timeout: 265 seconds]
jetchisel has joined #ruby
venmx has joined #ruby
vasanth has quit [Ping timeout: 240 seconds]
zacts has joined #ruby
jenrzzz has joined #ruby
RougeR has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
pyra has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Xeago has quit [Quit: Xeago]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
Xeago has joined #ruby
Xeago has quit [Client Quit]
gearnode has joined #ruby
Xeago has joined #ruby
feriman has joined #ruby
actuallybatman has quit [Ping timeout: 252 seconds]
Xeago has quit [Quit: Xeago]
Xeago has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
gearnode has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
gix has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
gearnode has joined #ruby
jla has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 260 seconds]
pyra has quit [Quit: Konversation terminated!]
hiroaki has quit [Ping timeout: 260 seconds]
scriptonaut has quit [Ping timeout: 258 seconds]
hiroaki has joined #ruby
scriptonaut has joined #ruby
DTZUZU has quit [Read error: Connection reset by peer]
DTZUZU has joined #ruby
postmodern has quit [Remote host closed the connection]
gearnode has quit [Ping timeout: 260 seconds]
siery has joined #ruby
infernix has quit [Ping timeout: 248 seconds]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
infernix has joined #ruby
m27frogy has joined #ruby
zacts has quit [Quit: bbl]
vondruch has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
TomyWork has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
TomyWork has quit [Client Quit]
moldorcoder7 has quit [Ping timeout: 252 seconds]
<isene> This used to work: JSON.parse(Net::HTTP.get(URI(requested_content)))
<isene> but now I get: unexpected token at 'Forbidden (JSON::ParserError) User-Agent header Ruby is not allowed, use a unique identifier
<isene> How do I set a unique header for my call to that URI?
moldorcoder7 has joined #ruby
zipkid has quit [Quit: Connection closed for inactivity]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
stryek has joined #ruby
pwnd_3 has joined #ruby
pwnd_ has quit [Ping timeout: 240 seconds]
pwnd_3 is now known as pwnd_
ruurd has joined #ruby
<adam12> isene: I haven’t tried it, but second argument to `.get` is headers if you’re passing a `URI` as first argument.
<adam12> isene: So I’d guess something like: `Net::HTTP.get(URI(requested_content), {“User-agent” => “isenes agent”})`
hiroaki has quit [Ping timeout: 260 seconds]
hiroaki has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
vondruch has joined #ruby
<isene> adam12: Yup, that's it.
moldorcoder7 has quit [Ping timeout: 260 seconds]
ruurd has quit [Ping timeout: 260 seconds]
moldorcoder7 has joined #ruby
vasanth has joined #ruby
vasanth has quit [Ping timeout: 260 seconds]
horst has quit [Quit: horst]
jenrzzz has joined #ruby
Rudd0 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
weaksauce has quit [Ping timeout: 265 seconds]
vasanth has joined #ruby
deviantfero has joined #ruby
croberts has joined #ruby
feriman has quit [Ping timeout: 240 seconds]
vasanth has quit [Ping timeout: 268 seconds]
vasanth has joined #ruby
vasanth has quit [Ping timeout: 240 seconds]
venmx_ has joined #ruby
venmx has quit [Ping timeout: 252 seconds]
ChmEarl has joined #ruby
jenrzzz has joined #ruby
kwilczynski has quit []
jenrzzz has quit [Ping timeout: 252 seconds]
actuallybatman has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jimms has joined #ruby
gearnode has joined #ruby
orbyt_ has joined #ruby
dpl has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
shtirlic has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby
shtirlic has quit [Client Quit]
jenrzzz has joined #ruby
gg[m] is now known as gclv
jenrzzz has quit [Ping timeout: 246 seconds]
kwilczynski has joined #ruby
gclv has quit [Quit: authenticating]
gclv has joined #ruby
cthulchu_ has joined #ruby
MalkbabY has quit [Remote host closed the connection]
vasanth has joined #ruby
MalkbabY_ has joined #ruby
jenrzzz has joined #ruby
MalkbabY_ has quit [Client Quit]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deviantfero has quit [Quit: WeeChat 3.1]
vasanth has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
hiroaki has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
hiroaki has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
vasanth has joined #ruby
jenrzzz has joined #ruby
lucasb has joined #ruby
vasanth has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
cuerbot has joined #ruby
elcuervo has quit [Ping timeout: 265 seconds]
orbyt_ has joined #ruby
hiroaki has quit [Ping timeout: 260 seconds]
Rudd0 has joined #ruby
hiroaki has joined #ruby
r29v has joined #ruby
jenrzzz has joined #ruby
gearnode has quit [Ping timeout: 246 seconds]
vasanth has joined #ruby
BTRE has quit [Remote host closed the connection]
BTRE has joined #ruby
NeilHanlon has quit [Quit: When life gives you lemons, make orange juice and then sit back as people wonder how you did it.]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vasanth has quit [Ping timeout: 240 seconds]
NeilHanlon has joined #ruby
MalkbabY has joined #ruby
howdoi has joined #ruby
jla has joined #ruby
r29v has quit [Quit: r29v]
BSaboia has joined #ruby
gearnode has joined #ruby
BSaboia has quit [Client Quit]
BSaboia has joined #ruby
BSaboia has quit [Read error: Connection reset by peer]
BSaboia has joined #ruby
BSaboia has quit [Ping timeout: 252 seconds]
BSaboia has joined #ruby
sylario has joined #ruby
BSaboia has quit [Ping timeout: 265 seconds]
Hess has joined #ruby
BSaboia has joined #ruby
weaksauce has joined #ruby
BSaboia has quit [Ping timeout: 252 seconds]
BSaboia has joined #ruby
ruurd has joined #ruby
ruurd has quit [Client Quit]
BSaboia has quit [Ping timeout: 240 seconds]
BSaboia has joined #ruby
venmx_ has quit [Ping timeout: 265 seconds]
cahoots has joined #ruby
gix has joined #ruby
cahoots has quit [Quit: leaving]
dpl has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jla has quit [Ping timeout: 252 seconds]
jimms has quit [Quit: Leaving]
code_zombie has joined #ruby
jenrzzz has joined #ruby
venmx has joined #ruby
LiteWait has joined #ruby
venmx has quit [Ping timeout: 252 seconds]
jinie has quit [Quit: ZNC 1.8.2 - https://znc.in]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
LiteWait has quit [Quit: Connection closed]
vondruch has quit [Read error: Connection reset by peer]
jinie has joined #ruby
robotbee has joined #ruby
dpl has joined #ruby
cd has joined #ruby
TrufflePump has quit [Ping timeout: 258 seconds]
TrufflePump has joined #ruby
_aeris has joined #ruby
orbyt_ has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris is now known as _aeris_
BSaboia has quit [Quit: This computer has gone to sleep]
jenrzzz has quit [Ping timeout: 260 seconds]
BSaboia has joined #ruby
BSaboia has quit [Read error: Connection reset by peer]
rwb has quit [Quit: rwb]
AndreYuhai has joined #ruby
<AndreYuhai> Do you guys know how I can create Ruby presentations where I can actually run the code?
<AndreYuhai> Just like in R.
<AndreYuhai> Or Jupyter notebook. I could probably run Ruby in Jupyter but I am asking whether there's a better one.
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
jenrzzz has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<weaksauce> yeah you can run ruby in jupyter
venmx has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
robotbee has quit [Ping timeout: 268 seconds]
Andy[m]2 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
neshpion has joined #ruby
Qchmqs has joined #ruby
al2o3-cr has joined #ruby
<AndreYuhai> There was a website where you could send a request and it would return your request headers and etc. someone remembers maybe? :D
<Iambchop> AndreYuhai: maybe https://postman-echo.com ? http://scooterlabs.com/echo ? regarding presentations with ruby code, iruby in jupyter is probably what you want, but you could fork TryRuby and write custom "lessons" https://github.com/ruby/TryRuby
<AndreYuhai> Iambchop, I can't remember the exact website but these will work, thank you. Thank you for the TryRuby suggestion as well! Interesting idea. :D
postmodern has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
venmx has joined #ruby
orbyt_ has joined #ruby
venmx has quit [Ping timeout: 246 seconds]
cthulchu_ has quit [Ping timeout: 246 seconds]
robotbee has joined #ruby
oddp has joined #ruby
pyra has joined #ruby
<havenwood> AndreYuhai: What kind of code?
<havenwood> AndreYuhai: Pure Ruby without libraries? Little snippets? Whole app?
<AndreYuhai> havenwood, little snippets for demonstration
<AndreYuhai> using gems and etc.
<havenwood> AndreYuhai: ah, I was gunna say you might be able to use mruby in the browser if you don't need gems http://joshnuss.github.io/mruby-web-irb/
<havenwood> AndreYuhai: Use IRB in the terminal?
<havenwood> AndreYuhai: Open up a graphical terminal with DO or AWS or whatever?
<AndreYuhai> But I need to write the code beforehand so probably I will use Jupyter.
<havenwood> You can write code beforehand with a cloud server ¯\_(ツ)_/¯
hiroaki has quit [Ping timeout: 260 seconds]
<havenwood> AndreYuhai: Gunna use iruby with Jupyter or?
<havenwood> Elixir made a lovely notebook recently.
<havenwood> AndreYuhai: Switch your presentation to Elixir. :P
<AndreYuhai> havenwood, Well actually I am learning Elixir as well and this is really nice to know haha. But I can't do it in Elixir yet since I don't know that much. :D
<AndreYuhai> Thanks for the link!
bsdbandit-01 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
markong has quit [Remote host closed the connection]
e4x_ has joined #ruby
e4x_ has left #ruby [#ruby]
markong has joined #ruby
venmx has joined #ruby
hiroaki has joined #ruby
venmx has quit [Ping timeout: 265 seconds]
Technodrome has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
apoc has quit [Ping timeout: 252 seconds]
venmx has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]