Better HN
topnewbestaskshowjobs
Log inSign up

superdisk

1,626 karma · joined Jun 7, 2018 (8y ago) · 350 submissions

https://nickfa.ro
Submissions

comment 2y ago · link · parent

I used this a while back to do some conversion of XML into JSON data, it actually supports rendering JSON as well. Surprisingly flexible and ergonomic language, it's kind of a weird beast.

comment 2y ago · link · parent

I'm working on a game written in Common Lisp that I'm planning to publish on the web, compiled to WASM. ECL can compile to WebAssembly and I recently hacked up the SDL2 binding to successfully work.

comment 2y ago · link · parent

> The "Ghidorah" part of King Ghidorah's name comes from the pronunciation of the word "hydra" (Гидра, ˈɡʲidrɐ) in Russian, written as ヒドラ (Hidora) in Japanese.

Good eye, looks like the name does originate from that.

comment 2y ago · link · parent

Looks cool, you could probably use xclip in the small Linux instruction caption to match clip and pbcopy.

125.

Building with Parenscript and Preact(nickfa.ro ↗)

1 points · by superdisk · 2y ago · discuss

comment 2y ago · link · parent

Whoa, me and a friend had this same idea back in 2014 and implemented it for Ludum Dare. https://nickfa.ro/wiki/CoinSlot

Cool to see a more refined and well-functioning version of the idea.

comment 2y ago · link · parent

As someone else said, Scheme is the one that warrants the "pure, elegant" reputation. CL is full of crazy features and weird functions but it's because it's basically the continued lineage of the original Lisp from 1960. It can even run those old 60s vintage programs with minimal tweaks.

https://web.archive.org/web/20150217111426/http://www.inform...

If you just want to play with macros and learn what makes the Lisp thing so special I'd recommend Clojure, it's like a stripped down CL with only functional features, and it's extremely nice and ergonomic.

comment 2y ago · link · parent

In my mind, if you're running potentially-compromised code on your machine, you're already hosed and the display server isn't going to protect you.

comment 2y ago · link · parent

I've messed around with the Pinta code in the past and a lot of it is (seemingly) directly adapted from the old Paint.NET sources.

comment 2y ago · link · parent

This is a vague memory so I might be wrong, but I think it's WinForms, not WPF, and it makes calls into Windows directly using P/Invoke so it's not trivially portable.

comment 2y ago · link · parent

A few years ago I sent a message to spez on Reddit asking if he'd ever open source the original Lisp version of Reddit. He actually responded and said he couldn't find it, but then a while later it was indeed released. I like to think maybe I contributed to the butterfly effect of that happening.

https://github.com/reddit-archive/reddit1.0

comment 2y ago · link · parent

The concurrency model basically came from Erlang, which in my opinion does it better.

comment 2y ago · link · parent

Is there anything about this specific to LLMs, or could you use it for any transformer based model? It seems like they made a modified transformer.

comment 2y ago · link · parent

I did a code golf competition in college once where we could pick whatever language we wanted per problem. One problem was to format a number as a Roman numeral, and of course I won that one by just calling the built in Lisp function. Good times.

comment 2y ago · link · parent

https://github.com/erlang/otp/blob/adf0d2204215c12a03188f5d5...

comment 2y ago · link · parent

I went to college with that dude, neat to see his work getting recognized.

comment 2y ago · link · parent

The author accidentally left in a bit of ChatGPT's response after "here's the plan."

comment 2y ago · link · parent

I love Lazarus and FPC. Happy to see this release, I've been using the fixes branch so it's good to see the new stuff rolled out.

comment 3y ago · link · parent

So wild, I googled this exact thing yesterday and got to the same stackoverflow post. And now it's on the first page of HN.

comment 3y ago · link · parent

For me the big sell of Elixir/Erlang is that it makes running "background jobs" a complete breeze with no concern for blocking IO bringing the entire server to a halt, especially in a web server context.

At my last job I had to do a bunch of HTTP requests in a webhook handler and if enough happened at once, the entire site would just crash due to all the OS processes being busy. I found myself desperately wishing I was just using Elixir instead because it would have been trivial to just spin up a Task to do it and move on.

comment 3y ago · link · parent

It definitely didn't perform better. Each page request would do a giant N+1 query for all the comments and it frequently went down due to load.

comment 3y ago · link · parent

How do you spend $400M?

comment 3y ago · link · parent

I like ECL for its ability to compile Lisp to C and have a native executable. One dream I have is to write a game using the CL-SDL2 bindings and cross compile it for Wasm; It seems possible to do now but the flow isn't very well defined. I got pretty close hacking around a month or two ago but didn't quite finish.

comment 3y ago · link · parent

I know he's talking about Delphi here, but FreePascal+Lazarus is still one of my secret weapons. It has some sort of supernatural force field which causes people to ignore it and unfairly denigrate it; meanwhile I whip up desktop applications in hours that would normally take days.

comment 3y ago · link · parent

AVL trees are binary trees so they can only have 2 children.

comment 3y ago · link · parent

My lament is more about the unrelenting desire to degrade software from being robust, well designed, and fit for the task, to fungible slop pouring out of a pipe from whoever is cheapest. In no other profession (architecture, construction, teaching, anything) would that mentality be tolerated.

The unnecessarily wasteful hardware is just one of the (ultimately more benign) side effects of that.

comment 3y ago · link · parent

Problem: We need to outsource the software to India.

Solution: Put a way overpowered computer in the product so they can program it.

Ridiculous problem with a ridiculous solution. Are they allergic to any level of correctness? Sometimes I'm ashamed to be in this industry.

1
456
12