A space to love and hate on programming and the practice of programming
=> π Moderated by: ahappydeath
=> π Subspaces | π Help | β€οΈ Code of conduct | Sign up
=> π LucasMW | β menezesworks.com/headache.gmi
The Headache Programming Language β Headache is a programming language which compiles to 8 bit brainfuck The Headache programming language is a Turing Complete language for generating brainfuck programs. It borrows most of its syntax from C Headache was designed to be the most lightweight technology to compile brainfuck programs, and it can be downloaded with git clone, and builded with make, flex and bison in any unix-...
=> /u/LucasMW/image/336.jpeg | π¬ 3 comments Β· 1 like Β· 2024-08-23 Β· 5 months ago Β· #headache #language π π³οΈ #programming
=> π gritty
Stumbled across Janet, a functional programming language that clocks in at 1MB
=> π¬ 11 comments Β· 2 likes Β· Jan 17 Β· 3 days ago
=> π gritty
Python venv and cgi β How is everyone using python venv as a cgi script? is it unwise to put the env in the cgi dir? I assume you just create a wrapper to activate the env and run the script. I broke DSN with a server upgrade and now I'm forced into venvs. at least I think so
=> π¬ 3 comments Β· Jan 15 Β· 4 days ago
=> π gritty
What would everyone say is a large file for a CGI script? I finished up my newest game in Go, but the file size seems rather large. I used stdlib for everything except sqlite access. wondering if I should use SCGI to get around load times.
=> π¬ 5 comments Β· Jan 12 Β· 7 days ago
State diffing for undo? β Let's say I can identify all the parts of the program that need to interact with undo/redo system, and put all of them into a single contiguous chunk of memory. Then, when someone creates an undo point, I just calculate a diff over that memory, more or less. What I'm interested in is, in your experience, is there a downside to this approach? The program doesn't do any network requests or database connections (and won't, for the forseeable future). Rn I'm using a system...
=> π¬ 7 comments Β· 2024-12-19 Β· 4 weeks ago
=> π§ pytat0
Has anyone used Jet Brains AI Assistant recently? In the reviews of the extension, people write that everything is bad, but what if something has changed?
=> π¬ 3 comments Β· 2024-12-12 Β· 5 weeks ago
Language to learn β Friends, which language a hobbyst like me would try seriously to learn? Like buy books and materials... I honestly learned a lot of languages since I was a kid: Pascal first as a kid, then Assembly and C when I entered technical school at 14, then Pascal again and VBA at university, then Python... But honestly, though I have some understanding of the principles, I don't consider myself proficient in any. I had to change jobs and profession a lot of times because of money...
=> π¬ 28 comments Β· 2024-12-04 Β· 7 weeks ago
Solutions: Advent of Code 2024 β Im curious to see everyones approach, which languages, and to get unstuck
=> π¬ 8 comments Β· 2024-12-01 Β· 7 weeks ago
=> π undefined | β main.c
A simple programming language β Made a simple programming language, kind of like a mix between forth and shadertoy. Your program runs on every cell of the board and outputs a printable ascii character. This way you can draw whatever ascii art you want... as long as you can program it to do so! It's got bugs, but for a language made in a couple days it's surprisingly fun. And maybe if you've never made your own programming language it might be interesting...
=> π¬ 2 likes Β· 2024-11-28 Β· 7 weeks ago
Artick - A static site generator supporting HTML and Gemtext β I've created Artick, which is a static site generator that can export to HTML and Gemtext. It has its own format that it converts to either (and possibly more in the future) so you don't have to worry about keeping HTTP and Gemini versions of your site in sync. As well as that, you can assign pages /groups/, and every group is given its own page. This makes site navigation easier, and is my preferred alternative to the...
=> π¬ 5 comments Β· 4 likes Β· 2024-11-25 Β· 8 weeks ago Β· #programming-languages #web
=> π gritty
Go - can someone explain why empty interfaces can hold any value, where it seems "regular" interfaces only define functions? In other words, why can the empty interface hold something other than a function definition? new to Go and interfaces in general...
=> π¬ 2 comments Β· 2024-11-23 Β· 8 weeks ago
Pitfalls of structure editors β The tools for a structure-aware editing have existed for a long time in IDEs and things like tags, cscope and lsps as of late, as well. However, the editors fully commited to this kind of mindset haven't really been done well before. Here, I'll list some of the reasons I myself have found while trying to design one, later abondoning the project. Also, while I am myself pessimistic of this idea, it would be interesting to hear other perspectives, or inspire...
=> π¬ 5 comments Β· 2024-11-21 Β· 8 weeks ago
What is a good Small Web programing language ? While I like Python, it's corporate driven featuritis is getting me down.... C is an obvious Small Web language, but I'd rather use something a bit higher level than that. Any thoughts ?
=> π¬ 55 comments Β· 1 like Β· 2024-11-14 Β· 2 months ago
I'd like to express my disdain and physical repulsion to reading or even looking at camel case but I have no experience in textually representing so much negativity, so I guess a mild Eww would do for now. Any help is appreciated, thank you.
=> π¬ 11 comments Β· 2 likes Β· 2024-11-02 Β· 3 months ago
=> π cfigg
Language Server ProtocolβDoes anyone have experience writing LSP-compliant language servers? What language(s) have you implemented servers for? What language(s) have you implemented servers in? Any unusual applications of the LSP standard? Any experience reports or lessons learned to share?
=> π¬ 1 comment Β· 2024-09-30 Β· 4 months ago
=> β freezr
LPS Plugin for Geany Editor β Hi folks, I'd like to share the exciting novelty (for me it was exciting) that now is available for Geany 2.1 a LSP plugin: [https link] geany-lsp on Github I tested it extensively regarding an XML server: [https link] XML Schema for Geany-LSP #41 I confirm that it works like a charm. This plugin allowed me to move away from VSCode/VSCodium. The benefits are immense, as a matter of fact I can now work on my Arm SBC since the performance are excellent and...
=> π¬ 3 likes Β· 2024-09-13 Β· 4 months ago
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 Β· 2024-05-05 Β· 9 months ago
=> π norayr
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 Β· 2024-04-14 Β· 9 months ago
=> π norayr
awsome livecoding list
=> π¬ View post Β· 2024-03-27 Β· 10 months ago
=> π gritty
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 Β· 2024-03-10 Β· 10 months ago
=> βοΈ dce
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 Β· 1 year 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 Β· 1 year ago
=> π¦₯ aRubes
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 Β· 1 year ago
=> π dimkr
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 Β· 1 year ago
=> π stack
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 Β· 1 year ago
=> Next page
Page 1 of 2
=> π£οΈ Sort by activity This content has been proxied by September (ba2dc).
=> π₯ Sort by hotness
=> Gemini feed
=> Atom feedProxy Information
text/gemini; charset=utf-8