💾 Archived View for bbs.geminispace.org › s › programming captured on 2024-05-10 at 10:56:36. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-03-21)
-=-=-=-=-=-=-
A space to love and hate on programming and the practice of programming
How to provide configurable keyboard shortcuts to users of my application? — I'm writing a desktop app that provides configurable keyboard shortcuts. For now these are set up by writing key sequences to a file. Of course, something that sounds straightforward stops being so as soon as you get past the surface. I am now trying to figure out what's more "intuitive" (if such thing even exists) when you're trying to serialize a sequence of keystrokes to text. For example, let's say you have a US...
💬 4 comments · May 05 · 5 days ago
structural diff tool than understands syntax — tte tool doesn't compare by lines. it understands syntax of the language by using tree sitter and is able to show exactly the changes.
💬 1 comment · 2 likes · Apr 14 · 4 weeks ago
awsome livecoding list
💬 View post · Mar 27 · 6 weeks ago
Any suggestions for a self-hosted git server with an interface? I only have some toy projects so I'm looking for something lightweight for personal projects. Gogs seems like it might fit the bill...
💬 7 comments · Mar 10 · 2 months ago
Suggestions for personal projects — I've just transferred all of my serious projects on Codeberg over to a separate organisation, and I've noticed that there are now only two mediocre repos on my main profile. Does anyone have any ideas for simple, handy things I could build to flesh it out? I code mainly in Python, I know HTML (but not JS), I regularly use Bash and Zsh, and I am learning C++.
💬 4 comments · 2023-12-29 · 4 months ago
Lua Carousel: A lightweight environment for writing small, throwaway Lua and LÖVE programs — Tested on Windows, Mac, Linux, iOS and Android. In an effort to make our phones less of a consumption-only device, I'm trying to share a little program everyday that you can paste into it.
💬 2 likes · 2023-12-19 · 5 months ago
Help me find my second language — Background I am a data analyst/scientist doing spatial and temporal ecology stuff. I only use R because...that is what I..know ? I was never a programmer before I switched from env. engineering and recently was thinking to diversify a bit to Julia. I have quote a lot of freedom in my current job to program in whatever I want. Occasionally I have to do it in python for the GIS people downstream. The people downstream complain a lot about Python being slow in...
💬 13 comments · 2023-09-28 · 7 months ago
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 · 8 months 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 · 8 months 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 · 8 months 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?
💬 13 comments · 8 likes · 2023-08-27 · 8 months 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 · 9 months 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.
💬 24 comments · 4 likes · 2023-08-20 · 9 months 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 · 9 months ago
Programming Fonts — What is the monospace font you most use?
💬 15 comments · 2 likes · 2023-08-14 · 9 months 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 · 9 months ago · #c99 #posix #self-hosting #slcl #slweb
5 Things I’ve Learned in 20 Years of Programming
💬 3 comments · 3 likes · 2023-08-07 · 9 months ago
Finding Meaning in Christopher Alexander's "The Nature of Order" — Transcript: [https link]
💬 1 comment · 1 like · 2023-08-04 · 9 months 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.