admicos's recent activity

  1. Comment on What programming/technical projects have you been working on? in ~comp

    admicos
    Link Parent
    I replaced Baikal (for Calendar/Tasks/Contacts sync through Cal/CardDAV) and Miniflux (RSS reader) I assume you mean "backups" by "insurance", in which case... Nowhere. I probably should get some...

    What where your standalone tools you replaced?

    I replaced Baikal (for Calendar/Tasks/Contacts sync through Cal/CardDAV) and Miniflux (RSS reader)

    Where are you hosting your insurance?

    I assume you mean "backups" by "insurance", in which case... Nowhere. I probably should get some soon, but I have no idea how I might do them just yet, and I don't want to spend much on a single server. I am currently hosting the server through Linode, and they seem to be doing a good job on not killing all the data on it just yet.

    1 vote
  2. Comment on What programming/technical projects have you been working on? in ~comp

    admicos
    Link
    Installed NextCloud on my server. It turned out to be lighter than I expected, so that's nice. Honestly I really like it. Installed a bunch of "apps" (Calendar, Tasks, RSS, Contacts) and replaced...

    Installed NextCloud on my server. It turned out to be lighter than I expected, so that's nice.

    Honestly I really like it. Installed a bunch of "apps" (Calendar, Tasks, RSS, Contacts) and replaced the standalone stuff I was using. Bit slow, but what can you expect from a 5$/mo server running something probably intended for scaling up and enterprise use.

    The share via link feature came in handy just now, so that's nice

    4 votes
  3. Comment on ArchLabs 2021.05.02 Release in ~comp

    admicos
    Link Parent
    Try libvirt with virt-manager It provides a nice GUI over QEMU (and a lot of other things too). It's my go-to virtual machine setup nowadays.

    I try QEMU but it's so many command-line options, lol.

    Try libvirt with virt-manager

    It provides a nice GUI over QEMU (and a lot of other things too). It's my go-to virtual machine setup nowadays.

    5 votes
  4. Comment on What games have you been playing, and what's your opinion on them? in ~games

    admicos
    Link
    Started playing Portal Reloaded, and honestly while I am barely into the game, I can definitely recommend it to anyone who liked Portal's puzzles. I don't think there's any major "story" stuff (or...

    Started playing Portal Reloaded, and honestly while I am barely into the game, I can definitely recommend it to anyone who liked Portal's puzzles. I don't think there's any major "story" stuff (or I haven't reached them just yet), but the puzzles themselves are really good.

    Check it out if you already have Portal 2, it's free.

    3 votes
  5. Comment on What programming/technical projects have you been working on? in ~comp

    admicos
    Link
    Made a "binding" of the Vosk speech to text thingy for Tasker. It's my first Android thing in a long time now and honestly I did not like the experience as much as I expected. Android is complex!...

    Made a "binding" of the Vosk speech to text thingy for Tasker. It's my first Android thing in a long time now and honestly I did not like the experience as much as I expected. Android is complex!

    Well, either that or me not starting with something more basic caused it. IDK, but it somehow works, which is nice I guess.

    Any experienced Android devs here, please try to not cringe at my code too much, OK? But still take a look if you have some free time, I want to know how I might be able to improve it.

    2 votes
  6. Comment on Tech people of Tildes, what have you automated in your life? in ~tech

    admicos
    (edited )
    Link Parent
    A spare Android phone also running Tasker. It's always plugged in, running a Magisk module to control the charging so the battery doesn't become sad. Tasker checks the light sensor of the phone a...

    What's your setup for this? How do you track brightness?

    A spare Android phone also running Tasker.

    It's always plugged in, running a Magisk module to control the charging so the battery doesn't become sad.

    Tasker checks the light sensor of the phone a couple times every minute, and brightens or darkens the light automatically until it reaches a threshold, or if the room reaches a certain brightness it turns the light off completely.

    5 votes
  7. Tech people of Tildes, what have you automated in your life?

    Talk about anything you have "automated" in your life. No restrictions on the tools or things to automate. You have a simple "silence your phone at work" thing? Great job! Do you have a complex...

    Talk about anything you have "automated" in your life. No restrictions on the tools or things to automate. You have a simple "silence your phone at work" thing? Great job! Do you have a complex thing with hundreds of lines of custom code? Wonderful! All are welcome!


    I myself have automated a bit of stuff, and am constantly looking for more (that's why this thread exists):

    Home:

    • My room will turn on the lights when it detects the brightness inside is going down, but will slowly do it relative to the current brightness so it doesn't suddenly turn on at once. (Tries to keep a certain brightness at certain times)
    • I can send "loff", "lon" or, "lauto" through XMPP to turn my lights off, on, or toggle the automatic mode mentioned above from anywhere. I am blocking internet connections from my smart light hub so I had to re-implement that manually

    Computer:

    • Copying any YouTube links (or Invidious links, which get translated into YouTube) will automatically prompt me about opening them under MPV

    Phone:

    This is where I do the bulk of my automation, as Tasker is a very convenient way to automate stuff.

    • Toggle full brightness and/or auto rotation on specific apps (Gallery, NewPipe, etc.)
    • A couple of Android "Share" targets for
      • Uploading dumb images to https://ebc.li/dump/
      • Adding links to Miniflux (abusing it's bookmarklet functionality)
      • youtube-dl through Termux
    • And some (mostly gimmicky) text-to-speech notifications for calls and XMPP messages

    Planned:

    • Miniflux notifier over XMPP. My last attempt failed because Node-RED apparently doesn't reconnect over to XMPP when its connection drops :(
    26 votes
  8. Comment on What programming/technical projects have you been working on? in ~comp

    admicos
    Link
    Rewriting Moonlander in Vala. (Previous Thread) Vala is, if you didn't know, a language made specifically for working with GNOME libraries (GLib, GTK, etc.). It's kinda like C# in syntax, but...

    Rewriting Moonlander in Vala. (Previous Thread)

    Vala is, if you didn't know, a language made specifically for working with GNOME libraries (GLib, GTK, etc.). It's kinda like C# in syntax, but compiles down to C with GLib instead.

    Why rewrite? Because GTK on Rust was too darn complicated and boilerplate-y for me. Also Vala compiles a bit faster and is overall a better Linux citizen regarding packaging and stuff IMO.

    Currently, I got to the point of connecting to Gemini without any TOFU and rendering Gemtext pages as plaintext, but just in 2 days work this is really good (obviously some "architecture" work is ported over from the Rust Moonlander), but Vala does things a bit differently so it was still a fair bit of work.

    There are some things I'm missing from Rust (enums with actual data, Result<>, match, etc.) but overall the language itself looks like a pretty neat Java/C# clone to me so far.

    If you're planning to do any GUIs on Linux, do give it a shot! But be warned, it's documentation isn't as great as it could be, and while it can use C libraries, it requires you to write VAPI files and whatnot, so the small-ish library ecosystem can also be an issue. Still do try it out though, I like it.

    4 votes
  9. Comment on What programming/technical projects have you been working on? in ~comp

    admicos
    Link Parent
    Semi-relevant rant-y thing: Even on a supported system with a proper install, ROCm is still crap in that it doesn't work with many things including Blender. AMD, doing the dumb, first said "GUI...

    Semi-relevant rant-y thing:

    Even on a supported system with a proper install, ROCm is still crap in that it doesn't work with many things including Blender.

    AMD, doing the dumb, first said "GUI Applications are unsupported" (so... you can mine cryptocurrencies, but can't render a donut?)

    As per the latest information and clarity provided in our Documentation that ROCm does not support GUI applications officially.

    Now they have backtracked on it, saying they have "some plans"

    We have come up with some plans to handle GUI apps in a way.

    But that was a month ago and no updates happened on the issue so far. I guess miners pay more than people who just want to make digital donuts, huh?

    I am currently stuck with an old version of AMDGPU-PRO's OpenCL stack, because the newer ones don't work properly on Polaris cards, and ROCm is, well, still not there yet.

    I am starting to think about plugging my old 1050Ti back in, solely for compute, but the market right now means if you don't have one on hand, good luck getting one!

    5 votes
  10. Comment on What programming/technical projects have you been working on? in ~comp

    admicos
    Link
    Managed to "revive" my laptop that I previously mentioned on Tildes before. The secret? Pay someone who knows what the hell they're doing. Apparently you just pull the keyboard off and there are...

    Managed to "revive" my laptop that I previously mentioned on Tildes before. The secret? Pay someone who knows what the hell they're doing. Apparently you just pull the keyboard off and there are holes underneath it to plug everything in from. What a great innovation (!)

    I apparently broke the "zero insertion force" (yeah, right) connectors, so they're being held together with pieces of cardboard, and the SSD is being held by a piece of paper towel (3rd party SSD, didn't have the right mounting setup), but it works, and that's what matters, right?

    I set up Arch with disk encryption and put GNOME 40 on there. The battery seems to be going well enough, the touchpad is a bit wonky because of some small water damage from way back, but it still seems to work once you disable the clicky buttons (any libinput devs reading this, make this a proper config option plz), and the fan occasionally makes weird sounds, but not as commonly as it did before I messed it up, so that's neat I guess (I have no idea what happened)

    And that's one machine saved from being e-waste, even if I might not exactly have a use for it just yet, it's nice to know it's there and works.

    7 votes
  11. Comment on What programming/technical projects have you been working on? in ~comp

    admicos
    Link Parent
    Unlock your bootloader and install an AOSP based ROM like LineageOS (assuming you don't use anything requiring SafetyNet). Works way better than any OEM ROM I know of.

    Unlock your bootloader and install an AOSP based ROM like LineageOS (assuming you don't use anything requiring SafetyNet). Works way better than any OEM ROM I know of.

    3 votes
  12. Comment on What programming/technical projects have you been working on? in ~comp

    admicos
    Link
    Set up XMPP for me and family after Signal did the cryptocurrency mess, and from our limited use so far it seems to work well. I'll need to find an iOS client soon though, any advice on that? Also...

    Set up XMPP for me and family after Signal did the cryptocurrency mess, and from our limited use so far it seems to work well.

    I'll need to find an iOS client soon though, any advice on that?

    Also if there's any cool XMPP groups for stuff, let me know!

    ps: Android OEMs, plz stop your unnecessary battery saving crap, thx. Not sure how well notifications will work, and they're kinda important.

    3 votes
  13. Comment on I setup a device with decent PostmarketOS port. What can I do with it? in ~comp

    admicos
    Link
    You could try installing something like Node-RED on it and do some automation. You probably won't be able to access any sensors to do cool stuff (and I have no idea if you have any IoT stuff), but...

    You could try installing something like Node-RED on it and do some automation. You probably won't be able to access any sensors to do cool stuff (and I have no idea if you have any IoT stuff), but regular internet stuff (RSS feeds, chat channels, whatever) probably will work well enough.

    3 votes
  14. Comment on Megathread: April Fools' Day 2021 on the internet in ~misc

  15. Comment on I like that the boat is stuck in ~life

    admicos
    Link Parent
    I'm sorry but you made me imagine a parody of it but with this boat and I want that to happen so bad right now.

    I'm sorry but you made me imagine a parody of it but with this boat and I want that to happen so bad right now.

    There's only sea, birds, and fish

    And?

    A stuck boat in the Suez Canal

    15 votes
  16. Comment on What programming/technical projects have you been working on? in ~comp

    admicos
    Link
    Still working on Moonlander, my graphical (Linux only) Gemini client. (Previous Thread) Since posting that, Moonlander has, at least for me, reached daily driver status, though since I don't do...

    Still working on Moonlander, my graphical (Linux only) Gemini client. (Previous Thread)

    Since posting that, Moonlander has, at least for me, reached daily driver status, though since I don't do much on Gemini, there are missing stuff still. Also, there are now pre-built binaries in case anybody else wants to take it for a spin.

    For what's new, I've done a dev log post on Gemini a couple days ago:

    and I still do the semi-realtime dev updates on Mastodon whenever I'm working on it: https://mastodon.social/@admicos

    4 votes
  17. Comment on What programming/technical projects have you been working on? in ~comp

    admicos
    Link Parent
    Update: Pre-built binaries are now available (Linux only, see the original link), so why not give it a spin? I do something kinda like a dev-log but more arbitrary over on Mastodon. If that...

    Update: Pre-built binaries are now available (Linux only, see the original link), so why not give it a spin?

    I do something kinda like a dev-log but more arbitrary over on Mastodon. If that interests you, check it out: https://mastodon.social/@admicos

    2 votes
  18. Comment on What programming/technical projects have you been working on? in ~comp

    admicos
    (edited )
    Link Parent
    Most of the existing clients weren't "fancy" enough (as in, didn't render pages how I wanted), and knowing one of Gemini's goals was being simple to implement, I decided to go make my own client....

    What inspired you to write a gemini client?

    Most of the existing clients weren't "fancy" enough (as in, didn't render pages how I wanted), and knowing one of Gemini's goals was being simple to implement, I decided to go make my own client.

    What do you like about Gemini?

    No third party requests, no JS (or equivalent), it's pretty lightweight and does the job of "reading text" really well. The community is also pretty good too.

    And what future feature are you most excited to implement in the client?

    I'm mostly looking forward to it being usable (by me, at least), as in, when I want to look at Gemini, I want to open up Moonlander instead of a different client. It's almost there, though there are a few things I need to work on still.

    Other than that, not sure, really.

    3 votes
  19. Comment on What programming/technical projects have you been working on? in ~comp

    admicos
    (edited )
    Link
    Currently working on a graphical Gemini client because apparently I didn't learn my lesson last time. https://sr.ht/~admicos/moonlander Obligatory Screenshot At the time of writing it's pretty...

    Currently working on a graphical Gemini client because apparently I didn't learn my lesson last time.

    https://sr.ht/~admicos/moonlander
    Obligatory Screenshot

    At the time of writing it's pretty "half-baked" and not daily-driver ready just yet, but it's definitely more promising than my previous attempt. The main difference between them being that I am not trying any custom drawing magic anymore, and instead (ab)using some GTK features to achieve the fancy looks I am after.


    The biggest issue I have currently is that I have no idea how TLS works, so I don't know if my TOFU implementation is secure. I use rustls to deal with most of the TLS mess, but I needed to write a custom certificate verifier because it doesn't support the "trust on first use" system Gemini uses.

    On the verifier, I am currently ignoring TLS v1.2/v1.3 signature verification, which I have no idea how to do manually, and wasn't able to find any sane documentation about it. The few pieces I have found suggest it requires the use of certificate authorities, which aren't relevant to TOFU, so I don't exactly know how to proceed, even if it was false and they were relevant I have no idea how to implement them.

    Right now I am just making it succeed unconditionally. rustls has a default implementation for them I could use, but it breaks connection with some servers (particularly mine, something about certificate versions and subject alternative names I think), and that's why I am in this mess right now.

    Any TLS wizards, the relevant code is here and any help is appreciated.

    6 votes
  20. Comment on What's something that was ahead of its time? in ~talk

    admicos
    Link Parent
    You definitely can get on tilde.chat without being on a tilde. Well either that or I'm breaking some rules somewhere :p

    you can sign up for one to get on the server, you might be able to otherwise, idk.

    You definitely can get on tilde.chat without being on a tilde. Well either that or I'm breaking some rules somewhere :p

    3 votes