A short introduction on how to use your desktop system for #MobileLinux development using a nested #phosh session (and without having to compile anything):
https://phosh.mobi/posts/phosh-dev-part-0/
This is planned to have follow up parts, let's see how this works out.
@Alexmitter @francois So far mostly removing backgrounds from CSS, and adjusting background stretching. The overview will need more work (as this was mostly for checking feasability)
NEW POST: Aino Corry looks at three ways that retrospectives can go wrong, and how to fix them
https://martinfowler.com/articles/retrospective-antipatterns.html
@linmob I like that photo to social media experiment. What I usually do is:
- take photo in millipixels
- open it (opens eog which can rotate)
- mark the relevant area with gnome-screenshot and copy to clipboard
- paste into nheko / mastodon web client / ... (ctrl-v)
Still way to many steps but works rather quickly and one doesn't need to fiddle with image sizes.
@subins2000 Great! I have split out the varnam code into a separate completer in the meantime and made it use libvarnam (instead of the varnamc script): https://gitlab.gnome.org/guidog/phosh-osk-stub/-/commits/wip/libvarnam . (I won't do futher work here, I just wanted you to have a nicer example).
This should be simpler as a base for you to start.
@joshfowler Replacing a runing squeekboard doesn't work yet (https://gitlab.gnome.org/World/Phosh/squeekboard/-/issues/361) - replacing a running phosh-osk-stub with another phosh-osk-stub does though. To replace (temporarily) replace squeekboard you need to make sure sm.puri.OSK0.desktop invokes phosh-osk-stub, other by editing it, adding one to /usr/local/ or ~/.local/share/applications or (on Debian) by using `update-alternatives`: https://gitlab.gnome.org/guidog/phosh-osk-stub/-/blob/main/doc/phosh-osk-stub.rst
@tchx84 @linmob @devrtz I'm not at FOSDEM so likely best to grab @devrtz at the #MobileLinux stand (or maybe he dropp{s,ed} some there)
@subins2000 See https://gitlab.gnome.org/guidog/phosh-osk-stub/-/commit/01828f188ec6e647d0ccc294d903b4ada8466e73 - it's really just a quick hack reusing one of the current completers. Would be great if you'd look into plugging govarnam into it as proper shared library.
Currently the different completion engines are compile time (not run time). Ill post an MR to change that soon.
#fosdem weeeeee
Looking forward to meeting all the bautiful people coming to the mobile devroom today.
Also: I will be giving a talk :)
@subins2000 I had trouble getting govarnam to work but did a quick hack to plug libvarnam (I have no idea if it predicts anything useful though 😃):
@subins2000 It seems debian is missing sqlite's fts5 extension which is required by varnam:
$ ./varnamcli -s ml varnam
2023/02/03 18:06:57 no such module: FTS5
Do you plan to have varnam included in Debian ? Maybe @praveen can help? It looks enabled here
https://sources.debian.org/src/sqlite3/3.40.1-1/debian/rules/?hl=73#L73
$ sqlite3 test.db
...
sqlite> CREATE VIRTUAL TABLE email USING fts5(sender, title, body);
sqlite> .tables
email email_content email_docsize
email_config email_data email_idx
works too.
@subins2000 thanks a lot for the video! I think we can do what you want if we plug a completion engine that uses varnam instead of the presarge, uim or fzf based ones. This is presarge based completer. With varnam it would show the results from varnam_transliterate instead.
@subins2000 I don't understand. We do word suggestions in phosh-osk-stub (see video below). (I had filed that issue you link to 😃 ). What do you think is missing? I was able to integrate with UIM just fine too: See https://social.librem.one/system/media_attachments/files/011/424/006/original/cf3f50be82c07bea.mp4?1668181672
Wasn't aware of https://mas.to/@markwyner/109797687993819959 - I will switch to #MobileLinux from now on.
@subins2000 https://gitlab.gnome.org/guidog/phosh-osk-stub / https://packages.debian.org/experimental/phosh-osk-stub does presage based completion and I've a hack to allow to play with uim for Japanese: https://gitlab.gnome.org/guidog/phosh-osk-stub/-/merge_requests/34 - maybe give varnam a go too ?
Fixed an index corruption bug in Debian Code Search 😱
https://github.com/Debian/dcs/commit/5065495e59011fa66d8ae0e9b5d8e9ad7119fba7
The impact was that some queries might have lacked results within a fraction of packages (estimate: ≈2000 out of ≈35342).
If you are relying on any Debian Code Search queries for an important analysis since November 2022, you should re-run them just to be sure!
@joshfowler This is the list of dependencies I use to build on pmOS/alpine: https://gitlab.gnome.org/guidog/phosh-osk-stub/-/blob/main/.gitlab-ci.yml#L29 , https://gitlab.gnome.org/guidog/phosh-osk-stub/-/jobs/2546824 has a build log that hopefully has all the details.