💾 Archived View for bbs.geminispace.org › s › programming captured on 2023-09-28 at 16:12:02. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-09-08)
-=-=-=-=-=-=-
A space to love and hate on programming and the practice of programming
It's the first time I see something like this: a sqlite query that works from the shell, but not from my Go code ([https link]). I switched from mattn/go-sqlite3 to modernc.org/sqlite (different sqlite bindings) and now the query works. If I update mattn/go-sqlite3 to the same sqlite version (to rule out the possibility of a bug fixed in sqlite 3.43.1), the problem stays. More ideas how to isolate the problem?
💬 2 comments · 3 likes · 2023-09-14 · 2 weeks ago
Converting Unix timestamp to date/time — Without any outside libraries. All we have is a Unix timestamp, seconds since Jan. 1, 1970. I'm looking for a minimalistic solution for my tiny nForth, but really curious if anyone has tricks up their sleeve for this kind of a task. I'm willing to ignore leap seconds for now. So far I got the time part: add timezone in seconds, divide by 86400 to get days, and use the remainder for time in seconds. The rest is trivial, dividing by 60 for minutes and 60...
💬 10 comments · 1 like · 2023-09-10 · 3 weeks ago
Medical Programming (WSI) — Does anyone know good any resources about Whole Silde Images (WSI), or any good open source packages that handels such image formats in the medical sector? Thanks in advance!
💬 1 comment · 2023-08-29 · 4 weeks ago
— thelambdalab.xyz/phlog/2023-08-26-Program-your-computer.txt
writing own software — Hey all! For years I am writing my own personal software and/or upgrading opensource software with features suitable personally for myself. Today I saw a gemini article, describing exactly what drives me to do this (see link above). How about you? Anybody agrees/disagrees with this?
💬 12 comments · 7 likes · 2023-08-27 · 5 weeks ago
Any C# fans in the crowd? I have a large legacy C# codebase at work, and I don't like this language. I feel like this language makes it easy to shoot yourself in the foot, or write code that performs badly and doesn't scale (especially EF+LINQ). And, I find it hard to refactor C# code because of hidden control flow, colored functions (async/not/static/dynamic), 'hidden code' like getters and frequent disruptive changes (across runtime/EF versions). However, some people love it to death and I'd...
💬 8 comments · 2 likes · 2023-08-23 · 5 weeks ago
[gemini link] I've been using Rust for about five years now, but I'm beginning to sour on it. I'm curious about perspectives here.
💬 16 comments · 4 likes · 2023-08-20 · 6 weeks ago
— gemi.dev/cgi-bin/waffle.cgi/article?https%3A%2F%2Fwww.m31coding.com%2Fblog%2Fsemantic-reviews.html
Semantic Code Reviews — I like the recommendation in this article to 'label' your comments and may try to bring that to work. What other practices to people use when doing code reviews?
💬 2 comments · 2023-08-18 · 6 weeks ago
Programming Fonts — What is the monospace font you most use?
💬 15 comments · 2 likes · 2023-08-14 · 6 weeks ago
Two small tools I wrote for the web: slcl and slweb — I had been self-hosting a Nextcloud instance on a Rpi3B for important stuff. Because of its bloated design, it rendered the machine unresponsive a few times. In lack of alternatives, I wrote my own vision of it: one that does not use JavaScript, written in C and portable to Unix-like operating systems. slcl requires a hundred times less memory than Nextcloud, while keeping the features I care about: [https link] slcl, a small and lightweight...
💬 3 comments · 3 likes · 2023-08-08 · 7 weeks ago · #c99 #posix #self-hosting #slcl #slweb
5 Things I’ve Learned in 20 Years of Programming
💬 3 comments · 3 likes · 2023-08-07 · 8 weeks ago
Finding Meaning in Christopher Alexander's "The Nature of Order" — Transcript: [https link]
💬 1 comment · 1 like · 2023-08-04 · 8 weeks ago
Whats your current favorite language? — Mine is currently Elixir and has been for a while. Elixir makes it easy to build complex apps and has so much built into it that I don't often need to reach for external dependencies.