tmlind | dsc_: hehe looking at the comments from norayr, maybe name it omgweather :) | 05:43 |
---|---|---|
jk_000 | hello! 0/ thanx for the amazing work on maemo leste and mobile linux!! | 10:48 |
jk_000 | GNU+Linux ^^ | 10:48 |
jk_000 | has anyone tried a mouse on maemo-leste? I did on a droid4 and the movement is vey lagy hehe how could this be synchronized | 10:49 |
Wizzup | how laggy is the movement? | 10:55 |
Wizzup | jk_000: is it a bluetooth mouse, or cable? | 11:04 |
freemangordon | does anybody here know SPARQL? | 11:50 |
Wizzup | no, but I can help figure out how to write queries if you want | 11:52 |
Wizzup | I doesn't seem too hard from https://en.wikipedia.org/wiki/SPARQL | 11:53 |
freemangordon | actually there seems to be SQL interface, but I am not sure it works properly | 11:53 |
freemangordon | user@devuan:~/git/mafw-tracker-source$ tracker sql -q 'SELECT * FROM "nmm:Video"' | 11:54 |
freemangordon | -------------------------------------------------- | 11:54 |
freemangordon | Results: | 11:54 |
freemangordon | 100019 | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | (null) | 11:54 |
Wizzup | where does the tracker db come from? | 11:58 |
freemangordon | I started tracker-miner-fs | 11:58 |
Wizzup | as user I suppose? | 11:59 |
freemangordon | yes | 11:59 |
freemangordon | I am still unable to find the structure of the DB though | 11:59 |
freemangordon | like, what are the names of all those columns | 11:59 |
Wizzup | I'm installing it now | 12:00 |
Wizzup | $ tracker status | 12:03 |
Wizzup | Currently indexed: 432 files, 64 folders | 12:03 |
Wizzup | ok, I have something now | 12:03 |
freemangordon | mhm | 12:03 |
freemangordon | make sure to have some video file, somewhere | 12:03 |
Wizzup | or audio? | 12:04 |
freemangordon | yeah | 12:04 |
Wizzup | btw, do you know what the backing db is? | 12:04 |
freemangordon | I think it is sqlite | 12:04 |
Wizzup | 'tracker search -f' lists files | 12:04 |
Wizzup | freemangordon: ok, then we can figure it out | 12:04 |
freemangordon | yeah | 12:04 |
freemangordon | ~/./cache/tracker | 12:05 |
Wizzup | just a sec | 12:06 |
freemangordon | this: | 12:09 |
freemangordon | user@devuan:~/.cache/tracker$ tracker sql -q 'SELECT `nmm:videoAlbum` FROM "nmm:Video"' | 12:09 |
freemangordon | -------------------------------------------------- | 12:09 |
freemangordon | Results: | 12:09 |
freemangordon | (null) | 12:09 |
Wizzup | back | 12:12 |
freemangordon | so, weh have SQL | 12:12 |
freemangordon | now we need to match old tracker lib to sql queries | 12:13 |
Wizzup | the database schema is huge | 12:13 |
freemangordon | mhm | 12:13 |
freemangordon | see https://gnome.pages.gitlab.gnome.org/tracker/docs/developer/nfo-ontology.html | 12:13 |
freemangordon | maybe it ise better to use SPARQL though | 12:14 |
freemangordon | otherwise we'll have to learn all the schema | 12:14 |
Wizzup | I had the tracker index my mpd music directory and it sees the files but doesn't think it is music | 12:16 |
freemangordon | how do you know? | 12:17 |
Wizzup | tracker search --music namehere | 12:17 |
freemangordon | what is name? | 12:17 |
Wizzup | the name of the band | 12:17 |
Wizzup | it shows with tracker search -f namehere | 12:17 |
freemangordon | like, how does it know the names | 12:17 |
freemangordon | ah | 12:17 |
Wizzup | from the file name and flac metadata I suppose | 12:17 |
Wizzup | if it is any clever at all | 12:17 |
Wizzup | https://bpa.st/IWRUQ | 12:18 |
Wizzup | tracker extract on a file path also looks interesting | 12:19 |
freemangordon | 'maemo:relevance' = '1000000.0' | 12:19 |
freemangordon | :D | 12:19 |
Wizzup | yeah I saw that | 12:19 |
Wizzup | don't know how it got there | 12:19 |
freemangordon | seems there are some remnants | 12:19 |
Wizzup | sicelo: you asked about ui-fonts, it's installed on my device | 12:25 |
Wizzup | https://maedevu.maemo.org/pkgweb/search?q=ui-fonts | 12:25 |
Wizzup | it's also in chimaera | 12:25 |
Wizzup | freemangordon: if you have some examples of sql from fremantle I can try to port them | 12:33 |
Wizzup | it does look like sparql will be easier to use than sql | 12:33 |
freemangordon | mhm | 12:33 |
Wizzup | most of the (null)s in the columns are not relevant for us, it looks like the db is kind of made to be used from sparql | 12:34 |
Wizzup | like you can get a list of all the 'songs' but then you just get ids of the songs, so you still need to join it to other things based on the type | 12:34 |
freemangordon | exactly | 12:34 |
freemangordon | also, see https://github.com/maemo-leste/mafw-tracker-source/blob/master/libmafw-tracker-source/definitions.h#L153 | 12:34 |
freemangordon | seems mafw is already using some rdf queries | 12:35 |
freemangordon | not sure current tracker supports that though | 12:35 |
maxwelld | freemangordon, there is very rare issue with kbd input on gtk. very rare. sometimes i type armenian, then go back to the program (any) and i see only commas are printed, and instead of other keys - whitespaces. then i do the same again, and no whitespaces - everything is correct. | 12:36 |
freemangordon | maxwelld: maybe open an issue, with a steps to repro | 12:37 |
maxwelld | yeah, just very hard to repro. i don't understand when it happens. | 12:39 |
maxwelld | it happens in rare situations. one of 20 maybe. | 12:39 |
freemangordon | still | 12:39 |
maxwelld | okay! | 12:39 |
freemangordon | Wizzup: https://gnome.pages.gitlab.gnome.org/tracker/docs/developer/slo-ontology.html :) | 12:39 |
Wizzup | freemangordon: hm? | 12:40 |
freemangordon | see the page title | 12:40 |
Wizzup | ah | 12:40 |
Wizzup | heh | 12:40 |
freemangordon | we also have "Maemo Feeds Ontology (MFO)" | 12:40 |
Wizzup | yeah so RDF I don't think will work anymore | 12:41 |
Wizzup | but I think with their examples we can pretty easily port | 12:41 |
Wizzup | https://wiki.gnome.org/Projects/Tracker/Documentation/Examples/SPARQL/Music | 12:41 |
Wizzup | pretty much everything is covered there it looks like | 12:41 |
freemangordon | we have to find replacement for tracker_metadata_get_unique_values_with_aggregates_async | 12:42 |
Wizzup | hm | 12:42 |
Wizzup | what does this even do? | 12:43 |
freemangordon | maybe tracker_sparql_connection_query_async | 12:43 |
freemangordon | no idea what it does, but looks like it executes RDF query | 12:43 |
freemangordon | tracker_metadata_get_unique_values_with_aggregates_async seems to do dbus call | 12:44 |
freemangordon | Wizzup: see in tests | 12:45 |
Wizzup | ok | 13:25 |
jk_000 | Wizzup: sorry for the late replay. it is a cable mouse | 13:37 |
jk_000 | ... would bluetooth mouse be faster? o.O | 13:38 |
Wizzup | jk_000: no, it wouldn't | 13:41 |
Wizzup | how slow is slow? | 13:42 |
uvos__ | mouse is really slow on d4 | 13:48 |
uvos__ | you can see this with ts too but it also occures with a mouse | 13:48 |
uvos__ | problem dosent exist on wayland | 13:49 |
uvos__ | so its some x issue, maybe how the cursor is drawn, i dont think the cursor uses hwaccel/tiler to render the sprite on omapddx | 13:50 |
uvos__ | so x is presumably drawing it in software | 13:50 |
uvos__ | this has allways been the case | 13:52 |
Wizzup | I see | 13:55 |
dsc_ | tmlind: have never used omweather, this weather application is just something I made up, from scratch | 14:29 |
dsc_ | i did borrow the icons from omweather ;)) | 14:29 |
dsc_ | (the weather icons) | 14:29 |
jk_000 | Wizzup: if I move the mouse slowly, the pointer comes along ok. if I move the mouse fast, like in circles, then it can lag many turns. the more turns I do the more turns that stay clot in the pipiline hehe I don't have a mouse now, but if I do 5 quick circles, at least two happen after I let go of the mouse | 15:01 |
Wizzup | understood, sounds like what uvos__ describes | 15:02 |
jk_000 | usb keyboard typing is at normal speed... this is so close to convergence!!! :D and from a droid4 from 2012 !! | 15:03 |
jk_000 | oh! so there is a leste-wayland coming?! :D | 15:04 |
dsc_ | `apt install -y systemd` | 15:05 |
Wizzup | jk_000: not for years I think @ wayland | 15:06 |
Wizzup | but we can fix the X cursor | 15:06 |
jk_000 | hehe :P | 15:06 |
jk_000 | nice! the mouse+keybord+HDMI make the droid4 very, very special! | 15:07 |
dsc_ | jk_000: its like a small pocket PC :) | 15:08 |
jk_000 | dcs_: and born in 2012! | 15:09 |
jk_000 | ... is there a way to turn off the wlan-athena on the droid 4? would that save battery-life? | 15:11 |
sicelo | i guess `ip link set wlan0 down && modprobe -r wl1273` is as aggressive as it gets. anyway, wlan chip is well-behaved wrt. power savings | 15:15 |
jk_000 | sicelo: I see, so it stops scanning if the device is idle? | 15:22 |
sicelo | yes it won't scan if it's down and has no driver (at least shouldn't) :-D | 15:37 |
jk_000 | hehe yeah, that is after the modprobe -r, but w/o it? | 15:38 |
jk_000 | if the host device is powered on, there is this urban knowledge that the wlan-anthenas zap battery searching for possible connections | 15:39 |
sicelo | i don't have my d4 around ... so maybe test for yourself and report back to us? : | 15:40 |
dsc_ | https://cdn.kroket.io/~sander/vid/2362362352.mp4 | 15:49 |
jk_000 | I'll ceck, but ... how do I measure how much energy the wlan-chip uses? with powertop? | 15:52 |
jk_000 | would maemo-leste work on a standard pc with devuan? w/o qemu, directly on the hardware? | 15:54 |
Wizzup | it could probably, might not be a great experience | 15:59 |
buZz | jk_000: measure all current with wifi on, measure all current with wifi off? :D | 16:20 |
buZz | Wizzup: it -is- something i'd like to try out for a while, find some touchscreen laptop/tablet/computer and run leste as a desktop experience | 16:21 |
Wizzup | just keep in mind you have to physically press your PCs power button to have the screen unlock ;) | 16:22 |
buZz | hahaha, yes :D | 16:22 |
uvos__ | dsc_: really awsome, im looking forward to having a proper weather app | 16:37 |
uvos__ | Wizzup: buZz: jk_000: i added support to mce for changeing the "power button" to anything quite a while back | 16:37 |
uvos__ | so you can just bind it to f12 or something | 16:37 |
uvos__ | its in mce.ii | 16:38 |
buZz | ooo nice, in mce.ini? | 16:38 |
uvos__ | yes | 16:38 |
buZz | right, cool | 16:38 |
buZz | i wonder if we might need some more indepth articles on wiki about all those subsystems | 16:38 |
dsc_ | uvos__: :) | 16:41 |
jk_000 | this all sounds great to me!! ^__^ | 17:00 |
jk_000 | I guess I'd just have to add the leste-repositories to my devuan machine and install hildon? | 17:01 |
jk_000 | then pray | 17:02 |
buZz | pray a lot | 17:06 |
buZz | :D | 17:06 |
buZz | jk_000: but yeah, that should/could be a route | 17:06 |
buZz | there's also something on https://leste.maemo.org/Virtual_Machine | 17:06 |
buZz | about converting to raw for real hw | 17:07 |
jk_000 | buZz: nice, I'll have a look | 17:07 |
Wizzup | there is a bit more to it than adding the repos, but not much | 17:08 |
Wizzup | (I think) | 17:08 |
jk_000 | I'll see if work+family life gives me some time to test that :) | 18:17 |
Wizzup | :) | 19:54 |
freemangordon | Wizzup: I can;t grok that spqrql :( | 20:04 |
freemangordon | how to get a property of an object? | 20:05 |
freemangordon | like: | 20:05 |
freemangordon | user@devuan:~/git/mafw-tracker-source$ tracker sparql -q "SELECT ?pl {?pl a nmm:Playlist}" | 20:05 |
freemangordon | Results: | 20:05 |
freemangordon | urn:uuid:7f9775c0-32bb-4188-8a25-654a066371d4 | 20:05 |
freemangordon | ok, how to get 'nie:url' of that playlist? | 20:06 |
freemangordon | oh | 20:07 |
freemangordon | tracker sparql -q "SELECT ?pl ?url {?pl a nmm:Playlist ;nie:url ?url.}" | 20:07 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!