<DocScrutinizer05>
though really mad sh*t are the true *arbitrary* libs *.so
<wpwrak>
(extensions) what, no multi-threading ? :)
<DocScrutinizer05>
with the right lib, why not ;-)
<DocScrutinizer05>
or was that just a daydream?
<wpwrak>
a daymare ? :)
<DocScrutinizer05>
well, prolly. I misread >>Lines beginning with @load may be used to load shared libraries into your program.<< as "*arbitrary* shared libraries", though now I think they meant just .so nuilt specifically as awk extensions
herpderphurr has joined #neo900
<DocScrutinizer05>
however iirc there _was_ one way to invoke functions in arbitrary *.so as long as you know the ABI, form a cmdline tool
<DocScrutinizer05>
hmm, wouldn't be surprised to find it in perl or python
<wpwrak>
yes, python can interface with C. quite nicely so.
<wpwrak>
and i'd be very surprised if there were no suitable hacks for perl :)
<atk>
DocScrutinizer05: this is just a curious question of mine, if SMS supports 3 encodings, 7 bit, 8 bit "data" and 16bit UCS-2, why do companies get away with using UTF-16 over UCS-2 and additionally (I don't actually know because I've never used on in my life) Does putting in an emoji, or a character not representable by the 7 bit alphabet, suddenly more than halve the number of available characters per SMS?
<atk>
and if people get away with UTF-16 over something which is explicitly specified to be using UCS-2, can't they get away with just using UTF-8 over the "8 bit data" encoding type
<DocScrutinizer05>
afaik there is no 8bit data type
<DocScrutinizer05>
I have no idea. SMS are a *mess*
<atk>
Oh, so this is how the "voicemail waiting" stuff works :P
<DocScrutinizer05>
SMeSs
<atk>
There's an SMS indication active flag which then lets the sender specify that the message indicates that voicemail is waiting
<DocScrutinizer05>
yeah, there's quite a lot of command-SMS defined
<atk>
So yes, back to my question, does putting in an "emoji" really halve the allowed message length?
<atk>
or is there some in-line "switch encoding" mechanism
<DocScrutinizer05>
16bit chars
<atk>
there is for the language shift tables
<atk>
but that's more "switch alphabet" than "switch encoding"
<DocScrutinizer05>
no idea about how emoji are implemented either
<atk>
the github link suggests that they're done with UTF-16 :P
<atk>
Which seems insane
<atk>
Major companies going directly against established standards to provide user convenience of being able to produce stupid smily faces in their text messages.
<DocScrutinizer05>
well, almost all except plain ASCII is 16bit afaik
<DocScrutinizer05>
chinese, whatnot else
<DocScrutinizer05>
and ASCII is 7bit, stuffed to fill 8 bit
<DocScrutinizer05>
7/8 packed
<DocScrutinizer05>
which is anabomination in itself
<atk>
DocScrutinizer05: this PDF suggests that German, English, Italian, French, Spanish, Dutch, Swedish, Danish, Portuguese, Finnish, Norwegian, Greek, Turkish, Hungarian, Polish, Czech, Hebrew, Arabic, Russian and Icelandic can be represented using the 7 bit setg
<DocScrutinizer05>
then you got one code like 126 or 140 or whatever that tells which type the whole SMS is
<atk>
I am aware
<atk>
Apparently these language shift tables can either be toggled on or used for each character
<atk>
it's all quite interesting
<DocScrutinizer05>
it's mindboggling
<atk>
designed so that if a receiver doesn't support the language shift tables, the message should still produce something readable for most languages
<atk>
But yes, apparently you either get 90 characters of text or 40 depending on whether you use the 7 bit alphabet or UCS-2, but isn't the limit 160 characters?
<DocScrutinizer05>
hm? isn't that rather 124 or somesuch?
<DocScrutinizer05>
or even 130?
<atk>
well, another section explicitly states 160 of 7bit, 140 of 8bit, or 70 of UCS-2
<DocScrutinizer05>
160
<atk>
but you can compress the message
<atk>
apparently
<DocScrutinizer05>
I never heard of compression. Only 7/8 packing
<DocScrutinizer05>
~70*16
<infobot>
1120
<DocScrutinizer05>
~160*7
<infobot>
1120
<DocScrutinizer05>
anyway I know of no phone where you could select the "codepage" on the fly
<DocScrutinizer05>
usually you have to use the codepage/langiage that the phone is set to
<DocScrutinizer05>
though you can receive SMS in other codepages, and even copy parts from them into new SMS which inherit the codepage then
<atk>
but 8 bit data is explicitly said to be "user defined"
<DocScrutinizer05>
that's why it's called data
<atk>
ah, that's not what they mean by "on the fly"
<atk>
it means that you can only use one alt code page per message
<DocScrutinizer05>
yes
<atk>
and you switch into the alt code page through either a locking mechanism where you lock into it for a portion of the message, or on a per-character basis
<atk>
but this wouldn't explain emojis
<atk>
so It's still interesting as to what hacks they used for that
<DocScrutinizer05>
tbh I don't even want to knpw
<DocScrutinizer05>
emojis, my a...
<DocScrutinizer05>
it *seems* in former times Nokia simply transcoded e.g. :-) into a smiley
<DocScrutinizer05>
which sucks
<DocScrutinizer05>
:D :) etc
<DocScrutinizer05>
then eventually 'industry' agreed on a even more weird method to embed images into what should be plain text
<DocScrutinizer05>
how about you look at the raw PDU data?
<atk>
the PDwhat?
<DocScrutinizer05>
err isn't that called PDU?
<atk>
I have no idea, maybe
<atk>
yes, probably
<atk>
sounds right
<atk>
I don't know how I would look at the raw data to be honest
<DocScrutinizer05>
I'm absolutely sure it shows up on phonet (tshark), I'd think it even shows up on dbus, _maybe_ it even gets store to rtcomm eventsdb
<atk>
and nobody sends me emojis
Pali has joined #neo900
Oksana has quit [Read error: Connection reset by peer]
lobito has quit [Read error: Connection reset by peer]
jonsger has quit [Ping timeout: 260 seconds]
jonsger has joined #neo900
<wpwrak>
DocScrutinizer05: my SMS emoji issue ? no, that must have been something else. all I need for SMS is a good spam filter :)
<enyc>
I wonder why I don't get junk sms nor junk calls
<DocScrutinizer05>
wpwrak: no t emoji
<DocScrutinizer05>
you said you couldn't do SMS
SylvieLorxu has joined #neo900
<atk>
I don't get junk sms or junk calls either, I simply don't give anyone my phone number.
<atk>
They can go email me if they want to contact me :P
<atk>
Well, I don't give anyone my phone number unless they have a explicit statement that they won't randomly call me unnecessarily and won't pass it on to some advertising company.
<DocScrutinizer05>
then "their kids" install whatsapp on their phone
<DocScrutinizer05>
my gf is *very* wary about not getting tracked, about google knowing her email address and whatnot. Then she hands her android phone to her teen 'clients' (she's streetworker) to install her shit like whatsapp and whatnot else
* hellekin
abandoned the idea that Google doesn't track him, since they have proven they know my id in a way that could be considered a crime in EU: by sending a package at my parents address after I participated in a GSoC.
<atk>
scroogle
<DocScrutinizer05>
LOL
<DocScrutinizer05>
"don't be evil" BWAHAHA
<atk>
I have no idea how it all works, but they created a new company and made it their parent company
<atk>
and that company (some colourful word) doesn't have that motto anymore
<atk>
Yes, I am aware, but I was just commenting on your "don't be evil", I feel that they stopped not being evil a long long long time ago, and just sealed their fate with that motto change.
<DocScrutinizer05>
see xkcd ;->
<DocScrutinizer05>
I guess you'll find it's surprisingly to the point when think about it
<DocScrutinizer05>
xkcd <3
<DocScrutinizer05>
I got that one as poster on my flat's entrance door
<DocScrutinizer05>
;)
<DocScrutinizer05>
dang ding: only knows "Haustuer" (front door) but not "Wohnungstuer"
<atk>
I guess on that point they simply _can't_ be evil, or at least appear evil.