havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.3, 2.4.5, 2.3.8, 2.6.0-rc2: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
elphe has joined #ruby
roshanavand has quit [Ping timeout: 260 seconds]
code_zombie has quit [Quit: Leaving]
tdy has quit [Ping timeout: 240 seconds]
elphe has quit [Ping timeout: 272 seconds]
elphe has joined #ruby
Arkantos has joined #ruby
Puffball has joined #ruby
tdy has joined #ruby
bga57 has quit [Quit: Leaving.]
duckpuppy has quit [Ping timeout: 268 seconds]
duckpuppy has joined #ruby
prestori_ has quit [Quit: prestori_]
mikecmpbll has quit [Quit: inabit. zz.]
hutch has quit [Ping timeout: 272 seconds]
VladGh has joined #ruby
cow[moo] has quit [Ping timeout: 240 seconds]
y0u has quit [Quit: Connection closed for inactivity]
hutch has joined #ruby
AJA4350 has quit [Remote host closed the connection]
zolvaring has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
KeyJoo has joined #ruby
zolvaring has quit [Ping timeout: 250 seconds]
dbz has quit [Remote host closed the connection]
JoshS has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
<Iambchop> isene: I finally got around to launching an 18.10 VM and reproduced with the stock ruby package; my niece needs to work on a project, so I still won't be able to dig into it yet.
irdr has quit [Remote host closed the connection]
Nicmavr has joined #ruby
irdr has joined #ruby
tdy has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 250 seconds]
jottr has joined #ruby
phaul has quit [Quit: bye]
hutch has quit [Ping timeout: 250 seconds]
hutch has joined #ruby
dbz has joined #ruby
KeyJoo has quit [Quit: KeyJoo]
jcalla has quit [Ping timeout: 268 seconds]
KeyJoo has joined #ruby
hutch has quit [Ping timeout: 244 seconds]
tdy has joined #ruby
eb0t has quit [Ping timeout: 268 seconds]
jcalla has joined #ruby
jacksoow has joined #ruby
cschneid has joined #ruby
cschneid has quit [Ping timeout: 244 seconds]
tiff has joined #ruby
eb0t has joined #ruby
tiff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tiff has joined #ruby
Azure has joined #ruby
hutch has joined #ruby
hutch has quit [Ping timeout: 272 seconds]
maryo has joined #ruby
hutch has joined #ruby
cnsvc has joined #ruby
dripup has quit [Quit: leaving]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
cnsvc_ has quit [Ping timeout: 256 seconds]
elphe has quit [Ping timeout: 245 seconds]
tdy has quit [Ping timeout: 250 seconds]
masterasia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbz has quit [Remote host closed the connection]
samort7 has quit [Quit: Leaving]
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
elphe has joined #ruby
sarink has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
tiff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cnsvc has joined #ruby
tiff has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
dviola has quit [Quit: WeeChat 2.3]
cschneid has joined #ruby
dbz has joined #ruby
tiff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbz has quit [Ping timeout: 250 seconds]
<al2o3-cr> isene: with a bit of research, the problem seems as though google is enforcing SNI. in "/usr/lib/ruby/2.5.0/net/imap.rb" i added `@sock.hotsname = @host' and everything works fine and dandy.
tiff has joined #ruby
<al2o3-cr> @ line 1530 in method start_tls_session
dbz has joined #ruby
maryo has quit [Ping timeout: 268 seconds]
tiff has quit [Client Quit]
tiff has joined #ruby
Tempesta has joined #ruby
tdy has joined #ruby
elphe has joined #ruby
tiff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tiff has joined #ruby
cschneid has quit [Ping timeout: 272 seconds]
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
masterasia has joined #ruby
tiff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
masterasia has quit [Client Quit]
cschneid has joined #ruby
KeyJoo has quit [Quit: KeyJoo]
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
Cyrus has quit [Quit: quitting...]
Cyrus has joined #ruby
<Iambchop> tested gmail imap @sock.hostname in my VM successfully; tried a few times to pass an openssl context callback through the IMAP.new call, but failed (something like "Net::IMAP.new('imap.gmail.com', port: 993, ssl: {servername_cb: lambda{|sock, name| sock.hostname=name}})"); way past bed time, goodnight :-)
hutch has quit [Ping timeout: 245 seconds]
<al2o3-cr> ah, didn't know you could do that. i'll take a look see what i can come up with ;)
<al2o3-cr> and goodnight
cschneid has quit [Ping timeout: 250 seconds]
<al2o3-cr> btw servername_cb is server side.
_whitelogger has joined #ruby
tdy has quit [Remote host closed the connection]
dbz has quit [Remote host closed the connection]
elphe has quit [Ping timeout: 250 seconds]
hutch has joined #ruby
elphe has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
sarink has quit [Remote host closed the connection]
sonofentropy has quit [Quit: sonofentropy]
m0w has quit [Ping timeout: 252 seconds]
dbz has joined #ruby
cschneid has joined #ruby
dbz has quit [Ping timeout: 272 seconds]
idiocrash has joined #ruby
cschneid has quit [Ping timeout: 250 seconds]
s3nd1v0g1us has joined #ruby
tdy has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has joined #ruby
sonofentropy has joined #ruby
dbz has joined #ruby
dbz has quit [Ping timeout: 246 seconds]
sarink has joined #ruby
elphe has quit [Ping timeout: 246 seconds]
elphe has joined #ruby
_whitelogger has quit [Ping timeout: 268 seconds]
_whitelogger has joined #ruby
cschneid has quit [Ping timeout: 244 seconds]
s3nd1v0g1us has quit [Client Quit]
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
sarink has quit [Ping timeout: 245 seconds]
venmx has joined #ruby
_whitelogger has joined #ruby
nocoda has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
roshanavand has joined #ruby
elphe has joined #ruby
darix has quit [Quit: may the packets be with you...]
cd has quit [Quit: cd]
sarink has joined #ruby
nocoda has quit [Quit: Textual IRC Client: www.textualapp.com]
reber has joined #ruby
za1b1tsu has quit [Read error: Connection reset by peer]
sarink has quit [Remote host closed the connection]
cschneid has joined #ruby
crankharder has quit [Remote host closed the connection]
masterasia has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
elphe has joined #ruby
reber has quit [Remote host closed the connection]
sarink has joined #ruby
kent\n has quit [Quit: No Ping reply in 180 seconds.]
JoshS has quit [Ping timeout: 246 seconds]
venmx has quit [Ping timeout: 250 seconds]
cnsvc has quit [Ping timeout: 256 seconds]
kent\n has joined #ruby
cnsvc has joined #ruby
kapil____ has joined #ruby
cats has quit [Ping timeout: 268 seconds]
sarink has quit [Remote host closed the connection]
cschneid has quit [Ping timeout: 246 seconds]
venmx has joined #ruby
cats has joined #ruby
rippa has joined #ruby
prestorium has joined #ruby
sarink has joined #ruby
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
sarink has quit [Remote host closed the connection]
clemens3_ has quit [Ping timeout: 268 seconds]
cschneid has joined #ruby
tdy1 has joined #ruby
tdy has quit [Ping timeout: 272 seconds]
clemens3_ has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
tdy1 has quit [Ping timeout: 245 seconds]
phaul has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
dhollin3 has joined #ruby
dhollinger has quit [Ping timeout: 250 seconds]
JoshS has joined #ruby
clemens3_ has quit [Ping timeout: 245 seconds]
connermcd has quit [Quit: WeeChat 2.3]
cnsvc has joined #ruby
jshjsh has joined #ruby
JoshS has quit [Ping timeout: 250 seconds]
dellavg_ has quit [Ping timeout: 246 seconds]
sticaz has joined #ruby
BaroMeter has joined #ruby
thunderbirdtr has quit [Quit: ZNC 1.7.1 - https://znc.in]
cschneid has joined #ruby
reber has joined #ruby
BaroMeter has quit [Quit: Leaving]
ElFerna has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
m0w has joined #ruby
ElFerna has quit [Ping timeout: 268 seconds]
za1b1tsu has joined #ruby
cschneid has quit [Ping timeout: 250 seconds]
thunderbirdtr has joined #ruby
AJA4350 has joined #ruby
clemens3_ has joined #ruby
fredmorcos has joined #ruby
eldritch has quit [Ping timeout: 244 seconds]
eldritch has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
fredmorcos has quit [Remote host closed the connection]
cschneid has joined #ruby
Nicmavr has joined #ruby
maryo has joined #ruby
reber__ has joined #ruby
mikecmpbll has joined #ruby
reber has quit [Ping timeout: 250 seconds]
Neptu has quit [Ping timeout: 252 seconds]
maryo has quit [Ping timeout: 245 seconds]
maryo has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
<Iambchop> yeah; I think I tried everything in the docs that was named _cb or _callback; I failed at all :)
cnsvc has joined #ruby
reber__ has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 268 seconds]
za1b1tsu has quit [Ping timeout: 252 seconds]
cnsvc has quit [Ping timeout: 256 seconds]
szulak_ has joined #ruby
perique has joined #ruby
cschneid has joined #ruby
za1b1tsu has joined #ruby
za1b1tsu has quit [Ping timeout: 252 seconds]
sonofentropy has quit [Quit: sonofentropy]
perique has quit [Quit: Textual IRC Client: www.textualapp.com]
elphe has quit [Ping timeout: 268 seconds]
sonofentropy has joined #ruby
Arkantos has joined #ruby
cschneid has quit [Ping timeout: 246 seconds]
szulak_ has quit [Quit: Textual IRC Client: www.textualapp.com]
akaiiro has quit [Ping timeout: 245 seconds]
masterasia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
masterasia has joined #ruby
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Arkantos has joined #ruby
dbz has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
Menteb has joined #ruby
akaiiro has joined #ruby
sonofentropy has quit [Quit: sonofentropy]
cschneid has joined #ruby
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbz has quit [Remote host closed the connection]
armyriad has joined #ruby
cnsvc has joined #ruby
sonofentropy has joined #ruby
<Iambchop> aha! "Cannot confirm that this affects bionic. This may be due to openssl 1.1.0 (in bionic) sending a default SNI when none is provided, whereas 1.1.1 (in cosmic) sends nothing." https://bugs.launchpad.net/ubuntu/+source/fetchmail/+bug/1798786/comments/9
<Iambchop> isene: ^
sonofentropy has quit [Quit: sonofentropy]
cschneid has quit [Ping timeout: 245 seconds]
Yxhuvud has quit [Ping timeout: 250 seconds]
reber has joined #ruby
maryo has quit [Quit: Leaving]
segy has quit [Quit: ZNC - http://znc.in]
cnsvc has quit [Ping timeout: 256 seconds]
segy has joined #ruby
aproekos has joined #ruby
dhollin3 is now known as dhollinger
<aproekos> can anyone suggest me a pattern to use for storing global state in a ruby program? I basically have a Struct that needs to be read and written from in many different classes. One option I have done so far is using an attr_accessor on a module that every class refers to. Another option I have been discussing is storing the pieces of the struct in Thread.current. The amount of data that will be stored is less
<aproekos> than 50MB. Can anyone suggest a pattern to use for a globally accessible Struct, or suggest an alternative implementation? Thanks.
venmx has quit [Ping timeout: 246 seconds]
jeffreylevesque has joined #ruby
themsay has joined #ruby
<SantaKline> "globally accessable struct" just sounds like a singleton to me
<SantaKline> not like that's a good idea, but that's what it sounds like :P
conta has joined #ruby
<havenwood> &ri Singleton
themsay has quit [Ping timeout: 246 seconds]
nchambers has joined #ruby
nchambers is now known as Rudolph
jeffreylevesque has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<aproekos> I suppose it is a Singleton, but it sounds like I need to refactor away from that
venmx has joined #ruby
jeffreylevesque has joined #ruby
<aproekos> So teh alternative would be basically injecting the struct in every class that reads/modifies it, correct?
houhoulis has joined #ruby
jeffreylevesque has quit [Client Quit]
coderphive has quit [Quit: The Lounge - https://thelounge.chat]
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
Menteb has quit [Quit: Menteb]
hutch has joined #ruby
conta has quit [Quit: conta]
cschneid has joined #ruby
<Rudolph> does anyone know how to get the x,y point of an OpenSSL::PKey::EC? I'm looking online and it looks like it should be something like key.to_bn and key.public_key.to_bn, but im not sure
_axx has joined #ruby
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
marvin2 has quit [Ping timeout: 268 seconds]
hutch has quit [Ping timeout: 244 seconds]
sonofentropy has joined #ruby
kapil____ has joined #ruby
hutch has joined #ruby
hutch has quit [Ping timeout: 244 seconds]
jmcgnh has quit [Read error: Connection reset by peer]
jmcgnh has joined #ruby
hutch has joined #ruby
masterasia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
linuxdaemon has quit [Ping timeout: 246 seconds]
marvin2 has joined #ruby
Menteb has joined #ruby
themsay has joined #ruby
Menteb has quit [Max SendQ exceeded]
themsay has quit [Ping timeout: 246 seconds]
themsay has joined #ruby
conta has joined #ruby
hutch has quit [Ping timeout: 268 seconds]
<SantaKline> aproekos: Basically.
Yxhuvud has joined #ruby
conta has quit [Quit: conta]
masterasia has joined #ruby
GodFather has quit [Remote host closed the connection]
cnsvc has joined #ruby
GodFather has joined #ruby
themsay has quit [Ping timeout: 272 seconds]
GodFather has quit [Remote host closed the connection]
GodFather has joined #ruby
GodFather has quit [Remote host closed the connection]
GodFather has joined #ruby
GodFather has quit [Remote host closed the connection]
cschneid has quit [Ping timeout: 272 seconds]
sonofentropy has quit [Quit: sonofentropy]
GodFather has joined #ruby
lord4163 has joined #ruby
Rudolph has quit [Quit: WeeChat 2.2]
cd has joined #ruby
desperek has joined #ruby
<lord4163> What happened to tryruby.org? :(
al2o3-cr has quit [Quit: WeeChat 2.3]
al2o3-cr has joined #ruby
agent_white has joined #ruby
marvin2 has quit []
tdy1 has joined #ruby
houhoulis has quit [Remote host closed the connection]
marvin2 has joined #ruby
<havenwood> lord4163: https://ruby.github.io/TryRuby/
<lord4163> havenwood: Looks boring
<havenwood> lord4163: It's open source, so that's your fault for not making it pretty.
<havenwood> lord4163: Most of us are programmers, not designers.
cnsvc has quit [Ping timeout: 256 seconds]
orbyt_ has joined #ruby
<lord4163> havenwood: The old tryruby.org was very inviting :)
tdy1 is now known as tdy
<havenwood> lord4163: The EnvyLabs folk paid designers.
<havenwood> Then I guess they stopped paying them. :P
houhoulis has joined #ruby
linuxdaemon has joined #ruby
Arkantos has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
BTRE has joined #ruby
phaul has quit [Quit: bye]
phaul has joined #ruby
Arkantos has quit [Ping timeout: 250 seconds]
sonofentropy has joined #ruby
elphe has joined #ruby
elphe has quit [Ping timeout: 245 seconds]
tdy has quit [Ping timeout: 250 seconds]
sonofentropy has quit [Read error: Connection timed out]
aproekos has quit [Ping timeout: 268 seconds]
nowhere_man has quit [Ping timeout: 252 seconds]
tdy has joined #ruby
themsay has joined #ruby
themsay has quit [Ping timeout: 250 seconds]
cnsvc has joined #ruby
dviola has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
themsay has joined #ruby
conta has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
themsay has quit [Ping timeout: 240 seconds]
DTZUZO has quit [Ping timeout: 250 seconds]
hiroaki has joined #ruby
themsay has joined #ruby
cschneid has joined #ruby
houhoulis has quit [Remote host closed the connection]
kent\n has quit [Ping timeout: 250 seconds]
kent\n has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
Exuma has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.3]
cnsvc has joined #ruby
al2o3-cr has joined #ruby
Fusl has quit [Remote host closed the connection]
Fusl has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
elphe has joined #ruby
<Iambchop> "SNI has been made mandatory to implement in TLS 1.3 but not mandatory to use. Some sites want to encourage the use of SNI and configure a default certificate that fails WebPKI authentication when the client supports TLS 1.3. This is under the assumption that if a hostname is not sent, then it means that the client does not verify the server certificate (unauthenticated opportunistic TLS). For implementation that actually don't
<Iambchop> send the SNI extension, but do verify the server certificate this can cause connection failures." https://wiki.openssl.org/index.php/TLS1.3#Server_Name_Indication
<al2o3-cr> Iambchop: that's what i was reading last night.
<Iambchop> isene: Net::IMAP.new "imap.gmail.com", port: 993, ssl: {ssl_version: :TLSv1_2, verify_hostname: false}}
<Iambchop> ^ fallback to 1.2 seems to work here
themsay has quit [Ping timeout: 250 seconds]
themsay has joined #ruby
agent_white has quit [Quit: brb]
cschneid has quit [Ping timeout: 268 seconds]
agent_white has joined #ruby
<al2o3-cr> I can certify it works here too.
<Iambchop> yay :-)
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<al2o3-cr> \o/ :D
lambarena has quit [Ping timeout: 246 seconds]
desperek has quit [Quit: xoxo]
lambarena has joined #ruby
orbyt_ has joined #ruby
dviola has quit [Quit: WeeChat 2.3]
cnsvc has joined #ruby
cnsvc has quit [Remote host closed the connection]
cnsvc has joined #ruby
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
cschneid has joined #ruby
tdy has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
darix has joined #ruby
conta has quit [Quit: conta]
donofrio has joined #ruby
cnsvc has joined #ruby
cschneid has quit [Ping timeout: 250 seconds]
ogres has joined #ruby
nowhere_man has joined #ruby
dedRabbit has joined #ruby
<dedRabbit> hello
masterasia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<phaul> hi
hutch has joined #ruby
<dedRabbit> Is it just me or do others picture Bill Murray in Cadyshack when they hear the word "lambda?"
reber has quit [Remote host closed the connection]
cnsvc has quit [Ping timeout: 256 seconds]
donofrio has quit [Remote host closed the connection]
donofrio has joined #ruby
donofrio has quit [Read error: Connection reset by peer]
donofrio has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
Exuma has joined #ruby
dedRabbit has quit [Quit: WeeChat 1.9.1]
ElFerna has joined #ruby
ElFerna has quit [Client Quit]
tiff has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
venmx has quit [Ping timeout: 245 seconds]
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
donofrio has quit [Ping timeout: 250 seconds]
Nicmavr has joined #ruby
JoshS has joined #ruby
cnsvc has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
jshjsh has quit [Ping timeout: 250 seconds]
Exuma has joined #ruby
Exuma has quit [Client Quit]
JoshS has quit [Ping timeout: 268 seconds]
Exuma has joined #ruby
Exuma_ has joined #ruby
donofrio has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
Exuma_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Arkantos has joined #ruby
Exuma_ has joined #ruby
hutch has quit [Ping timeout: 245 seconds]
sticaz has quit [Ping timeout: 272 seconds]
elphe has joined #ruby
sticaz has joined #ruby
Exuma_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sticaz has quit [Ping timeout: 250 seconds]
cschneid has joined #ruby