I’m not UlrikHD
- 1 post
- 87 comments
UndercoverUlrikHD@programming.devto
Linux@programming.dev•The BEST Shell You’re Not Using - Fish - YouTube
10 monthsHow is Go safer?
UndercoverUlrikHD@programming.devto
Programmer Humor@programming.dev•I wonder if this was made by AI or a shit programmer
11 monthsWhat big advantages does pathlib provide? os.path works just fine
First paragraphs in the article
Writing a package manager is not one of the most common programming tasks. After all, there are many out-of-the-box ones available. Yet, somehow I’ve found myself in exactly this situation.
How so?
I’m a big fan of SQLite and its extensions. Given the large number of such extensions in the wild, I wanted a structured approach to managing them. Which usually involves, well, a package manager. Except there is none for SQLite. So I decided to build one!
That’s for images though, not text content.
UndercoverUlrikHD@programming.devto
Reddit@lemmy.world•Reddit will keep old Reddit online ‘as long as people are using it,’ says CEO
1 yearBoost still works as long as you patch it with your own API key
UndercoverUlrikHD@programming.devto
Programming@programming.dev•Devs sound alarm after Microsoft subtracts C/C++ extension from VS Code forks
1 yearUniversity students get free pro licenses for jetbrains IDEs I think
UndercoverUlrikHD@programming.devto
Programming@programming.dev•The Rise of Slopsquatting: How AI Hallucinations Are Fueling a New Class of Supply Chain Attacks
1 yearIt’s just a variation of typosquatting as the author themself acknowledge. I always have to double check the package name when installing a new package. This just seems like a natural variation of it.
I think it’s a thing mainly for hobby programmers and young students that don’t have a solid foundation/grasp of programming yet, which also likely makes up a big portion of programming meme communities.
Functional programming would have quite the problem if it wasn’t a thing.
UndercoverUlrikHD@programming.devto
Programmer Humor@programming.dev•Job Interview Question for Team Lead Position
1 yearThe hen can’t be alone with the fox or the grain, so it’s still the same.
UndercoverUlrikHD@programming.devto
Programming@programming.dev•Pythonx: A Python interpreter for Elixir
1 yearThis sort of reminds me of the library where someone implemented classes in elixir. It sounds like a fun project to do, but is there any utility in this?
I like python, but I wouldn’t want anywhere near my elixir code
So you mean debugging then?
They complied with my request without any fuss. I didn’t even have access to my account due to losing my 2fa device.
I’m not anti bash or fish, I’ve written in both just this week, but if we’re talking about readability/syntax as this post is about, and you want an alternative to bash, I’d say python is a more natural alternative. Fish syntax is still fairly ugly compared to most programming languages in my opinion.
Different strokes for different folks I suppose.
For example, how could it know whether
cat $fooshould becat "$foo", or whether the script actually relies on word splitting? It’s possible that$foointentionally contains multiple paths.Last time I used ShellCheck (yesterday funnily enough) I had written
ports+=($(get_elixir_ports))to split the input sinceget_elixir_portsreturns a string of space separated ports. It worked exactly as intended, but ShellCheck still recommended to make the splitting explicit rather than implicit.The ShellCheck docs recommended
IFS=" " read -r -a elixir_ports <<< "(get_elixir_ports)" ports+=("${elixir_ports[@]}")
If you’re going to write scripts that requires installing software, might as well use something like python though? Most Linux distros ship also ship with python installed
Writing Lua code that also interacts with C code that uses 0 indexing is an awful experience. Annoys me to this day even though haven’t used it for 2 years
UndercoverUlrikHD@programming.devto
Programmer Humor@programming.dev•You can lead a P to M but you can’t make ’em F’ing R
1 yearHow about 8 hours troubleshooting while trying to find the right documentation.





I got a bot on lemmy that scrapes espn for sports/football updates using regex to retrieve the JSON that is embedded in the html file, it works perfectly so far 🤷♂️