xes | hi jonwil | 00:00 |
---|---|---|
*** L29Ah has left #maemo | 00:24 | |
*** dafox has quit IRC | 00:24 | |
*** L29Ah has joined #maemo | 00:24 | |
*** saif has quit IRC | 00:33 | |
*** hungerartist has joined #maemo | 00:42 | |
*** Pali has quit IRC | 01:08 | |
*** Michael_a380 has joined #maemo | 01:28 | |
*** Michael_a380 has quit IRC | 02:03 | |
*** florian has quit IRC | 02:17 | |
jonwil | bah, still no luck finding a way to do SSL/HTTPS from my code that isn't super-complicated :( | 02:37 |
*** M4rtinK has quit IRC | 02:39 | |
*** Kabouik has joined #maemo | 03:17 | |
*** sunshavi has quit IRC | 03:24 | |
*** sunshavi has joined #maemo | 03:24 | |
*** L29Ah has quit IRC | 03:48 | |
*** Kabouik has quit IRC | 04:48 | |
*** florian_kc has quit IRC | 05:13 | |
*** florian has joined #maemo | 05:20 | |
*** lxp has joined #maemo | 06:01 | |
*** lxp1 has quit IRC | 06:04 | |
*** sunshavi has quit IRC | 06:44 | |
*** pagurus has quit IRC | 07:04 | |
*** pagurus has joined #maemo | 07:11 | |
*** DocScrutinizer05 has quit IRC | 07:13 | |
*** DocScrutinizer05 has joined #maemo | 07:13 | |
*** arcean has joined #maemo | 08:37 | |
*** eMHa has quit IRC | 08:58 | |
jonwil | looks like libcurl will work for what I need | 09:01 |
freemangordon | jonwil: :nod: | 09:10 |
freemangordon | this is what FB plugin and co use | 09:10 |
*** ecloud_wfh is now known as ecloud | 09:11 | |
freemangordon | jonwil: or, you can RE feedservice2 and use network_utils_XXX functions :) | 09:11 |
freemangordon | jonwil: see https://github.com/community-ssu/feedservice-plugin-fb-common/blob/master/src/common/facebookcommon.c#L348 | 09:12 |
jonwil | feedservice2 looks like its tied to glib | 09:13 |
freemangordon | so? | 09:13 |
jonwil | which I want to avoid since I will probably end up writing the UI for this thing (when I get to it) in QT | 09:13 |
jonwil | curl works | 09:13 |
jonwil | so I am going with that | 09:13 |
freemangordon | QT is tied to glib as well | 09:13 |
jonwil | also feedservice isn't installed to the device by default but libcurl is :) | 09:19 |
jonwil | I dont have feedservice on my device at all | 09:20 |
*** dafox has joined #maemo | 09:30 | |
*** dmth|intevation has joined #maemo | 09:45 | |
*** dafox has quit IRC | 09:57 | |
*** jskarvad has joined #maemo | 10:23 | |
*** KotCzarny has quit IRC | 10:36 | |
*** geaaru has joined #maemo | 10:43 | |
*** jskarvad has quit IRC | 10:49 | |
*** heroux has quit IRC | 10:56 | |
*** M4rtinK has joined #maemo | 11:01 | |
*** KotCzarny has joined #maemo | 11:01 | |
*** heroux has joined #maemo | 11:04 | |
*** heroux has quit IRC | 11:05 | |
*** Birchy has quit IRC | 11:07 | |
*** jskarvad has joined #maemo | 11:13 | |
*** jskarvad has quit IRC | 11:13 | |
*** jskarvad has joined #maemo | 11:13 | |
jonwil | hmmm, now I need something that can parse JSON data... | 11:28 |
*** L29Ah has joined #maemo | 11:34 | |
*** troulouliou_div2 has joined #maemo | 11:42 | |
*** chainsawbike has quit IRC | 11:43 | |
*** M4rtinK has quit IRC | 12:11 | |
dmth|intevation | jonwil in which context? | 12:22 |
jonwil | I have a char * buffer that contains JSON data and I want to parse that and then manipulate the results. | 12:26 |
*** sixwheeledbeast has quit IRC | 12:29 | |
*** DocScrutinizer51 has quit IRC | 12:29 | |
*** DocScrutinizer51 has joined #maemo | 12:30 | |
*** sixwheeledbeast has joined #maemo | 12:30 | |
dmth|intevation | jonwil: Sry. Can't help you there. | 12:34 |
*** merlin1991 has quit IRC | 12:39 | |
*** chainsawbike has joined #maemo | 12:39 | |
*** troulouliou_div2 has quit IRC | 12:39 | |
*** merlin1991 has joined #maemo | 12:40 | |
*** M4rtinK has joined #maemo | 12:48 | |
*** heroux has joined #maemo | 13:32 | |
Sicelo | jonwil: for the transit application? | 13:37 |
jonwil | yeah | 13:37 |
jonwil | Turns 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 use | 13:45 |
Sicelo | is this AUS-specific, or when your program is live, we can all use it? :) | 13:46 |
jonwil | This is specific to my transit operator | 13:47 |
jonwil | The web page itself is 100% usable on the N900 (probably all that JavaScript, hence the desire to write an app | 13:47 |
KotCzarny | jonwil: webscraping can be unreliable, unless they use their own api | 13:48 |
jonwil | webscraping content can be unreliable | 13:48 |
jonwil | but webscraping JSON data should be more reliable as its less likely to change just because of a web page design change. | 13:49 |
jonwil | worst 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 |
KotCzarny | worst that can happen is you moving out to different country and app losing mintainer ;) | 13:54 |
jonwil | I cant see myself changing cities anytime soon | 13:54 |
KotCzarny | or obfuscating js | 13:54 |
KotCzarny | that's the worst | 13:54 |
jonwil | The JS being obfuscated doesn't matter since I dont need to worry about the JS | 13:55 |
KotCzarny | with sessions, hashes, secrets etc | 13:55 |
KotCzarny | by js i mean that post fields would be generated to avoid unauthorized uses | 13:55 |
jonwil | I 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 there | 13:56 |
jonwil | As for obfuscation, this is a government web site | 13:56 |
jonwil | and 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 |
jonwil | They provide all sorts of open data (including GTFS and GTFS-RT feeds) | 13:57 |
DocScrutinizer05 | jonwil: did you ever look into Fahrplan app? | 13:58 |
DocScrutinizer05 | I don't know if it uses JSON but it has whole the framework needed, otherwise | 13:59 |
DocScrutinizer05 | and still works great for me, here in Germany | 13:59 |
DocScrutinizer05 | after a tiny patch a year or two ago | 13:59 |
jonwil | Where can I get this Fahrplan thing from? | 14:00 |
DocScrutinizer05 | you could even just extend the app, since in app config there's a dropdown select for backend/farend/whatever | 14:00 |
DocScrutinizer05 | repo? | 14:00 |
DocScrutinizer05 | http://maemo.org/packages/view/fahrplan/ | 14:01 |
jonwil | Oooh, that might be interesting | 14:05 |
*** jonwil has quit IRC | 14:07 | |
*** sunshavi has joined #maemo | 14:57 | |
NotKit | how does hildon-desktop handle rotation? | 15:23 |
NotKit | does Xorg screen get actually rotated or it's faked in some way? | 15:25 |
*** M4rtinK has quit IRC | 15:25 | |
*** troulouliou_div2 has joined #maemo | 15:31 | |
*** eMHa has joined #maemo | 15:35 | |
*** Cor-Ai has quit IRC | 15:49 | |
*** Sigyn has quit IRC | 15:50 | |
*** Cor-Ai has joined #maemo | 15:50 | |
*** Sigyn has joined #maemo | 15:50 | |
*** clopez has quit IRC | 15:56 | |
*** clopez has joined #maemo | 16:08 | |
*** at1as has joined #maemo | 16:08 | |
Sicelo | haha Sigyn quit message | 16:30 |
*** dmth|intevation has quit IRC | 16:31 | |
*** arcean has quit IRC | 16:35 | |
*** sunshavi has quit IRC | 16:37 | |
*** ubizzy has joined #maemo | 16:49 | |
DocScrutinizer05 | Sicelo: ? | 17:15 |
DocScrutinizer05 | Sicelo: could you cite please? I got "hide join/nick/part" | 17:16 |
*** chainsawbike has quit IRC | 18:06 | |
buZz | DocScrutinizer05: | 18:21 |
buZz | 14: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 |
buZz | yw ;) | 18:21 |
DocScrutinizer05 | hehehe | 18:22 |
*** Pali has joined #maemo | 18:25 | |
freemangordon | NotKit: iirc it is rotadet via clutter | 18:30 |
freemangordon | *rotated | 18:30 |
*** florian has quit IRC | 18:56 | |
*** sr71_ has joined #maemo | 19:14 | |
*** jskarvad has quit IRC | 19:16 | |
*** hungerartist has quit IRC | 19:18 | |
*** dafox has joined #maemo | 19:18 | |
*** hungerartist has joined #maemo | 19:35 | |
hungerartist | quit | 19:36 |
hungerartist | exit | 19:37 |
*** hungerartist has left #maemo | 19:37 | |
*** dafox has quit IRC | 19:50 | |
*** chainsawbike has joined #maemo | 19:54 | |
*** troulouliou_div2 has quit IRC | 20:00 | |
*** florian has joined #maemo | 20:07 | |
*** sr71_ has quit IRC | 20:10 | |
*** florian has quit IRC | 20:13 | |
*** dafox has joined #maemo | 20:34 | |
*** Kabouik has joined #maemo | 20:42 | |
*** Kabouik has quit IRC | 20:42 | |
*** Kabouik has joined #maemo | 20:43 | |
*** Kabouik has quit IRC | 20:49 | |
*** dreamer has quit IRC | 20:56 | |
*** ubizzy has quit IRC | 20:59 | |
*** ubizzy has joined #maemo | 21:14 | |
*** geaaru has quit IRC | 21:15 | |
*** at1as has quit IRC | 21:20 | |
*** dingen has joined #maemo | 21:20 | |
*** dingen is now known as dreamer | 21:20 | |
*** dreamer has joined #maemo | 21:21 | |
*** Natch has quit IRC | 21:25 | |
*** ubizzy has quit IRC | 21:26 | |
*** at1as has joined #maemo | 21:41 | |
*** Natch has joined #maemo | 22:00 | |
*** xes has quit IRC | 22:13 | |
*** xes has joined #maemo | 22:23 | |
*** capitanocrunch has joined #maemo | 22:24 | |
*** capitanocrunch has joined #maemo | 22:24 | |
*** M4rtinK has joined #maemo | 22:26 | |
*** chainsawbike has quit IRC | 22:28 | |
*** capitanocrunch has quit IRC | 22:34 | |
*** chainsawbike has joined #maemo | 22:35 | |
*** jonwil has joined #maemo | 22:40 | |
*** chainsawbike has quit IRC | 23:10 | |
*** chainsawbike has joined #maemo | 23:11 | |
*** silviof has quit IRC | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!