trem

u/trem@lemmy.blahaj.zone
3 posts · 385 comments

Recent posts

Recent comments

In programming, we use a tool called "Git" to keep track of changes we make to a piece of software, well, and also to collaborate with other devs.

I've been using Git to have a history of how my text-based creative projects evolve (not just writing 😅). And then I'm publishing those like an open-source code repository. So, others can go through the history and look at the first draft, or the final edits, or everything in between.

Obviously, though, this does mean that your final result is public as well, unless you find a way to only give access to paying customers, I guess.

To give an example, here's a short tech explainer thingy I wrote: https://trem.codeberg.page/rust/macro_rules.html
And here's the complete change history: https://codeberg.org/trem/pages_src/commits/commit/830718aaa788ac00fb7ba9635c405f7c18cc76fb/src/rust/macro_rules.md

Conversely, ads are now one of the primary vectors how malware is distributed, so you still have at least 3 viruses on your computer. 👍

You can still move your folder from .config/librewolf/ to .librewolf/ and it will use it from there. At least, it works like that in Firefox (potentially to be removed in the future, but there's no real reason to remove it any time soon).

But yeah, I don't know how that works together with KeePassXC. I mean, if it worked on LibreWolf before, then presumably moving the folder back to .librewolf/ should fix it until KeePassXC is updated...

(And yes, the .config/ directory is specified by the XDG standard.)

(Also, good shout about the directory being relevant. I guess, that's also why the extension is currently broken for me, because I was a bit too eager to switch to the .config/ dir. 🙃)

Hab schon von Leuten aus Großbritannien gehört, dass jetzt eben alles mögliche mit Süßstoffen vollgeballert ist. Das ist auch nicht geil, weil:

  • Süßstoffe teilweise auch gesundheitsschädlich sind,
  • Süßstoffe immer auch einen komischen Nebengeschmack haben, und
  • sich die Geschmackswahrnehmung nicht an die geringere Süße gewöhnen kann. Also wenn man z.B. ein paar Wochen hart auf Zucker und Süßstoffe verzichtet, dann schmeckt einem danach vieles wesentlich süßer als davor, ohne dass endlos Zucker oder Süßstoffe drin sein muss.

Are you on Windows? On Windows, filename capitalization in general does not matter.
But OP seems to be on Linux. I just tried it on Linux with the filename as "userchrome.css" and it was not loaded.

I would've been very surprised, if it did work on Linux, macOS etc., because to my knowledge, as a software engineer, there is no way to implement that without a second filesystem access, which would've delayed startup.
Nowadays, you even have to set a about:config flag, specifically because they don't even want the first filesystem access to try to load the file...

Oh man, that does not register as food to my brain, from all the food dyes. If the packaging wasn't there, you could've told me this is a cleaning sponge and I might've believed you...

Hmm, not a lot to go off of then.

Can you just go through these steps to see if anything isn't set up correctly?
https://www.userchrome.org/how-create-userchrome-css.html

You can also check via the Browser Toolbox, whether the file gets loaded.
In the "Style Editor" tab, you can filter the list on the left and if "userChrome.css" isn't listed there, then it didn't get loaded.

If it is listed in the Style Editor, then something about your rules is broken. You might be missing !important in places.
Or your CSS rules might not target the right classes/ids/variables anymore. For example, I had a breakage about a month ago, because they renamed the CSS variable --toolbarbutton-inner-padding to --toolbarbutton-padding-inner.

MDN has a really good tutorial: https://developer.mozilla.org/en-US/docs/Learn_web_development/Core

I also want to throw in that a "static site generator" would probably be up your alley.
It is additional software, but it just gives you HTML+CSS in the end, so you can still upload to NeoCities or the like. It would effectively replace PHP for your use-case.

Knowing some HTML and CSS, and the rest of what you learned in that tutorial, is still helpful, as you may want to customize your template, but for the most part you can just write your blog posts in Markdown and it'll generate the HTML with navigation links for you.

Of course, a static site generator is still an additional layer of complexity. For learning how HTML and such work, it's definitely valid to plug everything together yourself. 🙂