havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 2.7.0-preview1: 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!
jenrzzz has quit [Ping timeout: 252 seconds]
esp32_prog has joined #ruby
tdy has quit [Ping timeout: 272 seconds]
esp32_prog has quit [Ping timeout: 252 seconds]
[rg] has quit [Quit: [rg]]
eletious has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
evdubs has quit [Remote host closed the connection]
ricardo has joined #ruby
evdubs has joined #ruby
Harlin has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
hightower3 has quit [Ping timeout: 246 seconds]
ricardo is now known as [rg]
AJA4350 has quit [Ping timeout: 252 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
troulouliou_div2 has joined #ruby
AJA4350 has joined #ruby
houhoulis has quit [Remote host closed the connection]
dbz has joined #ruby
dbz has quit [Ping timeout: 272 seconds]
Esa_ has quit []
fphilipe has joined #ruby
<haxx0r> how to encrypt a file with a public key (and somewhere else decrypt with privatekey)? i can't find it
<havenwood> haxx0r: Do you want to use a gem or do it with the stdlib?
<haxx0r> i don't mind a gem.
<haxx0r> i need to protect some fields in production, after we used the data to work with
fphilipe has quit [Ping timeout: 248 seconds]
<haxx0r> we also upload a screenshot with sensitive data for the user, but 3 days after we want also to decrypt it
<haxx0r> so in case lawenforcement shows up they get encrypted data
<havenwood> haxx0r: The JOSE gem has some good alg options: https://www.rubydoc.info/gems/jose/file/docs/EncryptionAlgorithms.md
<havenwood> haxx0r: Here's an example of a symmetric key wrap: https://gist.github.com/havenwood/e18de5fa23ec1c49e3feab493d579909
<haxx0r> i'm ready the docs right now
<haxx0r> i dont get it
<haxx0r> i dont know how to use it for a file
<haxx0r> maybe better we just delete the files :P
bambanx has quit [Quit: Leaving]
<havenwood> haxx0r: You can just put the bytes of the file in the payload, then encrypt them. You could Base64 them first, but you shouldn't have to.
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
<brool> you just want to encrypt a file?
<haxx0r> ya, with my publickey
<brool> why not just use openssl on the command line
<haxx0r> good question
<haxx0r> openssl enc -aes-256-cbc -salt -in SECRET_FILE -out SECRET_FILE.enc -pass file:./key.bin
<haxx0r> that command?
<brool> go for it
<havenwood> haxx0r: here's a bit more advanced option: https://github.com/crypto-rb/rbnacl/wiki/Public-Key-Encryption
<haxx0r> echo "test" > test.txt
<haxx0r> openssl enc -aes-256-cbc -in test.txt -out test.txt -pass file:./public.pub
<haxx0r> this seems to work, no error
<haxx0r> but i go for decrypting it: openssl enc -d -aes-256-cbc -in test.txt -out test.ori.txt -pass file:./private.key
<haxx0r> it's throwing erro
<havenwood> haxx0r: You can use OpenSSL in Ruby. Are you doing this from Ruby or is the command line or other languages fine as well?
codefriar has joined #ruby
<haxx0r> shell
<havenwood> ah, okay
<haxx0r> lemme try from ruby. might be easier
troulouliou_div2 has quit [Ping timeout: 246 seconds]
dbz has joined #ruby
aferreira has quit [Ping timeout: 248 seconds]
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
dbz has quit [Remote host closed the connection]
tdy has joined #ruby
eletious has joined #ruby
aferreira has joined #ruby
codefriar has quit [Quit: Textual IRC Client: www.textualapp.com]
eletious has quit [Ping timeout: 272 seconds]
llua has quit [Quit: <Rudolph> shell code is what greycat reads to kids when he tucks them in]
esp32_prog has joined #ruby
llua has joined #ruby
AJA4350 has quit [Quit: AJA4350]
troulouliou_div2 has joined #ruby
esp32_prog has quit [Ping timeout: 252 seconds]
tdy has quit [Ping timeout: 245 seconds]
mcspud has quit [Ping timeout: 250 seconds]
quarters has quit [Ping timeout: 250 seconds]
mosh has quit [Ping timeout: 248 seconds]
dar123 has quit [Ping timeout: 248 seconds]
quarters has joined #ruby
thistledown has joined #ruby
mcspud has joined #ruby
mosh has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
gix- has quit [Ping timeout: 248 seconds]
thistledown has quit [Ping timeout: 248 seconds]
thistledown has joined #ruby
houhoulis has joined #ruby
troulouliou_div2 has quit [Ping timeout: 252 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cerulean has joined #ruby
braincrash has quit [Quit: bye bye]
cerulean has quit [Ping timeout: 248 seconds]
braincrash has joined #ruby
jenrzzz has joined #ruby
haxx0r has quit [Ping timeout: 248 seconds]
fphilipe has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
fphilipe has quit [Ping timeout: 252 seconds]
tdy has joined #ruby
jenrzzz has joined #ruby
[rg] has quit [Quit: [rg]]
Swyper has joined #ruby
esp32_prog has joined #ruby
Swyper has quit [Remote host closed the connection]
eletious has joined #ruby
esp32_prog has quit [Ping timeout: 248 seconds]
eletious has quit [Ping timeout: 272 seconds]
galaxie has quit [Remote host closed the connection]
galaxie has joined #ruby
brool has quit [Ping timeout: 252 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
thistledown has quit [Ping timeout: 258 seconds]
pabs has quit [Ping timeout: 268 seconds]
thistledown has joined #ruby
kyrylo has joined #ruby
dbz has joined #ruby
mac_ava has quit [Ping timeout: 258 seconds]
thistledown has quit [Quit: Leaving]
pabs has joined #ruby
ur5us has quit [Remote host closed the connection]
schne1der has joined #ruby
dellavg_ has quit [Ping timeout: 246 seconds]
fphilipe has joined #ruby
abaiste^ has quit []
tsrt^ has joined #ruby
qladstone has joined #ruby
Ai9zO5AP has joined #ruby
sauvin has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
esp32_prog has joined #ruby
ur5us has joined #ruby
houhoulis has quit [Remote host closed the connection]
houhoulis has joined #ruby
houhoulis has quit [Remote host closed the connection]
schne1der has quit [Ping timeout: 258 seconds]
haxx0r has joined #ruby
esp32_prog has quit [Ping timeout: 258 seconds]
bga57 has quit [Quit: Leaving.]
ur5us has quit [Remote host closed the connection]
bga57 has joined #ruby
eletious has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
eletious has quit [Ping timeout: 244 seconds]
duderonomy has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has joined #ruby
dbz has quit [Remote host closed the connection]
jenrzzz has joined #ruby
reber has joined #ruby
fphilipe has quit [Ping timeout: 248 seconds]
andikr has joined #ruby
dbz has joined #ruby
dbz has quit [Ping timeout: 246 seconds]
hightower3 has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe has joined #ruby
krandi has joined #ruby
krandi has quit [Remote host closed the connection]
dbz has joined #ruby
tdy has quit [Ping timeout: 258 seconds]
BTRE has quit [Ping timeout: 244 seconds]
BTRE has joined #ruby
cerulean has joined #ruby
cerulean has quit [Ping timeout: 246 seconds]
queip has quit [Ping timeout: 245 seconds]
Emmanuel_Chanel has quit [Ping timeout: 272 seconds]
Emmanuel_Chanel_ has joined #ruby
Emmanuel_Chanel_ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 272 seconds]
queip has joined #ruby
Emmanuel_Chanel has joined #ruby
esp32_prog has joined #ruby
dbz has quit [Remote host closed the connection]
rippa has joined #ruby
esp32_prog has quit [Ping timeout: 245 seconds]
lunarkitty7 has quit [Ping timeout: 252 seconds]
esp32_prog has joined #ruby
dbz has joined #ruby
iNs_ has quit [Remote host closed the connection]
iNs has joined #ruby
dbz has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
jenrzzz has joined #ruby
staticx has joined #ruby
vondruch has quit [Client Quit]
Jonopoly has joined #ruby
exmortus has quit [Ping timeout: 246 seconds]
vondruch has joined #ruby
dviola has quit [Quit: WeeChat 2.4]
hrhsh has joined #ruby
deepredsky has joined #ruby
vondruch has quit [Client Quit]
schne1der has joined #ruby
hrhsh has quit [Client Quit]
ur5us has joined #ruby
klarrimore_ has joined #ruby
PaddyF has quit [Ping timeout: 248 seconds]
znz_jp has quit [Remote host closed the connection]
znz_jp has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has joined #ruby
PaddyF has joined #ruby
Swyper has quit [Ping timeout: 248 seconds]
jefffrails35 has joined #ruby
eletious has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
eletious has quit [Ping timeout: 258 seconds]
queip has quit [Ping timeout: 244 seconds]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
dbz has joined #ruby
klarrimore__ has joined #ruby
klarrimore_ has quit [Ping timeout: 248 seconds]
clemens3 has joined #ruby
dbz has quit [Ping timeout: 248 seconds]
queip has joined #ruby
klarrimore__ has quit [Ping timeout: 248 seconds]
sameerynho has joined #ruby
dhollin has joined #ruby
qladstone has quit [Ping timeout: 256 seconds]
dhollin3 has quit [Ping timeout: 258 seconds]
roblucas has joined #ruby
tdy has joined #ruby
Furai has quit [Quit: WeeChat 2.4]
imadper has quit [Remote host closed the connection]
deepreds1 has joined #ruby
deepredsky has quit [Ping timeout: 248 seconds]
Furai has joined #ruby
jenrzzz has joined #ruby
imadper has joined #ruby
AJA4350 has joined #ruby
dbz has joined #ruby
rbanffy has joined #ruby
vondruch has joined #ruby
dbz has quit [Ping timeout: 248 seconds]
tdy has quit [Ping timeout: 272 seconds]
klarrimore__ has joined #ruby
deepredsky has joined #ruby
deepreds1 has quit [Ping timeout: 248 seconds]
Arahael has quit [Ping timeout: 258 seconds]
klarrimore_ has joined #ruby
Arahael has joined #ruby
klarrimore__ has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
klarrimore_ is now known as klarrimore
<Jonopoly> got 80% of website tested using ruby
<Jonopoly> website is java/react
<Jonopoly> trying to convince other devs its just quicker/lighter with ruby T_T
<Jonopoly> highly unlikely could java perform these tasks this small..
klarrimore has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
dbz has joined #ruby
roblucas has quit [Quit: Leaving]
dbz has quit [Ping timeout: 248 seconds]
troulouliou_div2 has joined #ruby
clemens3 has quit [Quit: WeeChat 1.6]
UncleCid__ has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
pwnd_nsfw` has quit [Ping timeout: 272 seconds]
ams__ has joined #ruby
jenrzzz has joined #ruby
ur5us has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
eletious has joined #ruby
eletious has quit [Ping timeout: 248 seconds]
esp32_prog has quit [Ping timeout: 246 seconds]
AJA4350 has joined #ruby
rbanffy has quit [Quit: rbanffy]
Swyper has joined #ruby
jenrzzz has joined #ruby
GodFather has joined #ruby
cerulean has joined #ruby
dbz has joined #ruby
esp32_prog has joined #ruby
cerulean has quit [Ping timeout: 252 seconds]
dbz has quit [Ping timeout: 252 seconds]
esp32_prog has quit [Ping timeout: 248 seconds]
phaul has quit [Quit: :wq]
jenrzzz has quit [Ping timeout: 245 seconds]
cow[moo] has quit [Quit: Textual IRC Client: www.textualapp.com]
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has joined #ruby
Swyper has quit [Remote host closed the connection]
cow[moo] has joined #ruby
esp32_prog has joined #ruby
phaul has joined #ruby
stryek has joined #ruby
tdy has joined #ruby
kyrylo has joined #ruby
jenrzzz has joined #ruby
<KrzaQ> I'm on Windows, and TCPSocket.new seems to take a bit over 1 second to create a socket, consistently
<KrzaQ> am I doing something wrong?
eletious has joined #ruby
<KrzaQ> hm, it seems that when I change 'localhost' to '127.0.0.1' it drops dramatically, to ~15-20ms
<KrzaQ> possibly timer resolution
andikr has quit [Remote host closed the connection]
eletious has quit [Ping timeout: 248 seconds]
<KrzaQ> well, thanks for being good ducks :)
<KrzaQ> it works great now
tdy has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
ricekrispie has joined #ruby
zodd has joined #ruby
zodd is now known as Guest36380
Guest36380 is now known as zodd_
dbz has joined #ruby
dbz has quit [Ping timeout: 248 seconds]
zodd_ has quit [Read error: Connection reset by peer]
queip has quit [Ping timeout: 248 seconds]
<IGnorAND> anyone try http://jsonapi-rb.org/ has_many :comments data seems to yield no attributes for the comments.
jcalla has joined #ruby
jenrzzz has joined #ruby
queip has joined #ruby
yasumi2136 has joined #ruby
tdy has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
vondruch has left #ruby [#ruby]
clemens3 has joined #ruby
vondruch has joined #ruby
vondruch has quit [Read error: Connection reset by peer]
queip has quit [Ping timeout: 272 seconds]
spiette has quit [Quit: ZNC 1.7.3 - https://znc.in]
dbugger has joined #ruby
spiette has joined #ruby
schne1der has quit [Ping timeout: 272 seconds]
vondruch has joined #ruby
tdy has joined #ruby
queip has joined #ruby
tdy has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
mkaito- has joined #ruby
mkaito has quit [Quit: ZNC 1.7.2 - https://znc.in]
mkaito- is now known as mkaito
mkaito has quit [Changing host]
mkaito has joined #ruby
alem0lars has joined #ruby
queip has quit [Ping timeout: 268 seconds]
vondruch_ has joined #ruby
dysp has joined #ruby
jeremycw has joined #ruby
tdy has joined #ruby
vondruch has quit [Ping timeout: 268 seconds]
vondruch_ is now known as vondruch
queip has joined #ruby
Rapture has joined #ruby
dbz has joined #ruby
hightower3 has quit [Ping timeout: 258 seconds]
dbz has quit [Ping timeout: 272 seconds]
i9zO5AP has joined #ruby
Ai9zO5AP has quit [Ping timeout: 252 seconds]
dante has quit [Ping timeout: 245 seconds]
alem0lars has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
iliaskarim has joined #ruby
queip has quit [Ping timeout: 248 seconds]
octos has joined #ruby
Harlin has quit [Quit: leaving]
queip has joined #ruby
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
<Nikhil_Singhal> Does anyone know how to implement pascal triangle?
<phaul> Nikhil_Singhal: what do you have so far?
rsh_ has joined #ruby
<Nikhil_Singhal> I just how pascal triangle works
<Nikhil_Singhal> Im trying from like 4-5 hours count code it
matheusmoreira has joined #ruby
<phaul> can you construct row n+1 from row n? Then it's just a recursion
<Nikhil_Singhal> I didn't get you
<phaul> imagine you have pascal_triangle(n). can you append stuff to it to extend it to be pascal_triangle(n+1) ?
<Nikhil_Singhal> What im able to do so far is
klarrimore has joined #ruby
<Nikhil_Singhal> 1
<Nikhil_Singhal> 11
<Nikhil_Singhal> 111
<Nikhil_Singhal> 1111
<Nikhil_Singhal> 11111
<Nikhil_Singhal> This thing only
<Nikhil_Singhal> Tbh
<phaul> def pascal_triangle(n) ; if n == 1; then [[1]] else prev=pascal_trianlge(n-1); prev + (extend_last_row(prev[-1]); end
klarrimore has quit [Read error: Connection reset by peer]
<phaul> where extend_last_row just constructs the new row from the last row of the already existing smaller triangle
<Nikhil_Singhal> Okay lemme try thank you
alem0lars has joined #ruby
Inline has joined #ruby
alem0lars has quit [Ping timeout: 268 seconds]
Harlin has joined #ruby
happyhans has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
clemens3 has quit [Quit: WeeChat 1.6]
lunarkitty7 has joined #ruby
dysp has quit [Remote host closed the connection]
queip has quit [Ping timeout: 252 seconds]
octos has quit [Ping timeout: 248 seconds]
cthulchu_ has joined #ruby
queip has joined #ruby
PaddyF has left #ruby ["bbl"]
grilix has joined #ruby
brool has joined #ruby
cerulean has joined #ruby
fphilipe has quit [Ping timeout: 248 seconds]
cerulean has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
dbz has joined #ruby
dbz has quit [Ping timeout: 244 seconds]
<Seance[m]> Hi, I'm hoping someone can ELI5 this line of code
<Seance[m]> if string[0] == string[-1]
<Seance[m]> palindrome(string[1..-2])
<Seance[m]> This is a small snippet from a recursive function
<Seance[m]> I'm not sure how the end condition of checking the palindrom is progressed by this piece of code
<Seance[m]> i.e.
<Seance[m]> I see that string[0] and [-1] check for the equality of the first and last character
<Seance[m]> but how does the range passed as an argument progress?
<Seance[m]> does ruby check the relationship in the range and continue to loop through progressively?
<phaul> you are checking palindromeness on a string that is 2 chars shorter ( removed first and last ) so it progresses towards the empty string
<Seance[m]> so it knows the next check would be string[2..-3] etc.
<Seance[m]> ooooooooooooooooooooh
<Seance[m]> Thank you phaul!
<phaul> well it just keeps calling palindrome to decide if the next shorter string is palindrome. At some point it calls itself wit the empty string, which I assume handled in this function as well
deathwishdave has joined #ruby
AJA4350 has quit [Ping timeout: 248 seconds]
al2o3-cr has quit [Quit: If the universe is a machine where the future is uniquely determined by its present state, it would not be possible to calculate what the future will be.]
<phaul> one has to be careful about the edge cases especially ending with 1 character string at the end.
<deathwishdave> In ruby, the following regexp [a-zA-Z]|(?<=')\s*(?=') matches "( 'one' , 'two','three' ,four, '')" correctly https://rubular.com/r/aCKyC6f4uXtQXd
<Seance[m]> Yeah, the empty string was handled in un snippeted parts, that was the only piece I didn't understand, and I didn't want to violate the code pasting length stuff
<deathwishdave> however, I am translating it to C++, which does not support look-around assertions:
<deathwishdave> is there an alternative regexp that does not use look-around assertions please?
queip has quit [Ping timeout: 248 seconds]
alem0lars has joined #ruby
<havenwood> deathwishdave: We could give you lots of solutions in Ruby, but you want C++, right?
<havenwood> deathwishdave: One option is boost::regex, but a C++ channel would probably be a better place to ask.
<deathwishdave> yeah, asked here as regexp experts reside
queip has joined #ruby
alem0lars has quit [Remote host closed the connection]
dar123 has joined #ruby
al2o3-cr has joined #ruby
GodFather has quit [Ping timeout: 245 seconds]
Jonopoly has quit [Quit: WeeChat 2.4]
jenrzzz has quit [Ping timeout: 248 seconds]
esp32_prog has quit [Ping timeout: 244 seconds]
fphilipe has joined #ruby
octos has joined #ruby
orbyt_ has joined #ruby
AJA4350 has joined #ruby
fphilipe has quit [Ping timeout: 248 seconds]
queip has quit [Ping timeout: 248 seconds]
xfbs has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
xfbs has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
schne1der has joined #ruby
queip has joined #ruby
eletious has joined #ruby
iNs has quit [Remote host closed the connection]
iNs has joined #ruby
SeepingN has joined #ruby
iliaskarim has quit [Ping timeout: 248 seconds]
esp32_prog has joined #ruby
dbugger has quit [Remote host closed the connection]
dbugger has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
esp32_prog has quit [Ping timeout: 272 seconds]
dbz has joined #ruby
themsay has quit [Ping timeout: 268 seconds]
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
dbz has quit [Read error: Connection reset by peer]
dbz has joined #ruby
tdy has quit [Ping timeout: 248 seconds]
tdy has joined #ruby
iliaskarim has joined #ruby
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
queip has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
queip has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 248 seconds]
dbugger has quit [Quit: Leaving]
nowhereman has joined #ruby
AJA4350 has quit [Ping timeout: 248 seconds]
moei has joined #ruby
grilix has quit [Quit: Ooops]
octos has quit [Ping timeout: 244 seconds]
cadeskywalker has quit [Ping timeout: 258 seconds]
octos has joined #ruby
octos has quit [Remote host closed the connection]
octos has joined #ruby
brendan- has quit [Ping timeout: 272 seconds]
duderonomy has joined #ruby
octos has quit [Ping timeout: 248 seconds]
queip has quit [Ping timeout: 244 seconds]
cadeskywalker has joined #ruby
nowhere_man has joined #ruby
nowhereman has quit [Ping timeout: 258 seconds]
gix has joined #ruby
esp32_prog has joined #ruby
leah2 has quit [Ping timeout: 248 seconds]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
queip has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brendan- has joined #ruby
esp32_prog has quit [Ping timeout: 272 seconds]
octos has joined #ruby
dbz has quit [Remote host closed the connection]
LtHummus has quit [Quit: ZNC 1.7.3 - https://znc.in]
LtHummus has joined #ruby
fphilipe has joined #ruby
jenrzzz has joined #ruby
ravenous_ has joined #ruby
happyhans has quit [Ping timeout: 256 seconds]
fphilipe has quit [Ping timeout: 248 seconds]
Emmanuel_Chanel has joined #ruby
octos has quit [Ping timeout: 272 seconds]
dar123 has joined #ruby
octos has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
leah2 has joined #ruby
octos has quit [Ping timeout: 268 seconds]
themsay has joined #ruby
sauvin has quit [Ping timeout: 252 seconds]
Leopere has quit [Quit: The Lounge - https://thelounge.github.io]
themsay has quit [Ping timeout: 272 seconds]
gix has quit [Ping timeout: 244 seconds]
rbanffy has joined #ruby
gix has joined #ruby
tdy has quit [Read error: Connection reset by peer]
tdy has joined #ruby
zeamp has quit [Ping timeout: 268 seconds]
leah2 has quit [Ping timeout: 272 seconds]
zeamp has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
klarrimore has joined #ruby
brool has quit [Ping timeout: 252 seconds]
rafadc has quit [Read error: Connection reset by peer]
rafadc has joined #ruby
klarrimore has quit [Ping timeout: 246 seconds]
jasmin has joined #ruby
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leah2 has joined #ruby
queip has quit [Ping timeout: 258 seconds]
sameerynho has quit [Ping timeout: 244 seconds]
Leopere has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
sameerynho has joined #ruby
queip has joined #ruby
themsay has joined #ruby
hiroaki has joined #ruby
ghormoon has quit [Remote host closed the connection]
ghormoon has joined #ruby
ghormoon has quit [Remote host closed the connection]
ghormoon has joined #ruby
zeamp has quit [Quit: ze]
zeamp has joined #ruby
zeamp has quit [Remote host closed the connection]
schne1der has quit [Ping timeout: 246 seconds]
ghormoon has quit [Remote host closed the connection]
yasumi2136 has quit [Quit: Konversation terminated!]
cerulean has joined #ruby
esp32_prog has joined #ruby
jasmin_ has joined #ruby
jasmin has quit [Ping timeout: 248 seconds]
cerulean has quit [Ping timeout: 245 seconds]
miah has quit [Quit: DevOps? DerpOps maybe!]
miah has joined #ruby
esp32_prog has quit [Ping timeout: 272 seconds]
reber has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
gix has quit [Disconnected by services]
gix has joined #ruby
brool has joined #ruby
fphilipe has joined #ruby
jenrzzz has joined #ruby
jasmin_ has quit [Remote host closed the connection]
jasmin_ has joined #ruby
fphilipe has quit [Ping timeout: 248 seconds]
jasmin__ has joined #ruby
jasmin_ has quit [Ping timeout: 246 seconds]
<VSpike> Why is it that .to_json will correctly descend into a class's attributes but .to_xml will not? https://bpaste.net/show/b77b99f9bc49
gix has quit [Disconnected by services]
gix- has joined #ruby
octos has joined #ruby
i9zO5AP has quit [Quit: WeeChat 2.4]
<havenwood> VSpike: They both attempt to, but #to_json was implemented and #to_xml was not on svc.
<havenwood> VSpike: svc.respond_to? :to_xml #=> false
<havenwood> VSpike: svc.respond_to? :to_json #=> true
<havenwood> VSpike: (I'm assuming.)
jasmin__ has quit [Read error: Connection reset by peer]
catbusters has joined #ruby
jasmin has joined #ruby
<havenwood> Sanity check with: svc.define_singleton_method(:to_xml) { attributes.to_xml }
<havenwood> If it then works, you know why.
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jasmin_ has joined #ruby
sameerynho has quit [Ping timeout: 272 seconds]
jasmin has quit [Ping timeout: 248 seconds]
rsh_ has quit [Ping timeout: 272 seconds]
AJA4350 has joined #ruby
Seich has joined #ruby
ur5us has joined #ruby
Freshnuts has joined #ruby
hightower3 has joined #ruby
ErhardtMundt_ has quit [Remote host closed the connection]
laaron- has joined #ruby
cthu| has joined #ruby
ErhardtMundt has joined #ruby
jasmin_ has quit [Read error: Connection reset by peer]
jasmin_ has joined #ruby
laaron has quit [Remote host closed the connection]
cthulchu_ has quit [Ping timeout: 248 seconds]
jefffrails35 has quit [Ping timeout: 268 seconds]
jasmin_ has quit [Remote host closed the connection]
haxx0r has quit [Ping timeout: 252 seconds]
jasmin_ has joined #ruby
vulski has quit [Quit: WeeChat 2.4]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jasmin_ has quit [Read error: Connection reset by peer]
jasmin has joined #ruby
orbyt_ has joined #ruby
Swyper has joined #ruby
orbyt_ has quit [Client Quit]
Swyper has quit [Remote host closed the connection]
wallace_mu has joined #ruby
jasmin has quit [Ping timeout: 246 seconds]
jasmin has joined #ruby
esp32_prog has joined #ruby
mikecmpbll has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
esp32_prog has quit [Ping timeout: 272 seconds]
jasmin has quit [Read error: Connection reset by peer]
jasmin_ has joined #ruby
weteamsteve has joined #ruby
iliaskarim has quit [Quit: leaving]
jenrzzz has joined #ruby
deathwishdave has joined #ruby
ricardo_ has joined #ruby
ricardo_ is now known as [rg]
GodFather has joined #ruby
themsay has quit [Read error: Connection reset by peer]
SuperLag has quit [Remote host closed the connection]
themsay has joined #ruby
weteamsteve1 has joined #ruby
fphilipe has joined #ruby
jeremycw has quit [Ping timeout: 244 seconds]
hightower2 has joined #ruby
<VSpike> havenwood: looks like you were spot on ... thanks!
fphilipe has quit [Ping timeout: 248 seconds]
queip has quit [Ping timeout: 268 seconds]
nomercy has joined #ruby
<nomercy> hello guys
hightower3 has quit [Ping timeout: 248 seconds]
<nomercy> i have a problem with Net::FTP library, in tls mode
<nomercy> it incorrectly works, getting previous command response as current
<nomercy> for example when it passes "PROT P" command, output is from previous one, "200 Command PBSZ okay" :D
<nomercy> it's true for MRI 2.5.3p105
iNs has quit [Remote host closed the connection]
<nomercy> any suggestions how to deal with it?
iNs has joined #ruby
queip has joined #ruby
<nomercy> server itself is ok, i just checked it with ncat
rbanffy has quit [Quit: rbanffy]
orbyt_ has joined #ruby
mooe has joined #ruby
weteamsteve1 has quit [Quit: Leaving]
wallace_mu has quit [Remote host closed the connection]
SeepingN has joined #ruby
wallace_mu has joined #ruby
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wallace_mu has quit [Ping timeout: 244 seconds]
ghormoon has joined #ruby
ghormoon has quit [Remote host closed the connection]
ghormoon has joined #ruby
jasmin_ has quit [Ping timeout: 248 seconds]
vondruch_ has joined #ruby
jeremycw has joined #ruby
vondruch has quit [Ping timeout: 244 seconds]
vondruch_ is now known as vondruch
troulouliou_div2 has quit [Remote host closed the connection]
moei has quit [Quit: Leaving...]
jeremycw has quit [Ping timeout: 248 seconds]
SeepingN has quit [Disconnected by services]
SeepingN_ has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
salerace has joined #ruby
salerace has quit [Client Quit]
hiroaki has quit [Ping timeout: 248 seconds]
hiroaki has joined #ruby
dviola has joined #ruby
catbusters has quit [Quit: Connection closed for inactivity]
jeremycw has joined #ruby
esp32_prog has joined #ruby
jeremycw has quit [Ping timeout: 248 seconds]
rsh has joined #ruby
esp32_prog has quit [Ping timeout: 248 seconds]
rsh has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
cthu| has quit [Ping timeout: 252 seconds]
dar123 has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cerulean has joined #ruby
cerulean has quit [Ping timeout: 248 seconds]
fphilipe has joined #ruby
fphilipe has quit [Ping timeout: 257 seconds]
jeremycw has joined #ruby
jenrzzz has joined #ruby