HNHacker News
TopNewBestAskShowJobs

candleknight

151 karma · joined February 3, 2023

submissionscomments
candleknight··on Kitty – GPU based terminal emulator
kitty is great, but I stopped using it because iTerm's terminal search feature - which I use almost daily - is much more ergonomic. The existing solution in kitty (pipe scrollback buffer to something like less/vim and search with /) is a lot worse IMO which is unfortunately a dealbreaker for me
candleknight··on Ask HN: What's the most creative 'useless' program you've ever written?
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··on Otter Wiki: A minimalistic wiki powered by Python, Markdown and git
> First of all, there are no otters here. I'm utterly sorry about that.

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

candleknight··on Compile and Run C in JavaScript
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··on Duck typing (horror) in Go
but that'll be at runtime
candleknight··on Tau: Open-source PaaS – A self-hosted Vercel / Netlify / Cloudflare alternative
Starting off with "In the realm of..." instantly gave it away
candleknight··on Show HN: I built an indie, browser-based MMORPG
the combat is intense, it really felt like i was slowly getting pickaxed to death
candleknight··on Static Chess
this gives me an idea for a new typescript type level project
candleknight··on Your customers hate MVPs. Make a SLC instead (2017)
This is hilarious, I'm changing all my websites to have "Made with cold indifference by $NAME" in the footer now
candleknight··on Nanos – A Unikernel
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

candleknight··on Nanos – A Unikernel
Would unikernels be feasible for online judge platforms (e.g. codeforces, leetcode)? I was thinking something along the lines of: spawning a unikernel for each submission -> running a single file program -> streaming the output back to a server, all in <3s and potentially with multiple submissions running in parallel. I'm fairly new to this, so I'm not sure if that would be overkill.
candleknight··on Solving the 100GB Game Download
I got the following error when I opened up a game page in my library (Hyper Light Drifter, if it matters):

Check failed: g.steam_receive_prefix_bytes[1] == 0x31305456

File: client_steam.cpp

Line: 2620

Last Error: 0x00000000. The operation completed successfully.

candleknight··on Show HN: Conway's Game of Life in TypeScript's type system
the power of tail call optimization :)
candleknight··on Duo Outage
university of waterloo as well, although thankfully classes start in two weeks for us
candleknight··on Birdga.me
awesome game, i thoroughly enjoyed flinging pieces off the board at mach 30 for 30 minutes straight
candleknight··on Terrible real estate agent photographs
This was so well edited, I could only tell that it was fake since the sofa didn't have a reflection
candleknight··on Toaster: Pure CSS 3D Editor
> Are there any practical applications for this app? > Nope! > It's really hard to use! > Yup!

lol appreciate the honesty, this is crazy though. Mad respect

candleknight··on On a great interview question
> I've seen excellent competitive programmers end up being mediocre engineers

I've seen the opposite. I know many extremely talented competitive programmers (IOI, CCO, USACO platinum, Codeforces grandmasters, ICPC, and the list goes on) and they are all excellent engineers. It's not about having a wealth of knowledge about DSA (although this occasionally helps, depending on the type of work) or competitive programming itself, but rather the skills it teaches. They all know how to learn new things very quickly and thoroughly, and it goes without saying that their general problem-solving skills are incredible. They've interned at companies like Snowflake, Google, Jump, Citadel, Jane Street, Waabi, Uber R&D, DataDog, SingleStore, etc. (all before or during their 3rd year, which is practically unheard of for "normal" students, especially during the tech recession) and have consistently received the highest performance grade (our co-op program requires employees to give them a rating on a scale from 1 to 7). There are also a few I don't know directly who are in fact working on things like Bard, or have founded their own companies (TabNine was one of them IIRC).

candleknight··on Show HN: A structured list of jobs from “Who is hiring?”, parsed with GPT
Looks awesome! A filter for internships would be really helpful
candleknight··on Show HN: Can you beat my dad at Scrabble?
that link's broken, I think you meant https://lobste.rs/