adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
motherr has joined #ruby
orbyt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crankharder has quit [Ping timeout: 258 seconds]
wei1 has quit [Ping timeout: 265 seconds]
motherr has quit [Quit: zzz]
wei1 has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
ua_ has quit [Excess Flood]
ua_ has joined #ruby
Rounin has quit [Ping timeout: 258 seconds]
wei1 has quit [Ping timeout: 256 seconds]
ur5us has joined #ruby
postmodern has joined #ruby
kapil has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
rhe has quit [Ping timeout: 252 seconds]
rhe has joined #ruby
Rounin has joined #ruby
easbarbosa has quit [Remote host closed the connection]
<splud> fun times here. I've been using the DATA object which represents the content beond the __END__ marker in a ruby file, allowing me to append a binary payload to a ruby script. Okay "payload" sounds nefarious, but it isn't.
<splud> For an intersecting project, someone else happens to use the same object to store JSON. I can successfully parse JSON that is appended to the script with the binary blob following that, but short of parsing the stream on my own, I can't seem to get the read offset where the JSON.load() stopped reading, which is where the binary data should begin.
<splud> any pointers?
<splud> I don't want to need to BASE64 encode the binary blob, because that just makes it all SOOO much larger.
<nakilon> just 1/3 larger
<nakilon> base64 is using 6 bits instead of 8
pgib has quit [Ping timeout: 268 seconds]
rg has quit [Quit: Leaving]
rg has joined #ruby
<splud> thank you, still LARGER.
<splud> As I said, JSON.parse() will happily parse the JSON data and not blow out on the binary data following the properly delineated JSON.
<nakilon> the libraries you use and algorithms you use are probably going to vary much more in amount used RAM and stuff than that +1/3 ..P
<nakilon> *algorithms you implement
<nakilon> from your initial question I understood that you want to put two different things into DATA of the same file
<nakilon> that sounds weird
<nakilon> or try to put binary data before JSON -- probably the binary data has the length specified in its header
aighearach has quit [Remote host closed the connection]
aighearach has joined #ruby
ur5us has quit [Ping timeout: 256 seconds]
<rg> just discovered array[2..] works like array[2..-1] on ruby3.
<nakilon> one of good features
<rg> yea i like it too
gggp has joined #ruby
gggp_ has joined #ruby
gggp has quit [Ping timeout: 265 seconds]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
wei1 has joined #ruby
gggp__ has joined #ruby
gggp__ is now known as gggp
gggp_ has quit [Ping timeout: 276 seconds]
wei1 has quit [Ping timeout: 245 seconds]
gggp has quit [Remote host closed the connection]
gggp has joined #ruby
gggp has quit [Remote host closed the connection]
gggp has joined #ruby
cnsvc has quit [Remote host closed the connection]
cnsvc has joined #ruby
gggp_ has joined #ruby
gggp__ has joined #ruby
gggp has quit [Ping timeout: 250 seconds]
gggp_ has quit [Ping timeout: 258 seconds]
gggp_ has joined #ruby
gggp__ has quit [Ping timeout: 256 seconds]
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 240 seconds]
TomyWork has joined #ruby
gggp__ is now known as gggp
mrkz_c has quit [Quit: Connection closed for inactivity]
gggp has quit [Ping timeout: 268 seconds]
gggp has joined #ruby
Bounga has joined #ruby
gggp_ has joined #ruby
gggp__ has joined #ruby
reset has quit [Quit: reset]
gggp has quit [Ping timeout: 265 seconds]
gggp_ has quit [Ping timeout: 240 seconds]
gggp_ has joined #ruby
gggp has joined #ruby
gggp__ has quit [Ping timeout: 258 seconds]
gggp_ has quit [Ping timeout: 240 seconds]
gggp_ has joined #ruby
gggp has quit [Ping timeout: 252 seconds]
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 265 seconds]
fossdd has quit [Ping timeout: 240 seconds]
gggp_ has joined #ruby
fossdd has joined #ruby
gggp__ has quit [Ping timeout: 265 seconds]
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 240 seconds]
gggp_ has joined #ruby
gggp__ has quit [Ping timeout: 252 seconds]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 240 seconds]
gggp__ has quit [Ping timeout: 252 seconds]
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
Guest82 has joined #ruby
Aphanite has joined #ruby
<Aphanite> Hi, I have the following problem when running bundle install: "Could not fetch specs from https://rubygems.org/ due to underlying error <timed out (https://rubygems.org/specs.4.8.gz)>". Deleting the Gemfile.lock did not help. Could you help?
motherr has joined #ruby
Guest82 has quit [Quit: Ping timeout (120 seconds)]
Guest82 has joined #ruby
shokohsc has quit [Remote host closed the connection]
<splud> Aphanite - verify that you can ping the host, or use wget to attempt to retrieve the file (as a test, I can't provide directions on how to just use a downloaded copy instead of relying on the bundle). That would at least verify you don't have a network error.
<splud> FTR, I could wget the file fine here.
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
shokohsc has joined #ruby
crankharder has joined #ruby
<Aphanite> Thank you for your message! I restarted Terminal, seems to work for now.
Guest82 has quit [Quit: Client closed]
wei1 has joined #ruby
gggp has joined #ruby
crankharder has quit [Ping timeout: 250 seconds]
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
Aphanite has quit [Ping timeout: 246 seconds]
drincruz has joined #ruby
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
fossdd has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
fossdd has joined #ruby
<splud> nakilon - the desire not to use BASE64 is to reduce network data size. Not everything runs over cheap.
wei1 has quit [Ping timeout: 268 seconds]
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
_ht has joined #ruby
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
gfawcett3 has joined #ruby
Edward123 has joined #ruby
lipoqil_ has joined #ruby
gggp_ has joined #ruby
ged_ has joined #ruby
ikonia_ has joined #ruby
glider_ has joined #ruby
gggp has quit [Ping timeout: 276 seconds]
<Oddmonger> i have configured the new lsp integrated in neovim 0.5 , with the solargraph plugin. When i ask for a definition, i have a strange output: https://x0.at/T2Pl.png
ged has quit [*.net *.split]
gfawcett has quit [*.net *.split]
glider has quit [*.net *.split]
ikonia has quit [*.net *.split]
EdwardIII has quit [*.net *.split]
lipoqil has quit [*.net *.split]
gfawcett3 is now known as gfawcett
ged_ is now known as ged
wei1 has joined #ruby
pwnd_sfw has quit [Ping timeout: 265 seconds]
drincruz_ has joined #ruby
pwnd_sfw has joined #ruby
postmodern has quit [Quit: Leaving]
fossdd has quit [Ping timeout: 240 seconds]
gggp__ has joined #ruby
drincruz has quit [Ping timeout: 272 seconds]
fossdd has joined #ruby
gggp_ has quit [Ping timeout: 265 seconds]
crankharder has quit [Quit: leaving]
bit4bit has joined #ruby
gggp_ has joined #ruby
gggp__ has quit [Ping timeout: 258 seconds]
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 265 seconds]
gggp has joined #ruby
dviola has quit [Quit: WeeChat 3.2]
gggp__ has quit [Ping timeout: 258 seconds]
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
gggp_ has joined #ruby
gggp has quit [Ping timeout: 272 seconds]
factor has quit [Read error: Connection reset by peer]
Oxfuxxx has quit [Ping timeout: 256 seconds]
Oxfuxxx has joined #ruby
factor has joined #ruby
Oxfuxxx_ has joined #ruby
Oxfuxxx has quit [Ping timeout: 250 seconds]
gggp__ has joined #ruby
MalkbabY has quit [Remote host closed the connection]
Bounga has quit [Ping timeout: 252 seconds]
MalkbabY has joined #ruby
fossdd has quit [Ping timeout: 240 seconds]
gggp_ has quit [Ping timeout: 276 seconds]
fossdd has joined #ruby
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
Oxfuxxx_ has quit [Quit: leaving]
Oxfuxxx has joined #ruby
gggp__ is now known as gggp
gggp_ has joined #ruby
gggp has quit [Ping timeout: 256 seconds]
mrkz_c has joined #ruby
wei1 has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
aeri- is now known as aeris
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 256 seconds]
<rapha> is there a way to tell nokogiri to _not_ turn something like Hebrew, Japanese, Arabic, etc. into XML entities upon #to_xml ? it's _horrible_ to read...
qunzhong_luxian has joined #ruby
<rapha> oh, nevermind ... must explicitly state the encoding to be utf8, then it'll be fine.
gggp_ has joined #ruby
<kapil> i cant install ruby 2.5.0 and rails with pg gem in latest macos.
fossdd has quit [Ping timeout: 240 seconds]
gggp__ has quit [Ping timeout: 256 seconds]
fossdd has joined #ruby
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
reset has joined #ruby
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
<nakilon> 1. latest macos or latest macbook? 2. rbenv/rvm?
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 256 seconds]
crankharder has joined #ruby
Guest83 has joined #ruby
Guest83 has quit [Client Quit]
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
gggp__ is now known as gggp
Oxfuxxx has quit [Ping timeout: 265 seconds]
Oxfuxxx has joined #ruby
qunzhong_luxian has quit [Ping timeout: 256 seconds]
gggp has quit [Ping timeout: 240 seconds]
pgib has joined #ruby
qunzhong_luxian has joined #ruby
wei1 has joined #ruby
fossdd has quit [Ping timeout: 240 seconds]
fossdd has joined #ruby
qunzhong_luxian has quit [Ping timeout: 265 seconds]
drincruz_ has quit [Read error: Connection reset by peer]
drincruz_ has joined #ruby
wei1 has quit [Ping timeout: 250 seconds]
TomyWork has quit [Quit: Leaving]
riceandbeans has quit [Quit: rebooting]
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 272 seconds]
drincruz_ has quit [Ping timeout: 240 seconds]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 256 seconds]
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 240 seconds]
wei1 has joined #ruby
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 258 seconds]
wei1 has quit [Ping timeout: 265 seconds]
nmollerup has joined #ruby
qunzhong_luxian has joined #ruby
wei1 has joined #ruby
qunzhong_luxian has quit [Ping timeout: 265 seconds]
llua has quit [Ping timeout: 276 seconds]
wei1 has quit [Ping timeout: 252 seconds]
wei1 has joined #ruby
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 256 seconds]
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 252 seconds]
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 240 seconds]
wei1 has quit [Ping timeout: 240 seconds]
qunzhong_luxian has joined #ruby
wei1 has joined #ruby
drincruz_ has joined #ruby
qunzhong_luxian has quit [Ping timeout: 265 seconds]
motherr has quit [Quit: zzz]
_ht has quit [Remote host closed the connection]
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 272 seconds]
qunzhong_luxian has joined #ruby
wei1 has quit [Ping timeout: 256 seconds]
qunzhong_luxian has quit [Ping timeout: 252 seconds]
orbyt has joined #ruby
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 265 seconds]
Guest98 has joined #ruby
sagax has quit [Ping timeout: 268 seconds]
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 258 seconds]
Oxfuxxx has quit [Ping timeout: 276 seconds]
drincruz_ has quit [Ping timeout: 265 seconds]
drincruz_ has joined #ruby
drincruz_ has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
<havenwood> kapil: I have the same question as nakilon, is it an M1 processor?
Guest98 has quit [Quit: Client closed]
<havenwood> Assuming you've already done a `brew install libpq` but if you're still stuck share a link to the error logs?
Oxfuxxx has joined #ruby
ua_ has quit [Ping timeout: 256 seconds]
ua_ has joined #ruby
bit4bit has quit [Remote host closed the connection]
MalkbabY has quit [Ping timeout: 256 seconds]
motherr has joined #ruby
orbyt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drincruz_ has joined #ruby
drincruz_ has quit [Ping timeout: 265 seconds]
crankharder has quit [Ping timeout: 272 seconds]