trem

joined 4 months ago
[–] trem@lemmy.blahaj.zone 4 points 1 day ago (3 children)

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

[–] trem@lemmy.blahaj.zone 32 points 1 week ago (1 children)

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

[–] trem@lemmy.blahaj.zone 16 points 1 week ago

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.
[–] trem@lemmy.blahaj.zone 5 points 1 week ago* (last edited 1 week ago)

Part of it is that the sun rises later there. They are still in the same timezone, but it's been comically expanded:

[–] trem@lemmy.blahaj.zone 8 points 1 week ago

Huh, isn't that just plastic bullshit? Why is it so expensive?

[–] trem@lemmy.blahaj.zone 7 points 1 week ago

By the way, it's absolutely not just Germany that does it the other way:

Map showing the world is split roughly fifty-fifty.

https://en.wikipedia.org/wiki/Decimal_separator#Conventions_worldwide

[–] trem@lemmy.blahaj.zone 15 points 1 week ago

It was originally written in Zulu, where it was "wembube" ("of the lion").

Then the song got colonized and distributed into the US under the title "Wimoweh".

Later the lyrics "the lion sleeps tonight" got added, but from what I can find, they did not change the "wimoweh".

https://en.wikipedia.org/wiki/The_Lion_Sleeps_Tonight

[–] trem@lemmy.blahaj.zone 3 points 1 week ago (1 children)

No, they mean the license costs. I'm pretty sure, you only have to pay a fee for Docker Desktop...

[–] trem@lemmy.blahaj.zone 24 points 1 week ago (5 children)

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

[–] trem@lemmy.blahaj.zone 2 points 1 week ago

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

[–] trem@lemmy.blahaj.zone 7 points 1 week ago (1 children)

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@lemmy.blahaj.zone 3 points 1 week ago (1 children)

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.

 

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.

view more: next ›