- 6 Posts
- 36 Comments
Quoting!
mkdir “geh oida”
macht was anderes als
mkdir geh oida
(Fast) immer alle Variablen quoten in shell scripts.
Well, that won’t work on openbsd (and probably freebsd), because non-default.stuff lands in /usr/local/bin.
For Linux you should be fine though.
Uhm, yes. I noted exactly that as well.
Also bash is not always at /bin/bash :-)
Let me just drop my materials for a talk i’ve given about basically this topic: https://codeberg.org/flart/you_suck_at_shell_scripting/src/branch/main/you_suck.md
Mainly because: The linked article is all nice and dandy, but it completely ignores the topic of double brackets and why they’re nice.
And also, and this is my very strong opinion: if you end up thinking about exception handling (like the mentioned traps) in shell scripts, you should stop immediately and switch to a proper programming language.
Shell scripts are great, i love them. But they have an area they’re good for and a lot of areas where they aren’t.
This is an excellent picture.
I like it so much that it now resides in my wallpapers directory. Hope you don’t mind :-)
cr1cket@sopuli.xyzto
DACH - Deutschsprachige Community für Deutschland, Österreich, Schweiz@feddit.org•Orientierungspapier kritisiert aktuelle Lage von KI im Bildungssystem
8·2 months agoOder wir lassen den Scheiss einfach bleiben?
So wegen dem Planeten waers.
cr1cket@sopuli.xyzto
Programming@programming.dev•Nobody knows how large software products work
134·3 months agoOh it will definitely tell you something. It will be complete bullshit, but it’s something.
cr1cket@sopuli.xyzto
Programming@programming.dev•Logging Sucks - A review of challenges with logging
41·3 months agoOf course not. But the shareholder value!
cr1cket@sopuli.xyzto
Photography@lemmy.ml•What thick BnW film for easy manual development ?
4·4 months agoYou hold the film on the edges and let it slip through while winding it on the reel. There’s a bunch of videos that show the process. It’s pretty straight forward.
As with everything: pratice first until you can literally do it blindly.
I don’t wear any gloves. I start with clean hands and whatever tiny fingerprint-fragment might get onto anything, will be dissolved multiple times by the chemicals anyway :-)
cr1cket@sopuli.xyzto
Photography@lemmy.ml•What thick BnW film for easy manual development ?
41·4 months agoPlastic reels just have a tendency to jam. In the end it’s basic physics. You push a thin and flexible material down into a spiral. At some point the resistance will win.
If you keep your plastic reels clean and dry(!) and use films with a decently thick base, it usually still works fine though. Once you use a a film with a more flimsy base, this will turn into a problem.
The make of the film material is basically zero problem with metal reels though, because you wind the film onto them. No pushing of flexible material involved. Metal reels also just work fine if you get sweaty hands inside your changing bag because it’s summer and everything is hot.
I mostly use metal reels nowadays. Because the handling is absolutely predicatable and they’re also easier to clean and dry. Sometimes i still use the plastic reels, because i have them, but only with films like Ilford. Because they are thick enough to not jam up everything.
cr1cket@sopuli.xyzto
Programming@programming.dev•Cloudflare outage on November 18, 2025
3·4 months agoThey also apparently didn’t do any input validation. This is why a faulty config was able to even trigger all of that.
cr1cket@sopuli.xyzto
DACH - Deutschsprachige Community für Deutschland, Österreich, Schweiz@feddit.org•Petition: Palantir des Faschisten Thiel "kein Partner" Deutschlands
8·5 months agoDer andere Linke hat ein Komma falsch gesetzt! Das ist unvereinbar mit meinen Idealen darum bin ich gegen ihn!
cr1cket@sopuli.xyzto
Programming@programming.dev•Scripts I wrote that I use all the time
5·5 months agoSome nice ideas in there.
Only the “markdownquote” thing is kinda pointless, especially since they mention it’s mainly used in vim. Because vim can do exactly that already without the need of an external script. Do ctrl+v, mark the lines you want, press “I” (capital i), insert the desired thing, press esc and voila… all the selected lines are now prepended with the desired thing.
edited to make my comment sound less harsh: Nothing wrong with building your own solution if that feels better to oneself though :-)
cr1cket@sopuli.xyzto
DACH - Deutschsprachige Community für Deutschland, Österreich, Schweiz@feddit.org•Frage: Gibt es eine gute Einsteigerdoku/Artikel (Medium egal) die Peter Thiel's "Philosophie" erklärt (Curtis Yarvin, Dark Enlightenment), und seine Macht über Trump?
2·6 months agoTeilweise relevant https://media.ccc.de/v/38c3-longtermismus-der-geist-des-digitalen-kapitalismus
Und erklärt ziemlich viel vom aktuellen Wahnsinn.
cr1cket@sopuli.xyzto
Cyberpunk@lemmy.zip•Tron: Ares was never going to succeed at the box officeEnglish
11·6 months agoAFAIK quite a bunch of it isn’t even CGI. Lots of creative lighting tricks and just very well done classic animation.
cr1cket@sopuli.xyzto
Today I Learned@lemmy.world•TIL all photographic film and photo paper contain gelatin made from animal bonesEnglish
22·6 months agoFun fact: Kodak had some issues with gelatine that contained too much sulfur back in the 1920s, which ruined a lot of the material they were producing. Happened because the cows have eaten a different type of grass.
This led to Kodak becoming a large cattle farming company too, so they had control over that part.
Side effect of this was the development of faster film.
Film science is completely bonkers.



https://bikerouter.de/
:-)