This test is so far beyond AGI. Try to spit out the SVG for a pelican riding a bicycle. You are only allowed to use a simple text editor. No deleting or moving the text cursor. You have 1 minute.
The way I think of complex numbers is as linear transformations. Not points but functions on points that rotate and scale. The complex numbers are a particular set of 2x2 matrices, where complex multiplication is matrix multiplication, i.e. function composition. Complex conjugation is matrix transposition. When you think of things this way all the complex matrices and hermitian matrices in physics make a lot more sense. Which group do I fall into?
I know of no other country that locks people up while they process immigration appeals. That's crazy.
Other countries will either summarily deport you and make you resolve your status from outside the country, or let you stay while you appeal and deport you when your appeals are exhausted. Both are sane things to do, this is not.
The US has a very strong belief in punishing people. It helps them create an "out group" to shun. For those people, the worse the conditions of your jail are, the better. It's some sort of a relic of the specific religious background common in the USA, and it's disgusting.
Other parts of the world believe in human dignity and helping people fix the things that are broken in their lives. Look up Norwegian prisons...
Today I'm writing a Postgres native function to derive UUIDs from an integer primary key using AES intrinsics. This lets me expose public UUID keys while still using an efficient 64-bit sequential primary key.
Not sure if I'll use it compared to just using conventional uuidv7 but it's nice to have options.
TSMC can shut the fabs down whenever they want. If the US think they can take over a fab like it's a t-shirt factory and keep it running without TSMC's cooperation they are sorely mistaken. What are you going to do when none of the Taiwanese workers turn up for work, or worse they do turn up and sabotage the fab.
If you don’t think the US security apparatus will come up with a reasonable plan for doing just that within 2 months of it opening, I don’t think you’re thinking hard enough about this.
> What are you going to do when none of the Taiwanese workers turn up for work, or worse they do turn up and sabotage the fab.
You’re going to offer them a lot of money, citizenship, and exfiltration of their family to turn up at work, and threaten them with lifetime in supermax if they sabotage anything.
What US judge isn’t going to allow you to do what the hell you want under national security provisions if it comes to that?
> You’re going to offer them a lot of money, citizenship, and exfiltration of their family to turn up at work, and threaten them with lifetime in supermax if they sabotage anything.
This is exactly the attitude I'm talking about. You can't operate a fab based on coercion. It requires positive relationships. There are simply too many people involved doing things that the would-be coercers don't understand.
The idea that an entire TSMC fab is going to commit treason en mass is about as believable as thinking that NASA faked the moon landings and covered it up en mass. Large groups of people don't behave the same way as small groups of people.
If the US wants a fab, just give Intel money to build one. Trying to steal one from TSMC is a nonsensical plan. At least Intel would know how to operate their own fab.
> If you don’t think the US security apparatus will come up with a reasonable plan for doing just that within 2 months of it opening, I don’t think you’re thinking hard enough about this.
The current US security apparatus is led by highly incompetent and corrupt people willing to sell the country down the river, so I would not count on them coming up with a plan, much less a reasonable plan, for anything.
> If you don’t think the US security apparatus will come up with a reasonable plan
Have you seen the US security apparatus's track record at coming up with reasonable plans for what happens after the military victory? See Iraq, Afghanistan, etc.
In the UK the driving test requires a portion of driving using a satnav, the idea being that drivers are going to use satnavs so it's important to test that they know how how to use them safely.
The same goes for using Claude in a programming interview. If the environment of interview is not representative of how people actually work then the interview needs to be changed.
In the Before Times we used to do programming interviews with “you can use Google and stack overflow” for precisely this reason. We weren’t testing for encyclopaedic knowledge - we were testing to see if the candidate could solve a problem.
But the hard part is designing the problem so that it exercises skill.
You’ve just written the exact reason LeeteCode is widely mocked as an interview technique. They are not representative of most real world software, and engineers that train to solve them give a false impression of their ability to solve most other problems.
I’ve interviewed hundreds of engineers for software and hardware roles. A good coding test is based on self-contained problems that the team actually encountered while developing our product. Boil the problem down to its core, create a realistic setup that reflects the information the team had when they encountered the challenge, and then ask the candidate to think it through. It doesn’t matter if they only write notes or pseudo code, and it doesn’t matter if they reach the wrong conclusion. What it’s testing for is the thought process. The fact the candidate has to ask the interviewer questions as though the interviewer is effectively the IDE, is great! The interviewer experiences the engineer’s thought process first-hand. And the interviewer can nudge the candidate in the correct direction by communicating answers that aren’t just typical IDE error messages.
To validate these kinds of questions in advance, I’d often run them on existing team members that hadn’t already been exposed to the real challenge the problem was based on.
Leetcode's utility is not in showing you can solve real-world problems. It's used as a baseline to estimate how smart you are. Every shop prides itself on hiring smart people, and some only want the best of the best—your MIT and Stanford grads, etc. A smarter engineering workforce can not only solve the problems you have, they're better positioned to spot and avoid problems you haven't anticipated yet. Anyways, IQ testing as a condition of employment can open you up to legal liability, as IQ tests are horribly racist. Leetcode is a way around that.
Without commenting on the racial biases of IQ tests (we probably directionally agree), the idea that IQ tests in employment are legally risky is an Internet myth. The companies that offer employment-screening general cognitive tests have logo crawls of giant companies that use them.
They're not unusual because they're legally risky; they're unusual because they don't work well.
reply