[-] trem 1 points 8 hours ago

Ah, guter Punkt. Soweit um die Ecke hatte ich nicht gedacht.

[-] trem 2 points 14 hours ago

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.

[-] trem 6 points 14 hours ago

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. 🙂

[-] trem 1 points 16 hours ago

Cork leather is likely what you want, at least it's available already.

My cork leather belt has lasted easily three times as long as my faux leather belts before that, and it's the buckle that crapped out in the end.

[-] trem 2 points 19 hours ago

The file has to be called userChrome.css, with a capital C.

[-] trem 19 points 19 hours ago* (last edited 19 hours ago)

Humanity started growing massively when the Industrial Revolution hit:


Source: https://ourworldindata.org/population-growth-over-time

So, that would be a factor, whether they'd still have access to technology (and whether we'd expect them to be able to maintain at least some of this technology).

[-] trem 2 points 19 hours ago

Vemondo ist eine Eigenmarke von Lidl, also wirst du nur in Lidl-Supermärkten finden.

Kenne mich mit Sojadrinks nicht aus, aber habe mich schon gefragt, ob vielleicht die "Barista"-Variante, die man teilweise bekommt, dann dickflüssiger ist.
Die sollen ja zum Aufschäumen gut sein, also vermutlich mehr Protein, aber hilft bestimmt auch beim Aufschäumen, wenn sie nicht so wässrig sind...

[-] trem 3 points 22 hours ago

I would most definitely think so, since they're just using it for the pan anyways...

[-] trem 1 points 1 day ago

Wut. Didn't they release that game like 4 times already?

[-] trem 11 points 2 days ago

Just to kind of confirm this:

ls -l does not show them like hard links, but rather like soft/symbolic links.

But when I do tail -f /path/to/file.txt on a file (to keep it open in a process) and then delete the file, I get this output in ls -l:

3 -> '/path/to/file.txt (deleted)'

The 3 seems to just be an incrementing number for each file opened by the process. And then, well, obviously the file isn't now called "file.txt (deleted)". That is just a name the kernel makes up when ls -l asks it what's in that directory.

So, presumably the kernel keeps a separate copy of that file in memory until the process closes the file or is terminated. And then exposes it through this pseudo-softlink rather than making use of hardlinks.

[-] trem 6 points 3 days ago

I would use an enum. Booleans are bad, because they don't tell you what true means. And specifically named functions are bad, because you cannot pass them through the codebase as data (without resorting to entirely functional patterns).

I mean, your examples are in C, which has shit enums that are just integers, so at runtime you won't know either what a 1 is without context.
And I believe the compiler doesn't stop you either from passing a different enum or just an integer into a parameter with that enum as type.
But at least it'll be written in the code what you hope to get passed, so...
it's something.

[-] trem 49 points 3 days ago

I mean, maybe, but I seriously would not underestimate the internalized misogony of older women.

A few years ago, we had an event in our village and I was assigned to do the dishes, along with a handful of younger girls.
And for whatever reason, my aunt came into the kitchen, saw me in the dishwashing corner and then basically wanted me to say that I was only there to show the girls how to do it, not because I was working there myself.

Like she was seriously disgruntled when I replied that the girls know just as well how to do it.

13
submitted 1 month ago by trem to c/programming@programming.dev

cross-posted from: https://lemmy.blahaj.zone/post/45574613

Hello, I built a CLI that gives you web links for stuff in your repo you might want to link to.

You know the situation. Your coworker checked in some real garbage and you want to politely ask what they were thinking. But now you gotta describe where the code snippet is and they have to open it in their text editor and so on. Alternatively, you could open up your Git forge's webpage and navigate to the file, copy a permalink and send it to them. Also takes quite a bit of time.

With the CLI, you can instead just paste the local file path and it gives you the permalink right away.
Similarly, you can also get a direct link to an issue or PR, which's number you might've found in a commit message.

There's a release available for download for Linux x86_64: https://codeberg.org/trem/forge/releases
And if you've got the Rust toolchain on your system, then you can also install it like so: cargo install --git https://codeberg.org/trem/forge

P.S.: The implementation is somewhat hacky, because a Git repository doesn't really know what webpage it was cloned from. So, please do let me know, if you run into any issues.

7
submitted 1 month ago by trem to c/programming@lemmy.ml

Hello, I built a CLI that gives you web links for stuff in your repo you might want to link to.

You know the situation. Your coworker checked in some real garbage and you want to politely ask what they were thinking. But now you gotta describe where the code snippet is and they have to open it in their text editor and so on. Alternatively, you could open up your Git forge's webpage and navigate to the file, copy a permalink and send it to them. Also takes quite a bit of time.

With the CLI, you can instead just paste the local file path and it gives you the permalink right away.
Similarly, you can also get a direct link to an issue or PR, which's number you might've found in a commit message.

There's a release available for download for Linux x86_64: https://codeberg.org/trem/forge/releases
And if you've got the Rust toolchain on your system, then you can also install it like so: cargo install --git https://codeberg.org/trem/forge

P.S.: The implementation is somewhat hacky, because a Git repository doesn't really know what webpage it was cloned from. So, please do let me know, if you run into any issues.

view more: next ›

trem

joined 4 months ago