From 629d01e49c12f7eddd428db4d6b06b4834f92d04 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 3 Mar 2024 00:08:43 +0200 Subject: Update content for html --- ...quickly-logging-ideas-programmed-in-golang.html | 69 ++++++++ .../logo-small.png | Bin 0 -> 63314 bytes .../screenshot-android.png | Bin 0 -> 45089 bytes gemfeed/index.html | 1 + index.html | 4 +- uptime-stats.html | 178 ++++++++++----------- 6 files changed, 161 insertions(+), 91 deletions(-) create mode 100644 gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang.html create mode 100644 gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang/logo-small.png create mode 100644 gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang/screenshot-android.png diff --git a/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang.html b/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang.html new file mode 100644 index 00000000..e2351436 --- /dev/null +++ b/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang.html @@ -0,0 +1,69 @@ + + + + +A fine Fyne Android app for quickly logging ideas programmed in Go + + + + + +

A fine Fyne Android app for quickly logging ideas programmed in Go


+
+Published at 2024-03-03T00:07:21+02:00
+
+I am an ideas person. I find myself frequently somewhere on the streets with an idea in my head but no journal paper noting it down.
+
+I have tried many note apps for my Android (I use GrapheneOS) phone. Most of them either don't do what I want, are proprietary software, or are too bloated. I was never into mobile app development, as I'm not too fond of the complexity of the developer toolchains. I don't want to use Android Studio (as a NeoVim user), and I don't want to use Java or Kotlin. I want to use a language I know (and like) for mobile app development. Go would be one of those languages.
+
+Quick logger Logo
+
+Enter Quick logger – a compact GUI Android (well, cross-platform due to Fyne) app I've crafted using Go and the nifty Fyne framework. With Fyne, the app can be compiled easily into an Android APK. As of this writing, this app's whole Go source code is only 75 lines short!! This little tool is designed for spontaneous moments, allowing me to quickly log my thoughts as plain text files on my Android phone. There are no fancy file formats. Just plain text!
+
+https://codeberg.org/snonux/quicklogger
+https://fyne.io
+https://go.dev
+
+There's no need to navigate complex menus or deal with sync issues. I jot down my Idea, and Quick logger saves it to a plain text file in a designated local folder on my phone. There is one text file per note (timestamp in the file name). Once logged, the file can't be edited anymore (it keeps it simple). If I want to correct or change a note, I simply write a new one. My notes are always small (usually one short sentence each), so there isn't the need for an edit functionality. I can edit them later on my actual computer if I want to.
+
+With Syncthing, the note files are then synchronised to my home computer to my ~/Notes directory. From there, a Raku script adds them to my Taskwarrior DB so that I can process them later (e.g. take action on that one Idea I had). That then will delete the original note files from my computer and also (through Syncthing) from my phone.
+
+https://syncthing.net
+https://raku.org
+https://taskwarrior.org
+
+Quick logger's user interface is as minimal as it gets. When I launch Quick logger, I'm greeted with a simple window where I can type plain text. Hit the "Log text" button, and voilà – the input is timestamped and saved as a file in my chosen directory. If I need to change the directory, the "Preferences" button brings up a window where I can set the notes folder and get back to logging.
+
+For the code-savvy folks out there, Quick logger is a neat example of what you can achieve with Go and Fyne. It's a testament to building functional, cross-platform apps without getting bogged down in the nitty-gritty of platform-specific details. Thanks to Fyne, I am pleased with how easy it is to make mobile Android apps in Go.
+
+Quick logger running on Android
+
+My Android apps will never be polished, but they will get the job done, and this is precisely how I want them to be. Minimalistic but functional. I could spend more time polishing Quick logger, but my Quick logger app then may be the same as any other notes app out there (complicated or bloated).
+
+

All easy-peasy?


+
+I did have some issues with the App logo for Android, though. Android always showed the default app icon and not my custom icon whenever I used a custom AndroidManifest.xml for custom app storage permissions. Without a custom AndroidAmnifest.xml the app icon would be displayed under Android, but then the app would not have the MANAGE_EXTERNAL_STORAGE permission, which is required for Quick logger to write to a custom directory. I found a workaround, which I commented on here at Github:
+
+https://github.com/fyne-io/fyne/issues/3077#issuecomment-1912697360
+
+What worked however (app icon showing up) was to clone the fyne project, change the occurances of android.permission.INTERNET to android.permission.MANAGE_EXTERNAL_STORAGE (as these are all the changes I want in my custom android manifest) in the source tree, re-compile fyne. Now all works. I know, this is more of an hammer approach!
+
+Hopefully, I won't need to use this workaround anymore. But for now, it is a fair tradeoff for what I am getting.
+
+I hope this will inspire you to write your own small mobile apps in Go using the awesome Fyne framework!
+
+E-Mail your comments to paul@nospam.buetow.org :-)
+
+Other Go related posts are:
+
+2023-04-09 Algorithms and Data Structures in Go - Part 1
+2024-03-03 A fine Fyne Android app for quickly logging ideas programmed in Go (You are currently reading this)
+
+Back to the main site
+ + + diff --git a/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang/logo-small.png b/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang/logo-small.png new file mode 100644 index 00000000..dc29011c Binary files /dev/null and b/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang/logo-small.png differ diff --git a/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang/screenshot-android.png b/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang/screenshot-android.png new file mode 100644 index 00000000..a8a604e3 Binary files /dev/null and b/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang/screenshot-android.png differ diff --git a/gemfeed/index.html b/gemfeed/index.html index 4cb8a1fd..2c19a154 100644 --- a/gemfeed/index.html +++ b/gemfeed/index.html @@ -12,6 +12,7 @@

To be in the .zone!



+2024-03-03 - A fine Fyne Android app for quickly logging ideas programmed in Go
2024-02-04 - From babylon5.buetow.org to *.buetow.cloud
2024-01-13 - One reason why I love OpenBSD
2024-01-09 - Site Reliability Engineering - Part 3: On-Call Culture and the Human Aspect
diff --git a/index.html b/index.html index c367e67a..c70897ce 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@

foo.zone



-This site was generated at 2024-02-04T18:41:15+02:00 by Gemtexter
+This site was generated at 2024-03-03T00:08:32+02:00 by Gemtexter

    |\---/|
@@ -25,7 +25,6 @@
 
Welcome to the foo.zone. Everything you read on this site is my personal opinion and experience. You can call me a Linux/*BSD enthusiast and hobbyist. I mainly write about tech, IT, programming and sometimes also about self-improvement here.

-All I post here on foo.zone is really only just for fun!
My contact information and resources (via HTTP)
My contact information and resources (via Gemini)
My machine uptime statistics
@@ -43,6 +42,7 @@

Posts



+2024-03-03 - A fine Fyne Android app for quickly logging ideas programmed in Go
2024-02-04 - From babylon5.buetow.org to *.buetow.cloud
2024-01-13 - One reason why I love OpenBSD
2024-01-09 - Site Reliability Engineering - Part 3: On-Call Culture and the Human Aspect
diff --git a/uptime-stats.html b/uptime-stats.html index 1b8ece0f..3c6d65b1 100644 --- a/uptime-stats.html +++ b/uptime-stats.html @@ -10,7 +10,7 @@

My machine uptime stats



-This site was last updated at 2024-02-04T18:41:15+02:00
+This site was last updated at 2024-03-03T00:08:32+02:00

The following stats were collected via uptimed on all of my personal computers over many years and the output was generated by guprecords, the global uptime records stats analyser of mine.

@@ -33,24 +33,24 @@ +-----+----------------+-------+ | 1. | alphacentauri | 671 | | 2. | mars | 207 | -| 3. | uranus | 168 | -| 4. | callisto | 153 | -| 5. | dionysus | 136 | +| 3. | callisto | 153 | +| 4. | dionysus | 136 | +| 5. | *earth | 124 | | 6. | tauceti-e | 120 | -| 7. | *earth | 119 | -| 8. | pluto | 51 | -| 9. | *makemake | 50 | -| 10. | *mega15289 | 50 | -| 11. | mega8477 | 40 | -| 12. | phobos | 40 | +| 7. | pluto | 51 | +| 8. | uranus | 50 | +| 9. | *mega15289 | 50 | +| 10. | *makemake | 50 | +| 11. | phobos | 40 | +| 12. | mega8477 | 40 | | 13. | sun | 33 | | 14. | *t450 | 31 | -| 15. | vulcan | 19 | +| 15. | moon | 20 | | 16. | *blowfish | 19 | -| 17. | tauceti | 16 | -| 18. | sagittarius | 15 | -| 19. | *fishfinger | 13 | -| 20. | deltavega | 12 | +| 17. | vulcan | 19 | +| 18. | tauceti | 16 | +| 19. | sagittarius | 15 | +| 20. | *fishfinger | 13 | +-----+----------------+-------+

@@ -63,15 +63,15 @@ | Pos | Host | Uptime | +-----+----------------+-----------------------------+ | 1. | vulcan | 4 years, 5 months, 6 days | -| 2. | uranus | 3 years, 11 months, 29 days | -| 3. | sun | 3 years, 9 months, 26 days | +| 2. | sun | 3 years, 9 months, 26 days | +| 3. | uranus | 3 years, 9 months, 5 days | | 4. | uugrn | 3 years, 5 months, 5 days | | 5. | deltavega | 3 years, 1 months, 21 days | | 6. | pluto | 2 years, 10 months, 29 days | | 7. | tauceti | 2 years, 3 months, 19 days | -| 8. | *earth | 2 years, 1 months, 15 days | +| 8. | *earth | 2 years, 2 months, 20 days | | 9. | *blowfish | 2 years, 1 months, 10 days | -| 10. | *mega15289 | 1 years, 11 months, 20 days | +| 10. | *mega15289 | 1 years, 12 months, 1 days | | 11. | tauceti-f | 1 years, 9 months, 18 days | | 12. | *fishfinger | 1 years, 5 months, 9 days | | 13. | mega8477 | 1 years, 3 months, 25 days | @@ -93,7 +93,7 @@ +-----+----------------+-------+ | Pos | Host | Score | +-----+----------------+-------+ -| 1. | uranus | 313 | +| 1. | uranus | 280 | | 2. | vulcan | 275 | | 3. | sun | 238 | | 4. | uugrn | 211 | @@ -101,9 +101,9 @@ | 6. | deltavega | 193 | | 7. | pluto | 182 | | 8. | dionysus | 156 | -| 9. | *earth | 147 | -| 10. | tauceti | 141 | -| 11. | *mega15289 | 140 | +| 9. | *earth | 154 | +| 10. | *mega15289 | 142 | +| 11. | tauceti | 141 | | 12. | *blowfish | 132 | | 13. | tauceti-f | 108 | | 14. | *makemake | 102 | @@ -126,24 +126,24 @@ +-----+----------------+-----------------------------+ | 1. | dionysus | 8 years, 3 months, 16 days | | 2. | alphacentauri | 5 years, 11 months, 18 days | -| 3. | uranus | 3 years, 5 months, 8 days | -| 4. | *makemake | 1 years, 10 months, 13 days | -| 5. | callisto | 1 years, 5 months, 15 days | -| 6. | mars | 1 years, 2 months, 10 days | -| 7. | *t450 | 1 years, 1 months, 20 days | -| 8. | *mega15289 | 0 years, 12 months, 28 days | -| 9. | tauceti-e | 0 years, 12 months, 9 days | -| 10. | sirius | 0 years, 8 months, 20 days | -| 11. | *earth | 0 years, 5 months, 31 days | -| 12. | deimos | 0 years, 5 months, 15 days | -| 13. | joghurt | 0 years, 2 months, 9 days | -| 14. | host0 | 0 years, 2 months, 1 days | -| 15. | fibonacci | 0 years, 1 months, 11 days | -| 16. | cobol | 0 years, 1 months, 8 days | -| 17. | mega8477 | 0 years, 1 months, 8 days | -| 18. | sun | 0 years, 1 months, 7 days | -| 19. | sentax | 0 years, 1 months, 6 days | -| 20. | sagittarius | 0 years, 1 months, 6 days | +| 3. | uranus | 2 years, 10 months, 22 days | +| 4. | moon | 2 years, 1 months, 1 days | +| 5. | *makemake | 1 years, 10 months, 13 days | +| 6. | callisto | 1 years, 5 months, 15 days | +| 7. | mars | 1 years, 2 months, 10 days | +| 8. | *t450 | 1 years, 1 months, 20 days | +| 9. | *mega15289 | 0 years, 12 months, 28 days | +| 10. | tauceti-e | 0 years, 12 months, 9 days | +| 11. | sirius | 0 years, 8 months, 20 days | +| 12. | *earth | 0 years, 5 months, 31 days | +| 13. | deimos | 0 years, 5 months, 15 days | +| 14. | joghurt | 0 years, 2 months, 9 days | +| 15. | host0 | 0 years, 2 months, 1 days | +| 16. | fibonacci | 0 years, 1 months, 11 days | +| 17. | cobol | 0 years, 1 months, 8 days | +| 18. | mega8477 | 0 years, 1 months, 8 days | +| 19. | sun | 0 years, 1 months, 7 days | +| 20. | sentax | 0 years, 1 months, 6 days | +-----+----------------+-----------------------------+
@@ -156,25 +156,25 @@ | Pos | Host | Lifespan | +-----+----------------+-----------------------------+ | 1. | dionysus | 8 years, 6 months, 17 days | -| 2. | uranus | 7 years, 4 months, 6 days | -| 3. | alphacentauri | 6 years, 9 months, 13 days | +| 2. | alphacentauri | 6 years, 9 months, 13 days | +| 3. | uranus | 6 years, 6 months, 26 days | | 4. | vulcan | 4 years, 5 months, 6 days | | 5. | sun | 3 years, 10 months, 2 days | | 6. | uugrn | 3 years, 5 months, 5 days | | 7. | deltavega | 3 years, 1 months, 21 days | -| 8. | *mega15289 | 2 years, 11 months, 15 days | +| 8. | *mega15289 | 2 years, 11 months, 26 days | | 9. | *makemake | 2 years, 11 months, 8 days | | 10. | pluto | 2 years, 10 months, 30 days | -| 11. | *earth | 2 years, 6 months, 13 days | -| 12. | tauceti | 2 years, 3 months, 22 days | -| 13. | callisto | 2 years, 3 months, 13 days | -| 14. | tauceti-e | 2 years, 1 months, 29 days | -| 15. | *blowfish | 2 years, 1 months, 11 days | -| 16. | tauceti-f | 1 years, 9 months, 20 days | -| 17. | mars | 1 years, 8 months, 19 days | -| 18. | *fishfinger | 1 years, 5 months, 10 days | -| 19. | host0 | 1 years, 4 months, 10 days | -| 20. | mega8477 | 1 years, 4 months, 1 days | +| 11. | *earth | 2 years, 7 months, 20 days | +| 12. | moon | 2 years, 4 months, 25 days | +| 13. | tauceti | 2 years, 3 months, 22 days | +| 14. | callisto | 2 years, 3 months, 13 days | +| 15. | tauceti-e | 2 years, 1 months, 29 days | +| 16. | *blowfish | 2 years, 1 months, 11 days | +| 17. | tauceti-f | 1 years, 9 months, 20 days | +| 18. | mars | 1 years, 8 months, 19 days | +| 19. | *fishfinger | 1 years, 5 months, 10 days | +| 20. | host0 | 1 years, 4 months, 10 days | +-----+----------------+-----------------------------+
@@ -188,24 +188,24 @@ +-----+----------------+-------+ | 1. | FreeBSD 10... | 551 | | 2. | Linux 3... | 550 | -| 3. | *Linux 5... | 250 | -| 4. | Linux 4... | 164 | +| 3. | *Linux 5... | 163 | +| 4. | Linux 4... | 161 | | 5. | FreeBSD 11... | 153 | -| 6. | *FreeBSD 13... | 128 | -| 7. | *Linux 6... | 64 | +| 6. | *FreeBSD 13... | 116 | +| 7. | *Linux 6... | 69 | | 8. | *OpenBSD 7... | 42 | | 9. | Darwin 13... | 40 | | 10. | FreeBSD 5... | 25 | | 11. | Linux 2... | 22 | | 12. | Darwin 21... | 18 | | 13. | Darwin 15... | 15 | -| 14. | *Darwin 22... | 14 | +| 14. | Darwin 22... | 14 | | 15. | Darwin 18... | 11 | | 16. | FreeBSD 6... | 10 | | 17. | FreeBSD 7... | 10 | | 18. | OpenBSD 4... | 10 | | 19. | Darwin 20... | 5 | -| 20. | *Darwin 23... | 1 | +| 20. | *FreeBSD 14... | 5 | +-----+----------------+-------+
@@ -219,24 +219,24 @@ +-----+----------------+------------------------------+ | 1. | Linux 3... | 15 years, 10 months, 25 days | | 2. | FreeBSD 10... | 5 years, 9 months, 9 days | -| 3. | *Linux 5... | 4 years, 8 months, 31 days | +| 3. | *Linux 5... | 4 years, 10 months, 23 days | | 4. | *OpenBSD 7... | 4 years, 1 months, 16 days | -| 5. | Linux 4... | 2 years, 8 months, 9 days | +| 5. | Linux 4... | 2 years, 7 months, 22 days | | 6. | FreeBSD 11... | 2 years, 4 months, 28 days | | 7. | Linux 2... | 1 years, 11 months, 21 days | -| 8. | Darwin 13... | 1 years, 3 months, 25 days | -| 9. | FreeBSD 6... | 1 years, 3 months, 9 days | -| 10. | *Linux 6... | 1 years, 3 months, 5 days | +| 8. | *Linux 6... | 1 years, 4 months, 10 days | +| 9. | Darwin 13... | 1 years, 3 months, 25 days | +| 10. | FreeBSD 6... | 1 years, 3 months, 9 days | | 11. | OpenBSD 4... | 0 years, 8 months, 12 days | | 12. | Darwin 21... | 0 years, 8 months, 9 days | -| 13. | *Darwin 22... | 0 years, 7 months, 6 days | +| 13. | Darwin 22... | 0 years, 7 months, 6 days | | 14. | Darwin 18... | 0 years, 7 months, 5 days | | 15. | Darwin 15... | 0 years, 6 months, 15 days | | 16. | FreeBSD 5... | 0 years, 5 months, 18 days | -| 17. | *FreeBSD 13... | 0 years, 4 months, 9 days | +| 17. | *FreeBSD 13... | 0 years, 4 months, 2 days | | 18. | Darwin 20... | 0 years, 3 months, 14 days | | 19. | FreeBSD 7... | 0 years, 2 months, 5 days | -| 20. | *Darwin 23... | 0 years, 1 months, 15 days | +| 20. | *Darwin 23... | 0 years, 1 months, 26 days | +-----+----------------+------------------------------+
@@ -250,24 +250,24 @@ +-----+----------------+-------+ | 1. | Linux 3... | 1045 | | 2. | FreeBSD 10... | 406 | -| 3. | *Linux 5... | 318 | +| 3. | *Linux 5... | 320 | | 4. | *OpenBSD 7... | 261 | -| 5. | Linux 4... | 178 | +| 5. | Linux 4... | 175 | | 6. | FreeBSD 11... | 159 | | 7. | Linux 2... | 121 | -| 8. | *Linux 6... | 82 | +| 8. | *Linux 6... | 88 | | 9. | Darwin 13... | 80 | | 10. | FreeBSD 6... | 75 | | 11. | Darwin 21... | 39 | | 12. | OpenBSD 4... | 39 | -| 13. | *Darwin 22... | 36 | +| 13. | Darwin 22... | 33 | | 14. | Darwin 18... | 32 | -| 15. | *FreeBSD 13... | 30 | -| 16. | Darwin 15... | 29 | +| 15. | Darwin 15... | 29 | +| 16. | *FreeBSD 13... | 28 | | 17. | FreeBSD 5... | 25 | | 18. | Darwin 20... | 13 | -| 19. | FreeBSD 7... | 7 | -| 20. | *Darwin 23... | 5 | +| 19. | *Darwin 23... | 7 | +| 20. | FreeBSD 7... | 7 | +-----+----------------+-------+
@@ -279,8 +279,8 @@ +-----+------------+-------+ | Pos | KernelName | Boots | +-----+------------+-------+ -| 1. | *Linux | 1050 | -| 2. | *FreeBSD | 878 | +| 1. | *Linux | 965 | +| 2. | *FreeBSD | 870 | | 3. | *Darwin | 105 | | 4. | *OpenBSD | 52 | +-----+------------+-------+ @@ -291,14 +291,14 @@ Uptime is the total uptime of a host over the entire lifespan.

-+-----+------------+-----------------------------+
-| Pos | KernelName |                      Uptime |
-+-----+------------+-----------------------------+
-|  1. |     *Linux | 26 years, 2 months, 22 days |
-|  2. |   *FreeBSD | 9 years, 12 months, 12 days |
-|  3. |   *OpenBSD |  4 years, 8 months, 27 days |
-|  4. |    *Darwin |  3 years, 7 months, 26 days |
-+-----+------------+-----------------------------+
++-----+------------+----------------------------+
+| Pos | KernelName |                     Uptime |
++-----+------------+----------------------------+
+|  1. |     *Linux | 26 years, 5 months, 4 days |
+|  2. |   *FreeBSD | 9 years, 12 months, 5 days |
+|  3. |   *OpenBSD | 4 years, 8 months, 27 days |
+|  4. |    *Darwin |  3 years, 8 months, 6 days |
++-----+------------+----------------------------+
 

Top 20 Score's by KernelName


@@ -309,10 +309,10 @@ +-----+------------+-------+ | Pos | KernelName | Score | +-----+------------+-------+ -| 1. | *Linux | 1743 | -| 2. | *FreeBSD | 706 | +| 1. | *Linux | 1748 | +| 2. | *FreeBSD | 704 | | 3. | *OpenBSD | 300 | -| 4. | *Darwin | 236 | +| 4. | *Darwin | 238 | +-----+------------+-------+
-- cgit v1.2.3