IRC log of #maemo for Thursday, 2018-06-14

WikiwideNice :-)00:00
*** Wikiwide has quit IRC00:09
*** louisdk has joined #maemo00:21
*** sunshavi has quit IRC00:28
*** jonwil has joined #maemo00:33
*** louisdk has quit IRC00:33
*** pagurus has quit IRC00:56
*** pagurus has joined #maemo00:57
*** Maxdamantus has quit IRC00:58
*** Maxdamantus has joined #maemo00:59
*** luke-jr has quit IRC01:00
*** Kilroo has joined #maemo01:09
*** sunshavi has joined #maemo01:30
*** luke-jr has joined #maemo02:02
*** sunshavi has quit IRC02:06
*** M4rtinK has quit IRC02:06
*** Pali has quit IRC02:07
*** lukedashjr has joined #maemo02:20
*** luke-jr has quit IRC02:22
*** lukedashjr is now known as luke-jr02:25
* Oksana is exploring sawfish window manager on Linux laptop, currently; while idea of tiling is nice, I am not a fan of keyboard-based control. And highly customized window handling sounds... Very interesting.02:25
*** florian has quit IRC02:26
*** luke-jr has quit IRC02:33
*** luke-jr has joined #maemo02:36
*** louisdk has joined #maemo02:38
*** Hurrian has joined #maemo02:49
Oksanajonwil : Do I need to felete filebuffer before exiting function getJourneyData ?02:58
Oksanadelete * filebuffer02:59
OksanagetJourneyDetailsData sounds... complicated.03:10
*** sunshavi has joined #maemo03:11
jonwilJust copy whatever the Translink code is doing03:15
*** sunshavi has quit IRC03:16
*** sunshavi has joined #maemo03:17
*** infobot has quit IRC03:17
*** infobot has joined #maemo03:19
*** ChanServ sets mode: +v infobot03:19
*** timeless has quit IRC03:36
*** timeless has joined #maemo03:37
Oksanajonwil : What should getStationsByGPS do : turn longitude and latitude into format readable by trip planner, or retrieve bus/train stops closest to GPS location?04:00
jonwilIt gets the bus stop closest to the GPS location04:00
jonwilIf the nsw site has that function then use it04:00
jonwilOtherwise set the flag to false so the system doesn't even try to use GPS with that backend04:00
* Oksana nods, and proceeds to use NSW site function. Unfortunately, with my chosen location, it doesn't return a bus stop, but either way it's going to work with GPS.04:01
OksanaWhen getting locations by name or GPS... When multiple results are returned... When user is asked to select one of the possible locations/stops... Where do these nice and readable names come from? Because StopID (required by trip finder) is one thing, and human-readable name of bus stop is another04:17
Oksanathing.04:20
*** louisdk has quit IRC04:37
OksanaIs it like "NameAkaDescription@LocationId"?05:10
jonwilYeah that's what I did for Translink05:20
OksanaHow does arrivalStation.section('@',0,0) work? I understand destinationStation.section('@',1,1), https://doc.qt.io/archives/qt-4.8/qstring.html#section05:27
brolin_empeyjonwil: I know some about Python but I mostly use it only as a calculator in recent years.05:30
*** guerby_ has joined #maemo05:35
*** guerby has quit IRC05:36
*** tm has quit IRC05:42
*** tm has joined #maemo05:45
*** vahe has joined #maemo05:55
*** Kilroo has quit IRC06:22
*** povbot has joined #maemo06:33
OksanaGot section('@',1,1). The only function remaining is getJourneyDetailsData. Just where does the url come from - no idea. But I can write json handler in, regardless.06:41
brolin_empeyWhen using a spreadsheet as a database, in this case an .xls workbook in LibreOffice Calc, is it possible to get a list of rows in which a certain column has a certain value or even only in which a certain column has a non-blank value?  In a real database, I can simply query something like “SELECT * FROM table_name WHERE column_name CONTAINS (?) keyword;” but can I do something similar with a spreadsheet?06:46
*** pagurus has quit IRC06:49
*** pagurus has joined #maemo06:50
brolin_empeyMy use case: my credit union is changing their credit card provider, which means that my credit card is being replaced, which means that I have to manually update my payment information with all of the merchants who automatically bill this credit card account.  I have a local spreadsheet file containing logins/credentials and other details for most of my accounts.  This spreadsheet, which I use as a database, has a column/field for payment method.  I enter06:53
brolin_empey“MasterCard” in this column/field if I pay with my credit card account.  I want to get a list of all of my accounts where I pay with my credit card account.06:53
jonwilbrolin_empey: I think this is the wrong channel for that question :)06:53
jonwilI dont think LibreOffice can even RUN on an N900 :P06:54
OksanaFreOffice can, and it supports spreadsheets06:57
brolin_empeyjonwil: I think LibreOffice can run on a Nokia N900, especially considering that OpenOffice.org/go-oo can run on an OpenMoko GTA02, which is slower and less capable than the N900.06:58
jonwilIts still not the right place to ask about LibreOffice, the right place would be #libreoffice (which does exist)06:59
*** LauRoman has quit IRC07:08
*** spiiroin has quit IRC07:44
*** drrty has quit IRC07:46
*** spiiroin has joined #maemo08:01
Maxdamantusbrolin_empey: convert to CSV and grep?08:05
*** guerby_ is now known as guerby08:10
*** guerby has joined #maemo08:10
brolin_empeyMaxdamantus: I queried DuckDuckGo and found this Q&A:08:12
brolin_empeyhttps://ask.libreoffice.org/en/question/57507/calc-select-rows-which-contain-a-number-from-a-list-of-numbers-which-is-in-a-column-in-a-different-sheet/08:12
brolin_empeyI spent a while trying to use a filter to copy the rows of interest to a different sheet until I realised that I can simply sort the worksheet by the “payment” column/field, same as I would do when editing a table in a real database.  It took me a while to determine how to get the desired result by sorting but I finally got it.08:12
brolin_empeyNow the problem I have is that this table, effectively database, of accounts does not distinguish between merchants for whom I have a subscription and merchants from whom I bought something at least once even if it was years ago but do not have a subscription.08:15
brolin_empeyMaybe I should have the merchants for whom I have a subscription charge me via PayPal, if possible, instead of updating my credit card account information with the merchant because then, theoretically, I have to update my credit card account information only once, with PayPal, every time my credit card account information changes instead of having to update my payment information with every merchant for whom I have a subscription every time my credit card08:22
brolin_empeyaccount information changes.  I considered this years ago but never actually did it because the burden with the current situation is not too bad if it has to be done only every few years.08:22
brolin_empeyThe far greater burden will be manually updating all of the accounts that have my home address if I move again for the first time since 2010 January.08:25
brolin_empeyOr if my telephone number changes for the first time since 2008.08:26
*** sunshavi has quit IRC08:58
*** M4rtinK has joined #maemo09:34
*** Venemo has joined #maemo09:37
*** chainsawbike has quit IRC09:53
*** chainsawbike has joined #maemo09:59
*** M4rtinK has quit IRC10:06
*** louisdk has joined #maemo10:33
*** geaaru has joined #maemo10:42
*** xy2_ has joined #maemo10:53
*** jskarvad has joined #maemo10:56
Oksanajonwil : What is getJourneyDetailsData expected to be? I don't understand route from TransLink [fromStation and toStation are self-explanatory], and I can hardly read MVV-Germany results [Tram 18 Destination SomeStreet is difficult to understand]10:58
Oksanaana> {version, systemMessages, journeys: [{rating, isAdditional, interchanges, legs: [{duration, origin, destination, transportation, hints, stopSequence, infos, coords, properties},{}]},{}]}10:59
OksanaAnd putting into "info" field [about leg of a journey] the text "Duration: 60" doesn't sound good [since it's 60 seconds]11:01
OksanaWhat's the difference between toStation and toInfo for a leg of a journey?11:03
* Oksana goes outdoors11:05
OksanaAnd MVV-Germany sometimes gives "Error opening the details"11:05
ceenei hate autotools11:27
ceenei also hate cmake11:27
ceeneand i also hate scons11:27
ceenehate them all11:27
ceeneit's all an undecipherable mess11:27
KotCzarnyhow do you achieve portability then/11:27
ceenewith lots of pain11:28
KotCzarnyso not much different11:28
ceenei have a 100 line scons python script don't i don't ever touch again11:28
ceeneand then i can use small scons files11:28
ceenebut i still hate it all11:29
ceenei hate that it's nonstandard and has no standard way of setting compilation options, cross compiler, etc, it's just a hack passing arguments after the call to scons11:29
ceenei've tried at least 8 times to understand autotools and i just can't get it11:29
ceeneit's the most common thing out there, the most standard, but it's all just a gigantic hack of different macro languages with confusing macro names and weird syntax11:30
KotCzarnyi just use sh11:31
KotCzarnyin the end it's always needing manual touches, so why bother11:31
ceeneit's all a pain in the ass11:35
bencohyou're absolutely right with the fact that they're just all a gigantic hack, but I still prefer this standard gigantic hack, than having to handle/patch every single package for crosscompilation11:37
ceenei know, and that's why i wanted to autotoolize my software... yet i've failed once again, I get so frustrated that I never manage to do the simplest thing11:38
bencohsince it appears that most handcrafted build "system" (ie makefile/script) fail with crosscompilation at some point (unless the authors tried to crossbuild it, and even then, they always miss some case)11:38
KotCzarnybencoh, that's what i mean by manual touches11:39
*** florian has joined #maemo11:39
bencohKotCzarny: I dont need "manual touches" when building a properly written autotools package11:39
KotCzarnysure, and then one day it happens to fail on some system/new distro revision11:40
KotCzarnyespecially if you rely on some external libs11:41
bencohthen you properly fix what needs to be fixed, for "everyone"11:42
KotCzarnyin a perfect world, yeah11:42
bencohinstead of adding another hacky bunch of lines to your handcrafted thing11:42
ceenemy problem is... i don't know how to begin writing an autotools package :(11:43
bencohnot saying this whole stuff is "perfect" in any way, just that I still prefer it by far than having to read/understand/patch every single homebrew makefile when crosscompiling it11:43
ceenei'm completely useless11:43
bencohceene: lib or program?11:44
ceeneand i also think it's the best solution (not that i think it's good at all, but the best nonetheless)11:44
ceeneboth11:44
bencoh(not that it's too different, but I have a simple autotools base to build a program, if you want)11:44
ceenei have several pieces of software that i want to autotoolize: libs and programs, and some repositories contain both a lib and a couple of programs that use them11:44
bencoh(not that good, but working on maemo)11:44
bencohah11:44
KotCzarnyhttps://github.com/msune/autotools-skeleton11:45
KotCzarny:)11:45
KotCzarny(just a random google)11:45
bencoh:)11:45
ceenei really hate it all11:47
bencohaww11:47
KotCzarnyMuch chaos seems to persist in the documentation of the various autotools (part of the GNU Build System). I don't know how others sort it out. I am inclined to think that they just copy an example and ignore or don't check the warnings11:47
KotCzarnyhehe11:47
KotCzarnynice quote11:47
ceenei also hate that there have to be so many files around the directory11:48
ceenei don't want them, they're just sitting there taking mental space11:48
KotCzarnybetter to trim down, than desperately look for docs11:49
KotCzarny[autoproject] - This tool creates a skeleton source package for a new program11:50
ceenelet's try that11:50
KotCzarnyhttps://directory.fsf.org/wiki/Autoproject11:51
KotCzarnyseems beta, version is 0.2011:52
ceene$ ls -1|wc -l11:52
ceene4111:52
ceeney don't really want a thing that creats 41 files11:52
ceeneand creates an xmalloc.c file11:53
ceenewhat the hell11:53
ceeneif my system doesn't have an standard malloc i don't give a shit11:53
ceenelet's see the autotools-skeleton repo11:54
ceenewell, it seems simpler than the libabc repo11:57
ceenea bit more comprehensible11:58
KotCzarnyhttp://inti.sourceforge.net/tutorial/libinti/autotoolsproject.html12:00
KotCzarnythis is also nice explanation of the files12:00
ceenethanks!12:01
KotCzarnythe smallest autotools project is just makeile.am and configure.in12:02
*** Sigyn has quit IRC12:14
*** Sigyn has joined #maemo12:14
*** ChanServ sets mode: +v Sigyn12:14
*** r00t|home has quit IRC12:42
*** xy2_ has quit IRC12:44
*** eMHa has quit IRC12:46
*** r00t|home has joined #maemo12:50
*** louisdk has quit IRC12:51
*** xy2_ has joined #maemo12:55
*** vahe has quit IRC13:07
*** vahe has joined #maemo13:07
*** trx has quit IRC13:10
*** xorly has joined #maemo13:10
*** vahe has quit IRC13:10
*** vahe has joined #maemo13:11
*** LinuxCode has joined #maemo13:13
*** trx has joined #maemo13:13
*** eMHa has joined #maemo13:16
*** trx has quit IRC13:18
*** LinuxCode_away has joined #maemo13:18
*** LinuxCode_away has quit IRC13:18
*** LinuxCode has quit IRC13:18
*** LinuxCode has joined #maemo13:19
jonwilOskana: The best way to see how things work would be to use a web browser that supports network transaction logging, visit www.translink.com.au and do a journey plan search and look at the JSON output to see for yourself how it looks.13:21
jonwilYou could put "Beenleigh Station" into one box and "Strathpine Station" in the other box to get some good output.13:22
*** trx has joined #maemo13:22
*** trx has quit IRC13:22
*** trx has joined #maemo13:22
*** xy2_ has quit IRC13:23
*** trx has quit IRC13:26
*** LinuxCode has quit IRC13:28
*** LinuxCode has joined #maemo13:28
*** trx has joined #maemo13:32
*** trx has quit IRC13:32
*** trx has joined #maemo13:32
*** LinuxCode is now known as L1inuxCode13:34
*** trx has quit IRC13:37
*** xy2_ has joined #maemo13:38
*** trx has joined #maemo13:40
*** trx has quit IRC13:40
*** trx has joined #maemo13:40
*** L1inuxCode is now known as LinuxCode13:52
*** DocScrutinizer05 has quit IRC14:11
*** vahe has quit IRC14:16
*** vahe has joined #maemo14:18
*** DocScrutinizer05 has joined #maemo14:28
*** vahe has quit IRC14:32
*** Trizt has quit IRC14:42
*** Trizt has joined #maemo14:42
*** DocScrutinizer05 has quit IRC14:46
*** xy2_ has quit IRC14:47
*** DocScrutinizer05 has joined #maemo14:52
*** xy2_ has joined #maemo15:32
*** Venemo has quit IRC15:48
*** xy2_ has quit IRC16:05
*** xy2_ has joined #maemo16:06
*** jonwil has quit IRC16:28
*** Nihlander has joined #maemo16:42
NihlanderYo, anyone alive?16:43
bencohsomehow :)16:43
NihlanderAyy - Success16:43
NihlanderYou wouldn't know what Fremantle repo to use, would you?16:44
NihlanderI'm getting KEYEXPIRED on both Muarf and Linenoise mirrors16:44
Nihlanderas per https://wiki.maemo.org/Repository16:44
bencohthey're only mirrors, so they just host the original files, which were signed by nokia with a now expired key16:45
bencohto avoid that, someone would need to resign packages with a trusted key16:45
NihlanderAh okay so, even with the keyexpired warning, updates, etc should still be working fine?16:46
bencohyeah16:46
NihlanderAwesome - Having both the Linenoise and Muarf mirrors enabled in my catalogue list shouldn't cause any issues either, right?16:47
bencohthe repositories for which you get KEYXPIRED errors haven't been updated since nokia stopped working on maemo, btw. only extras-* and cssu-* get updates nowaday16:48
bencoh+s16:48
NihlanderYeah, I have repository.maemo.org/community in my catalogue list16:50
bencoh:)16:50
NihlanderHave only just started using my N900 again after a couple of years16:50
bencohyay :)16:50
NihlanderSo, trying to make sure it's actually got all the right repos, etc and is updated with whatever has been released in the last few years haha16:50
bencohwelcome back then :)16:51
NihlanderCommunity SSU Version I'm using is 21.2011.38-1Tmaemo12 -- Flavor: Testing16:52
*** louisdk has joined #maemo17:29
*** sunshavi has joined #maemo17:38
*** Maxdamantus has quit IRC17:39
*** Maxdamantus has joined #maemo17:40
*** sunshavi has quit IRC17:48
*** vakkov_ has quit IRC18:04
*** vakkov_ has joined #maemo18:22
*** louisdk has quit IRC18:30
*** Pali has joined #maemo18:32
*** LauRoman has joined #maemo18:40
*** __LauRoman has joined #maemo18:43
*** LauRoman has quit IRC18:47
*** xorly has quit IRC19:12
*** vahe has joined #maemo19:30
*** Oksana has quit IRC19:36
*** Oksana has joined #maemo19:38
*** florian has quit IRC19:52
*** __LauRoman has quit IRC20:08
*** eMHa has quit IRC20:12
*** sunshavi has joined #maemo20:33
*** vahe has quit IRC20:38
*** drrty has joined #maemo20:47
*** eMHa has joined #maemo20:52
*** jskarvad has quit IRC21:01
*** geaaru has quit IRC21:08
*** __LauRoman has joined #maemo21:32
*** florian has joined #maemo21:44
*** sunshavi has quit IRC21:49
*** xy2_ has quit IRC22:02
*** kalin has quit IRC22:09
*** ravelo has joined #maemo22:13
*** kalin has joined #maemo22:13
*** kalin has quit IRC22:18
*** xy2_ has joined #maemo22:24
*** Kabouik- has joined #maemo22:37
*** Kabouik_ has joined #maemo22:40
*** kalin has joined #maemo22:41
*** Kabouik- has quit IRC22:43
*** spiiroin has quit IRC22:46
*** spiiroin has joined #maemo22:58
*** louisdk has joined #maemo23:36
*** Kabouik- has joined #maemo23:51
*** Kabouik_ has quit IRC23:54
*** sunshavi has joined #maemo23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!