HNHacker News
TopNewBestAskShowJobs

vitiral

1,239 karma · joined August 9, 2016

https://civboot.github.io
submissionscomments
vitiral··on 10 Second Teleportation
I went back just to see and it chose WHITE as the first option, making the text invisible lol
vitiral··on RSA is deceptively simple and fun
I hear so much about "side channel attacks", and I get why they are important if you don't know what software is running on your computer. But are they important if you don't run any outside code (not on the cloud, not running JavaScript in a "container", etc?)

Are there other major reasons not to roll your own crypto besides "you might do it wrong"? Wouldn't a fuzz tester (comparing your implementation to a known good one) be well adapted to making sure you didn't do it wrong?

vitiral··on FAQ on Leaving Google
Life is a gift. Death is a gift. Anger is a gift. Sadness is a gift.

It all comes and it all goes. Let it come. Let it go.

vitiral··on Asus Zenbook Duo 2024
Sorry, not touch -- but touch isn't something I want on even my laptop
vitiral··on Asus Zenbook Duo 2024
Those advantages are the remaining 10% I was talking about :)
vitiral··on Asus Zenbook Duo 2024
Just a service announcement: you can get an external monitor that is charged and driven by a single USB-C for about $100 which weighs about a pound. Feels like it would get 90% of what I want out of a setup like this.
vitiral··on A Love Letter to Tinkerable Software
Ya, I'll have a website eventually...

What do you have against .org websites?

vitiral··on A Love Letter to Tinkerable Software
let's start over. You might like civboot.org
vitiral··on Engineer Used Water Pump to Get $1B Stuxnet Malware into Iranian Nuclear Plant
Did you consider it could have been faked?
vitiral··on Money pours into new fabs and facilities
My project civboot.org was spun out of similar concerns. I don't have the political power to change any of the issues you raised, but I can rebuild a simpler yet usable tech stack that could be the basis of a new educational program.
vitiral··on GitHub having issues today
I'm pretty sure (hope?) the comment was said _in jest_ (though I'm not familiar with _this internet standard_)
vitiral··on Don't pass structs bigger than 16 bytes on AMD64
You can JMP to a "function" (which JMPs to a function... etc) where the last function RET. It all works like it's a single function body.
vitiral··on Boeing wants FAA to exempt MAX 7 from safety rules to get it in the air
I agree, but you underestimate the cost of software in "safety critical" applications.

I've heard stories of cases where development orgs were given the option of changing a line of code or re designing the hardware. They of course redesigned the hardware.

vitiral··on Don't pass structs bigger than 16 bytes on AMD64
I think that was implied
vitiral··on Don't pass structs bigger than 16 bytes on AMD64
Even more fun is using jmp to chain functions together -- only works when you don't have locals and have complete knowledge of your registers!
vitiral··on Duty to Document (2023)
Also, there is cost to you to maintain docs and a cost to others if you don't.

Some things are near universal and always useful. Documenting by creating a full working example with minimal dependencies will stand the test of time.

I'm not saying don't document. Even a list of notes, clearly marked as such, can be helpful.

vitiral··on 'everything' blocks devs from removing their own NPM packages
The cutoff is more about "this is the number of bug requests for exceptions" rather than some kind of technical limit.

When it's a staffing limit the question becomes less arbitrary.

vitiral··on 'everything' blocks devs from removing their own NPM packages
My suggestion was for N=recursive deps (dependency TREE), so yes it would affect the "everything" package, and likely many of its chunks

And I agree about yank! I just think you could implement multiple reasonable solutions here

vitiral··on 'everything' blocks devs from removing their own NPM packages
I think you named at least one reasonable fix: an upper limit.

And it's not really arbitrary. You can count the dependency tree of every package and get the P99, exclude joke packages and get the max of the rest. Set the limit around there with an error message to open a bug if you need more, grandfathering legit old large packages with some kind of admin-level exception.

The number of people actually needing more will be incredibly tiny. Service those folks individually to avoid pain.

vitiral··on 'everything' blocks devs from removing their own NPM packages
This pretty much describes Nix.

I guess the real answer is because it's a lot of work to maintain packages and versioning and there is space for multiple solutions.

vitiral··on Sparkey: A simple constant key/value storage library
Hey, this is effectively the same idea I'm going to implement!

https://github.com/civboot/civboot/blob/main/blog/0012-dev-l...

Mine will be slightly more than key/value. My index file will support indexes of arbitrary record fields as well as the index of all items in loam, but it's effectively the same idea.

Note you could keep a live instance running to handle live writes, which uses an in-memory hash for recent writes and updates the hash index as-needed. Because the index can be rebuilt from the data there is no concern about data loss.

vitiral··on Writing a TrueType font renderer
Unison looks more like what I was thinking, thanks!
vitiral··on Writing a TrueType font renderer
Thanks! This looks like a really good summary of options.
vitiral··on Writing a TrueType font renderer
I found this reference for Hershey Vector font

https://paulbourke.net/dataformats/hershey/

It seems to describe a "pen" which draws the character. It is indeed pretty cool!

vitiral··on Writing a TrueType font renderer
I haven't looked deeply yet, thanks for the resources!
vitiral··on Show HN: Cassette, a Personal Programming Language
Have you tried for any length of time?

For example, there's lots of little places where aligning keywords helps clarify code

https://github.com/civboot/civlua/blob/main/ds/ds.lua#L89

Formatters HATE putting multiple statements on a single line, but when they go it makes it so much easier to parse (for a person)

vitiral··on Show HN: Cassette, a Personal Programming Language
Auto formatting for work is an angel, for code you love it is the devil.

Writing code that you love is like crafting it. You align subjects and data in beautiful flows of if/else or case/switch. You put multiple statements on a line if they encompass one "thought"

Try writing without a formatter when you are the sole author.

As for syntax highlighting I agree. You can get 80% of the way there with a vim regex of keywords, but it's one of the main things I'm solving by writing my own editor.

vitiral··on Browsers are the most likely disruptor of the mobile duopoly
> Honestly this is one of Doctorow's weakest arguments

This isn't Doctorow. I went and searched, here's the article I think you're referencing

https://doctorow.medium.com/web-apps-could-de-monopolize-mob...

vitiral··on Browsers are the most likely disruptor of the mobile duopoly
Blocking screenshots is a solution in search of a problem. How do you plan to block another phone or high definition camera taking a picture?
vitiral··on Show HN: Resurrecting the Dillo browser
Probably but my guess based on the state of the web is that this a rabbit hole without end
← PreviousPage 8 of 21Next →