skysight-inc/HackerNews huggingface dataset:
> You want it to be a Nazi salute, that is all I hear.

That's fine with me, but you should be aware that you're breaking the site guidelines in doing so: "Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith."

> Why should he deny it when he is obviously not a Nazi?

Why would it matter whether he is a Nazi, when the question is whether he did a Nazi salute? You and I aren't Nazis, yet we could both do a Nazi salute right now.

I also reject your premise that he's "obviously not a Nazi" - you'd have a great point if he didn't agree with Nazi talking points[0], and didn't give both platform and reach to Nazis, and so many other Nazi-adjacent fauxpas over the last months. But that's not relevant to the discussion, so let's not retread those grounds, okay?

[0]: https://x.com/elonmusk/status/1724908287471272299
Thanks for explaining this to us.
C++17 example, showing polymorphism at compile time without macros.

Naturally checking for speak() existence with enable_if, static_assert and type traits could be added, though this is an example, and nowdays we would make use of concepts anyway.

#include <iostream>

using namespace std;

class Duck {
public:
void speak() const {
cout << "quack";
}
};

class Dog {
public:
void speak() const {
cout << "auau";
}
};

class Cat {
public:
void speak() const {
cout << "miau";
}
};

template<typename T>
void speaking_animal(const T& animal) {
animal.speak();
cout << "\n\n";
}

template<typename... T>
void speaking_farm(const T&... animals) {
auto space_adder = [&](auto creature) -> void {
creature.speak();
cout << " ";
};
(space_adder(animals), ...);
}

int main() {
Duck duck;
Dog dog;
Cat cat;

speaking_animal(duck);

speaking_animal(dog);

speaking_animal(cat);

speaking_farm(duck, dog, cat);

}

Available at https://godbolt.org/z/WWfx5jWfM
Good leadership starts with clearly communicating expectations. If your boss can not say "I want you to use this tool" or "use whatever you seem fit", but instead hints to you as to some possible drawbacks of certain tools he is bad at his job.

There are multiple ways to read that suggestion. It can also be read as the interviewer saying he does not believe in the technical depth of the candidate, which can be taken as a challenge.

It would also have been better to give a choice of a few selected languages. As that means the interviewer can be much better prepared.
> so the fast acceleration does not consume much energy

Also, acceleration has no effect on the energy if you’re trying to hit the same target speed (unless there is friction, in which case you’d use less energy with higher acceleration)
From reading the comments they've prioritized ease of onboarding vs encouraging federation.

I wonder if they could save some bandwidth with webtorrent
Some of these rules look like straight from Severance TV show. This would be a huge red flag for me.
Exactly. On one level I loved this solution but it’s definitely “clever code” and, unless there is a particularly strong requirement driving it (e.g., performance), I don’t particularly like clever code in production systems.

The problem of “What does this do?” is prevalent enough, and occurs often enough under pressure, without adding excessive niftiness into the mix.

I do still like the solution though.
I think it's supposed to test refactoring and debugging abilities, but it just didn't work and they didn't know what to do. Anyway trying to argue that 0 is not a multiple of 3 is a big red flag.
https://forum.vcfed.org/index.php?threads/looking-for-old-pr...

In 1985 8KB 6264 = $7, 1986 same chip $4. So ram alone would be $15-30, then add pcb case and margins and we are around $100, more than VIC-20 itself was worth at the time.
In this case we’re talking about one guy responding asynchronously to a handful of spammers per day. It’s something you could run on an old laptop. It doesn’t need a server or 11 9s of uptime.
I'm getting peeved by interviews that asks for tests (especially take home tests)

The main issue that I see is that interviewers get extra picky with all the minor details and they fail candidates due to minor issues that would get solved in a code review or just with a bit more time

And while fizzbuzz using strings only is cool, it seems it didn't add anything to the predictive power of the interview
Only in traditional UNIX, which I mentioned.

Borland and Microsoft compilers have been dealing with them just fine since at very least 1994, when I started using Turbo C++ 3.1 for Windows.
>In the long run we are worse off, because the subsidy can't last forever.

You're making the classic error here of not factoring the externalities involved - the pollution and other issues from fossil fuels. If they were actually being paid for then electricity would be much cheaper. Fossil fuels get a defacto subsidy by being able to pollute the environment without any cost.
In particular the track gauge is a long way from being the only consideration. Structure gauge and Loading gauge are also crucial. When I first moved here despite this being an important port city a Victorian arch bridge carrying road traffic over the railway meant every single freight train carrying containers from the port to the rest of the country needed to either go on a circuitous route or use special low wagons with reduced capacity, which hold a container below axle height so as to fit under that bridge.

In that case blocking the road and dropping in a new road bridge was affordable given the economic value but generally you put up with what you've got.
this is just boomer talk, I am sorry but todays world is different to the one he grew up in. We face challenges that makes prioritizing 100% on family extremely hard.
The interview deserves to be mocked. It wasn't someone being asked a few trivial questions, but 45 minutes of being asked to go through ridiculous hoops.

If you are concerned about a candidates team skills. Talk to them, do not interpret it based on, how they engage with some stupid coding puzzles.
How much of the article did you read? They were looking for a senior, with more than twice the experience the poster has. Being able to pump out algos is only part of the job.

While there a solution is clever, it’s not terribly maintainable and likely didn’t fit the bill.

Beyond that, things like soft skills matter for senior roles. The author can write, there’s no denying that, but we don’t know how well they can explain the why of their solution. It’s very likely the interviewers wanted more traditional functions that were unit-testable.
It should, typically trip times should be in the single digit miliseconds range (the idea is to stop within half of a 60/50Hz cycle).
Maybe they didn't factor in ridership on certain part of the track gradient, which would lead to more regen braking than expected?
It's available for download for free, if that's the concern.
You have the coding and reasoning part perfect (but maybe not straightforward to understand) and you also know the things you are missing.
- University degree: not necessary, get certifications or equivalent experience (upwork)?
- English: this part is really important. find or hire a native speaker and start practicing.
- AWS/GCP/anything else... get certifications or free courses.

My only complaint about your code: in a company you probably want them to approve your PRs, sometimes your peers will code worse than you, so better if the code is less stilted and maybe objectively “worse”, but easy to understand at a glance. but that part also depends on the interviewer.... better to ask first, it's part of working in a team.

I'm sure you'll soon be hired for 50k+.

Suerte.
Stupid questions deserve stupid answers.
AMA about it. its my home.
The 30-lines rule annoyed me the most.

Don't force 'clever' solutions if you're looking for readability, maintainability, changeability, debuggability etc.

On the other hand, our company doesn't do any technical interviews at all, so there's that.
okay but "ad-free" means costs elsewhere and "not about to be banned in the US" means they're "competing" with Reels and Shorts.

unless this project is for the sake of resume-padding or something else other than actual use, someone has wasted a lot of life hours developing this
Code looks simultaneously impressive, elegant, and monstrous. Are such snippets found in TS codebases? Would like to see how it compares to a more conventional approach. Still, cool code. (Even if weren't hired.)
"Drive this car with 3 wheels and if you crash it's all on you, if we get to the destination I'll be rich and DON'T even think about stopping to add a 4th wheel. DRIVE FASTER. STOP THINKING ABOUT THE WHEEL."

Really devs should exchange labor like authors with royalties, there's no incentive to ship good software for salary so you just end up with a series of "crushed tickets" aka future work for yourself as job security.
The certificate mismatch does not play any role in this SEO tactic. It just is not a factor.
> An address is already PII, whether you pseudonymize it with apartment numbers or not.

The full address is PII. But a street level address isn't necessarily, if it points to an appt block.

The problem with the mail boxes is that you're leaking that a "Mr. Smith" is living at that address. Now with Mr. Smith this is not such a big problem but if you're looking for "Mr. LessUnique" then it is
Adding this solves the problem:

figure img { width: 100%; }
>While there a solution is clever, it’s not terribly maintainable and likely didn’t fit the bill.

Why invite him then?

>Beyond that, things like soft skills matter for senior roles.

Then talk. Ask him. Psychoanalysis of the solution of a stupid brain teaser will not answer your questions.
I think the reward is relative to other sampled answers for the same question. This way the signal is strong at the very margin of what is possible with a given model and there is less noise in it with impossible or too easy questions.

There is some confusion - because they do compute that simple reward, but then they convert it to a relative value and call it advantage. And I think they use that advantage to update the model - not the base reward.
That has absolutely nothing to do with RAII or safety…
QEMU microvm virtual platform
I think empathy is the only cure to racism. Funny coincidence: MDMA was originally known as "empathy" instead of "ecstasy".

It's also the only psychedelic I'm aware of where there is no such thing as a bad trip. For example, putting people in a hospital room alone and then in an MRI machine would certainly cause a bad trip for some people on LSD or mushrooms, but this guy had a great time on MDMA (and anyone else would as well.)

It is mildly neurotoxic, though it seems the neurotoxicity is only an issue when you take it too frequently (more than 3x/year) or too much (over 2.5 mg/kg.)

Another interesting somewhat-related story is that of Daryl Davis. No MDMA involved, but lots of empathy and understanding.
Interestingly, unlike many in this thread I would've avoided hiring this person based only on the code example.

This code is almost unreadable to me, certainly to most on my team. I would request changes it if it was a PR going into production (ignoring that the problem itself is made up). The code I would've liked to see would be easy to read, easy to follow, and would make me understand the underlying rules that made the code look like it is. This, I feel, achieves none of that.

But of course, everyone is different, and certainly many in this thread feel different. I just wanted to add my perspective :)
If this is done with SEO in mind, at first they will also do a redirect for Google Bot.

Then they build links to their domains. Once it has more backlinks than the real domain, the redirect is removed.
This would only be possible on rooted devices, and even then it could take some considerable effort depending on the manufacturer. The way call audio is routed on Android is SoC specific and often a pain to intercept or alter.
> That's fine with me, but you should be aware that you're breaking the site guidelines in doing so: "Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith."

I can't find any other reason why you think a Nazi salute is that sloppy, as otherwise you see people do Nazi salutes all the time. Nazi salutes are illegal in parts of the world, if you are going to prosecute someone for it then it needs to be way clearer marked than what he did.

If he combined it with "Heil Hitler", or did it with a stiff upper body and/or left the arm staying in final position for a few seconds like fascists liked, then sure, but he did neither of those things.

Why else would people want to call that a Nazi salute when it is so far from the real thing? It is such a strong accusation to make, and similar motions are so easy and common that you should assume innocence's here unless it is extremely clear.
Which one? We're curious now.

https://en.m.wikipedia.org/wiki/List_of_countries_and_territ...
> one doesn't get a sense the train would roll very far unpowered

Even a model/toy train wagon can easily coast the length of a large room when given a push.

See how little metal is in contact, about 1cm²: https://www.reddit.com/r/Damnthatsinteresting/comments/17ysd...

There's very little friction.
These cases often bring in medical records experts when one side disputes the scope or completeness of their access. That’s where I’d expect AI to debut.
My job allows me to exchange labor for money to support my addictions to food and shelter and my passions.

I can’t muster up passion for any for profit company
Astrophysicists reveal structure of exocomet belts orbiting nearby stars
I have with Apple. Got a very generous bounty that paid for my university though it did take close to a year
there are also professional women in those countries. but it is still an important point to consider because they may not be able to work in your country after moving, unless you move to theirs, which is what i did. my wife was always earning more than me.
Today, both sides already have some level of access to medical records; could be a judge’s decision.

And when it comes to medical records for people unrelated to the lawsuit, using de-identified cases is not a violation of HIPAA. The question is: can we use AI on those full cases and de-identify afterward? Is using AI on de-identified cases allowed (because the de-identification process can mess with chronology)?
I’ve been playing it on Mac with crossover. Works great
Will this take TikTok's (or even Reel's) marketshare? No. Will it get enough users to take off in the first place? Also probably not (see
bobnamob's comment). This is still really awesome. It's an awesome app and an even cooler project.
Honestly, reading these coding golf rules gives off the sense that they were written by a either very inexperienced or insecure individual. These are not a good way to measure a candidates abilities.

As has already been mentioned in other comments, these are clearly red flags and grounds for not taking the application process further.
Really enjoyed reading this write up. For exotics there is typically less people tinkering with them and that makes it even more cool when you manage some hack/mod!

For Porsches, it's easier as they do share infotainment stuff with other VAG vehicles and there is an online community that also tinkers with PCMs (Porsche's infotainment).

In my old 991.2 I managed to unlock Android Auto which was never officially supported using that community's efforts - it was completely functional, just disabled in favor of a CarPlay-only offering. (This changed with the 992 where it comes with both systems standard). And by plugging in a Motorola MA1 one has Wireless Android Auto on a car that never supported even the wired version. Sweet.

One day we might see a real Doom on 911 write up because the viral video from a few years ago is sadly fake. But just by going with the information/tools available in the modding community it's completely possible. Most of the GUI on it is Java apps BTW :)
Is it just me, but if there’s enough drainage send a train with hundreds of ice blocks, drop them off in alcoves along the tube tunnel and they’ll melt absorbing large amounts of heat.

Maybe not 500 GW I grant you, and water and electricity need to be kept well apart, but sure some areas could be isolated.

I’m guessing drainage is an issue, but there’s always a risk of flooding I would have thought there would be drains and pumps already there.
One of the worst parts of using a oassword manager is that apps and websites don’t by default share their credentials. I could totally see me getting caught by a shady link to a website of an app that I use but because I’ve never logged into the website, 1Password makes me search for it.
I was wondering the same thing. I feel there is too large of a gap between a raw base model and and a model that produces fully correct answers and follows a specific format. My guess is their rule base reward system is more nuanced than just correctness and format.
The code being hard to read may be partly a consequence of having to bend over backwards to fulfill the absurd requirements.

No numerical operations on a fizzbuzz problem? Give me a damn break.
(Accessibility) Overlay Fact Sheet
The slog (structured logging) package of the stdlib has those, I believe. As well as support for custom levels.
Let them drink Coca-Cola.
really? i have seen very few positions in europe offering more than 50-70k a year, and i looked at hundreds. that includes seniors.
> Changing the programming language after starting was also forbidden.

> Max of 30 lines.

> Max width of 100 characters.

Putting arbitrary rules where none are really required is actually quite informative. It shows how the company culture is set up and it's probably gonna be lots of long days working on things that make no sense because some manager is power tripping over pointless arbitrary decisions. You must be truly desperate to come to them for work.
I probably wouldn't have hired the candidate, at least for the position as stated.

My reasoning is that the company advertised a position for a senior engineer with 4 years experience. Leaving aside title inflation and whether someone with 4 years experience is actually a senior engineer, and leaving aside the really dumb test, that position requires communication skills, common sense, maturity, and just generally knowing what's going on. A candidate who misreads the situation in an interview so badly that they can't take the interviewer's unsubtle hints is going to mess up other communication within the company, has likely never been on the other side of an interview before, and is at risk of allowing the kind of "clever" code that destroys companies.

Again, this is only a problem for a senior engineer. I want junior and mid-level engineers to be clever and enthusiastic. Senior engineers are meant to understand that I have five interviews this week and their attempt to channel Aphyr[0] is going to make my life harder when I want to talk about their thoughts on maintainability.

[0] https://aphyr.com/posts/342-typing-the-technical-interview
If the requirements of the exercise had been "write FizzBuzz" then I would agree: doing weird tricks like this rather than writing straightforward code is a red flag.

But the requirements were "write FizzBuzz in ANY language. Then change it so it doesn't use use numbers (!!!). Stick to strict and unreasonable code length constraints."

The only POSSIBLE interpretation is that the interviewers don't WANT straightforward readable code, but want weird tricks instead. Which is exactly what the author gave them.
There's no battery for the motors. A train can easily coast through a tunnel etc without any power.

(There will be a battery for lights etc.)
Or you just had to structure your knowledge bases and settings properly. I can restore dev-part of my pc anytime by installing git and making a few clones. Going to another machine is literally a matter of pasting gitlab credentials and init scripts into a terminal. I can even replay things if they have to repeat in a project because I save all the steps I take into a project/job-wise obtf.txt. Working in a non-automated non-repeatable way is so self-inflicted. It’s akin to not having a car because it has a cost.
At a very abstract level, maybe. But it's common not to log changes that can trivially be rolled back, like insertions into a table that was created or truncated within the transaction. Of course, such optimizations are incompatible with log-based replication. So the statement should probably be, “in a system with log-based replication, the log is authoritative, and the tables are just an optimization”. This framing also avoids ambiguities because a transaction log may not be fully serialized, and might not fully determine table contents.
They've mentioned before that it's Kazakhstan.
Could we in theory have an algorithm to promote things like interaction, inclusiveness, culture matching etc?

I get that money has to come from somewhere, but I wouldn't mind a social network that's not focusing on making you stay and scroll.
Basic GFCIs are also around the same price in the US.

The discussion in the article is about mandating that weirdo breakers also contain GFCI/AFCI components. Unsurprisingly, manufacturers charge a lot more for the oddball parts.

(My load center's vendor also seems to be particularly bad with the price gouging, but I didn't exactly choose it, so in that respect it's perfectly representative of what gets chosen for people.)
50k for a junior dev isn't much, but it isn't low either. Software companies and larger ones might pay a bit more, smaller ones and those that have a small IT staff a bit less. That's the salary situation in the country. It's not the USA.
Hi there. Just signed with the display name GeekFriday. Is that the information you need?
There's additional cost for the transformers powering the caternary above the track to allow them to receive power, not just send it.

However, since this has been normal in Europe and Asia for decades, I doubt the additional expense is significant.
How do Californians in 2025 feel about the California High-Speed Rail?

A similar project [1] is underway in Canada, but I worry sometimes it'll fall prey to the same administrative bog that the CHSR did. It'll be managed by a new Crown corp, VIA HFR, and from my understanding they're still taking engineering bids. I expect it'll be a while before shovels hit the ground.

A cheap, fast, and reliable rail from Toronto to Montreal would be a dream come true for a lot of Canadians. Any ideas on how best to make it a reality?

[1] https://tc.canada.ca/en/rail-transportation/railway-lines/hi...
Elixir will get you pretty far along this scaling journey without too many problems:

https://hexdocs.pm/phoenix/channels.html
I tried to detect models of specific chairs, but it's very difficult. To train the AI model, you need many photos of the same type of chair, and on the internet, you can usually find only one stock photo of each chair.
Just out of curiosity, how did that get brought up?
That makes me think I am forgetting about the relationship between "logic" and "set theory" (starting point of all maths).
There is a power imbalance between interviewer and interviewee. If an interviewer really wants to, they can throw you the equivalent of "what number am I thinking of" and watch you struggle through 50 tries before your brain runs out of glucose and you go blank.

If I'm interviewing someone and they give me a right answer that wasn't even in my copy of "the teacher's answer book", I realise they're good and let them ace it.

It maybe be that there was a personality clash and they simply didn't think the candidate was a good fit for the team. Been there, and understand that. Or they maybe got butt-hurt that the candidate's answer broke their test. Either way, the candidate is better off not working there.
I live in Germany