<thapakazi_>
the output of generated string is weird, I can't find good resources on ruby and crypto with ECDSA, what is this weird looking output of this dsa_sign_asn1 maps to ?
Guest47035 has quit [Client Quit]
warrshrike has joined #ruby
<warrshrike>
hey
<warrshrike>
can someone give me some efficient code to test whether string has only unique characters
<warrshrike>
no just alphabets weird stuff like this !@#$%^&*()_+[]\ too
alfiemax_ has quit [Remote host closed the connection]
<warrshrike>
thanks in advance! ^_^
<warrshrike>
you guys are the best community online. I know you wont let me down ^_^
conta has quit [Ping timeout: 265 seconds]
mtkd has quit []
mtkd has joined #ruby
houhoulis has joined #ruby
cschneid_ has quit [Ping timeout: 265 seconds]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
physicist__ has joined #ruby
cschneid_ has joined #ruby
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
caleBOT has joined #ruby
caleBOT has quit [Ping timeout: 255 seconds]
pilne has joined #ruby
sytherax has quit [Remote host closed the connection]
warrshrike has quit [Ping timeout: 260 seconds]
za1b1tsu_ has joined #ruby
alfiemax has joined #ruby
mtkd has quit []
za1b1tsu_ has quit [Ping timeout: 256 seconds]
alfiemax has quit [Ping timeout: 264 seconds]
coatl has joined #ruby
alfiemax has joined #ruby
coatl has quit [Client Quit]
coatl has joined #ruby
coatl has quit [Client Quit]
RougeR has joined #ruby
plexigras has quit [Ping timeout: 256 seconds]
coderphive has joined #ruby
cschneid_ has quit [Ping timeout: 248 seconds]
coatl has joined #ruby
cschneid_ has joined #ruby
warrshrike has joined #ruby
<warrshrike>
anyone know
ta_ has joined #ruby
<warrshrike>
how to efficiently
<warrshrike>
check if string has duplicates
<warrshrike>
apeiros: brother you know?
nythalcrow has quit [Remote host closed the connection]
coatl has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
mtkd has joined #ruby
<warrshrike>
anyone?
<warrshrike>
I need the needful
<warrshrike>
nobody to help
<warrshrike>
even asked in real life
<warrshrike>
help required
<warrshrike>
sorry english is not my 1 language
<href>
W 34
<warrshrike>
href: yes brother href?
<href>
sorry my keyboard is somewhat broken
<href>
and what do you mean by check if strings has duplicates?
<href>
i'm not fluent in ruby anymore tho, not sur i could help
rawste has joined #ruby
<warrshrike>
href: simply that given a string, two characters should not occur more than once
<warrshrike>
if they do, return negative
<warrshrike>
if they don't positive
<href>
hm maybe with a reduce, at every char you add the current char to the reduce accumulator and check if the current char is already in it
<href>
there's probably better
suukim has quit [Quit: Konversation terminated!]
<href>
you probably need to split the string into an array first
<warrshrike>
so if i check the reduce accumulator everytime, wouldnt it be very inefficient
<warrshrike>
like n^2
<warrshrike>
I think this problem should be doable in N
<href>
probably.. i'm just not good in ruby anymore so i cant help you more
<href>
but yeah there's probably a better way
<warrshrike>
gotcha...thanks!
sytherax_ has joined #ruby
<apeiros>
sister warrshrike, what's a duplicate in a string?
dionysus69 has quit [Ping timeout: 240 seconds]
za1b1tsu_ has joined #ruby
sytherax_ has quit [Ping timeout: 268 seconds]
warrshrike has quit [Ping timeout: 260 seconds]
ta_ has quit [Ping timeout: 240 seconds]
za1b1tsu_ has quit [Ping timeout: 260 seconds]
mtkd has quit []
ryzokuken is now known as ryzokuken[zzz]
ryzokuken[zzz] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<thapakazi_>
the output of generated string is weird, I can't find good resources on ruby and crypto with ECDSA, what is this weird looking output of this dsa_sign_asn1 maps to ?
ryzokuken[zzz] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo has quit [Quit: Leaving]
amar has quit [Remote host closed the connection]
amar has joined #ruby
houhoul__ has joined #ruby
<apeiros>
thapakazi_: that's binary data
<apeiros>
\xHH is a hex escape sequence of one non-printable byte.
<apeiros>
and printable in binary are printable ascii characters, so a subset of \x20-\x7f
houhoulis has quit [Ping timeout: 256 seconds]
amar has quit [Ping timeout: 256 seconds]
<thapakazi_>
Hmm, I see, my options are limited there, can you help me convert it to simple plain HEX ?
<apeiros>
.unpack1("H*")
<apeiros>
binary is also simple and plain ;-p
<thapakazi>
oh nice, I got a stream
ryzokuken has joined #ruby
<thapakazi>
and to get hex => that weird binary format ?
<apeiros>
"I don't understand it" != "weird"
<apeiros>
[your_hex].pack("H*")
<thapakazi>
hmm, let me try
kapil___ has quit [Quit: Connection closed for inactivity]
oleo has joined #ruby
<thapakazi>
hehe, yeah... I gotta learn so much ruby goodness
arekushi has quit [Ping timeout: 240 seconds]
ryzokuken is now known as ryzokuken[zzz]
ryzokuken[zzz] is now known as ryzokuken
cschneid_ has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
dionysus69 has joined #ruby
<thapakazi>
It must be array right ? apeiros
<apeiros>
sadly yes
<thapakazi>
Thanks you save my day, 3 days I was going via the rabbit hole
<thapakazi>
Seems we need to impove docs we have on OpenSSL, it easy to get confounded there
<apeiros>
submit a PR?
ryzokuken is now known as ryzokuken[zzz]
ryzokuken[zzz] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<thapakazi>
A dumb question, where though ? in src or we have docs ?
<apeiros>
docs are generated from source
<apeiros>
so you'd patch the source, and that'll in turn mean the docs change too
<thapakazi>
Hmm, ok I will... Thanks again ☺
<apeiros>
and IME crypto libs are indeed often poorly documented, so I'd hope any improvement there would be welcomed by the dev teams :)
sidx64 has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
sytherax_ has joined #ruby
ryzokuken has joined #ruby
Zaab1t has joined #ruby
caleBOT has joined #ruby
jottr has joined #ruby
sidx64_ has joined #ruby
mtkd has joined #ruby
caleBOT has quit [Ping timeout: 248 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
sidx64 has quit [Ping timeout: 276 seconds]
chaugiang has joined #ruby
chaugiang has left #ruby [#ruby]
cschneid_ has quit [Ping timeout: 248 seconds]
duderonomy has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
emilford has joined #ruby
cschneid_ has joined #ruby
za1b1tsu_ has joined #ruby
dionysus69 has joined #ruby
amar has joined #ruby
InfinityFye has joined #ruby
InfinityFye has left #ruby [#ruby]
Zaab1t has quit [Quit: Zaab1t]
coderphive has quit [Ping timeout: 256 seconds]
arekushi has joined #ruby
Dimik has joined #ruby
kapil___ has joined #ruby
rkazak has joined #ruby
alex`` has quit [Quit: WeeChat 2.1]
ryzokuken has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 256 seconds]
cschneid_ has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
alex`` has joined #ruby
kmurphy4_ has joined #ruby
harrycs has joined #ruby
ta_ has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
foobarker has joined #ruby
<foobarker>
Yo whatup?
kmurphy4_ is now known as kmurphy4
cadillac_ has joined #ruby
chocoelho has joined #ruby
chocoelho has quit [Remote host closed the connection]
dionysus69 has quit [Quit: dionysus69]
<apeiros>
foobarker: not much
dionysus69 has joined #ruby
dionysus69 has quit [Remote host closed the connection]
za1b1tsu_ has quit [Quit: WeeChat 2.1]
sphenxes has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
nyhalcrow has joined #ruby
harrycs has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Remote host closed the connection]
caleBOT has joined #ruby
caleBOT_ has joined #ruby
dionysus69 has joined #ruby
kmurphy4 has quit [Ping timeout: 264 seconds]
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
caleBOT has joined #ruby
caleBOT_ has joined #ruby
sphenxes has joined #ruby
rawste has quit [Quit: zzZZzzZZZ……]
ryzokuken has joined #ruby
chocoelho has joined #ruby
cschneid_ has quit [Ping timeout: 265 seconds]
cschneid_ has joined #ruby
ta_ has quit [Ping timeout: 248 seconds]
NightMonkey has quit [Ping timeout: 276 seconds]
rawste has joined #ruby
foxxx0 has quit [Quit: foxxx0]
duderonomy has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Quit: dionysus69]
foxxx0 has joined #ruby
t0xik has quit [Quit: Connection closed for inactivity]
harrycs has joined #ruby
nyhalcrow has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 268 seconds]
n0m4d1c has joined #ruby
kmurphy4 has joined #ruby
NightMonkey has joined #ruby
ryzokuken has quit [Read error: Connection reset by peer]
jamiejackson has joined #ruby
DeepIO has joined #ruby
cschneid_ has quit [Ping timeout: 248 seconds]
cschneid_ has joined #ruby
cagomez has joined #ruby
cagomez has quit [Client Quit]
ryzokuken has joined #ruby
mtkd has quit []
GodFather has joined #ruby
cagomez has joined #ruby
mohsen_1 has joined #ruby
cagomez has quit [Remote host closed the connection]
suukim has joined #ruby
cyberg has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Quit: AJA4350]
arekushi has quit [Read error: Connection reset by peer]
AJA4350 has joined #ruby
howdoi has joined #ruby
MXfive has quit [Quit: K]
ryzokuken is now known as ryzokuken[zzz]
ryzokuken[zzz] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
dbugger_ has quit [Remote host closed the connection]
ryzokuken has joined #ruby
cschneid_ has quit [Ping timeout: 248 seconds]
Bonjourm8 has joined #ruby
cschneid_ has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
mtkd has joined #ruby
emilford_ has joined #ruby
emilford has quit [Ping timeout: 255 seconds]
rawste has quit [Read error: Connection reset by peer]
ineb has quit [Read error: Connection reset by peer]
rawste has joined #ruby
ineb has joined #ruby
sepp2k has joined #ruby
sphenxes has quit [Quit: Leaving]
DTZUZU has quit [Quit: WeeChat 1.9]
kmurphy4 has quit [Read error: Connection reset by peer]
kmurphy4 has joined #ruby
bvcosta has joined #ruby
bvcosta has quit [Remote host closed the connection]
DTZUZU has joined #ruby
bvcosta has joined #ruby
cschneid_ has quit [Ping timeout: 248 seconds]
ldepandis has joined #ruby
bvcosta has quit [Ping timeout: 248 seconds]
n0m4d1c has quit []
mtkd has quit []
duderonomy has quit [Ping timeout: 255 seconds]
emilford_ has quit [Ping timeout: 268 seconds]
mrush has joined #ruby
cschneid_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
rupam123456 has joined #ruby
ta_ has joined #ruby
emilford has joined #ruby
kliq has quit [Read error: Connection reset by peer]
kliq has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
ryzokuken has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
n13z has quit [Ping timeout: 256 seconds]
n13z has joined #ruby
Bonjourm8_ has joined #ruby
Bonjourm8 has quit [Remote host closed the connection]
Bonjourm8_ has quit [Remote host closed the connection]
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
caleBOT has joined #ruby
caleBOT_ has joined #ruby
caleBOT_ has quit [Ping timeout: 265 seconds]
caleBOT has quit [Ping timeout: 265 seconds]
cschneid_ has quit [Ping timeout: 256 seconds]
kmurphy4 has quit [Quit: kmurphy4]
ta_ has quit [Ping timeout: 256 seconds]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
kmurphy4 has joined #ruby
causasui has joined #ruby
<causasui>
there's a specific PR on github (#1582) that apparently fixes an issue (#1535) I'm having with the locally installed ruby version `ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]`. how can I know which ruby version I need to install to get that PR?
<causasui>
s@PR?@fix?@
Vapez has joined #ruby
amar has quit [Ping timeout: 248 seconds]
harrycs has quit [Ping timeout: 276 seconds]
<causasui>
brb
causasui has quit [Quit: Page closed]
causasui has joined #ruby
<causasui>
back
_whitelogger has joined #ruby
x0f has joined #ruby
esObe has joined #ruby
zenspider has joined #ruby
jokester has joined #ruby
bathtub_shark has joined #ruby
iceskins[m] has quit [*.net *.split]
zalipuha[m] has quit [*.net *.split]
clemens3_ has quit [*.net *.split]
sriehl has quit [*.net *.split]
LenPayne has quit [*.net *.split]
Liothen has quit [*.net *.split]
j416 has quit [*.net *.split]
pragmatism has quit [*.net *.split]
marius has quit [*.net *.split]
exchgr has quit [*.net *.split]
shoogz has quit [*.net *.split]
jrm has quit [*.net *.split]
mahlon has quit [*.net *.split]
ltd has quit [*.net *.split]
r3m has quit [*.net *.split]
sriehl has joined #ruby
sriehl has joined #ruby
sriehl has quit [Changing host]
pragmatism has joined #ruby
exchgr has joined #ruby
jrm has joined #ruby
j416 has joined #ruby
marius has joined #ruby
LenPayne has joined #ruby
ltd has joined #ruby
Liothen has joined #ruby
shoogz has joined #ruby
mahlon has joined #ruby
AJA4350 has quit [Remote host closed the connection]
trautwein has quit [Ping timeout: 240 seconds]
erlend has quit [Ping timeout: 240 seconds]
clemens3_ has joined #ruby
znz_jp has joined #ruby
ta_ has joined #ruby
yadnesh has joined #ruby
ta_ has quit [Client Quit]
r3m has joined #ruby
ta_ has joined #ruby
causasui has quit [Read error: Connection reset by peer]
trautwein has joined #ruby
erlend has joined #ruby
AJA4350 has joined #ruby
caleBOT has joined #ruby
ldepandis has quit [Ping timeout: 264 seconds]
conta has joined #ruby
cyberg has joined #ruby
caleBOT has quit [Ping timeout: 260 seconds]
zalipuha[m] has joined #ruby
iceskins[m] has joined #ruby
cschneid has joined #ruby
Liothen has quit [*.net *.split]
rupam123456 has quit [*.net *.split]
jamesaxl has quit [*.net *.split]
aviraldg has quit [*.net *.split]
tjbp has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
mniip has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
Zarthus has quit [*.net *.split]
universa1 has quit [*.net *.split]
cgfbee has quit [*.net *.split]
octomancer has quit [*.net *.split]
sunya7a has quit [*.net *.split]
psmolen has quit [*.net *.split]
miah has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
halbbalda has quit [*.net *.split]
valkyr2e has quit [*.net *.split]
jordanm has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
miah has joined #ruby
octomancer has joined #ruby
halbbalda_ has joined #ruby
rupam123456 has joined #ruby
jordanm has joined #ruby
universa1 has joined #ruby
jamesaxl has joined #ruby
Mon_Ouie has joined #ruby
tjbp has joined #ruby
Zarthus has joined #ruby
psmolen has joined #ruby
Apocalypse has joined #ruby
avelldiroll has joined #ruby
mlkkk has joined #ruby
mniip has joined #ruby
cgfbee has joined #ruby
Liothen has joined #ruby
hfp_work has quit [Ping timeout: 240 seconds]
starship has quit [Ping timeout: 240 seconds]
valkyr2e has joined #ruby
Evesy has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
Fire-Dragon-DoL has joined #ruby
Evesy has joined #ruby
hfp_work has joined #ruby
duracrisis has joined #ruby
aviraldg has joined #ruby
t0xik has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
alfiemax has quit [Ping timeout: 252 seconds]
ta_ has quit [Remote host closed the connection]
ryzokuken has joined #ruby
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
mlkkk has quit [Remote host closed the connection]
ryzokuken has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
minimalism has quit [Quit: minimalism]
harrycs has joined #ruby
causasui_ has joined #ruby
caleBOT has joined #ruby
caleBOT_ has joined #ruby
Andrevan has joined #ruby
cschneid has quit [Ping timeout: 265 seconds]
darkhanb has quit [Ping timeout: 240 seconds]
sidx64_ has quit [Read error: Connection reset by peer]
redlegion has quit [*.net *.split]
jnollette has quit [*.net *.split]
_aeris_ has quit [*.net *.split]
_aeris_ has joined #ruby
jnollette has joined #ruby
causasui has joined #ruby
redlegion has joined #ruby
p0s1x has joined #ruby
alfiemax has joined #ruby
<causasui_>
theres a specific PR on github (#1582) that apparently fixes an issue (#1535) Im having with the locally installed ruby version ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]. how can I know which ruby version I need to install to get that PR?
jdeen has quit [Ping timeout: 276 seconds]
jdeen has joined #ruby
p0s1x has quit [Quit: Segmentation fault]
<Zarthus>
reading the CHANGELOG, I suppose.
kapil___ has quit [Quit: Connection closed for inactivity]
amar has joined #ruby
<Zarthus>
you can also look for releases after that date
noobineer has joined #ruby
rivalomega has joined #ruby
thapakazi_ has quit [Quit: thapakazi_]
thapakazi has quit [Quit: thapakazi]
cschneid has joined #ruby
harry_ has joined #ruby
harrycs has quit [Ping timeout: 260 seconds]
conta has quit [Ping timeout: 260 seconds]
ta_ has joined #ruby
n0m4d1c has joined #ruby
Vapez has quit [Remote host closed the connection]
nyhalcrow has joined #ruby
n0m4d1c has quit []
caleBOT_ has quit []
caleBOT has quit []
rkazak has quit [Quit: Sleep.....ing....]
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 245 seconds]
heftig has quit [Ping timeout: 256 seconds]
cschneid has quit [Ping timeout: 252 seconds]
harry_ has quit [Ping timeout: 260 seconds]
foobarker has quit [Ping timeout: 276 seconds]
cschneid has joined #ruby
<causasui_>
Zarthus: I just cloned `https://github.com/ruby/ruby.git` then did `find . -type f -name "ChangeLog*" -exec cat {} \; > changelog` then I did `grep 'file lock' changelog`, `grep '1582' changelog` etc and turned up nothing :\
heftig has joined #ruby
<Zarthus>
well for one because there is no ChangeLog* file in ruby/ruby
sidx64 has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
sidx64_ has joined #ruby
<causasui_>
Zarthus: I beg to differ, they're just buried
<Zarthus>
maybe, I just looked for the project root
nahra has joined #ruby
sidx64 has quit [Ping timeout: 245 seconds]
<Zarthus>
looks like nobody ever documented it in the changelog
<Zarthus>
Oct 14, 2017 is when the commit was merged, I would assume it's in any version released after that (at least 2.5.0-rc1, doubtful it was backported to 2.4.x or 2.3.x)
<Zarthus>
you could double check by seeing if the commit is in there with git grep or looking up the sha in the respective branches.
<Zarthus>
(sorry, oct 14 is when the branch was deleted, the commit was merged on april 14)
nowhere_man has joined #ruby
<causasui_>
Zarthus: yeah I didn't build ruby from git, it was preinstalled on this machine by somebody
<causasui_>
Zarthus: but I'll check with release date, thanks
<Zarthus>
it's worth mentioning there are three things i grepped for myself