17,259 karma · joined Oct 11, 2013 (13y ago) · 5,452 submissions
comment 15h ago · link · parent
The classic example is user passwords. For the database schema, it makes perfect sense to store the password hash alongside the user's other details. For the front end, it's positively dangerous to return the password hash when all the front end needs is the user name and avatar url.
I think part of the attraction of GraphQL was being able to specify that front-end schema properly, and let the front end create its own queries on that schema.
But then folks decided that the front-end schema should be generated from the back-end schema because maintaining two schemas was too hard.
And, of course, the majority of what I've seen GraphQL as actually used, there's one query, fired at page load, that returns a giant json blob with all the data in it, because the front-end devs don't want to deal with quering for what they actually need.
comment 17h ago · link · parent
The "security through obscurity" argument doesn't really hold water; this has not been obscure, and (as I said) recruiting someone who would know how to do it is not hard.
I just don't buy any of this as an existential threat that is so immediate that we must control the ability of people to run their own AIs.
But now, of course, I've jinxed it; if the only way for Anthropic to get their moat is for some poor sod to be arrested for attempting a nerve agent "terrorist incident", well, I'm sure we'll see that in the news soon.
comment 20h ago · link · parent
I prefer the theory where he got so powerful, and had no-one around him saying no to him, that he just thought he could do anything (to anyone) he wanted.
comment 20h ago · link · parent
There are landfills full of those single-use, non-recyclable, pods. The sheer waste and environmental irresponsibility is infuriating.
I can understand instant coffee. If you don't have the infrastructure to make real coffee, then I see the point. But Nespresso also needs infrastructure. Why not just make real coffee instead and stop fouling the planet with ridiculous pods?
And now they're enshittifying. Well, I hope the whole business burns to the ground.
comment 21h ago · link · parent
How do we licence programmers to stop them from attacking critical infrastructure?
How do we licence chemists at the moment to stop them from making nerve gas?
How do we licence biologists at the moment to stop them from making pathogens?
We don't, and it hasn't been a problem so far. Terrorists (the new boogeymen of popular imagination) have not tried to do any of this so far, even though (e.g.) learning some chemistry or recruiting some chemists is not a huge step.
Why do we think this will suddenly be a problem?
comment 1d ago · link · parent
There were unions who were bending over backward to accommodate the owners, they still got hammered and their members lost those jobs.
comment 1d ago · link · parent
Contractors are always paid more because they can be fired at any point, which normal employees cannot in Australia. Again, something pretty unique about the US job market is that everyone can be fired much easier, which brings down the benefit of hiring contractors.
So yeah, I can see how the advice to become a contractor might not work so well in the USA.
comment 3d ago · link · parent
This happens routinely. It's just the first time that educated white-collar workers like us have had to experience it.
comment 3d ago · link · parent
from one of my favourite bloggers, his other stuff is very worth reading.
My take on it: the standard recruitment process is completely broken. Don't even start doing that. Sending applications to a job advert is an exercise in futility and will destroy your mental health.
It's always about who you know. You have to go find people who are in a position to employ you, and impress them. This isn't difficult. They don't want to interview the stream of idiots that HR have approved any more than you want to jump through the hoops HR think are relevant. They want to employ someone who they know and like. So go to meetups, small business networking events, tech conventions, anything that will attract the kind of boss that you want to have. Talk to people. If you can, present something.
comment 4d ago · link · parent
There used to be "typing pools", whole floors of mostly women who typed handwritten and dictated notes up into actual documents that could be filed and distributed.
I heard this week that there used to be seven draughtsmen per architect, and now there's one draughtsperson per seven architects.
So, yes, software has completely replaced entire careers. We can't really grumble when it's our turn.
comment 5d ago · link · parent
The entire consulting industry works on this.
comment 1w ago · link · parent
I can easily see a point in a couple of years where Copilot is cursed in the same way that IE was, and becomes the same kind of sick tech joke of a system that really hurts the MS brand.
comment 1w ago · link · parent
Open Source depends on copyright, and makes the source available. The restrictions that (e.g.) the GPL makes are enforced by copyright law, and derive from the author's copyright protection of their work. Effectively the author is granting the recipient permission to use their copyrighted work under certain conditions.
AI-derived works cannot be copyrighted and so cannot be made Open Source in the sense that FOSS means. There can be no restrictions on what the recipient does with the code, because the code is public domain already. Effectively the recipient has as much ownership of the code as the author.
However, the author has no obligation to publish their code, even if it is public domain. And no-one has any right to request a copy of the code, even if it is public domain.
Essentially the current situation is the reverse of FOSS. In FOSS you get a copy of the code along with restrictions on your use of it. With AI code, you don't get the code even though there can be no restrictions on your use of it.
If we did as the author suggests, and all AI-generated code was Open Source by default, we'd be in a worse position - we'd still have no obligation on them to publish, and we'd have to give the author ownership again.
Instead, we probably want some obligation to publish any AI-generated code because it's in the public domain. Though how you'd protect the human-generated bit would be interestingly tricky.
comment 1w ago · link · parent
Time is part of spacetime, and spacetime is a property of this universe. So there's no "when" or "where" outside the universe. So it doesn't make any sense to talk about "before" the universe. Time started when the universe started. Causality is a property of time; one thing follows from another because of time. If there's no time, there can't be any causality.
> How could it start from absolutely nothing?
So this question doesn't really make any sense. There's no other way it could have started, because the very concept of "nothing" and "started" didn't apply outside of the thing we're saying started (sorry, it gets very difficult to talk about this using a language so firmly grounded in time). It doesn't make any sense to ask what caused the universe because causality itself is a property of the universe.
Like I said, interesting concept and thought. I have no idea if it actually describes reality.
comment 1w ago · link · parent
It's like "to get into Marine boot camp, there's a minimum crochet requirement".
Solving leetcode problems has nothing to do with commercial coding. It's an unrelated hoop that we make folks jump through, because it's easy to measure. It's like measuring developer productivity by LoC written.
Yes, it'll measure how much time the candidate spent preparing for the interview, and how well they can jump through hoops. But it'll also deter the actual people you want in the team, the folks who know that leetcode has nothing to do with commercial coding, and see the leetcode test as a sign that your organisation has no clue and a bad management culture.