Interests: programming, video games, anime, music composition

I used to be on kbin as e0qdk@kbin.social before it broke down.

  • 2 Posts
  • 26 Comments
Joined 2 years ago
cake
Cake day: November 27th, 2023

help-circle



  • the thumbnails now are even more clearly 4-pixel potatoes

    pictrs’s thumbnail parameter uses dumb raw pixel sampling – which leaves something to be desired… It has other sampling options implemented (with resize, according to the docs), but they don’t seem to accessible on my instance. You can remove thumbnail=96 if you want to get the image without that thumbnail sampling, at least.

    make everything zoom 150%

    I do this with my browser’s UI (ctrl-plus keyboard shortcut in FF-based browsers works for me).

    e.g. right side bar

    [...document.querySelectorAll(".side")].forEach(sidebar => sidebar.remove())

    You could also just adblock the element with class side.



  • Voting

    You could support this by making vote buttons submit a form if JS isn’t enabled. (That’s what mlmym does.)

    Can’t manually switch between dark and light mode

    Hmm… There are some pretty nifty things you can do with a hidden checkbox, label, and some clever CSS (e.g. html:has(#element:checked) + CSS variables – though FYI :has is baseline 2023.)

    Making it persistent would require some more effort – e.g. form + cookies + server side style sheet selection, most likely. mlmym lets users change their theme w/o JS by submiting a form on the setting page. I’d have to think a bit if there’s a good way to make it persistent across multiple requests for logged out users with a CDN caching things in between though…

    only automatically based on browser settings

    Doesn’t actually work for me in a FF138-based browser w/ JS blocked via NoScript – I always get light mode despite having a dark mode preference set. (Where do you have your prefers-color-scheme media query?)

    Also, FYI I had to manually override font restriction – otherwise all your buttons end up as tofu characters. (I think NoScript is being kind of unreasonably strict there by blocking first party fonts.) That’s a papercut kind of issue, but figured I’d point it out in case it might save you some debugging time if you get confused NoScript users in the future.





  • I picked an RNG name since my old common username (from reddit, etc) was not available when I started on kbin.social (RIP) and I couldn’t think of anything else I wanted to be called. I deliberately kept it short though. Not sure what to make of other RNG names – esp. long unintelligible ones – but I’ve seen at least one account that I think is legit which has a long, bizarre RNG-looking username and a non-English display name, so 🤷️




  • Thanks. I’m still learning both Go and the codebases involved. I’m pretty limited on free time where I’ve got both large enough blocks of time and energy to concentrate effectively on this. I’m also not very enthusiastic about taking on the administrative aspects of running an open source project – I’m only really interested in keeping a JS-free version of Lemmy usable – so contributing changes to a common community fork you’ve already got up and running sounds good to me!

    I do have some specific issues in mind that I’d like to implement fixes for once I’m up to speed. In particular:

    • There is improper filtering when a user submits a comment which results in certain text being stripped from the message instead of escaped properly. I’m not sure if this is an issue in mlmym itself or one of the libraries it uses, but I’d like to track it down and get it fixed.
    • Federated image links to non-lemmy websites sometimes show up as image_proxy links from the poster’s instance. This is a really annoying issue that results in misleading domains showing up next to posts as well as breaking image display in the post itself.
    • Comments sorted by ‘new’ (and maybe other modes?) don’t paginate properly.

    I may take on some other issues after that, but those three are what I want to fix most right now.



    • Sandbox a general computer security term for a limited area that untrusted code can operate in. Essentially, think of an unruly kid – it’s allowed to play in its sandbox and could make a big mess there, but it shouldn’t be able to mess up the rest of your house if it’s only allowed to play in the sandbox.

    • Site Isolation According to this post from 2021 on Mozilla’s blog, “Site Isolation” is the term they picked for loading different websites in different OS processes. As an ELI5… maybe think of it like moving from sites being in the computer equivalent of neighboring apartments to being in different buildings? IRL, you’re supposed to have a certain amount of privacy and security in your apartment but there’s limits because of the physical construction… A half decade or so ago, people figured out that you can do the equivalent of sticking your ear against the wall to try to hear what people were saying in the apartment next door; it’s more challenging to do that if you’re in the digital equivalent of a different building…

    • Total Cookie Protection Metaphorically speaking, websites can tape a name tag (“cookie”) to your jacket without you noticing. That includes not just the direct operator of the site (who use cookies like that to keep you logged in) but also other people like advertisers on the site. In the old way of handling cookies, whoever stuck that name tag on your jacket can read it, so advertisers could figure out the equivalent of “Oh that’s Bob – he just went to Walmart, and then the bank, and now he’s at a swap meet looking at used manga.” if they were advertising on all those sites. “Total Cookie Protection” as Mozilla calls it is basically changing your jacket for each place you visit. Bob has a jacket for Walmart, a jacket for the bank, and a jacket for the swap meet. The advertiser can tell if Bob’s been to those places before – the metaphorical name tags are still on each one – but doesn’t know it’s the same Bob who was just at the bank since he changed his jacket.

    • First Party Isolation seems to be an older name for a similar idea brought back into Firefox from Tor Browser. “Total Cookie Protection” seems to be Mozilla’s marketing of it when they enabled it by default, as far as I understand it? (There may be other features of it that I don’t understand though.)

    • Multi Account Container Going back to my name tag and jacket metaphor again, this is a feature that lets you have essentially multiple jackets for the same place that you can choose between. You can have your work clothes and your personal clothes and pick which is appropriate for the situation, metaphorically speaking. Particularly useful if you have multiple webmail/social media/whatever accounts from the same provider and want to stay logged in to all of them.


  • Sichuan pepper provides a numbing effect. It’s usually combined with spicy chili to make the Chinese “mala” taste.

    The numbing effect was the most memorable part of my experience of trying tantanmen when I was in Japan a long time ago; I hadn’t encountered Sichuan pepper before that, so it was quite surprising!

    If you’re getting the numbing effect then there’s some mixed into one of the ingredients you used. If not, you’re missing out on an interesting ingredient that you can use in the dish.




  • You can get motherboards with enough slots if you’re willing to pay enterprise prices for them. I have a system with 1TB of RAM at work that I use as a fast data cache. I just mount tmpfs on it, write hundreds of gigs of data into it (overwriting it all every few hours), and it works great. Cost was somewhere in the $10~15K (US) range a few years ago, IIRC. Steep for an individual, sure, but not crazy for an organization.