zamn900 | anyway I can understand quite well what's coding like | 00:00 |
---|---|---|
zamn900 | oh and about OTR thing we could know about since months ago | 00:01 |
zamn900 | many months ago leaked new about this whatsapp otr thing | 00:02 |
zamn900 | I would have warned you mates... but I always suppose you are cooler than me | 00:03 |
*** corvinux has joined #maemo | 00:03 | |
ceene | i sure am not | 00:04 |
ceene | i'm the idiot who bought his first n900 just a couple of months before scorpius stopeed supporting yappari | 00:04 |
ceene | and since nobody had stepped up... it was me | 00:05 |
zamn900 | that's an honor all of yours and your teammates | 00:05 |
zamn900 | get some fresh eyes... | 00:06 |
*** Pali has quit IRC | 00:06 | |
zamn900 | have a nice day... | 00:07 |
ceene | you too | 00:07 |
zamn900 | do your duty with joy | 00:07 |
zamn900 | get some renereting fuck too | 00:07 |
zamn900 | regenerating | 00:07 |
zamn900 | do all your best | 00:08 |
zamn900 | just because you are the hero in this ok? | 00:08 |
zamn900 | that said | 00:10 |
zamn900 | infobot has to go in jail | 00:10 |
zamn900 | bots shall never rule our world | 00:11 |
zamn900 | Good Coding! (Y) | 00:11 |
*** zamn900 has quit IRC | 00:12 | |
*** futpib has quit IRC | 00:15 | |
*** xelo has quit IRC | 00:32 | |
*** corvinux has quit IRC | 00:41 | |
*** louisdk has quit IRC | 00:57 | |
*** florian has quit IRC | 00:58 | |
kerio | cocaine is one hell of a drug | 01:04 |
*** corvinux has joined #maemo | 01:10 | |
*** corvinux has quit IRC | 01:10 | |
*** corvinux has joined #maemo | 01:10 | |
sixwheeledbeast | :nod: | 01:19 |
*** freemangordon has joined #maemo | 01:23 | |
*** clopez has quit IRC | 01:32 | |
*** clopez has joined #maemo | 01:36 | |
DocScrutinizer05 | kerio: huh? | 02:11 |
DocScrutinizer05 | kerio: so you have a mission to destroy it *all*? ;-D | 02:13 |
kerio | ? | 02:13 |
* DocScrutinizer05 destroys a little bit of ethanol | 02:13 | |
kerio | i don't even drink .-. | 02:14 |
* DocScrutinizer05 ponders to head out, there must be more of that which needs getting destroyed | 02:14 | |
DocScrutinizer05 | or wait... did it finally become obvious _what_ caused D. Trump? | 02:15 |
*** LauRoman has quit IRC | 02:19 | |
*** dafox has quit IRC | 03:24 | |
*** RST38h has joined #maemo | 03:28 | |
*** kabouik has quit IRC | 03:48 | |
*** kabouik has joined #maemo | 03:48 | |
*** vakkov has quit IRC | 04:02 | |
*** eMHa has joined #maemo | 04:18 | |
*** eMHa__ has quit IRC | 04:21 | |
*** robotanarchy has joined #maemo | 04:43 | |
*** robotanarchy_ has quit IRC | 04:45 | |
*** Defiant has quit IRC | 05:01 | |
*** Defiant has joined #maemo | 05:02 | |
*** Hurrian has joined #maemo | 05:51 | |
*** Hurrian has quit IRC | 05:52 | |
*** Hurrian has joined #maemo | 05:52 | |
*** lxp has joined #maemo | 06:02 | |
*** lxp1 has quit IRC | 06:04 | |
*** DocScrutinizer05 has quit IRC | 06:08 | |
*** DocScrutinizer05 has joined #maemo | 06:08 | |
*** vahe1 has joined #maemo | 06:26 | |
*** yasnothil has joined #maemo | 06:27 | |
*** chfoo- is now known as chfoo | 06:28 | |
*** pagurus````` has joined #maemo | 06:32 | |
*** pagurus```` has quit IRC | 06:34 | |
*** pagurus````` has quit IRC | 06:36 | |
*** pagurus````` has joined #maemo | 06:38 | |
KotCzarny | hmm, i wonder why nobody found it earlier: Znaps or the copy ZEUSS Easy Connect | 08:43 |
KotCzarny | seems like a magic pill to solve n900 usb port issue | 08:45 |
*** LauRoman has joined #maemo | 08:54 | |
*** Pali has joined #maemo | 09:57 | |
*** florian has joined #maemo | 10:04 | |
*** Hurrian has quit IRC | 10:25 | |
*** Hurrian has joined #maemo | 10:27 | |
*** xelo has joined #maemo | 10:27 | |
Pali | freemangordon: ping | 10:58 |
*** louisdk has joined #maemo | 11:04 | |
*** Vajb has quit IRC | 11:18 | |
*** Vajb has joined #maemo | 11:35 | |
Pali | freemangordon: n900 patches are rebased on top of 4.6-rc4 but now without camera and v4l patches | 12:15 |
*** futpib has joined #maemo | 12:19 | |
Pali | ~seen jonwil | 12:19 |
infobot | jonwil <~jonwil@27-33-80-219.tpgi.com.au> was last seen on IRC in channel #maemo, 23h 3m 1s ago, saying: 'hi'. | 12:19 |
*** salamisami has joined #maemo | 12:40 | |
*** M4rtinK has joined #maemo | 12:43 | |
L29Ah | nvm i vote for Wizzup, Pali and freemangordon | 13:04 |
L29Ah | make n900 great again! | 13:05 |
Hurrian | guys, does the N900/N9 do binary PDU mode for sending SMSes? | 13:12 |
Wizzup | L29Ah: to be fair, I've mostly done some testing, I haven't done much coding apart from some input code :) | 13:15 |
KotCzarny | we need testers too | 13:15 |
L29Ah | building a distro out of the meta distro is much work as well actually | 13:19 |
L29Ah | especially with such an unusual hardware | 13:20 |
Wizzup | I'm close to writing some blogs on where I am now, and where I want to go | 13:22 |
Wizzup | Many driver things I'll try to just mention (mostly userland, how to config, etc) | 13:22 |
Wizzup | It's probably on the net somewhere in most cases | 13:22 |
DocScrutinizer05 | eeew vote, right? | 13:23 |
L29Ah | huh? | 13:24 |
DocScrutinizer05 | http://wiki.maemo.org/Community_Council/Council_election_Q2_2016 | 13:24 |
*** wiewo has left #maemo | 13:24 | |
KotCzarny | l29ah, you know what are council tasks, right? | 13:25 |
KotCzarny | devs shouldnt have to waste time on secretary work | 13:25 |
freemangordon | Pali: great, thanks :) | 13:25 |
freemangordon | KotCzarny: :nod: | 13:25 |
DocScrutinizer05 | dang, tomorrow! | 13:25 |
DocScrutinizer05 | this doesn't sound right!!! | 13:26 |
DocScrutinizer05 | only 6 days | 13:26 |
DocScrutinizer05 | Election period: 25 April 2016 - 01 May 2016 (23:59) | 13:28 |
L29Ah | 13:25:22]<KotCzarny> l29ah, you know what are council tasks, right? | 13:28 |
L29Ah | no | 13:28 |
KotCzarny | l29ah: council tasks have nothing to do with code | 13:29 |
KotCzarny | they arent even bug-fixing related | 13:29 |
L29Ah | can they at least fix the "anti-spam" bullshit that pesters every other guy there? | 13:29 |
freemangordon | no | 13:30 |
DocScrutinizer05 | vs "Starting 2016-04-25 00:00:00 UTC: Community Council Election Q2 2016" on http://maemo.org/vote/ | 13:30 |
L29Ah | meh ok, screw it then | 13:30 |
DocScrutinizer05 | ohmy | 13:30 |
L29Ah | i sell my vote for 0.01฿ | 13:30 |
Pali | freemangordon: can you put on top of it all camera patches? | 13:31 |
DocScrutinizer05 | council should put this on their agenda, to investigate solutions | 13:31 |
DocScrutinizer05 | I have a very hard time to see how TOR exit nodes, when not blocked, could DDoS random pages of tmo by mass *reading* them :-( | 13:34 |
DocScrutinizer05 | I easily can see how this is a fair bit of work to fix this in vBuletin | 13:35 |
DocScrutinizer05 | stopforumspam is maybe nice, but only when used in a reasonable way | 13:37 |
freemangordon | Pali: that's the idea | 13:38 |
freemangordon | Pali: will take me some time though | 13:38 |
freemangordon | so, once I have cameras working with that, I'll send a RFC patchset | 13:38 |
DocScrutinizer05 | (spam) so the right concept would be to only block regiatration/login via stopforumspam blacklicsts, and handle all DDoS attacks by more generic means, e.g. in the firewals | 13:40 |
DocScrutinizer05 | throttling, fail2ban, whatever | 13:40 |
DocScrutinizer05 | in a post-snowden time it's a nogo to tell users they can't use TOR to *read* the forum | 13:41 |
DocScrutinizer05 | L29Ah: I buy! | 13:42 |
DocScrutinizer05 | unless that's BTC crrency | 13:42 |
DocScrutinizer05 | silly GDR/USSR elections, we can chose one out of 6 who's NOT going to be council | 13:43 |
KotCzarny | hmm, is there a tool similar to diff but smart enough to ignore whitespace, newlines etc in c code? | 13:45 |
L29Ah | sure it's btc | 13:45 |
ceene | you can use indent first | 13:46 |
DocScrutinizer05 | if others had pondered my suggestion to have 5 "nobody" on every candidate list too, this would be more fun | 13:46 |
KotCzarny | ceene, but without pre-processing? | 13:46 |
KotCzarny | because i know i can tidy the files, but then i will lose some info | 13:46 |
L29Ah | wtf karma | 13:46 |
DocScrutinizer05 | hmm? | 13:46 |
ceene | what info will you lose? | 13:46 |
L29Ah | can i just reg a ton of bots to earn karma for me and my clones and be done? | 13:46 |
KotCzarny | formatting, timestamps | 13:47 |
DocScrutinizer05 | yes | 13:47 |
L29Ah | startforumspam party | 13:47 |
DocScrutinizer05 | thanksbots will go a long way | 13:47 |
ceene | there's nothing that does that i think... maybe some statistical analysis tool | 13:48 |
DocScrutinizer05 | but actualy wikiedits work great too | 13:48 |
DocScrutinizer05 | ;-) | 13:48 |
DocScrutinizer05 | ooh, my ignorelist | 13:48 |
*** zap_ has joined #maemo | 13:48 | |
KotCzarny | ceene, if there is a tool that tidies code without touching the files to find which parts of the code changed | 13:49 |
KotCzarny | it would be not that hard to write for c/c++ syntax | 13:49 |
ceene | maybe clang has something like that | 13:50 |
KotCzarny | ie. 'if things are in "" dont touch, else s/[ \n]+/ /' | 13:50 |
KotCzarny | and maybe s/[\(\)\{\}]/ \1 / first | 13:51 |
ceene | i still think indent is the way | 13:51 |
ceene | my code doesn't change almost anything when passed through indent | 13:52 |
KotCzarny | yes, that would work if diff could do it without touching the files | 13:52 |
*** Sicelo has quit IRC | 13:52 | |
KotCzarny | maybe i'll just pass things through indent/diff as a hinter for changes | 13:53 |
DocScrutinizer05 | there are quite a few options in diff already | 13:53 |
DocScrutinizer05 | to ignore spaces, treat tabs and spaces alike, etc | 13:53 |
DocScrutinizer05 | after all diff been written by c-coders, with c and git in mind | 13:55 |
KotCzarny | simplest case: | 13:55 |
KotCzarny | if() | 13:55 |
KotCzarny | {do something} | 13:55 |
KotCzarny | vs if() {do something} | 13:55 |
DocScrutinizer05 | not really optimized for python, but should deal with c formatting | 13:55 |
DocScrutinizer05 | ;-P | 13:55 |
Pali | or: do_something if cond; | 13:57 |
Pali | :D | 13:57 |
DocScrutinizer05 | L29Ah: council can't fix bugs, but they can coordinate bugfixing and have a loud saying in maemo administration at large | 13:57 |
KotCzarny | pali, well, that's an overkill | 13:58 |
* DocScrutinizer05 thinks BTC are like Talents, which were ~30kg silver | 14:03 | |
DocScrutinizer05 | >>Ein Talent war generell in 60 Minen unterteilt. [...] Das Gewicht einer Mine betrug in der Zeit des Peloponnesisches Krieges ca. 430 Gramm<< https://de.wikipedia.org/wiki/Mine_(Münze) | 14:05 |
DocScrutinizer05 | >>Ein typisches Segelschiff kostete ein Talent<< | 14:06 |
DocScrutinizer05 | >>Marcus Licinius Crassus, der als reichster Römer zur Zeit Gaius Iulius Caesars gilt, hatte am Ende seines Lebens ein Vermögen von 7100 Talenten.<< | 14:07 |
M4rtinK | So you can say "Romans had Talent" ? ;-) | 14:08 |
DocScrutinizer05 | *many* :-D | 14:10 |
L29Ah | oh there is combining "||" | 14:12 |
L29Ah | B⃦ | 14:12 |
DocScrutinizer05 | some romans had many talents, many romans had some talents, no roman had no little fraction of talent ;-D | 14:12 |
DocScrutinizer05 | L29Ah: gIbBerISh | 14:13 |
DocScrutinizer05 | ฿B⃦ | 14:14 |
DocScrutinizer05 | http://wstaw.org/m/2016/04/24/plasma-desktopGn2219.png | 14:14 |
* DocScrutinizer05 checks if xchat still alive ;-P | 14:16 | |
* DocScrutinizer05 uses the general rule of "don't use special chars like € or B⃦ or whatever, when you're not in control of the rendering" | 14:35 | |
* DocScrutinizer05 uses e.g EUR instead | 14:36 | |
* DocScrutinizer05 doesn't even use ö in 'joerg' | 14:36 | |
DocScrutinizer05 | some exception: | 14:38 |
DocScrutinizer05 | ☕ | 14:38 |
DocScrutinizer05 | time for more ☕ | 14:38 |
DocScrutinizer05 | 12 648 430 | 14:38 |
DocScrutinizer05 | ~0xc0ffee * 1 | 14:39 |
DocScrutinizer05 | ~ping | 14:39 |
infobot | 1 packet transmitted, 1 packet received, 0.0% packet loss | 14:39 |
DocScrutinizer05 | ~useless | 14:39 |
* infobot starts crying and hides from docscrutinizer05 in the darkest corner of the room. :( | 14:39 | |
DocScrutinizer05 | ~0xff * 2 | 14:40 |
DocScrutinizer05 | ~#ff * 2 | 14:40 |
DocScrutinizer05 | ~ffh * 2 | 14:40 |
DocScrutinizer05 | ~0ffh * 2 | 14:40 |
*** dafox has joined #maemo | 14:47 | |
*** dafox has quit IRC | 15:01 | |
*** dafox has joined #maemo | 15:07 | |
*** dafox has quit IRC | 15:08 | |
DocScrutinizer05 | [notice] >>The voting period for the specified election starts on 2016-04-25 00:00:00 (UTC) and ends on 2016-05-01 23:59:59 (UTC). It is not possible to vote now.<< | 15:17 |
DocScrutinizer05 | so voting starts in a little less than 10 hours | 15:17 |
*** krnlyng has quit IRC | 15:18 | |
DocScrutinizer05 | the wiki is not correct | 15:18 |
*** krnlyng has joined #maemo | 15:19 | |
ceene | who should I vote? | 15:20 |
DocScrutinizer05 | the question rather is who is the one you don't vote for ;-D | 15:20 |
ceene | ok | 15:21 |
ceene | so who shall be punished with my indiference? | 15:21 |
DocScrutinizer05 | 5/6 will become council | 15:21 |
KotCzarny | ceene: do a coin toss | 15:21 |
DocScrutinizer05 | ceene: that's really up to you. I'd try to keep out the one who demonstrated poorest understanding of what council is all about | 15:22 |
ceene | DocScrutinizer05: i don't understand what council is all about | 15:23 |
DocScrutinizer05 | where in my book council is NOT: governance and leadership | 15:23 |
ceene | so there's that... | 15:23 |
KotCzarny | secretary/paper work | 15:23 |
DocScrutinizer05 | council is a secretary/steward | 15:23 |
DocScrutinizer05 | no leader | 15:23 |
DocScrutinizer05 | also council is not about development or technical administration, but rather for moderation and coordination, in worst case delegation/assignment | 15:24 |
DocScrutinizer05 | council for example should take care (or delegate task) to grant upload rights to repos, and worst case - in case something goes awry - remove packages from repos. For this a bit of general technical understanding would help | 15:26 |
DocScrutinizer05 | right now council should take care about that very unfortunate TOR blocking on tmo, inquire suggestions for solutions and coordinate their evaluation and implementation | 15:27 |
ceene | it sounds it all like a hassle :) | 15:28 |
DocScrutinizer05 | for this also some technical understanding helps, to discern sound arguments pro/contra some solution from excuses | 15:28 |
DocScrutinizer05 | council is hassle | 15:29 |
DocScrutinizer05 | the more when some council members have funny agenda like "I'll reach out to jolla now, demand council reviews their source code and approves if it complies with maemo spirit" or the like | 15:30 |
DocScrutinizer05 | in this regard my general advice: don't vote patent lawyers into council! ;-P | 15:32 |
ceene | :) | 15:33 |
*** zap_ has quit IRC | 15:53 | |
*** vakkov has joined #maemo | 15:55 | |
*** HRH_H_Crab has quit IRC | 15:58 | |
*** HRH_H_Crab has joined #maemo | 16:00 | |
*** ArGGu^^ has quit IRC | 16:03 | |
*** ArGGu^^ has joined #maemo | 16:06 | |
*** HRH_H_Crab has quit IRC | 16:11 | |
*** at1as has quit IRC | 16:11 | |
*** HRH_H_Crab has joined #maemo | 16:12 | |
ceene | there's a qt library for telegram | 16:16 |
ceene | that's a good thing | 16:16 |
ceene | at least i could reuse yappari as gui for that | 16:16 |
DocScrutinizer05 | one more thin g that comes to mind for council: official adoption of devuan instead of debian for recommended maemo base | 16:17 |
DocScrutinizer05 | I.E. an official recommendation to devels | 16:18 |
DocScrutinizer05 | and I guess an inquiry to techstaff resp warfare and xes about expected lifecycle of server HDDs until preemtive service swap would be in order to | 16:21 |
DocScrutinizer05 | s/ to/ too/ | 16:22 |
infobot | DocScrutinizer05 meant: and I guess an inquiry too techstaff resp warfare and xes about expected lifecycle of server HDDs until preemtive service swap would be in order to | 16:22 |
DocScrutinizer05 | dang | 16:22 |
DocScrutinizer05 | s/ to$/ too$/ | 16:22 |
luke-jr | ceene: last I checked you can't even really build telegram sanely | 16:23 |
luke-jr | it requires a bunch of patches to other libraries | 16:23 |
DocScrutinizer05 | ouch | 16:23 |
ceene | :( | 16:23 |
ceene | https://github.com/Kaffeine/telegram-qt | 16:23 |
ceene | i was thinking about this | 16:23 |
ceene | seems to support qt4 | 16:24 |
ceene | although now that you say it, i don't know if it's an implementation of telegram or | 16:25 |
ceene | argh | 16:25 |
ceene | or just its bindings | 16:25 |
ceene | i think it's a full implementation | 16:25 |
DocScrutinizer05 | well, check if the lib you want to use actually depends on patches in other libs | 16:27 |
DocScrutinizer05 | if so, you might need to "import" and rename those libs too | 16:27 |
DocScrutinizer05 | -Dtelegram-glibc ;-P | 16:28 |
ceene | it seems to be compiling just fine on scratchbox | 16:29 |
ceene | oops | 16:29 |
DocScrutinizer05 | sounds like the perfect candidate for static linking | 16:29 |
ceene | except for this | 16:29 |
ceene | Utils.cpp:42: error: integer constant is too large for 'long' type | 16:29 |
DocScrutinizer05 | LOL | 16:29 |
ceene | what the | 16:29 |
DocScrutinizer05 | hehehehe | 16:29 |
ceene | static const quint64 s_hardcodedRsaDataFingersprint(0xc3b42b026ce86b21); | 16:29 |
ceene | quint64 | 16:30 |
DocScrutinizer05 | ROTFL | 16:30 |
KotCzarny | good one | 16:30 |
KotCzarny | almost as good as debian's rng | 16:30 |
DocScrutinizer05 | "how to make your implementation platform-dependent" | 16:30 |
ceene | ok, someone explain me why quint64 is not 64 bits long | 16:31 |
DocScrutinizer05 | hehehehe | 16:31 |
DocScrutinizer05 | wtf *is* quint64? | 16:31 |
DocScrutinizer05 | #define quint64 long | 16:31 |
DocScrutinizer05 | ? | 16:31 |
ceene | from https://doc.qt.io/archives/qtextended4.4/qtglobal.html | 16:31 |
ceene | typedef quint64 | 16:31 |
ceene | Typedef for unsigned long long int (unsigned __int64 on Windows). This type is guaranteed to be 64-bit on all platforms supported by Qt. | 16:31 |
ceene | Literals of this type can be created using the Q_UINT64_C() macro: | 16:31 |
ceene | quint64 value = Q_UINT64_C(932838457459459); | 16:31 |
ceene | i don't think their concept of "guaranteed" is the same as mine | 16:32 |
* DocScrutinizer05 wonnders how to find a new word for ROTFL | 16:32 | |
ceene | ok, so all of qt is broken on maemo | 16:33 |
DocScrutinizer05 | s/on maemo// | 16:33 |
ceene | :) | 16:33 |
ceene | so... | 16:33 |
ceene | how do i fix that? | 16:33 |
ceene | patch whole qt? | 16:34 |
ceene | use inttypes.h | 16:34 |
ceene | uint64_t | 16:34 |
DocScrutinizer05 | maybe fix this one silly const? | 16:34 |
DocScrutinizer05 | use strcmp()? | 16:34 |
DocScrutinizer05 | or whatever | 16:34 |
ceene | #include <inttypes.h> | 16:35 |
ceene | static const uint64_t s_hardcodedRsaDataFingersprint(0xc3b42b026ce86b21); | 16:35 |
ceene | Utils.cpp:43: error: integer constant is too large for 'long' type | 16:35 |
ceene | so | 16:35 |
ceene | what's the thing that is broken? | 16:35 |
ceene | maemo's glibc? | 16:36 |
* DocScrutinizer05 doesn't grok s_hardcodedRsaDataFingersprint(0xc3b42b026ce86b21); at all | 16:36 | |
*** pcfe has quit IRC | 16:36 | |
DocScrutinizer05 | is s_hardcodedRsaDataFingersprint() a function or what? | 16:36 |
ceene | i don't care about the meaning, at least now | 16:36 |
ceene | i wanna know why uint64_t is not 64 bits long | 16:36 |
*** pcfe has joined #maemo | 16:37 | |
ceene | i believe that's something from openssl | 16:37 |
DocScrutinizer05 | I wanna know if the result/return of s_hardcodedRsaDataFingersprint(0xc3b42b026ce86b21) is 64bit at all | 16:37 |
*** pcfe has quit IRC | 16:37 | |
*** pcfe has joined #maemo | 16:37 | |
DocScrutinizer05 | aaah typecast? | 16:38 |
ceene | $ rgrep s_hardcodedRsaDataFingersprint telegram-qt/ | 16:39 |
ceene | telegram-qt/telegram-qt/Utils.cpp:static const quint64 s_hardcodedRsaDataFingersprint(0xc3b42b026ce86b21); | 16:39 |
ceene | telegram-qt/telegram-qt/Utils.cpp: result.fingersprint = s_hardcodedRsaDataFingersprint; | 16:39 |
ceene | i | 16:39 |
ceene | don't | 16:39 |
ceene | know | 16:39 |
ceene | google search for s_hardcodedRsaDataFingersprint only returns this very same source code | 16:40 |
ceene | lol | 16:40 |
DocScrutinizer05 | it needs to have a definintion/implementation somewhere, no? | 16:40 |
ceene | i guess so | 16:40 |
DocScrutinizer05 | my c(++) foo is extremely weak | 16:41 |
DocScrutinizer05 | I don't understand what's the real meaning of the whole sourcode line static const quint64 s_hardcodedRsaDataFingersprint(0xc3b42b026ce86b21); | 16:42 |
DocScrutinizer05 | I'd expect sth like static const quint64 s_hardcodedRsaDataFingersprint = 0xc3b42b026ce86b21; | 16:42 |
ceene | yep | 16:43 |
*** zZap-X has joined #maemo | 16:44 | |
ceene | but | 16:44 |
ceene | if quint64 | 16:44 |
ceene | is not a basic type | 16:44 |
ceene | but an object | 16:44 |
DocScrutinizer05 | but a macro | 16:44 |
ceene | nope, a c++ object | 16:44 |
ceene | so | 16:44 |
DocScrutinizer05 | or an object, yes | 16:44 |
ceene | it's defining a object named s_hardcodedRsaDataFingersprint | 16:45 |
ceene | initialized with 0xc3b42b026ce86b21 | 16:45 |
DocScrutinizer05 | and hands the value to the constructor | 16:45 |
ceene | that's right | 16:45 |
ceene | so it'd be equivalent to static const uint64_t s_hardcodedRsaDataFingersprint = 0xc3b42b026ce86b21; | 16:45 |
DocScrutinizer05 | but then the object needs definition/imlementation somewhere | 16:46 |
ceene | quint64 is defined by qt | 16:46 |
DocScrutinizer05 | aah | 16:46 |
ceene | so that's just creating a quint64 object named s_hardcodedRsaDataFingersprint | 16:46 |
DocScrutinizer05 | yep | 16:46 |
ceene | there | 16:46 |
ceene | solved | 16:46 |
DocScrutinizer05 | so check the qint64 object implementation | 16:46 |
ceene | s_hardcodedRsaDataFingersprint(0xc3b42b026ce86b21); -> s_hardcodedRsaDataFingersprint(0xc3b42b026ce86b21ULL); | 16:47 |
DocScrutinizer05 | quint64 even | 16:47 |
ceene | it's a compiler thing | 16:47 |
DocScrutinizer05 | ouch | 16:47 |
ceene | ok | 16:47 |
ceene | well | 16:47 |
ceene | i got libTelegramQt.so.0.1.0 :) | 16:47 |
ceene | it was confusing for a while | 16:47 |
ceene | but if that's all that is needed... | 16:47 |
ceene | it's a hell lot easy | 16:48 |
ceene | there's even a testApp included | 16:51 |
ceene | i'll test that later | 16:51 |
ceene | or maybe now | 16:52 |
DocScrutinizer05 | where could I find the definition of quint64? | 16:52 |
ceene | i can't still login on whatsapp with libwa | 16:52 |
ceene | ./Qt/qglobal.h | 16:52 |
*** Sicelo has joined #maemo | 16:53 | |
* DocScrutinizer05 idly wonders what's the compiler's notion of type of 0xc3b42b026ce86b21, versus *ULL | 16:55 | |
DocScrutinizer05 | string? | 16:55 |
Linkandzelda | would anyone be interested in a google authenticator maemo app? | 16:56 |
*** Sicelo has quit IRC | 16:56 | |
DocScrutinizer05 | errr | 16:56 |
DocScrutinizer05 | please elaborate, maybe it's just me who doesn't get it since I don't use google | 16:57 |
Linkandzelda | various websites offer a 2 factor authentication system which uses an app called google authenticator | 16:58 |
DocScrutinizer05 | aah | 16:58 |
DocScrutinizer05 | that thing | 16:58 |
ceene | this telegramapp may work indeed | 16:58 |
Linkandzelda | its basically a key store which then gets run through thier algo to produce a timed number every 30 seconds | 16:58 |
Linkandzelda | you get to scan a qr code containing the name/key | 16:59 |
Linkandzelda | or enter name + key manually | 16:59 |
DocScrutinizer05 | Linkandzelda: I bet many users would consider that useful | 16:59 |
Linkandzelda | if im going to ditch my android i need that app, or something | 16:59 |
ceene | i've never used that thing, but i'm sure it's used by many people | 17:00 |
Linkandzelda | im not an expert on security or encryption though, not sure how to store the keys safely | 17:00 |
*** zap_ has joined #maemo | 17:00 | |
DocScrutinizer05 | https://talk.maemo.org/showthread.php?t=84243 | 17:00 |
Linkandzelda | yea i saw that | 17:01 |
Linkandzelda | https://talk.maemo.org/showthread.php?t=90274 this too | 17:01 |
DocScrutinizer05 | https://talk.maemo.org/showthread.php?t=90274 yep | 17:02 |
Linkandzelda | though it may work, maybe something more user friendly would be good | 17:02 |
DocScrutinizer05 | sure | 17:03 |
Linkandzelda | i get annoyed having to enter those codes all the time, so speed and access is important | 17:04 |
Linkandzelda | i dont know, it might be a good first n900 project for me | 17:04 |
DocScrutinizer05 | (safely store) maybe with a different owner and read permissions only for that owner, so you need a sudo to that other owner to read the file? | 17:04 |
Linkandzelda | could work, i could make them enter the password for that user on startup | 17:05 |
Linkandzelda | would basically act like a master password or master unlock code | 17:06 |
*** Sicelo has joined #maemo | 17:06 | |
DocScrutinizer05 | yep, or even start a process that communicates with your main process via IPC (pipe?) but changes effective user from beginning to access the file | 17:07 |
*** pcfe has quit IRC | 17:07 | |
Linkandzelda | not sure how to even do that, but yea i could try | 17:07 |
Linkandzelda | was going to use python | 17:07 |
*** pcfe has joined #maemo | 17:08 | |
*** pcfe has quit IRC | 17:08 | |
*** pcfe has joined #maemo | 17:08 | |
DocScrutinizer05 | hmm, make the process be member of a unique group "gauth" and the file is owned by gauth and only group-readable for gauth | 17:09 |
*** yasnothil has quit IRC | 17:13 | |
DocScrutinizer05 | implementing some obfuscation otoh is considered pretty useless and user-hostile | 17:16 |
DocScrutinizer05 | when a rogue process already took over the system so it may read the file, then it also may read the program text of the app and find out how to decode the obfuscated key | 17:17 |
DocScrutinizer05 | this sdoesn't apply when you use proper encryption that needs manual entry of the decryption key | 17:18 |
DocScrutinizer05 | this would be another viable approach: decrypt the stored key at boottime, by entering the decryption key | 17:19 |
DocScrutinizer05 | then keep the decrypted key in RAM in a var | 17:19 |
*** yasnothil has joined #maemo | 17:21 | |
*** HRH_H_Crab has quit IRC | 17:24 | |
Sicelo | ceene: sounds like you're officially killing Whatsapp on N900? | 17:24 |
DocScrutinizer05 | sec-hardcore folks will argue you should not keep such stuff in RAM, so not even root may reed it out. It's arguable | 17:25 |
Sicelo | ceene: in favor of telegram? | 17:25 |
*** HRH_H_Crab has joined #maemo | 17:25 | |
ceene | Sicelo: i'm not doing anything yet | 17:26 |
ceene | but i'm searching for a plausible alternative | 17:26 |
ceene | in fact i'm right now trying to get libwa to login | 17:26 |
ceene | by making it emulate Android instead of S40 | 17:26 |
ceene | just in case... | 17:26 |
ceene | yowsup does that and it works | 17:26 |
Sicelo | okay :) | 17:26 |
ceene | so why the hell can't i | 17:26 |
ceene | this telegram thingie looks promising, though | 17:27 |
zZap-X | can yowsup run on a n900? | 17:27 |
ceene | maybe, yes | 17:27 |
zZap-X | ace | 17:27 |
ceene | it depends on python2.7 or better 3 | 17:27 |
Sicelo | yesterday i was thinking about telegram: it has a public API, right? | 17:28 |
ceene | yes, telegram is much free than whatsapp | 17:28 |
zZap-X | how about this running on a n900 https://whispersystems.org/ | 17:28 |
ceene | don't know | 17:28 |
zZap-X | this might be useful https://github.com/mgp25/Chat-API | 17:30 |
ceene | i know about that | 17:31 |
zZap-X | even whatsapp-purple is dead :( | 17:32 |
zZap-X | was using that with bitlbee | 17:32 |
*** pcfe has quit IRC | 17:32 | |
*** RedW has joined #maemo | 17:34 | |
*** pcfe has joined #maemo | 17:34 | |
*** pcfe has quit IRC | 17:34 | |
*** pcfe has joined #maemo | 17:34 | |
*** RedM has quit IRC | 17:34 | |
*** Cor-Ai has quit IRC | 17:36 | |
*** Cor-Ai has joined #maemo | 17:37 | |
*** HRH_H_Crab has quit IRC | 17:42 | |
*** HRH_H_Crab has joined #maemo | 17:44 | |
ceene | this piece of shit won't login | 17:52 |
*** xelo has quit IRC | 17:58 | |
*** at1as has joined #maemo | 18:03 | |
*** HRH_H_Crab has quit IRC | 18:04 | |
*** HRH_H_Crab has joined #maemo | 18:04 | |
*** kabouik1 has joined #maemo | 18:20 | |
*** kabouik2 has joined #maemo | 18:21 | |
*** kabouik has quit IRC | 18:21 | |
*** kabouik1 has quit IRC | 18:25 | |
*** RedM has joined #maemo | 18:27 | |
*** RedW has quit IRC | 18:27 | |
*** florian has quit IRC | 18:33 | |
*** Sicelo has quit IRC | 18:35 | |
*** Sicelo009N has joined #maemo | 18:38 | |
*** freemangordon_ has joined #maemo | 18:50 | |
*** HRH_H_Crab has quit IRC | 18:53 | |
*** freemangordon_ has quit IRC | 18:54 | |
*** freemangordon_ has joined #maemo | 18:55 | |
*** freemangordon_ has quit IRC | 18:57 | |
*** florian has joined #maemo | 18:57 | |
*** HRH_H_Crab has joined #maemo | 18:58 | |
*** at1as has quit IRC | 19:03 | |
*** realitygaps has quit IRC | 19:15 | |
*** realitygaps has joined #maemo | 19:15 | |
*** L29Ah has left #maemo | 19:15 | |
*** vakkov has quit IRC | 19:23 | |
*** L29Ah has joined #maemo | 19:24 | |
*** krnlyng has quit IRC | 19:29 | |
*** vakkov has joined #maemo | 19:37 | |
*** trumee has quit IRC | 19:40 | |
*** krnlyng has joined #maemo | 19:42 | |
*** trumee has joined #maemo | 19:42 | |
*** kabouik has joined #maemo | 19:51 | |
*** futpib_ has joined #maemo | 19:51 | |
*** kabouik2 has quit IRC | 19:52 | |
*** futpib has quit IRC | 19:52 | |
*** vahe1 has quit IRC | 20:13 | |
*** vakkov has quit IRC | 20:18 | |
*** vakkov has joined #maemo | 20:31 | |
*** l_bratch has quit IRC | 21:09 | |
*** pcfe has quit IRC | 21:13 | |
*** pcfe has joined #maemo | 21:18 | |
*** pcfe has quit IRC | 21:18 | |
*** pcfe has joined #maemo | 21:18 | |
*** Sicelo009N has quit IRC | 21:25 | |
*** xelo has joined #maemo | 21:27 | |
ceene | i don't know what the fuck is wrong | 21:42 |
ceene | i can't keep reading code in search of the truth | 21:43 |
ceene | and i can't find anything that is different or wrong | 21:43 |
L29Ah | sounds like a rock song | 21:44 |
ceene | i also hate all the other WA coders | 21:45 |
ceene | except for cepiperez, who has helped me before | 21:45 |
ceene | but i think he lost his phone | 21:46 |
ceene | and has no compouter | 21:46 |
ceene | or something like that | 21:46 |
*** louisdk has quit IRC | 21:46 | |
L29Ah | Machinae Supremacy - Stand | 21:46 |
ceene | i'm gonna try now chat-api instead of yowsup | 21:48 |
ceene | to see if i can debug it somehow | 21:48 |
ceene | and find differences | 21:48 |
*** xelo has quit IRC | 21:51 | |
*** florian has quit IRC | 21:52 | |
*** sicelo has joined #maemo | 21:59 | |
*** sicelo is now known as Sicelo | 22:02 | |
*** florian has joined #maemo | 22:14 | |
ceene | nobody here can help | 22:21 |
ceene | i wonder | 22:21 |
ceene | who are all those 170 people who never say even hi... | 22:21 |
KotCzarny | ~~california hotel theme jingles in~~ | 22:21 |
ceene | KotCzarny: you can code | 22:22 |
ceene | help me! | 22:22 |
ceene | :P | 22:22 |
KotCzarny | i can code, but i hate c++ a bit | 22:22 |
ceene | so do i | 22:22 |
ceene | but you don't really need to code anything | 22:22 |
ceene | just help me understand what's wrong | 22:22 |
ceene | compare with other implementations | 22:22 |
KotCzarny | task #1: RE the login protocl (in plain c or python) | 22:22 |
KotCzarny | ignore everything else | 22:23 |
ceene | and tell me why the heck this thing won't work | 22:23 |
Sicelo | ceene: i had offered :) | 22:23 |
ceene | that's true | 22:23 |
KotCzarny | just make some proof of code that can login | 22:23 |
ceene | i dind't get back to you | 22:23 |
Sicelo | of course i can't code anything .. so maybe KotCzarny might be better | 22:23 |
ceene | KotCzarny: that code already exists | 22:23 |
ceene | written in python | 22:23 |
ceene | but it's there | 22:23 |
ceene | and it works | 22:23 |
ceene | yowsup | 22:23 |
KotCzarny | ceene: rewrite from scratch in c | 22:23 |
KotCzarny | outside of anything | 22:24 |
ceene | it's not that easy | 22:24 |
KotCzarny | just rewrite and add logging everywhere | 22:24 |
ceene | because | 22:24 |
ceene | first step | 22:24 |
ceene | is rewritting token translation | 22:24 |
ceene | protocol is basically xmpp | 22:24 |
KotCzarny | k, step pre#1: rewrite token translation | 22:24 |
ceene | with keywords replaced by binary code | 22:24 |
KotCzarny | dont try c++. just plain c. | 22:24 |
KotCzarny | if it works, you will have a starting point | 22:25 |
ceene | i don't want to reimplement all of that :s | 22:25 |
ceene | that's why i'm trying to use libwa | 22:25 |
ceene | i understand your reasoning | 22:25 |
ceene | but it's daunting | 22:25 |
KotCzarny | debugging someone's other code could be much worse | 22:26 |
ceene | in either case | 22:26 |
ceene | i have to do that | 22:26 |
ceene | because reimplementing that | 22:26 |
ceene | means having to read python or php code | 22:26 |
ceene | and translate it to c | 22:26 |
ceene | so... why not go directly to the implementation i need to fix? | 22:26 |
KotCzarny | because qt. | 22:27 |
ceene | qt is not the problem | 22:27 |
ceene | login functions are 3 or 4 | 22:27 |
ceene | which are not so big | 22:27 |
ceene | so why the fuck do they not work | 22:27 |
ceene | :'( | 22:27 |
KotCzarny | because there is a bug somewhere | 22:27 |
KotCzarny | but you cant pinpoint the exact location in the flow | 22:28 |
ceene | i can also try with whatsapp-purple | 22:28 |
ceene | it's only c++, without qt | 22:29 |
KotCzarny | so if you dont want rewriting, you will have to do it step by step in some existing app | 22:29 |
ceene | i hate it all | 22:29 |
KotCzarny | nite nite | 22:36 |
ceene | ok | 22:39 |
ceene | let's change approach | 22:39 |
ceene | forget about libwa | 22:39 |
ceene | it's a piece of shit | 22:39 |
ceene | i need to implement axolotl on yappari | 22:39 |
ceene | my yappari version right now logins in | 22:39 |
ceene | it's only missing encryption | 22:39 |
ceene | i don't understand anything, yappari and libwa is basically the same code | 22:39 |
*** IANUS has joined #maemo | 22:54 | |
*** IANUS has quit IRC | 22:59 | |
*** IANUS has joined #maemo | 23:00 | |
*** vakkov has quit IRC | 23:06 | |
*** keithzg_ has joined #maemo | 23:25 | |
*** keithzg_ is now known as keithzg_at_home | 23:25 | |
ceene | by the way | 23:27 |
ceene | all WA implementations | 23:27 |
ceene | are stupid in at least one way | 23:27 |
ceene | in the same stupid way | 23:27 |
ceene | else if (tag == "stream:error") | 23:27 |
ceene | else if (tag == "stream:features") | 23:27 |
ceene | etc, etc | 23:27 |
ceene | with dozens of comparisons like that | 23:27 |
ceene | when tag has been converted from a dictionary | 23:28 |
*** futpib_ has quit IRC | 23:28 | |
ceene | so why the hell is there a need to decode that? | 23:28 |
ceene | switch(dict[tag]) | 23:28 |
ceene | case dict["stream_error"] | 23:28 |
ceene | case dict["stream:features" | 23:28 |
ceene | etc, etc | 23:28 |
ceene | well, switch(tag) directly | 23:28 |
ceene | that should be a hell lot faster | 23:29 |
ceene | at least there wouldn't be dozens of strings comparisons | 23:29 |
ceene | not to speak of O(1) search | 23:29 |
ceene | https://www.youtube.com/watch?v=i3dY6aCUe9Y | 23:30 |
*** vakkov has joined #maemo | 23:37 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!