admicos's recent activity

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

    admicos
    Link
    The Stanley Parable: Ultra Deluxe If you liked the 2013 game or the free mod, you are obliged to play it. I'm sorry, but I don't make the rules. If you didn't play any, you probably should play...

    The Stanley Parable: Ultra Deluxe

    If you liked the 2013 game or the free mod, you are obliged to play it. I'm sorry, but I don't make the rules.

    If you didn't play any, you probably should play Ultra Deluxe. It has the previous game in it, so you won't be missing out on much.

    Unfortunately, I can no longer play it for the next 10 years.

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

    admicos
    Link Parent
    I can't express how much I agree with this. Yeah, Jetpack Compose kinda "fixed" the UI boilerplate, but everything else is still a gigantic pain. I still can't remember how many classes I need...

    Android development is a terrible pain though. The whole experience (Android studio, in particular) feels like google giving a middle finger saying 'where else are ya gonna go? Apple? Now do another 10 steps of boilerplate process and code, worm!'

    I can't express how much I agree with this.

    Yeah, Jetpack Compose kinda "fixed" the UI boilerplate, but everything else is still a gigantic pain. I still can't remember how many classes I need just to make a DB. (I don't have any other examples because I tend to give up around here)

    Not to mention the internet requirements you need just to even have the chance of trying it:

    Downloading 2GBs of Android Studio, another 2GBs for the emulator images and SDK, another half a gig or so for the Gradle dependencies, plus a few hundred megabytes to update the Kotlin plugin (I've never had a fresh install of Android Studio that didn't have a Kotlin update already pending), really kills the "flow", so to say.

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

    admicos
    Link
    I'm currently working on some automation tool thingy that I repeatedly complained about not existing. I chose Python as the "scripting" language, because it's reasonably simple and has has a...

    I'm currently working on some automation tool thingy that I repeatedly complained about not existing.

    I chose Python as the "scripting" language, because it's reasonably simple and has has a pretty good ecosystem to depend on.

    My current obstacles are:

    1. Trying to figure out the best combination of good looking code, functionality, and IDE/tooling friendliness.
    2. Trying to wrangle Sphinx's autosummary into the shape I want it to be.
      • The only alternative is manually defining every single module for autodoc, and I'd rather not do that.
      • Or I could just not have any documentation other than docstrings and tutorial-esq stuff, not sure yet.
    3. Naming
    4. Not abandoning it at some point in the future

    I did quite a bit of progress with the structure, and am probably gonna settle on something like the following:

    from pprint import pprint
    from thingy.event import NewMessage
    
    
    @NewMessage.on(message_id="test")
    def _test_message(message_id: str, message_data: dict):
        pprint(message_data)
    
    
    if __name__ == "__main__":
        NewMessage.trigger(message_id="test", message_data={"a": 1})
        # todo: something to trigger events automatically
    

    Currently the only part that can't be autocompleted (at least from the VSCode language server) is the definition of _test_message(), but I'm still pretty happy with that.

    There will also be more stuff than just events, but that's probably mainly going to be wrapping other packages in a consistent-ish way, so that's hopefully not going to be that hard. (And even then, it's just regular Python functions. Nothing is stopping anybody from just importing something else)

    4 votes
  4. Comment on The Quasi-Official 2022 r/place Atlas in ~tech

    admicos
    Link Parent
    I am still mad about reddit Internal Server Error-ing me right in the middle of "the cascade" in Robin. Unfortunately, if reddit were to bring Robin back again, that'll sound even more "desparate"...

    Maybe they'll bring back The Button and that chat splitting thing.

    I am still mad about reddit Internal Server Error-ing me right in the middle of "the cascade" in Robin.

    Unfortunately, if reddit were to bring Robin back again, that'll sound even more "desparate" than rehashing Place.

    6 votes
  5. Comment on The end of the nice gtk button in ~tech

    admicos
    Link Parent
    I didn't use a Mac so I can't comment on it's design, but I don't think Win7's design needs updating. I personally believe it's a pretty damn good middle ground between usability and "modern"...

    And honestly, I think that Windows 7 and the mid-2010s versions of Mac OS still look pretty good. They could easily be updated to have a modern look.

    I didn't use a Mac so I can't comment on it's design, but I don't think Win7's design needs updating. I personally believe it's a pretty damn good middle ground between usability and "modern" polish, though it's definitely not "flat".

    If we absolutely had to have flat designs, I'd personally prefer something like AOSP 7 ("stock" Android)'s Material, than anything "too new", though it probably will still need tweaking to make it as intuitive as something like Win7's Aero.

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

    admicos
    (edited )
    Link
    Working on resetting my server and starting from scratch, again. This time, I decided to switch things up a bit. Trying Ansible again, and replaced Nginx and Docker with Caddy and "rootless...

    Working on resetting my server and starting from scratch, again. This time, I decided to switch things up a bit. Trying Ansible again, and replaced Nginx and Docker with Caddy and "rootless Podman" respectively. Everything is currently on a "staging" VM, so nothing permanent yet.

    Ansible and Caddy were a breeze to set up. Especially surprised at Caddy, though setting up wildcard certs seemed a bit hacky, and I had to use a probably unreliable 3rd party repo with 1 commit to set up the Acme DNS challenge for my (reasonably popular) DNS provider.

    Anyway, that part is all good. If we come back to Podman, on the other hand...

    I never expected Podman to be this much of an hassle. The initial hurdle I came across is their (IMO) terrible approach to container networking, where you either put all containers that need to see each other into one single "pod"¹, or expose ports to your host and put another firewall on top of it²

    After a day of refining Google searches and shuffling quotes around, I found out that Podman 4's user networking was different? somehow? something something netavark? what? Fortunately, my host distro of choice, Alpine Linux, has already packaged Podman 4... on their unstable/rolling/"edge" repository. Wonderful, now I have to deal with a rolling release for ~3 months (if I'm lucky)...

    So I switch around the repositories do an upgrade, and it works? maybe? still haven't had that much of a chance to test that out (beyond ping container2). might still be broken.

    Second hurdle: Caddy is set up, :80 and :443 seem to work well, Let's Encrypt Staging server works well, but it's still root inside the container, which apparently still matters.

    Oh, that --userns=keep-id flag looks like just what I need! Run as my user, which has the added bonus that UNIX permissions will probably actually work and I can set up backups easily! It can't POSSIBLY have ANY hurdles setting up and will JUST WORK when I add userns_mode: keep-id to my docker-compose.yml because there is an entry for it in the compose spec!!! You see where this is going, right?

    Nope! Both docker-compose OR podman-compose can't make that work. After hours of Google keyword juggling, nothing I can actually use worked. I guess it's time to set user the traditional way and stop caring about file permissions, like Docker.

    Third hurdle: Rebooting breaks Podman. Why? Because apparently Podman assumes /tmp is a tmpfs, which Alpine doesn't seem to do. Fine, hacked around OpenRC for a few mins and made it rm what Podman needed before launch

    Oh, also restart=always (or unless-stopped) doesn't work when rebooted. Why? bEcAuSe We'Re DaEmOnLeSs (the solution they refuse to implement is literally one comment below)

    Oh yeah, you might've noticed. Alpine DOES NOT use systemd. It's not any of the reasons why I picked it, but it DOES NOT. podman generate systemd is completely and utterly useless.

    So yeah, I'm this close to giving up and using ol' reliable Docker. It's not like I'd need any of the security of everything being rootless brings, right?


    1: And I mean ALL containers. can't split them up by purpose, or overlap them like regular Docker networks would do.
    2: And probably get hacked like what happened to NewsBlur

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

    admicos
    Link Parent
    I personally feel like if you have less than 3 servers, treating them as pets is Good Enough™ (maybe aside from a small install script for ssh config and the like) All the advice and tools I've...

    Probably my fault for treating my server as a pet instead of as cattle, but it's not like I'll learn anything from it :V

    I personally feel like if you have less than 3 servers, treating them as pets is Good Enough™ (maybe aside from a small install script for ssh config and the like)

    All the advice and tools I've seen for "cattle" behavior (infra as code, cloud setup stuff, etc) seems to be aimed at businesses and other scenearios where you can accept the extra complexity in exchange for teamwork and/or scalability and stability promises that are (i think) "overkill" for most "hobby" work. (Except for learning and experimentation)

    (Its very quick and simple for me to just docker-compose pull and get an update done or config changed, rather than editing an Ansible script and waiting for it to slowly realize it can skip a majority of the script)

    Just have good backups (which i am still delaying doing and will probably bite me in the ass sometime) and the rest doesnt really matter IMO.

    3 votes
  8. Comment on Is Firefox okay? in ~tech

    admicos
    Link Parent
    FYI Firefox already defaults to Yandex in Turkey.

    Longer term, maybe Baidu and Yandex will set their sights on the West and start looking for partners.

    FYI Firefox already defaults to Yandex in Turkey.

    1 vote
  9. Comment on Is Firefox okay? in ~tech

    admicos
    (edited )
    Link Parent
    Would there be anything stopping them from cutting off Mozilla anyway and lawyer-ing their way into making the courts see Chromium "forks" like Vivaldi or Brave as competition to Chrome?

    Would there be anything stopping them from cutting off Mozilla anyway and lawyer-ing their way into making the courts see Chromium "forks" like Vivaldi or Brave as competition to Chrome?

    2 votes
  10. Comment on Can someone explain the systemd controversy to a nontechnical user? in ~tech

    admicos
    Link Parent
    I am currently experiencing this on my Arch+KDE+Wayland setup. If I just click shut down, it will take (originally) 1min 30sec to stop jobs (configurable via /etc/systemd/system.conf ,...

    I am currently experiencing this on my Arch+KDE+Wayland setup.

    If I just click shut down, it will take (originally) 1min 30sec to stop jobs (configurable via /etc/systemd/system.conf , DefaultTimeoutStopSec).

    In my experience, closing Firefox and Steam before shutting down seem to sometimes help, but it's not consistent.

    I'm not sure if this is the fault of systemd or something else (Firefox? Steam? idk), but that timeout is way too long.

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

    admicos
    Link Parent
    Oh, that might only happen because I have a deactivated/redirected account there (so it redirected to settings) Yeah, that is true. I recall there being some effort on connecting the web and login...

    I tried the link in an Incognito window and it redirects to a shorter link. So it seems it's not the preferred link but it works?

    Oh, that might only happen because I have a deactivated/redirected account there (so it redirected to settings)

    It doesn't seem obvious in the UI how you get the shorter link, unless you just remember how it works.

    Yeah, that is true.

    I recall there being some effort on connecting the web and login UIs together, but the implementation I recall required JS even for logged out views, which makes using a JS blocker way harder than it needs to be (considering the amount of instances out there, and considering how federation might not give you the full picture on smaller/single-user instances)

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

    admicos
    (edited )
    Link Parent
    .social (and .online, which is also hosted by the same people) should be reasonably stable, although I recall admins of some other instances being wary of accounts from these two instances (in...

    Hopefully mastodon.social should work for a long time since it's the most famous one, right?

    .social (and .online, which is also hosted by the same people) should be reasonably stable, although I recall admins of some other instances being wary of accounts from these two instances (in some cases, blocking the instances), as both instances don't seem to have much moderation compared to the activity. (Or so I read)

    In short, yeah, choosing instances are hard.

    (Also, don't use /web/ urls to link. They only work for people on the same instance as you)

    1 vote
  13. Comment on What are your favorite Linux distributions to use for gaming and as a daily driver, and why? in ~comp

    admicos
    Link Parent
    I doubt OP would gain anything waiting for SteamOS. SteamOS isn't going to be much more than a console UI with a desktop "as a bonus". If there are any gaming improvements on SteamOS that's not in...

    I doubt OP would gain anything waiting for SteamOS.

    SteamOS isn't going to be much more than a console UI with a desktop "as a bonus".

    If there are any gaming improvements on SteamOS that's not in "Generic" Linux just yet, they will probably get ported over (I don't see Valve keeping any to themselves, assuming no proprietary licensing happens¹), without the need to re-install anything (as you would do when switching between distros)


    ¹: Even if a proprietary licensed or Valve-special improvement exists, someone will attempt to unofficially port it over anyway.

    4 votes
  14. Comment on Installing every Arch Linux package in ~comp

    admicos
    Link
    ok, now do the AUR </joke>

    ok, now do the AUR

    </joke>
    2 votes
  15. Comment on Ask Tildes: What small purchase has vastly improved your life? in ~life

    admicos
    Link Parent
    <snarky android user voice> yeah, that tends to happen with anything reasonably powerful </snarky android user voice>
    <snarky android user voice> yeah, that tends to happen with anything reasonably powerful </snarky android user voice>
  16. Comment on Ask Tildes: What small purchase has vastly improved your life? in ~life

    admicos
    Link Parent
    I've been thinking about this for a few hours, and this I think this could be possible with Tasker. I might try making it for myself, even. A quick search on Taskernet (using Taskernet Collector)...

    I wish they’d throw all of those messages into a different bucket

    I've been thinking about this for a few hours, and this I think this could be possible with Tasker. I might try making it for myself, even.

    A quick search on Taskernet (using Taskernet Collector) suggests this hasn't been done in the past, but I don't see a reason why it can't be possible.

    1 vote
  17. Comment on Ask Tildes: What small purchase has vastly improved your life? in ~life

    admicos
    Link
    If we're allowing digital purchases: Tasker (and also a few bits of the AutoApps suite). I do not have as much of a need for them right now as I have a much more flexible computer ready and don't...

    If we're allowing digital purchases: Tasker (and also a few bits of the AutoApps suite).

    I do not have as much of a need for them right now as I have a much more flexible computer ready and don't "go outside" as much, but when I need them, they can become very useful.

    I currently use it for some "small things", from turning up the brightness and toggling autorotation in certain apps (camera, gallery, youtube newpipe) to automatically copying the 2FA code my bank sends (through SMS, in 2022!) when it arrives.

    If you add Termux into the mix, you can also do things like: unspeakable ffmpeg incantations, or SSHing into a machine to run wget or yt-dlp on it to acquire the funnies, or (probably) anything else you can compile to arm64.

    9 votes
  18. Comment on Tilweaks: A user style I made to "clean up" Tildes' interface in ~tildes

    admicos
    Link Parent
    I'm bumping this thread again because after some time this got a new update. Here are the new changes The link is no longer broken anymore, and because it's no longer on my server, I'd expect it...

    I'm bumping this thread again because after some time this got a new update. Here are the new changes

    • The link is no longer broken anymore, and because it's no longer on my server, I'd expect it to break less.
      • Not because of any stability issues, but because I often nuke and re-start my server.
      • I added a redirect to the last few links, so if you have automatic updates set on your userstyle injector, it should update in about a day. You can reinstall the style to make it quicker.
        • Unless you have a very old version.
    • New feature: "Make Long Content Easier to Read". This is a "port" of a style I personally used for some time now. It bumps up the font size of text and adds a bit of spacing. This is disabled by default.
      • I added it mainly because I was used to it, It probably does very little to improve reading in general.
    • New feature: "Hide votes". This is another "port" of one of the hide votes userstyles out there (can't recall which). Also disabled by default.
      • I recall having to modify it a bit to make it work, so probably not a direct port like the other one.
    • Disabled the donation box customization by default since the donation box hasn't been there for some time now. This is probably going to get removed in the future.
    • Bumped up the default font size to 20px.
    • Disabled the "themed logos" feature by default since it does 3rd party requests to GitLab, which some people might want to avoid.
    • Disabled the "thin logo font" feature by default since it looks bad on some fonts.

    I am not exactly sure if changes in the defaults will affect your own preferences, so consider checking if you previously modified one of the things I changed.

    4 votes
  19. Comment on After ruining Android messaging, Google says iMessage is too powerful in ~tech

    admicos
    Link Parent
    Are you running anything other than Matrix on there? The last time I tried Synapse it was very slow on that kind of hardware even if it was the only thing on the server. That said, just a few...

    Are you running anything other than Matrix on there? The last time I tried Synapse it was very slow on that kind of hardware even if it was the only thing on the server.

    That said, just a few minutes ago I managed to fix my broken Conduit install (was a really dumb mistake), so I expect my opinion on Matrix to maybe change in the future.

    (Joining rooms are still slower than what I expect, but whatever)

    2 votes
  20. Comment on After ruining Android messaging, Google says iMessage is too powerful in ~tech

    admicos
    Link Parent
    That's where the "so far" on the first sentence comes into place. I am mostly hopeful about Matrix, but they're not there just yet, at least in my experience. Though they do make decisions I find...

    That's where the "so far" on the first sentence comes into place.

    I am mostly hopeful about Matrix, but they're not there just yet, at least in my experience.

    Though they do make decisions I find weird so far, like the protocol copying the entire chat room to every server connected to it (which is why Dendrite didn't work well when I tried it), or the people trying to make Matrix a "one protocol does all" thing with their experiments on a social network thing (can't recall the name) and whatnot.

    I'm also curious if an XMPP style "death by extensions" will eventually happen to Matrix as well. There already is a range of feature support in clients, some supporting not much, some supporting a lot, and only Element supporting basically everything you'd need. (Not to mention the same thing on the server side, too)

    2 votes