Readit News logoReadit News
candleknight commented on Ask HN: What's the most creative 'useless' program you've ever written?    · Posted by u/reverseCh
candleknight · 10 months ago
I have a repository where I make classic programs (game of life, sudoku solver, brainfuck interpreter, etc) but entirely within Typescript's type system

https://github.com/ruyili/cursed-typescript/

candleknight commented on Otter Wiki: A minimalistic wiki powered by Python, Markdown and git   otterwiki.com/... · Posted by u/thunderbong
candleknight · a year ago
> First of all, there are no otters here. I'm utterly sorry about that.

incredibly important suggestion: replace "utterly" with "otterly"

candleknight commented on Compile and Run C in JavaScript   bun.sh/blog/compile-and-r... · Posted by u/ekosz
Jarred · a year ago
This was an unplanned feature I worked on mostly a month ago on a Saturday for fun. Happy to answer any questions

To get it out the door, ended up adding some patches to TinyCC to support .framework on macOS and fix a few things with dlopen and include paths. Also added support for parsing the deprecated attribute used in lots of Darwin headers. C parsers seem a lot simpler than JavaScript which is nice

candleknight · a year ago
Awesome work on this, it looks like a game changer!

From my (admittedly limited) knowledge on this space, it seems like this is a straight upgrade over WASM, with the only limiting factor being that your stack is limited to Bun + C. Are there any downsides of this feature when compared with the alternatives mentioned at the start of the article? There are some tradeoffs listed at the bottom but I'm not sure how napi/WASM perform in those aspects either.

candleknight commented on Duck typing (horror) in Go   ccampo.me/go/2024/08/20/g... · Posted by u/thunderbong
akira2501 · a year ago
It's not silent. It will panic.
candleknight · a year ago
but that'll be at runtime
candleknight commented on Tau: Open-source PaaS – A self-hosted Vercel / Netlify / Cloudflare alternative   github.com/taubyte/tau... · Posted by u/thunderbong
turtlebits · a year ago
Looks compelling, but the docs are extremely vague and full of fluff. The "Why One Binary" is hilariously bad. Almost feels like content to impress managers/recruiters.

https://tau.how/02-concepts/03-one-binary/#the-genesis-of-ta...

candleknight · a year ago
Starting off with "In the realm of..." instantly gave it away
candleknight commented on Show HN: I built an indie, browser-based MMORPG   alpha.reconquer.online... · Posted by u/onemandevteam
candleknight · a year ago
the combat is intense, it really felt like i was slowly getting pickaxed to death
candleknight commented on Static Chess   val.town/v/maxm/staticChe... · Posted by u/maxmcd
candleknight · a year ago
this gives me an idea for a new typescript type level project
candleknight commented on Your customers hate MVPs. Make a SLC instead (2017)   longform.asmartbear.com/s... · Posted by u/DantesKite
khazhoux · a year ago
"Lovable" derives from the hipster-developer trend that started around 2010, where endless web, CSS, or app frameworks were tagged "Made with love in <cityname>", or "Made with love by <author>".

So silly. Like, was the gcc toolchain made with cold indifference? Were linux and git made with Scandinavian longing? Was emacs made with a certain sense of ennui?

candleknight · a year ago
This is hilarious, I'm changing all my websites to have "Made with cold indifference by $NAME" in the footer now
candleknight commented on Nanos – A Unikernel   nanos.org... · Posted by u/Alifatisk
thethimble · a year ago
Why wouldn’t you use a standard container based approach like Docker?
candleknight · a year ago
The last time I tried, it was pretty slow to fire up, especially when I tried to run multiple submissions at once. It's also even more overkill for my use case; I currently use isolate (https://github.com/ioi/isolate) which is just a wrapper around cgroups/namespaces, and it's been a lot faster.

Sidenote: I'm not really looking to replace it, I was just asking out of curiosity since this is my first time hearing of unikernels

u/candleknight

KarmaCake day151February 3, 2023View Original