s/programming
A space to love and hate on programming and the practice of programming
π Moderated by: ahappydeath Β· π΄ 218 days
Posts
β 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-...
I wanted to make a programming language for handling DER files. I wrote some ideas (and may continue to write more later), but it is not implemented yet (although I did write a C library to work with DER format, and use it in some programs). Please tell me if you have any comments about it. [gopher link]
π¬ View post Β· Jul 02 Β· 6 days ago
Boost.Geometry design rationale β Saw this one on twitter: [https link] Haven't laughed this hard in a while, hope you guys do too :D
π¬ 1 like Β· May 31 Β· 5 weeks ago
Implementing Kademlia β Does it matter how big your buckets are? Maymounkov says size 20, but BEP 5 says only size 8. What if you change the size? What about implementing the buckets? Can you just say "there are so many buckets" and which bucket you belong in is (floor (log (xor me you) 2))? I bet!
π¬ View post Β· May 29 Β· 6 weeks ago
Favorite programming blogs? β Personally, I really enjoy The Lambda Lab. There's lots of interesting code there (with a focus on Scheme and Forth), and there is a freqently updated and amusing blog too. The gopher version has more content, but the blog articles are also available on gemini. (I have absolutely nothing to do with The Lambda Lab, to be clear! I'm just a fan.) How about you? What are some of your favorites?
π¬ 1 comment Β· May 08 Β· 2 months ago
Been seeing this term around the internet recently, called "Vibe Coding", and I finally looked it up. What that absolute heck?!? π€£
π¬ 17 comments Β· Mar 26 Β· 3 months ago
β goboscript Documentation (Gemini mirror)
goboscript text-based compiler for Scratch -- visual programming language β goboscript is a text-based programming language which compiles to Scratch. It allows you to write Scratch projects in text, and compile it into a .sb3 file - which can be opened in the Scratch editor, TurboWarp or be uploaded to the Scratch website. goboscript allows you to create advanced Scratch projects with ease, you can use any...
π¬ 5 comments Β· 2 likes Β· Mar 16 Β· 4 months ago Β· #language
Stumbled across Janet, a functional programming language that clocks in at 1MB
π¬ 12 comments Β· 2 likes Β· Jan 17 Β· 6 months ago
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 Β· 6 months ago
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 Β· 6 months 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 Β· 7 months ago
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 Β· 7 months 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 months ago
Solutions: Advent of Code 2024 β Im curious to see everyones approach, which languages, and to get unstuck
π¬ 8 comments Β· 2024-12-01 Β· 7 months ago
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 months 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 Β· 7 months ago Β· #programming-languages #web
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 Β· 7 months 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 months 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 Β· 8 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 Β· 8 months ago
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 Β· 9 months ago
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 Β· 10 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 Β· 1 year 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 Β· 2024-04-14 Β· 1 year ago
awsome livecoding list
π¬ View post Β· 2024-03-27 Β· 1 year ago
Page 1 of 2
Options
Source