HNHacker News
TopNewBestAskShowJobs

vitiral

1,239 karma · joined August 9, 2016

https://civboot.github.io
submissionscomments
vitiral··on Drowning in code: The ever-growing problem of ever-growing codebases
I'm trying. It's good to have goals in life. Also, I think it's more possible than you think it is (although clearly not achievable by one person).
vitiral··on Drowning in code: The ever-growing problem of ever-growing codebases
It's not just software, it's all technology. Here's a question: how big would a factory (building) need to be to build everything needed for a "personal computer" AND build everything inside the factory? I'm trying to answer this at https://civboot.org

We need to try to simplicity and document the technology our civilization depends on or it will get away from us.

vitiral··on 28-ton, 1.2-megawatt tidal kite is now exporting power to the grid
What happens when a 28 ton kite slams into a whale or shark?
vitiral··on 28-ton, 1.2-megawatt tidal kite is now exporting power to the grid
maybe for submarines. Pretty sure the video said the depth is 50m
vitiral··on 28-ton, 1.2-megawatt tidal kite is now exporting power to the grid
??? by that metric literally nothing in the universe is renewable.

RENEWABLE ENERGY IS IN VIOLATION OF THERMODYNAMICS. WE ARE ALL HEADING TOWARDS THE HEAT DEATH OF THE UNIVERSE.

vitiral··on 28-ton, 1.2-megawatt tidal kite is now exporting power to the grid
> Underwater cables has been done as in all the Network connection across continents.

Those are stationary cables. I don't know anything about this field, but I guarantee you that there are going to be differences.

vitiral··on The world is awful. The world is much better. The world can be much better
Here's my take

You are part of the world. You change and improve and also decay and die. These things are natural, they do not need to be forced. Sometimes forcing something makes it happen faster, but oftentimes its like forcing taking a shit: you just end up more constipated.

Here's the principal: be able to wait until the right action arises on it's own. Perform the action and step away.

You are a human, a complex biological organism. Actions are part of your nature. Let your emotions and actions happen with serenity and grace. There is nothing to gain by forcing them except to create your own constipation.

vitiral··on The world is awful. The world is much better. The world can be much better
Tao Te Ching 29, Stephen Mitchell

Do you want to improve the world?

I don’t think it can be done.

The world is sacred.

It can’t be improved.

If you tamper with it, you’ll ruin it. If you treat it like an object, you’ll lose it.

vitiral··on Better Call GPT: Comparing large language models against lawyers [pdf]
But the lawyers reading the law won't be the only ones using LLMs. LLMs will also be used to write laws. Then lawmakers will use them to "check" that their 20,000 page law supposedly works. No human can understand the scope of today's laws: how much less when no LLMs can understand the laws created 20 years from now.

I'd love to hear that LLMs can be used to trim and simplify complexity, but I don't believe it. They generate content, not reduce it.

vitiral··on Better Call GPT: Comparing large language models against lawyers [pdf]
It feels to me like the law is already a staggering heap of complexity. Isn't using technology going to just enable more of the same, making the situation worse?
vitiral··on Pete Buttigieg Viral Tesla Truck Driver with Apple Vision Pro
Tesla and Apple have teamed up for a new commercial, impressive!
vitiral··on Out-of-bounds read and write in the glibc's qsort()
so... you're saying you've hit this exact bug before? I bet that was a fun debug session!
vitiral··on Out-of-bounds read and write in the glibc's qsort()
> So glibc's qsort doesn't sort arrays of items when fed nonsense input? No kidding.

Not only will it not sort them... it will lead to OOB memory accesses by qsort itself

vitiral··on Out-of-bounds read and write in the glibc's qsort()
what has been? OOB errors?
vitiral··on How is a binary executable organized? Let's explore it (2014)
They don't. APE loads a different syscall table depending on the platform. Or something like that, I don't claim to fully understand the internals
vitiral··on How is a binary executable organized? Let's explore it (2014)
Don't tell jart this or she'll probably add it to cosmopolitan
vitiral··on Sapling – A VCS from Meta
Can't tell if joke command is joke.
vitiral··on Luck: Deterministic Configuration with Dependencies in Lua
I noticed pkl and thought I'd throw in my own take on the space for civboot.org

The project is still early stage, but I'm surprised there is nothing out there like this already.

Basic architecture: sandboxed Lua, configuration is the global values.

Dependencies are managed by parsing the first function call which can be `meta` and creating a DAG dependency graph.

It's all implemented in less than a few thousand lines of Lua, including dependencies.

vitiral··on jj init – getting serious about replacing Git with Jujutsu
Are you using vim to run shell commands?
vitiral··on How is a binary executable organized? Let's explore it (2014)
I may have misunderstood, but I'm pretty sure APE is not a "binary format" per se.

It is a script that can be executed on any system. That script can then LOAD a binary. IIRC the original needed to decode it from base64 before it could be loaded.

So... it's an executable binary loader

vitiral··on Rivers Cuomo is an active developer on GitHub
Let me Google that for you?
vitiral··on Nassim Taleb says the U.S. is in a ‘death spiral’ over government debt
> screwing over long bongholders

I think the _bongholders_ will probably come out pretty painless dude

vitiral··on Ask HN: Those who've joined a friend's startup as an employee, how did that go?
I have zero experience, but a few thoughts nonetheless that I'd like pushback on. I believe there are at least two major categories here

1. They are more of a business/school friend. You share knowledge and passion. You compliment each other's strengths and cover each other's weaknesses. There is little risk to forming a mutual business partnership, since loosing such a friend is part of the game.

2. You were meant for each other, perhaps you are even married. This venture will make you even more entangled, increasing risk but also reward to your relationship.

Be VERY sure if you choose #2. Strongly consider whether your relationship can handle the added risk of loosing the business and consider when it's time to walk away from the business (despite the financial consequences) in order to save your "marriage". In my marriage we've made bad financial decisions (wrong house purchase) where walking away cost us 100k but I think definitely saved the marriage. Loosing that money was worth every penny.

For #1 it's more of a straightforward business decision.

vitiral··on In loving memory of square checkbox
Huh, I thought they were "radio" because they communicated with each other. Still not a bad mnemonic IMO
vitiral··on In loving memory of square checkbox
The MacBook Wheel!

https://youtu.be/9BnLbv6QYcA?feature=shared

vitiral··on Why are we templating YAML? (2019)
I'm designing a simple dev environment from scratch.

My solution for this is a sandboxed lua for programatic configuration:

https://github.com/civboot/civlua/tree/main/lib/luck

I can't stand JSON (for many reasons) so I created a serialization format that combines it and CSV for nested objects

https://github.com/civboot/civlua/tree/main/lib/tso

I wish the industry would standardize on a solution like this. IMO you shouldn't use a "real" language unless you can lock it down to be determinisitic. JSON is supposed to be human readable but fails for lots of real-world data like multi-line strings or lists of records.

CSV is more readable but doesn't supported nested objects.

vitiral··on RSA is deceptively simple and fun
That makes sense. So instead you could just require that your crypto stuff takes an absurd amount of time, say 0.5 seconds / MiB? Then every operation will take that long and no information can be gleaned.

I'm not saying this is a good solution, just trying to understand the problem space.

vitiral··on RSA is deceptively simple and fun
Ah, you can test the implementation but not the algorithm itself. Got it. I see now I said "roll your own crypto" and I should have said something like "reimplement a crypto"

To prevent side channel, can't you do something as stupid as add a randomized [0-0.1) second sleep to your crytpographic operations? That would make any difference in your algorithms performance negligible.

vitiral··on 10 Second Teleportation
Chrome, nothing special on it
vitiral··on RSA is deceptively simple and fun
> Timing attacks can be remote for instance, and with RSA some operations are slow enough to be noticeable over networks.

Huh, I'd be pretty curious about that.

> Not really. Cryptography is inherently not very conducive to tests, because they can only prove the outcome of specific inputs

I'm pretty confused by this. It's a completely deterministic operation on a series of bytes. If you have identical results to 2 billion randomized inputs how can that not be pretty high confidence that the underlying algorithm is sound?

Obviously it's good to do the math and reasoning as well, but... I just don't get it. It's not magic, it's math and bit munging.

← PreviousPage 7 of 21Next →