* 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. | 01:25 | |
Oksana | jonwil : Do I need to felete filebuffer before exiting function getJourneyData ? | 01:58 |
---|---|---|
Oksana | delete * filebuffer | 01:59 |
Oksana | getJourneyDetailsData sounds... complicated. | 02:10 |
jonwil | Just copy whatever the Translink code is doing | 02:15 |
Oksana | jonwil : What should getStationsByGPS do : turn longitude and latitude into format readable by trip planner, or retrieve bus/train stops closest to GPS location? | 03:00 |
jonwil | It gets the bus stop closest to the GPS location | 03:00 |
jonwil | If the nsw site has that function then use it | 03:00 |
jonwil | Otherwise set the flag to false so the system doesn't even try to use GPS with that backend | 03: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. | 03:01 | |
Oksana | When 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 another | 03:17 |
Oksana | thing. | 03:20 |
Oksana | Is it like "NameAkaDescription@LocationId"? | 04:10 |
jonwil | Yeah that's what I did for Translink | 04:20 |
Oksana | How does arrivalStation.section('@',0,0) work? I understand destinationStation.section('@',1,1), https://doc.qt.io/archives/qt-4.8/qstring.html#section | 04:27 |
brolin_empey | jonwil: I know some about Python but I mostly use it only as a calculator in recent years. | 04:30 |
Oksana | Got 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. | 05:41 |
brolin_empey | When 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? | 05:46 |
brolin_empey | My 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 enter | 05: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. | 05:53 |
jonwil | brolin_empey: I think this is the wrong channel for that question :) | 05:53 |
jonwil | I dont think LibreOffice can even RUN on an N900 :P | 05:54 |
Oksana | FreOffice can, and it supports spreadsheets | 05:57 |
brolin_empey | jonwil: 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. | 05:58 |
jonwil | Its still not the right place to ask about LibreOffice, the right place would be #libreoffice (which does exist) | 05:59 |
Maxdamantus | brolin_empey: convert to CSV and grep? | 07:05 |
brolin_empey | Maxdamantus: I queried DuckDuckGo and found this Q&A: | 07:12 |
brolin_empey | https://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/ | 07:12 |
brolin_empey | I 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. | 07:12 |
brolin_empey | Now 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. | 07:15 |
brolin_empey | Maybe 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 card | 07:22 |
brolin_empey | account 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. | 07:22 |
brolin_empey | The 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. | 07:25 |
brolin_empey | Or if my telephone number changes for the first time since 2008. | 07:26 |
Oksana | jonwil : 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] | 09:58 |
Oksana | ana> {version, systemMessages, journeys: [{rating, isAdditional, interchanges, legs: [{duration, origin, destination, transportation, hints, stopSequence, infos, coords, properties},{}]},{}]} | 09:59 |
Oksana | And putting into "info" field [about leg of a journey] the text "Duration: 60" doesn't sound good [since it's 60 seconds] | 10:01 |
Oksana | What's the difference between toStation and toInfo for a leg of a journey? | 10:03 |
* Oksana goes outdoors | 10:05 | |
Oksana | And MVV-Germany sometimes gives "Error opening the details" | 10:05 |
ceene | i hate autotools | 10:27 |
ceene | i also hate cmake | 10:27 |
ceene | and i also hate scons | 10:27 |
ceene | hate them all | 10:27 |
ceene | it's all an undecipherable mess | 10:27 |
KotCzarny | how do you achieve portability then/ | 10:27 |
ceene | with lots of pain | 10:28 |
KotCzarny | so not much different | 10:28 |
ceene | i have a 100 line scons python script don't i don't ever touch again | 10:28 |
ceene | and then i can use small scons files | 10:28 |
ceene | but i still hate it all | 10:29 |
ceene | i 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 scons | 10:29 |
ceene | i've tried at least 8 times to understand autotools and i just can't get it | 10:29 |
ceene | it'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 syntax | 10:30 |
KotCzarny | i just use sh | 10:31 |
KotCzarny | in the end it's always needing manual touches, so why bother | 10:31 |
ceene | it's all a pain in the ass | 10:35 |
bencoh | you'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 crosscompilation | 10:37 |
ceene | i 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 thing | 10:38 |
bencoh | since 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) | 10:38 |
KotCzarny | bencoh, that's what i mean by manual touches | 10:39 |
bencoh | KotCzarny: I dont need "manual touches" when building a properly written autotools package | 10:39 |
KotCzarny | sure, and then one day it happens to fail on some system/new distro revision | 10:40 |
KotCzarny | especially if you rely on some external libs | 10:41 |
bencoh | then you properly fix what needs to be fixed, for "everyone" | 10:42 |
KotCzarny | in a perfect world, yeah | 10:42 |
bencoh | instead of adding another hacky bunch of lines to your handcrafted thing | 10:42 |
ceene | my problem is... i don't know how to begin writing an autotools package :( | 10:43 |
bencoh | not 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 it | 10:43 |
ceene | i'm completely useless | 10:43 |
bencoh | ceene: lib or program? | 10:44 |
ceene | and i also think it's the best solution (not that i think it's good at all, but the best nonetheless) | 10:44 |
ceene | both | 10:44 |
bencoh | (not that it's too different, but I have a simple autotools base to build a program, if you want) | 10:44 |
ceene | i 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 them | 10:44 |
bencoh | (not that good, but working on maemo) | 10:44 |
bencoh | ah | 10:44 |
KotCzarny | https://github.com/msune/autotools-skeleton | 10:45 |
KotCzarny | :) | 10:45 |
KotCzarny | (just a random google) | 10:45 |
bencoh | :) | 10:45 |
ceene | i really hate it all | 10:47 |
bencoh | aww | 10:47 |
KotCzarny | Much 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 warnings | 10:47 |
KotCzarny | hehe | 10:47 |
KotCzarny | nice quote | 10:47 |
ceene | i also hate that there have to be so many files around the directory | 10:48 |
ceene | i don't want them, they're just sitting there taking mental space | 10:48 |
KotCzarny | better to trim down, than desperately look for docs | 10:49 |
KotCzarny | [autoproject] - This tool creates a skeleton source package for a new program | 10:50 |
ceene | let's try that | 10:50 |
KotCzarny | https://directory.fsf.org/wiki/Autoproject | 10:51 |
KotCzarny | seems beta, version is 0.20 | 10:52 |
ceene | $ ls -1|wc -l | 10:52 |
ceene | 41 | 10:52 |
ceene | y don't really want a thing that creats 41 files | 10:52 |
ceene | and creates an xmalloc.c file | 10:53 |
ceene | what the hell | 10:53 |
ceene | if my system doesn't have an standard malloc i don't give a shit | 10:53 |
ceene | let's see the autotools-skeleton repo | 10:54 |
ceene | well, it seems simpler than the libabc repo | 10:57 |
ceene | a bit more comprehensible | 10:58 |
KotCzarny | http://inti.sourceforge.net/tutorial/libinti/autotoolsproject.html | 11:00 |
KotCzarny | this is also nice explanation of the files | 11:00 |
ceene | thanks! | 11:01 |
KotCzarny | the smallest autotools project is just makeile.am and configure.in | 11:02 |
jonwil | Oskana: 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. | 12:21 |
jonwil | You could put "Beenleigh Station" into one box and "Strathpine Station" in the other box to get some good output. | 12:22 |
Nihlander | Yo, anyone alive? | 15:43 |
bencoh | somehow :) | 15:43 |
Nihlander | Ayy - Success | 15:43 |
Nihlander | You wouldn't know what Fremantle repo to use, would you? | 15:44 |
Nihlander | I'm getting KEYEXPIRED on both Muarf and Linenoise mirrors | 15:44 |
Nihlander | as per https://wiki.maemo.org/Repository | 15:44 |
bencoh | they're only mirrors, so they just host the original files, which were signed by nokia with a now expired key | 15:45 |
bencoh | to avoid that, someone would need to resign packages with a trusted key | 15:45 |
Nihlander | Ah okay so, even with the keyexpired warning, updates, etc should still be working fine? | 15:46 |
bencoh | yeah | 15:46 |
Nihlander | Awesome - Having both the Linenoise and Muarf mirrors enabled in my catalogue list shouldn't cause any issues either, right? | 15:47 |
bencoh | the repositories for which you get KEYXPIRED errors haven't been updated since nokia stopped working on maemo, btw. only extras-* and cssu-* get updates nowaday | 15:48 |
bencoh | +s | 15:48 |
Nihlander | Yeah, I have repository.maemo.org/community in my catalogue list | 15:50 |
bencoh | :) | 15:50 |
Nihlander | Have only just started using my N900 again after a couple of years | 15:50 |
bencoh | yay :) | 15:50 |
Nihlander | So, 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 haha | 15:50 |
bencoh | welcome back then :) | 15:51 |
Nihlander | Community SSU Version I'm using is 21.2011.38-1Tmaemo12 -- Flavor: Testing | 15:52 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!