_ht has quit [Quit: No Ping reply in 180 seconds.]
havenwood4 is now known as havenwood
dannyAAM_ is now known as dannyAAM
kaivai has joined #ruby
donofrio_ has quit [Max SendQ exceeded]
donofrio_ has joined #ruby
_ht has joined #ruby
cout has quit [Remote host closed the connection]
eam has quit [Ping timeout: 264 seconds]
tonytonyjan has quit [Ping timeout: 264 seconds]
mjacob has quit [Ping timeout: 264 seconds]
cout has joined #ruby
ctk has joined #ruby
mjacob has joined #ruby
tonytonyjan has joined #ruby
eam has joined #ruby
yossarian has joined #ruby
yossarian has joined #ruby
yossarian has quit [Changing host]
In0perable has joined #ruby
weyhmueller has joined #ruby
swaggboi has quit [Read error: Connection timed out]
teclator has joined #ruby
_ht has quit [Remote host closed the connection]
swaggboi has joined #ruby
Sankalp has quit [Ping timeout: 244 seconds]
mixfix41 has joined #ruby
Sankalp has joined #ruby
Rounin has joined #ruby
ctk has joined #ruby
ctk has quit [Changing host]
jl- has joined #ruby
jl- has quit [Ping timeout: 272 seconds]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
mixfix41 has quit [Ping timeout: 260 seconds]
dionysus69 has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
jpn has joined #ruby
ctk is now known as CalimeroTeknik
Aminda has quit [Ping timeout: 268 seconds]
Aminda has joined #ruby
maroloccio has joined #ruby
twosuns has joined #ruby
protektwar has quit [Ping timeout: 240 seconds]
jpn has quit [Ping timeout: 260 seconds]
JSharp has quit []
JSharp has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
wand has quit [Remote host closed the connection]
wand has joined #ruby
jpn has joined #ruby
wand has quit [Remote host closed the connection]
jl- has joined #ruby
wand has joined #ruby
swaggboi has quit [Read error: Connection timed out]
jl- has quit [Ping timeout: 272 seconds]
swaggboi has joined #ruby
jpn has quit [Ping timeout: 272 seconds]
gr33n7007h has quit [Read error: Connection reset by peer]
gr33n7007h has joined #ruby
swaggboi has quit [Read error: Connection timed out]
swaggboi has joined #ruby
jpn has joined #ruby
Ziyan_ has joined #ruby
Ziyan has quit [Ping timeout: 276 seconds]
Linux_Kerio has quit [Ping timeout: 260 seconds]
jpn has quit [Ping timeout: 240 seconds]
smp_ has joined #ruby
smp has quit [Ping timeout: 240 seconds]
smp_ is now known as smp
markong has joined #ruby
swaggboi has quit [Read error: Connection timed out]
swaggboi has joined #ruby
jpn has joined #ruby
Linux_Kerio has joined #ruby
arahael has joined #ruby
twosuns has quit [Quit: Leaving]
gcd has quit [Ping timeout: 240 seconds]
jpn has quit [Ping timeout: 260 seconds]
swaggboi has quit [Read error: Connection timed out]
swaggboi has joined #ruby
gcd has joined #ruby
jpn has joined #ruby
swaggboi has quit [Read error: Connection timed out]
weaksauce has quit [Ping timeout: 256 seconds]
jpn has quit [Ping timeout: 260 seconds]
swaggboi has joined #ruby
Linux_Kerio has quit [Quit: Konversation terminated!]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
Ziyan has joined #ruby
Ziyan_ has quit [Ping timeout: 272 seconds]
MoMeshkani has joined #ruby
<rapha>
ox1eef: that's Arabic (script), but the same thing seems to be true in Hebrew and Aramaic (all written rtl)
thewaves has joined #ruby
<rapha>
ox1eef: i think my "idling" is bordering on "living" :P
<rapha>
ox1eef: did scroll up a bit but without much luck. any keyword i should try grepping for?
<rapha>
ox1eef: as for the bytes, there's not much to analyze ... the shadda and fatha get swapped. the question is, why.
jpn has joined #ruby
<rapha>
(the shadda is the little wave thingy and the fatha is the little accent-like thingy on top of it. it's customary to type the shadda first, fatha second, as that's what you do when you write with a pen.)
<ox1eef>
rapha: oh that's interesting... well, String#b can help, you can look at the string on the byte level that way, and see if there's any differences between the two. String#codepoints can also help, and will help you determine if there's any differences. for what it's worth, on my terminal those strings do not look exactly the same. if it is some sort of quirk, you might be able to modify String#== to
<ox1eef>
handle it, based on the knowledge you have about their equality.
<rapha>
oh, i only knew #bytes
<rapha>
hah! no more .map{|b| "%x" % b}, thanks ox1eef
<ox1eef>
welcome
<rapha>
still doesn't help with thisssss
<ox1eef>
are they exactly equal?
<rapha>
(oops, sorry, sometimes the arduino between laptop and keyboard has a hickup)
<rapha>
yeah, i knew before that they're simply being swapped
<ox1eef>
i know from experience that the arabic word for God (Allah) has slight variations in the contexts i have found it - with different codepoints - so while they meant the same thing, they were not stricly equal.
<rapha>
my theory at the moment is that maybe it has something to do with 064E being a lower number than 0651
<rapha>
allah is a very ... special word, because, for religious reasons, it needs to be written in a way no other arabic word is written
<rapha>
they even have a special codepoint for it
<rapha>
and not all shapers know about it
<rapha>
but this here is regular stuff, just a normal word
<ox1eef>
in my scenario the occurences i found didn't always have the same codepoints, so i had to find all the variations (the goal was to find the word and highlight it)
swaggboi has quit [Read error: Connection timed out]
<ox1eef>
i'm not sure :(
<rapha>
yeah i know that specific problem with allah :P
<rapha>
return unicode_normalize_common(argc, argv, str, id_normalize); <= that looks like it might come from some C library, ox1eef ?
swaggboi has joined #ruby
<MoMeshkani>
Hi all
<MoMeshkani>
It's Mo Meshkani from Tribes Digital agency.
<MoMeshkani>
We need a Ruby On Rails developer for a 3 months contract. It's a UK-based client, and you have to be able to work full-time 9-5 UK time.
<MoMeshkani>
It's an exciting game project, and their Backend is RoR.
<MoMeshkani>
Salary: competitive
<MoMeshkani>
It's a senior role; you will work with their team to accelerate the development process.
<MoMeshkani>
please send your cv to my email address: Mo@tribes.work
<rapha>
who would want that
<rapha>
specially seeing how you copy-pasted that ad within <.3s :P
<ox1eef>
at least in your case, there looks to be some similarity, maybe finding the distance between the two strings would help for the case of equality
<rapha>
ox1eef: i know how i could match them. what i'm interested in is why #unicode_normalize deems it appropriate to re-order it in such a weird way. i suspect a bug.
<ox1eef>
indeed, worth reporting
<ox1eef>
i dont know for sure, but i think ruby implements encoding itself, and before that it had iconv.
<constxd>
God said 8-bit unsigned ASCII
<ox1eef>
xD
<rapha>
yeah, _that_ "god" was an imperialist, colonialist asshole, pardon my french, but it's true.
swaggboi has quit [Read error: Connection timed out]
postmodern has quit [Remote host closed the connection]
swaggboi has joined #ruby
bit4bit has joined #ruby
jl- has joined #ruby
<rapha>
argl
<adam12>
morning
<rapha>
what point is there in the docs showing you the code of a method when it's almost always a one-liner calling another method with a longer name and some arguments which you then can't find _anywhere_
<rapha>
but good morning to you too, adam
<adam12>
rapha: It's methods all the way down, friend.
<rapha>
hmm
<rapha>
_all_ the way? i think at some point we'll be out of methods and into calls to jmp :P
jl- has quit [Ping timeout: 272 seconds]
<ccooke>
Depends on which dimension you jump down in.
protektwar has quit [Ping timeout: 240 seconds]
_ht has joined #ruby
<rapha>
"dimension", why such a complex term, it's all just layers of abstraction one upon the other.
swaggboi has quit [Read error: Connection timed out]
swaggboi has joined #ruby
ur5us has quit [Quit: Leaving]
ur5us has joined #ruby
ur5us has quit [Ping timeout: 272 seconds]
dionysus69 has quit [Ping timeout: 272 seconds]
ur5us has joined #ruby
swaggboi has quit [Read error: Connection timed out]
Sankalp has quit [Ping timeout: 268 seconds]
Sankalp has joined #ruby
Ziyan_ has joined #ruby
Ziyan has quit [Read error: Connection reset by peer]
swaggboi has joined #ruby
Sankalp has quit [Ping timeout: 264 seconds]
maroloccio has quit [Quit: WeeChat 3.0]
Sankalp has joined #ruby
<ccooke>
Because in a very real term, there are multiple planes of abstraction. You can go down further layers of abstraction in pure ruby land, or you can jump a level outwards and encounter the code the Ruby interpreter/compiler is running
orbyt has joined #ruby
swaggboi has quit [Read error: Connection timed out]
swaggboi has joined #ruby
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
jl- has joined #ruby
jl- has quit [Ping timeout: 272 seconds]
polishdub has quit [Remote host closed the connection]
Ziyan has joined #ruby
Ziyan_ has quit [Read error: Connection reset by peer]
jpn has quit [Ping timeout: 272 seconds]
<mooff>
dictionaries define words in terms of other words yet they're still useful
markong has quit [Ping timeout: 268 seconds]
orbyt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]