IRC log of #maemo for Friday, 2017-02-24

xeshi jonwil00:00
*** L29Ah has left #maemo00:24
*** dafox has quit IRC00:24
*** L29Ah has joined #maemo00:24
*** saif has quit IRC00:33
*** hungerartist has joined #maemo00:42
*** Pali has quit IRC01:08
*** Michael_a380 has joined #maemo01:28
*** Michael_a380 has quit IRC02:03
*** florian has quit IRC02:17
jonwilbah, still no luck finding a way to do SSL/HTTPS from my code that isn't super-complicated :(02:37
*** M4rtinK has quit IRC02:39
*** Kabouik has joined #maemo03:17
*** sunshavi has quit IRC03:24
*** sunshavi has joined #maemo03:24
*** L29Ah has quit IRC03:48
*** Kabouik has quit IRC04:48
*** florian_kc has quit IRC05:13
*** florian has joined #maemo05:20
*** lxp has joined #maemo06:01
*** lxp1 has quit IRC06:04
*** sunshavi has quit IRC06:44
*** pagurus has quit IRC07:04
*** pagurus has joined #maemo07:11
*** DocScrutinizer05 has quit IRC07:13
*** DocScrutinizer05 has joined #maemo07:13
*** arcean has joined #maemo08:37
*** eMHa has quit IRC08:58
jonwillooks like libcurl will work for what I need09:01
freemangordonjonwil: :nod:09:10
freemangordonthis is what FB plugin and co use09:10
*** ecloud_wfh is now known as ecloud09:11
freemangordonjonwil: or, you can RE feedservice2 and use network_utils_XXX functions :)09:11
freemangordonjonwil: see
jonwilfeedservice2 looks like its tied to glib09:13
jonwilwhich I want to avoid since I will probably end up writing the UI for this thing (when I get to it) in QT09:13
jonwilcurl works09:13
jonwilso I am going with that09:13
freemangordonQT is tied to glib as well09:13
jonwilalso feedservice isn't installed to the device by default but libcurl is :)09:19
jonwilI dont have feedservice on my device at all09:20
*** dafox has joined #maemo09:30
*** dmth|intevation has joined #maemo09:45
*** dafox has quit IRC09:57
*** jskarvad has joined #maemo10:23
*** KotCzarny has quit IRC10:36
*** geaaru has joined #maemo10:43
*** jskarvad has quit IRC10:49
*** heroux has quit IRC10:56
*** M4rtinK has joined #maemo11:01
*** KotCzarny has joined #maemo11:01
*** heroux has joined #maemo11:04
*** heroux has quit IRC11:05
*** Birchy has quit IRC11:07
*** jskarvad has joined #maemo11:13
*** jskarvad has quit IRC11:13
*** jskarvad has joined #maemo11:13
jonwilhmmm, now I need something that can parse JSON data...11:28
*** L29Ah has joined #maemo11:34
*** troulouliou_div2 has joined #maemo11:42
*** chainsawbike has quit IRC11:43
*** M4rtinK has quit IRC12:11
dmth|intevationjonwil in which context?12:22
jonwilI have a char * buffer that contains JSON data and I want to parse that and then manipulate the results.12:26
*** sixwheeledbeast has quit IRC12:29
*** DocScrutinizer51 has quit IRC12:29
*** DocScrutinizer51 has joined #maemo12:30
*** sixwheeledbeast has joined #maemo12:30
dmth|intevationjonwil: Sry. Can't help you there.12:34
*** merlin1991 has quit IRC12:39
*** chainsawbike has joined #maemo12:39
*** troulouliou_div2 has quit IRC12:39
*** merlin1991 has joined #maemo12:40
*** M4rtinK has joined #maemo12:48
*** heroux has joined #maemo13:32
Sicelojonwil: for the transit application?13:37
jonwilTurns out the official journey planning web page is powered by JSON (and JavaScript on the client). Managed to figure out the right URL and the right set of fields to include in the POST data meaning I get parseable JSON I can fiddle with and use13:45
Sicelois this AUS-specific, or when your program is live, we can all use it? :)13:46
jonwilThis is specific to my transit operator13:47
jonwilThe web page itself is 100% usable on the N900 (probably all that JavaScript, hence the desire to write an app13:47
KotCzarnyjonwil: webscraping can be unreliable, unless they use their own api13:48
jonwilwebscraping content can be unreliable13:48
jonwilbut webscraping JSON data should be more reliable as its less likely to change just because of a web page design change.13:49
jonwilworst that happens is that I find the form inputs it wants or the JSON data it emits have changed and I fix my app :)13:49
KotCzarnyworst that can happen is you moving out to different country and app losing mintainer ;)13:54
jonwilI cant see myself changing cities anytime soon13:54
KotCzarnyor obfuscating js13:54
KotCzarnythat's the worst13:54
jonwilThe JS being obfuscated doesn't matter since I dont need to worry about the JS13:55
KotCzarnywith sessions, hashes, secrets etc13:55
KotCzarnyby js i mean that post fields would be generated to avoid unauthorized uses13:55
jonwilI feed inputs into the form and use the Mozilla Web Console to see what the variables passed as POST are and I see what the returned JSON is and go from there13:56
jonwilAs for obfuscation, this is a government web site13:56
jonwiland its not the sort of agency that would intentionally obfuscate things just to stop people using it (they do use the usual shrink tools that remove all white space, give identifiers the shortest possible made-up names etc to reduce bandwidth use but nothing beyond that)13:57
jonwilThey provide all sorts of open data (including GTFS and GTFS-RT feeds)13:57
DocScrutinizer05jonwil: did you ever look into Fahrplan app?13:58
DocScrutinizer05I don't know if it uses JSON but it has whole the framework needed, otherwise13:59
DocScrutinizer05and still works great for me, here in Germany13:59
DocScrutinizer05after a tiny patch a year or two ago13:59
jonwilWhere can I get this Fahrplan thing from?14:00
DocScrutinizer05you could even just extend the app, since in app config there's a dropdown select for backend/farend/whatever14:00
jonwilOooh, that might be interesting14:05
*** jonwil has quit IRC14:07
*** sunshavi has joined #maemo14:57
NotKithow does hildon-desktop handle rotation?15:23
NotKitdoes Xorg screen get actually rotated or it's faked in some way?15:25
*** M4rtinK has quit IRC15:25
*** troulouliou_div2 has joined #maemo15:31
*** eMHa has joined #maemo15:35
*** Cor-Ai has quit IRC15:49
*** Sigyn has quit IRC15:50
*** Cor-Ai has joined #maemo15:50
*** Sigyn has joined #maemo15:50
*** clopez has quit IRC15:56
*** clopez has joined #maemo16:08
*** at1as has joined #maemo16:08
Sicelohaha Sigyn quit message16:30
*** dmth|intevation has quit IRC16:31
*** arcean has quit IRC16:35
*** sunshavi has quit IRC16:37
*** ubizzy has joined #maemo16:49
DocScrutinizer05Sicelo: ?17:15
DocScrutinizer05Sicelo: could you cite please? I got "hide join/nick/part"17:16
*** chainsawbike has quit IRC18:06
buZz14:50:03 -!- Sigyn [sigyn@freenode/utility-bot/sigyn] has quit [Quit: Can we drop the ‘artificial intelligence’? It’s a bit like me calling you a meat-based processing system.]18:21
buZzyw ;)18:21
*** Pali has joined #maemo18:25
freemangordonNotKit: iirc it is rotadet via clutter18:30
*** florian has quit IRC18:56
*** sr71_ has joined #maemo19:14
*** jskarvad has quit IRC19:16
*** hungerartist has quit IRC19:18
*** dafox has joined #maemo19:18
*** hungerartist has joined #maemo19:35
*** hungerartist has left #maemo19:37
*** dafox has quit IRC19:50
*** chainsawbike has joined #maemo19:54
*** troulouliou_div2 has quit IRC20:00
*** florian has joined #maemo20:07
*** sr71_ has quit IRC20:10
*** florian has quit IRC20:13
*** dafox has joined #maemo20:34
*** Kabouik has joined #maemo20:42
*** Kabouik has quit IRC20:42
*** Kabouik has joined #maemo20:43
*** Kabouik has quit IRC20:49
*** dreamer has quit IRC20:56
*** ubizzy has quit IRC20:59
*** ubizzy has joined #maemo21:14
*** geaaru has quit IRC21:15
*** at1as has quit IRC21:20
*** dingen has joined #maemo21:20
*** dingen is now known as dreamer21:20
*** dreamer has joined #maemo21:21
*** Natch has quit IRC21:25
*** ubizzy has quit IRC21:26
*** at1as has joined #maemo21:41
*** Natch has joined #maemo22:00
*** xes has quit IRC22:13
*** xes has joined #maemo22:23
*** capitanocrunch has joined #maemo22:24
*** capitanocrunch has joined #maemo22:24
*** M4rtinK has joined #maemo22:26
*** chainsawbike has quit IRC22:28
*** capitanocrunch has quit IRC22:34
*** chainsawbike has joined #maemo22:35
*** jonwil has joined #maemo22:40
*** chainsawbike has quit IRC23:10
*** chainsawbike has joined #maemo23:11
*** silviof has quit IRC23:56

Generated by 2.15.1 by Marius Gedminas - find it at!