admicos's recent activity

  1. Comment on Its still rough, but I made a really busy tildes theme in ~tildes

    admicos
    Link Parent
    Author of Tilweaks here, I recently deleted the Gitea instance at git.ebc.li so that's why the link's dead. I've (probably temporarily) uploaded it to...

    Author of Tilweaks here, I recently deleted the Gitea instance at git.ebc.li so that's why the link's dead.

    I've (probably temporarily) uploaded it to https://gist.github.com/Admicos/61f67d37cd0e0ad9dd494c87ec8fe6b8 while I procrastinate think about what to do next. The auto updates will be broken as it was a quick copy paste job, but the theme should still work. Click the Raw button to install it

    cc @tomf

    5 votes
  2. Comment on NewsBlur Mongo database deleted in ransom attack (and restored) in ~tech

    admicos
    Link Parent
    Oh yeah, Docker doesn't work with UFW. I hit that same issue too and had to resort to not hosting anything not-public. (In my case I was trying to do VPN-only access) Maybe now that someone high...

    Oh yeah, Docker doesn't work with UFW. I hit that same issue too and had to resort to not hosting anything not-public. (In my case I was trying to do VPN-only access)

    Maybe now that someone high profile got hacked, they will fix it.

    Or maybe I'll switch to podman, assuming they don't have this issue...

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

    admicos
    (edited )
    Link
    Made a tiny Minecraft mod to make it run semi-properly under Wayland (without XWayland). It does also requires a patched version of GLFW (to not freeze after some time). Honestly, it can probably...

    Made a tiny Minecraft mod to make it run semi-properly under Wayland (without XWayland). It does also requires a patched version of GLFW (to not freeze after some time).

    Honestly, it can probably be done entirely on the GLFW side of things and I might work on that at some point (I already found some patches that seem to do all the work :P)

    If anyone is interested, here are the links:


    EDIT: Shortly after writing this comment, I decided to do the GLFW-only thing, so I did. It's a proper guide this time

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

    admicos
    (edited )
    Link Parent
    I'll try it, thanks for the recommendation! Edit: It seems to work pretty well, thanks again!

    I'll try it, thanks for the recommendation!

    Edit: It seems to work pretty well, thanks again!

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

    admicos
    Link
    Reformatted my computer and installed Fedora on it. Usually I'd install Arch and tweak it, but lately I've been wanting something that "just works", and decided on Fedora because I never really...

    Reformatted my computer and installed Fedora on it. Usually I'd install Arch and tweak it, but lately I've been wanting something that "just works", and decided on Fedora because I never really used it and wanted to know how it was.

    For the day or so I've been using it, it's really pleasant so far. I did have to install some extensions to GNOME shell, and I had to add some userChrome.css magic to Firefox so the top bar takes up less screen space. I don't know if it counts as "just works" anymore, but hey, it was easier than caring about "ricing" and whatnot.

    I do miss some stuff like my screenshot uploading script, but I found an extension that uploads screenshots to Imgur, so I hope that would be enough, though I'd prefer uploading them to my own server instead.

    I am also thinking of shutting down my Gitea, Drone, and a few other selfhosted things, just to clean stuff up further, but I am not entirely sure on that just yet.

    4 votes
  6. Comment on What's a cool and not-well-known thing that people can do with their phone/computer? in ~tech

    admicos
    Link Parent
    And there is a chance your non-Pixel Android phone might have a port of it's camera too! Just search for "GCam port <device>" on your favorite search engine (or just browse through this site and...

    And there is a chance your non-Pixel Android phone might have a port of it's camera too! Just search for "GCam port <device>" on your favorite search engine (or just browse through this site and try it all I guess)

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

    admicos
    Link
    I made gitserv a couple days ago. It's a thing that lets you view the contents of Git repos as static websites. The only difference between this and pointing a web server into a folder is that...

    I made gitserv a couple days ago. It's a thing that lets you view the contents of Git repos as static websites.

    The only difference between this and pointing a web server into a folder is that this supports "bare" git repositories. They are essentially the same thing as just the inside of the ".git" folder in normal repositories, and are used by all of the Git server software I know of.

    2 votes
  8. Comment on Best way to consume YouTube without the algorithmic results? in ~tech

    admicos
    Link
    I personally subscribe to YouTube channels through RSS (Miniflux and Nextcloud News are two readers I know of that automatically convert channel URLs to RSS URLs) and watch them through mpv....

    I personally subscribe to YouTube channels through RSS (Miniflux and Nextcloud News are two readers I know of that automatically convert channel URLs to RSS URLs) and watch them through mpv. Recommendations don't appear unless I want them to and it doesn't take much of my system resources that could be gone to other stuff.

    I also have a script to read and convert YouTube/Invidious links in my clipboard and prompt me to open them in MPV, saving me the hassle of opening a command line and whatnot.


    If your reader doesn't support converting channel URLs to RSS feeds, here's how:

    • Get the channel id:

      • https://youtube.com/channel/UCl2mFZoRqjw_ELax4Yisf6w (the UCl2mFZoRqjw_ELax4Yisf6w part is the channel ID)
      • On Invidious, when you're on a channel page the ID will be shown on the search bar as channel:UCl2mFZoRqjw_ELax4Yisf6w, which might be helpful if the channel is using a custom YouTube URL or something
    • Paste it in this special URL

      • https://www.youtube.com/feeds/videos.xml?channel_id=UCl2mFZoRqjw_ELax4Yisf6w (replace my given channel ID)

    The search bar part can be done through various Invidious instances. In Firefox you can right click the search bar on your favorite instance and "Add keyword for this search" to make it easier for you to get at it. (Type your keyword on your URL bar and Firefox will automatically start searching there)

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

    admicos
    Link Parent
    on a whim i decided to do this with a "real" ai using https://github.com/minimaxir/gpt-2-simple . it ended up. well, i think it actually "overfitted" a bit (started copying actual content, afaik)...

    on a whim i decided to do this with a "real" ai using https://github.com/minimaxir/gpt-2-simple .

    it ended up. well, i think it actually "overfitted" a bit (started copying actual content, afaik)

    i used google's colab to train it, though i might redo it with my old gpu later on if i care enough. it's just that installing cuda on windows is painful.

    i'd love to give examples but the source data is both "in Turkish" and "private group conversations" so I can't.

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

    admicos
    Link
    Making a semi-private Discord bot for a group of friends. I just today made a markov chain text generator that uses the group's message history to generate some text and it went... well? It's...

    Making a semi-private Discord bot for a group of friends. I just today made a markov chain text generator that uses the group's message history to generate some text and it went... well? It's mostly gibberish but there definitely is some gold between the mess.

    Also it's starting to get slow at reading 4-5k messages per call, so maybe i should put a limit to that soon.

    4 votes
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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