skysight-inc/HackerNews huggingface dataset:
I admit, I don't understand how it works. But there are ways of making code understandable that doesn't require rewriting it. Let's assume that creating custom types is the perfect solution to the given problem, you can help your fellow devs to understand it with comments, tests, documentation or even presentations. If I wrote code that was this obscure in an interview I'd be sure to mention that in a real scenario I'd provide links to this supporting documentation along with the code.
Ten thousand security pitfalls: the ZIP file format – Gynvael Coldwind [video]
It's not that the candidate is underqualified, it's that they demonstrated more hacking skill than programming skill in that interview. I feel like the rules about program length were mistaken for coding golf rules?

A small company hiring a programmer isn't looking for super clever type system hacks, they're looking for someone to crank out code to solve problems fast. It's not readable or efficient to use the type checking system as a general purpose computation system. If this is the code that your teammate wrote and now you have to debug it, good luck...

The candidate is certainly smarter than the average code monkey, just not "housebroken". Once they've worked at a team where they mostly get to fix and improve long-gone coworkers' code all day is when they gain more of an understanding of what programming is about...
Is it any easier to use than Reels or YouTube shorts?
I've tried both VSC's and JetBrains's (god don't remind me), and they were all a bit mediocre. Especially Jetbrain's felt like a gross overlap that no one tested out.

I'll give Zed's vim-mode a try, great post!
Can't you just:

<C-z>
dotnet new class -o $PWD
fg
I've checked locally. Most of these aren't really hotels, but short term rentals.

I don't have an huge issue with short term rentals per si. They are an important niche for tourism when you take the whole family, whereas most (esp. city) hotels are not really appropriate for a family of 4 or 5.

OTOH, (esp. city) hotels are usually fine for the business trips they were designed to cater too.

This leaves us with “digital nomads.” Helping these find ways to put additional pressure on the housing market through short term rentals will only cause locals to get politicians to further restrict them.
> then human confirm is needed

"Suppress this prompt with the -y or --yes option" [1]

[1] https://docs.npmjs.com/cli/v11/commands/npx
I had the impression that TikTok must be pre-loading videos. I would keep 1-n ready to go for startup (depending on storage) and then load whatever is optimal at runtime. Optimise for no wait times, control the selection and distribution. It’s not like YouTube where the client is roaming all over. Video preferences seem local ish so you can keep videos in-country for a lot of content.
Try again! Maybe this time people will see it.
From your description I think you accidentally applied for a position in an administrative sub-branch of Hell. This was the giveaway: "I had a little discussion with the interviewer, who said 0 was not a multiple of 3 and 5".
> I wasn’t going to let my ego get in the way.

Also important.

The rest of this comment is not aimed at you specifically because it doesn't apply to your situation (being laid off), so when I say "you" I mean in the generic sense:

---

When leaving voluntarily, if you realize it was a grave mistake, don't let your ego prevent you from getting back in touch with your previous employer and asking if there's any chance to work for them again, assuming you're prepared to stay with them for an even longer time (this is the important part). The first time you make a mistake like this, it's likely due to lack of experience, you didn't realize how good you had it, or you didn't know it could get this bad, and you learned the hard way.

If it happens a second time tho, that's on you.

Also, remember that taking unpaid leave for a few months might be an option depending where you live. Maybe your thoughts of leaving are just because of burnout and all you need is to take a longer break.

But yeah, first priority is getting a job that lets you stop running through your savings. After you have that and can stop worrying about bills, you can walk your way up again from there with a clear mind.
I had those same problems time ago and ended up creating https://truesign.ai

Still in beta but successfully protecting millions of requests daily.

During beta I'm giving free service in exchange of user feedback. Do register if interested!
An ideal transformer will give you perfect galvanic isolation. A GFI therefore becomes useless on transformer secondaries, because there is no way to complete a circuit through earth back to the transformer. If you have earth grounding of stuff inside the cage (not just the cage itself)... then you have a very strange test going on.

Of course, real transformers are not ideal. This:

> I bet someone could design a transformer with a shield between the windings that would integrate with the Faraday cage. Power would couple in inductively through the shield. Common-mode RFI would have a very hard time escaping, and different mode RFI could be filtered and probably matters quite a bit less anyway.

exists and it is called an "electrostatic shield" inside a transformer. Magnetics people do not like to make these, but they are a standard enough request that they'll do it for you and the only complaints you'll get will be from the people on your side who see the invoice. Electrostatic shields are also not perfect but they help tremendously. The shield connection usually comes out of the potted assembly on another wire so you can hook it up as required.

Protip: if you are ever trying to replace or redesign equipment that uses an electrostatically shielded transformer, do ask why they went to that effort. Don't just try to use a normal transformer and then wonder why you can't get it working right... despite man-months of effort....
Things I learned building a model validation library
That’s why the lights go on at the dimmest setting at night. Or not at all.

It’s literally one extra if clause in the logic
unfortunately i am not as clever as the author, otherwise i would have liked to ping you.
ADL condemns Musk's Nazi "jokes" after salute controversy
Your solution seemed very smart, and I have no doubt that you are an excellent programmer. However, I think you way over-complicated things by choosing to go the functional route. Here is my go in imperative Python. The base-15 trick is still needed, but the rest of it seems a lot easier to understand for someone reading the code later.

https://pastebin.com/trD9Ezf1
Notably, unsigned integers also have defined behavior for overflow. This means compilers can do less optimization on unsigned integers. For example, they can't assume that. x + 1 > x for unsigned ints, but are free to assume that for standard ints.

That is just another reason to stick with signed ints unless there is a very specific behavior you rely on.
The post hadn't been ratioed by the time the throttle happened, so it wasn't that mate. It's since been ratioed by people coming back to reply to comments.

Edit: Including this troll that only emerged well after the post was flagged: https://news.ycombinator.com/user?id=BroFrFrNoCap

Or maybe it's your alt? Couldn't downvote this post though could you?
The corporate “there is no stupid idea” phrase is misinterpreted here. The point is to facilitate more input because the clever guys get new angles to work with even from stupid and funny ideas. Or at least that’s the original source of this. Your alternative is groupthink.
That could be offset by prefetching 5-10 of the current tag/interest and pushing the completes to the top of the que followed by the most complete downloads.. Or something. The initial load could be last cache just to have something present. Lots of options tbh.
Yes.

Also, this still properly fits the "you're interviewing the company as well" paradigm. If the author wanted a company that values cleverness or can deal with people who go unbeaten paths, they now know it wasn't the right place.
> and if you'd change tack because of the question alone, it would seem like you really lack self-confidence.

Or because the candidate realized that they've messed up, and by dropping the issue can at least salvage the next XY minutes of the interview by not going down the wrong rabbit hole.

"Could you tell me more about this?" and "Are you sure about this?" are invitations for providing the rationalization for your answers. "I'm not sure that's a good idea" is a very unsubtle, but polite way of hinting that the you have gone way off the map.

As an interviewer, I want my candidates to succeed. I want them to put their best foot forward. I've asked my question over a hundred times, and I've seen many ways that people have solved it, correctly or no. If I'm giving them this suggestion, it means that I know that they are going down one of the many, many wrong garden paths.
> Why else would people want to call that a Nazi salute when it is so far from the real thing?

If you ask "why do they want to call it that" instead of "why do they call it that" you're already not asking in good faith.

> It is such a strong accusation to make

I would call it an observation rather than an accusation.

"you only see it because you want to see it", now that is an accusation, one you have no argument for other than what could be considered a skill issue ("can't find any other reason") and against nobody can defend themselves.

> similar motions are so easy and common

Show me a similar motion that is common.

And then there's Musk's support of the AfD, and how he's calling everyone who doesn't think he's funny a "leftist extremist". He, in word and deed, is a fascist. The salute doesn't even add anything meaningful. It still is that salute however.
I tried whatever the multi-modal paid ChatGPT model is on the Codenames Pictures version, and it didn't fare that well. Since they will probably scrape this comment and add it to next model's training data, I look forward to it getting good!
All major booking sites share hotel photos with their partners.

We are in several partner programs, but now we mainly work with HotelPlanner.
I think is where the relative rewards come to play - they sample many thinking traces and reward those that are correct. This works at the current 'cutting edge' for the model - exactly where it could be improved.
When a scammer says "So, do you agree to sell me your car for $1000", and your script replies "Yes, it's a deal", and then the scammer tries to take you to court...

Most courts would see the offer, acceptance, consideration and intent in that text message chat. Standing up and arguing that it wasn't really you sending those messages but your wife/child/whatever might work... But trying to argue that a computer program you wrote sent those messages, and therefore there was no intent behind them might be hard to prove or persuade the court.
It is the best explorer for me too. It blends into the rest of the vim so much so that you don't feel the difference between manipulating text and files.
pixelfed looks like it's even worse at being user-friendly and approachable at all than mastodon, and it currently has all the same old problems mastodon did. user journey, onboarding, ease of use, are like they didn't even learn from mistakes of others. going to pixelfed website and then trying to get to a profile of someone tells me a lot about the state of that experience, when it can't even get the basics of basics right. (like, how to get to a profile on a such network. bizarrely, they don't show full handles with instance name in them, even though it simply doesn't work in a way that'd let you get to some profile through just the username alone from every server. you cannot even access profiles in a consistent and straightforward way.) honestly, hopefully it doesn't take off, cause it seems just mostly user hostile. even though it's free in some ways, it's just not better at being usable.
Could this just be a case of Reddit being included in the training data?

“ I read through codenames official rules to see if using "007" as a clue was allowed, and it turns out it is! To my surprise, I even came across a Reddit post where people were discussing and justifying why this clue fits perfectly within the rules.”
IMHO you should take action ASAP - at the cost of sacrificing all traffic coming from them. Regardless of their endgame, I'd just detect the HTTP referer and redirect back to them: crawlers and browsers will detect the redirect loop and happily complain about their domain. This will render their redirects ineffective, eg. any phishing attempt will have broken links.

This is preferable rather than returning 404, 403, or warning users something fishy is going on - since anything you return from your site will have browsers and crawlers complaining about your site, and your URL/contents might suffer penalties or deindexing as a result.
Free background remover: local. No server. No signup needed
I don't see the competition. That's like Men and women football. Most people just don't care about the latter and women football is not competing with men football -- at all.
He cannot name and shame them because this did not really happen.
Sorta, but while Erlang/Elixir isolates actors in normal APIs, a erlang process can access most anything using “system calls”. Same for RPCs to other nodes. You can do almost anything a local process can for better or worse.
Note the term “want to”. Obviously they want to. The question is, does anyone want to buy it at that.

This is also senior debt (they’re holding onto the junior debt); if when a company is bankrupted there’s a billion in assets, 900 million in senior debt, and 10 billion in junior debt, then the holders of the senior debt are paid off in full, and the holders of the junior debt get one cent on the dollar.

Well, that’s the theory; in practice what happens is that everyone goes to court, forever.
This is not scraping. Many hotel sites share photos with their partners, we work with Lexyl (HotelPlanner).
This +1. Should be in the guidelines for submissions. Tired of clicking on interesting threads only to find they target on specific platform.
Agree as a general rule BUT candidates can (and some WILL) lie to those questions. See how they react naturally although in a simulated scenario can give you a better idea.

But you should do both things, probably in 2 different interviews.
Why not learn something useful like Love2D or Tic-80?

Using AI feels like a waste of time here and you haven’t learned anything that you could reuse in the future. Might as well play a real video game.
> If you control the target URL it is easy, just redirect back. Seriously: The browser won't loop

Just uh... don't do this if you have a CDN infront of your site. We had an incident where Cloudfront cached the 301's in both directions
I will go against the grain and say I do not consider OPs fizzbuzz solution to score particular well on readability or maintainability. And these were the only two stated core requirements.

The solution is clever and demonstrates solid knowledge of TS. However, in my experience getting too clever with the type system is not always a good idea for ordinary application code maintained by a team of average TS developers.
A man who revealed Auschwitz's atrocities to the world
> Social networks should be about socialising and not a minority of professional content creators enriched by doomscroll-fueled advertisements.

That's absolutely not what Tiktok is. Most people who make money are a majority or random amateur users with massive social interactions, and i see no "doomscroll-fueled advertisements" whatsoever. Ads are very badly targeted, like on every other platform.
Fun quirk about this game: If there aren't too many cards left and your teammate knows their powers of two, you have a winning strategy.
You simply lay a mental bitmap over all remaining cards, setting 1 for cards that belong to your team and 0 for all others.
You can then just say the number that is represented by this bitmap, e.g. "five" for 0101, and your teammate can decode it in their head. All numbers are, after all, single words.
This means, if you are very good at mental maths or you allow for a calculator, you could also win every game in the first round.
For me personally however, it only becomes feasible with around 10 cards remaining.
I feel much more time and effort was put into arranging words(2290 words per `wc -w`) than collecting data or asking actual addicted users

Also I don't agree with people being more tolerant towards individuals who ditched social media. In my social circle, you either can't convince people not to use facebook to send you messages or convincing them will be short-lived. You will look weird and closer people(i.e. friends) will directly ask what's wrong with you
Or is it that cheap that they don’t waste time on making it better until the “numbers come”
I know it's bad form to complain about technical issues with the site rather than engaging with its content, but I can't do the latter as I get redirected to a page telling me to activate javascript... even after activating js. Considering I expect the page itself to just be static text I'd appreciate if anyone could give a quick summary. Even the Wayback Machine can't show the page, for crying out loud.
I wonder if this would work for supremacists of different kinds.
Came here say the same thing, I had never thought of nor heard of using base 15 for digit tricks before!
Unless spammers get better at detecting LLMs themselves that will make them easier to tie up so that maybe a win if there is some cost in do so.

If the spammer’s LLM costs more to run that the decoy LLM it may be possible to make still be possible to make it an unprofitable activity.
Then came deepseek
Even in the candidate's own telling, it is obvious that they misread very strong signals from interviewers. I've sometimes been that overly clever programmer and I've had to deal with it too, on the one side it's great that they bring energy and brains, but it is exhausting. At some point when moving fast you just want to have some people that you can go "hey just fix this bug wouldya" and trust that they're not going to come back with a clever but convoluted and inefficient hack.
this is a good filter.

if someone starts careening through the task using brainfuck, they ain’t thinking like a senior dev at day job i.e. simple, clear, easy to follow and maintainable code writing.

i don’t care how clever you are. i need to know you’re not going to rewrite the frontend in your first week because of a “big brain” moment [0]. using python or something simple without being told to helps me feel like you won’t do that, and that i might be able to trust you on day 0.

expectations on seniors are higher

[0]: https://grugbrain.dev/
73k as a junior? (your first software position)

that sounds like a major exception. the average for juniors in germany is 50k or below.
I would like to do a variation on this theme where instead I scan pub photos for pool tables and create an index in London.

It can be hard to find a pub with a pool table these days!
> ...readability or maintainability. And these were the only two stated core requirements.

Where was that stated? I don't see those being mentioned as core requirements at all
But being able to launch your own instance where you get 100% of all the money spent by the users either through ads or directly is a pretty good incentive, and beats what any other platform offers, no?

The trick is to get high enough numbers of users to use the platform though.
Why John Updike Designed His Own Book Covers
The money is in the service that flags stuff in the registry, which you can sell N times to N companies that now have both embedded and vendor security teams. The companies now need to self host the registry and the scanner to see what’s out of compliance, otherwise they can’t be a vendor for anyone else. And their embedded security team basically siphons cash away from corporate, functioning as an engine of harassment for devs trying to get work done, while working as middlemen for the upstream security vendor.

Since none of this is particularly effective or efficient, money is made from someone’s perspective, but mostly it functions like a “cost of doing business” tax that you can’t avoid
> Show me a similar motion that is common.

Musk just showed it there. Fascist loved their stiffness, by tilting his head and curving his body like that it is clearly not a fascist salute, if you look at photos of people doing it they wouldn't disgrace Hitler by doing it like that.

> If you ask "why do they want to call it that" instead of "why do they call it that" you're already not asking in good faith.

Ok you are right, I should have assumed you were ignorant instead of malicious, which I started out with. But when you said that you want to see it as a Nazi salute even when evidence that it wasn't, then it there isn't any other option left. You wont find footage of Nazis doing the salute like that, since they didn't.

And Hitler did his own versions that was just waving back, that doesn't mean that waving is a Hitler salute. But you see everyone else there standing stiffly and straight, not at all Like Musk.

https://upload.wikimedia.org/wikipedia/commons/9/93/Bundesar...

> And then there's Musk's support of the AfD, and how he's calling everyone who doesn't think he's funny a "leftist extremist". He, in word and deed, is a fascist. The salute doesn't even add anything meaningful. It still is that salute however.

So you were already biased into seeing Musk as a Nazi, that makes you a terrible judge of whether this is a Nazi salute. This answers my question.
> There's something that seems very satisfying about loading software from tape, too.

Uhhh.. as someone who used to load software from tape on a CPC 464 ages ago, I can tell you that it was painfully slow. Nothing satisfying about it for me...
But that was the correct answer after all: screw the interview, have fun trolling the interviewers (you won't get the job anyway), then write a cool blog post and post it here. There is already someone in this thread asking for contact.
Caseta dimmers don’t require a neutral wire.
> system getting 100s of requests per second you get better concurrency if you wait for entire payloads before you waste cache lines

At what point should one scale up & switch to chips with embedded DRAMs ("L4 cache")?
Why can't the server send unsolicited messages in JSON-RPC?
I've implemented bidirectional JSON-RPC in multiple projects and things work just fine, even going as far as sharing most of the code.
> Got a link? If all he's doing is posting about AI I'm not sure why he'd provoke such responses but I'd be interested to see.

If they’re a “GAI is here now” kind of person I can see that people might make fun of them; the dominant culture on Bluesky is AI-sceptical.
I was thinking of CNAMEs.
I've been doing interviews and coding tests recently, but this beats anything I've seen in terms of awfulness. To me, the only thing worse than being tested on your ability to write clever code would be to end-up working in an organisation where everyone had been selected on their ability to write clever code.

I can't make up my mind whether these interviewers are simply staggeringly unaware, or gatekeeping, or that they enjoy making people suffer. The latter because, for every candidate like the author, there will be multiple candidates for whom this kind of test leaves them frozen and anxious. I wish people involved in interviewing would think more about what they're doing.
I think I just blasted through an entire month's quota of "seamless" and "effortless" reading that
I was also looking for some discussion on the algorithm...

One of Tiktok's competitive advantages was how it's algorithm was more like a lottery than ever before. You can go from being viral to irrelevant (and vice-versa) very quickly.