HNHacker News
TopNewBestAskShowJobs

kybernetikos

6,302 karma · joined July 11, 2012

[ my public key: https://keybase.io/kybernetikos; my proof: https://keybase.io/kybernetikos/sigs/yHgJmn4qufQOBXtQjZ-3EsFWRdtec9C5wGhHqz3ETYw ]
submissionscomments
kybernetikos··on Can we get the benefits of transitive dependencies without undermining security?
The key requirement to solve this problem is that you can ensure that third party libraries get a subset of the permissions that the code calling them has. E.g. My photo editor might need read and write access to my photo folder, but the 3rd party code that parses jpegs to get their tags needs only read access and shouldn't have the ability to encrypt my photos and make ransom demands.

Deno took a step in a good direction, but it was an opportunity to go much further and meaningfully address the problem, so I was a bit disappointed that it just controlled restrictions at the process level.

kybernetikos··on Understanding gRPC, OpenAPI and REST and when to use them in API design
> every field of every type ends up being optional in practice.

This also means that you cant write a client without loads of branches, harming performance.

I find it odd that grpc had a reputation for high performance. Its at best good performance given a bunch of assumptions about how schemas will be maintained and evolved.

kybernetikos··on Understanding gRPC, OpenAPI and REST and when to use them in API design
Even in 2025 grpc is still awful for streaming to browsers. I was doing Browser streaming via a variety of different methods back in 2006, and it wasn't like we were the only ones doing it back then.
kybernetikos··on TikTok says it is restoring service for U.S. users
I'm not sure it is- even if you think the electorate are educated and competent, it still makes sense to delegate the specific decisions to a smaller set of individuals who are given the time and resources to get into the detail. It just scales better.
kybernetikos··on Tcl's bet on screens that look like paper
Colour ones weren't around when I bought it. I had been considering an upgrade but it sounds like maybe I should wait.
kybernetikos··on TCL's bet on screens that look like paper
My boox note has lasted years, been to the beach and on hikes, visited multiple countries, and commuted with me most work days. No sign of fragility. In that time I've had two kindles and one kobo break.
kybernetikos··on Some things to expect in 2025
This seems like you don't believe that AI can produce correct new work, but it absolutely can.

I've no idea whether in this case it directly copied someone else's work, but I don't think that it writing good unit tests is evidence that it did - that's it doing what it was built to do. And you searching and failing to find a source is weak evidence that it did not.

kybernetikos··on Meta's memo to employees rolling back DEI programs
You can see the difference between one immediate family and another in the DNA. DNA differences range from distinctions between individuals to distinctions between species. How do you decide where it makes sense to draw a middle line and say "ethnic group"?

One thing that you definitely can't trace in the DNA is "that group of people tried to genocide my grandparents", but that seems like an important "ethnic group" distinction to you.

This is not to dispute your main point which I take to be that you stop fighting over "ethnic" distinctions by giving people a new unifying identity, but I still find myself thinking that something is lost in the process, even if it is a proven approach.

kybernetikos··on How the lore of New Year defeated the law of New Year
I'm not sure this is entirely correct, it implies a level of standardisation that I don't think was the case. Not everyone agreed when years were considered to have started or used the same numbering systems for a very long time, even after the Julian calendar was widely adopted.

You can see how this played out in England, a relative latecomer to the increasing year start consensus. Up until the Calendar (New Style) Act of 1750, the year was considered to start on the 25th of March. This means that historical documents in England containing dates in January or February have what we would consider to be the 'wrong' year number on them. Pretty inconvenient, but at least the roman numbered months would have made some sense to a person living in England before 1750.

kybernetikos··on Types are a basic tool of software design (2018)
Having worked on a large js codebase back before typescript or flow or the closure compiler existed, I found that the process was not very different to any code - you check your preconditions on entry to code that will be called from elsewhere, it's just that those preconditions in a dynamically typed language may include the types of your arguments. If you do that, then type errors typically cause your code to fail fast, often on first load, in easy to understand ways. Overhead is just a couple of extra easy to understand lines at the top of about half your functions (probably less boilerplate than go's error handling forces on you).

Given the fantastic iteration speed that the Web platform had (and still does to some extent) I didn't really miss a compiler for catching errors. The main improvement is that IDEs find it easier to support big refactoring.

I also worked on a mid sized scala codebase a little later on. Scala is probably better now than it was then, but despite (perhaps because of?) the cleverer type system, everything was so slow that it actually took longer for many bugs to be highlighted by the compiler than they would have been found by hitting f5 in a browser window with a good js codebase. That was when I realised that as a developer I care a lot about when an error is highlighted in wall clock time and not at all about which compiler phase it was discovered in.

kybernetikos··on How the lore of New Year defeated the law of New Year
I believe IBM pay its UK workers on the 6th because at one point they wanted to move pay day to as early as possible without paying more than 12 times in a tax year. This means that the day lots of people get paid in 2025 has been set by a deliberate simplification Julius Ceasar made in 46BC. That's technical debt that lasted a long time.
kybernetikos··on OnlyFans models are using AI impersonators to keep up with their DMs
Feels like that ended with an ai escape when I was hoping that the punchline would be that all the apparently happy, well adjusted, coherent users were in fact ai trained in the preapocalypse and the insane sick, repetitive people were the real users living in the post apocalypse.
kybernetikos··on ChatGPT Pro
I recently saw someone revise for a test by asking chatgpt to create practice questions for them on the topics they were revising. I know other people who use it to practice chatting in a foreign language they are trying to learn.
kybernetikos··on Lies we tell ourselves to keep using Golang (2022)
> Both of those things have very little to do with server environments

My experience of bigcorp is that they need lots of servers (http is the modern bailer twine) and want developers to act as far as possible as indistinguishable resource. They will have rotating, high churn, globally distributed teams of vendors, contractors, consultants, internal staff and the teams will encompass a vast range of skill levels and abilities.

Some languages amplify skill level disparity, some attenuate it.

kybernetikos··on Lies we tell ourselves to keep using Golang (2022)
I think this is exactly the right way to understand Go - it's targetted at building servers in environments where having strong consistency of code and a short ramp up time for junior engineers is valuable - i.e. it's perfect for all the big corp scenarios that Java was used for.

I think maybe the more common, but less helpful comparison of go vs rust comes from the fact that they are both part of a new wave of languages and that they both default to producing staticly linked binaries.

kybernetikos··on How to give a senior leader feedback without getting fired
I can only speak for myself, but if someone I trust wants to solve some of my problems for me, enabling me to be better at my job, I love that and will push for their recognition and promotion.

If I don't trust them to represent me and the team, then obviously that suggestion wouldn't work, but I'm trying to express the difference between someone pointing out a problem as if the problem is just yours or offering to help take responsibility for the problem as part of a team with you.

I've worked with people who made it a point of pride to always bring a concrete, workable suggestion whenever they brought me a problem. We didn't always go with their suggestion, but they were fantastic to work with.

Thankfully, I've never had to worry about keeping good people on my team down out of fear they'd take my job.

kybernetikos··on How to give a senior leader feedback without getting fired
Most of those examples (not giving enough direction, not training new hires enough, not being clear enough on priorities) are probably not going to be surprises for the person, and if you give feedback that shows you want someone to behave differently without having given some thought about why they aren't already then your feedback talks more about your own lack of experience and empathy than anything else.

To give good feedback to anyone you need to understand something about the pressures and challenges that they are facing. And remember that everything is a trade off. For example, perhaps they're incredibly busy, and would like to spend more time with new hires, but are struggling to find time because they aren't getting enough blocks of concentration time to work out clear priorities and they have been told they need to give their trusted colleague more opportunities to grow so they delegated it to someone.

Most likely, if you think something is a problem then they do too. They don't need to be told that or criticised for it, they need help solving the problem that causes the problem.

Imagine the difference between "I want to give you feedback that you aren't spending enough time with new hires" vs "I know you've been wanting to spend more time with the new hires, why don't you take them for lunch and send me to your status meeting over Tuesday lunch time this week."

As I started doing more leadership, I became aware that a lot of the things I might previously have cited as predictable examples of leadership incompetence causing problems were not surprises to leadership. They knew that this course of action would cause problems. The reason that they went ahead anyway was because they believed that the problems caused by the other courses of action available to them would be worse.

Of course, there are situations this advice does not apply, maybe the leader genuinely is clueless or evil or mistaken about the severity of a problem, but a good leader when presented with a problem elsewhere needs to start from a position of respect and learning and if you want to give advice to a leader you should start by trying to model good leadership yourself.

kybernetikos··on Fair coins tend to land on the side they started: Evidence from 350,757 flips
But if you get someone to flip a coin thousands of times for a boring reason, I would lose confidence that they are flipping in the same way a normal human would.
kybernetikos··on Against Best Practices
> If you are watching from a great distance, you might think that an army has conquered a country, but if you listen to the people who are involved in the struggle, then you are aware how much "a country" is an abstraction.

Most things of any value are abstractions. You take a country by persuading everyone you've taken a country, the implementation details of that argument might involve some grassy hill tops, some fields and farm buildings, but its absolutely not the case that an army needs to control every field and every grassy hill top that makes up "a country" in order to take it. The abstraction is different to the sum of its specific parts.

If you try to invade a country by invading every concrete bit of it, you'll either fail to take it or have nothing of value at the end (i.e fail in your objective). The only reason it has ever been useful or even possible to invade countries is because countries are abstractions and it's the abstraction that is important.

> The real work is made up of specifics: buildings, roads, trees, ditches, rivers, bushes, rocks, fields, houses.

Specifics are important - failing to execute on specifics dooms any steps you might make to help achieve your objective, but if all you see is specifics you won't be able to come up with a coherent objective or choose a path that would stand a chance of getting you there.

kybernetikos··on Tesla has the highest fatal accident rate of all auto brands, study finds
The worst 23 models according to the study are here: https://www.iseecars.com/most-dangerous-cars-study#v=2024

I'm not sure which of them are evs, but you could work it out fairly easily. Even if many of them are, it still looks to me like tesla is doing poorly by this metric.

kybernetikos··on Tesla has the highest fatal accident rate of all auto brands, study finds
Follow the link to the underlying study https://www.iseecars.com/most-dangerous-cars-study#v=2024

While the linked article is playing up the tesla angle (and so may be thought to be manipulative) the underlying study does not seem to be unusually focused on tesla, it's simply listing the results of a fairly straightforward analysis. I also have no reason to doubt it as I more or less expected tesla to have bad fatality rates compared to class (although I guess I wouldn't have expected them to be quite this bad - I thought they'd be bad compared to other luxury vehicles of similar weight size and price, not absolutely bad compared to most cars).

But you can find the underlying numbers and critique them if you have reason to think they might be wrong. E.g. if you believed the claims that autopilot was safer than human drivers and was saving lives, you might have expected to see a sign of that in this data (I didn't).

kybernetikos··on It's legal for police to use deception in interrogations. Some want that to end
The reason John Wick did that is because "man murders hundreds of people, but its ok for us to admire him for it because they deserved it because they killed his wife /girlfriend" is entirely overdone.

People do of course care about their pets, but John Wick used the death of a pet as its instigating event because it was different, not because it was a remotely usual way to respond to a pets death.

kybernetikos··on Programmer in Berlin: Culture
As far as I can tell, In the not so distant past, you were either in favour of rule by the monarch and the aristocracy or you were a Liberal. Pretty much every party in a modern democracy is a flavour of Liberal. Its only because liberalism comprehensively won that we find it useful to separate out the different strands.
kybernetikos··on Auth Wiki
I suspect that when they call it a 'wiki', what they really mean is a 'hypertext'.
kybernetikos··on What happens when people with acute psychosis meet the voices in their heads?
There's an approach to pschotherapy called internal family systems that sounds a bit like this.
kybernetikos··on What happens when people with acute psychosis meet the voices in their heads?
Given the context in this conversation about how confirming a delusion can be dangerous, I think the concern is just that there may be situations where asking this genuine and interesting question could cause harm.

I think probably that on balance you've got away with it though because the people commenting seem to be safely outside the other side of their psychosis and are able to answer interestingly without being harmed by the question.

kybernetikos··on How to grip Bronze Age swords
I'm not going to argue from history because I don't know it, but I know that humans love tools, they love tools so much that they'll often put more effort into acquiring them and talking about them than they do using them for their intended purpose.

I'd be quite surprised if objects this precious didn't also have a mini industry of people talking about them, selling them and telling you how to use them properly, even in the bronze age.

The bronze age spanned thousands of years. We went from computers to agile consultants in much less time.

kybernetikos··on US probes Tesla's Full Self-Driving software after fatal crash
> But at the end of the day, only the numbers matter.

Are these the numbers reported by tesla, or by some third party?

kybernetikos··on JSON Patch
How does it do with array insertion? I didn't like how most diffs handle them so I smashed together two pieces of code I found elsewhere to get something I thought was better. https://github.com/kybernetikos/fogsaadiff
kybernetikos··on Review: ReMarkable Paper Pro
I have a boox note air, and if you use it as a "full tablet" then you're doing it wrong and will not enjoy it. It shines as an ebook reader (it runs kindle and kobo as well as epub readers and calibre companion). I run file sync on it so it always matches my library. I take notes (using the remarkable pen which is better than the boox note one and works great with it). But I don't use it for browsing or anything like that, the slow screen refresh just makes that sort of thing miserable.
← PreviousPage 6 of 34Next →