MurphyA/hacker-news huggingface dataset:
by imiric | 2025-05-14 18:35:36+00:00
As someone who struggles with whiteboard and leet-code style interviews, I'm not against take-home assignments.

Just two things:

- If the candidate already has a portfolio, whether personal projects on GitHub, open source contributions, or projects they're willing to share directly, why do you need to make them implement some specific project? The whole point of a take-home assignment is the discussion that follows it where you talk about the code, which trade-offs they made and why, and you try to get a general feel for their understanding and enthusiasm for the domain. Whether they implemented something specific is irrelevant.

I get that this is often done to make lives easier for the interviewer, and to be able to relatively compare implementations between candidates, but every candidate is different, and since you want to judge their thinking the project should be relatively open-ended as well. So just spend some time to review their portfolio instead of asking them to implement the same cookie-cutter project.

- All take-home assignments should be paid. Period. Don't ask candidates to work for free. Agree on a time estimate, and pay them a fair hourly rate. The initial offer can be some average rate for the specific role, but if the candidate has a higher rate, then negotiate based on that. It's disrespectful to expect them to work for free, only to reject them afterwards. This way at least it wouldn't be a complete waste of their time.

I'm disappointed that Kagi's process doesn't take these two points into consideration.

That said, my favorite interview style for programmers is the code review. Show them a piece of intentionally buggy and incomplete code, ask them to mention any issues they find, and to fix them. This could be open ended and include performance issues, testing, etc. Then you work on it together, the interviewer almost taking a co-driver seat in a pair programming session, and the discussion is almost always relaxed and informative. I've been on both sides of this type of interview and it's always been a positive experience, and most candidates enjoy it as well. It's much better than a stressful "here's a blank whiteboard, implement this from scratch", a leet-code style puzzle, and much less of a time-investment than a take-home assignment.
by kccqzy | 2025-05-14 18:35:48+00:00
I tried setting this up for a non-technical friend who was gifted multiple brand new Yubikeys. The goal is to log in to Google using any one of the Yubikeys with no password. Unfortunately doing so causes Chrome to pop up a dialog requesting a PIN for the Yubikey. How did you solve that problem?

Searching online I found an answer on Stack Overflow stating that a PIN is required in this case: https://stackoverflow.com/a/79471904 How did you bypass it? I also find it idiotic that it is required. A PIN is just a password in another name, so we are back to using Yubikeys as the second factor in 2FA rather than a password replacement.
Hacking Cursor Prompts with MCP (most complete Cursor prompt library)
by maxockner | 2025-05-14 18:35:52+00:00
Linked is the most accurate and complete library of Cursor Agent-mode prompts to date. Unlike past attempts: - Cursor has a different prompt for each model- we included the prompt for most top models - Prompts completeness and correctness confirmed by the jailbroken model
by ceejayoz | 2025-05-14 18:35:59+00:00
That's entirely possible on buses.

https://smdp.com/news/newsom-signs-bill-allowing-big-blue-bu...

> Current law allows organizations like the Los Angeles County Metropolitan Transportation Authority (Metro) and the San Francisco Bay Area Rapid Transit District (BART) to issue prohibition orders. BART is the only such agency that has actually issued prohibitions in California, giving out 1,118 such orders from 2019-2022. About 30% of orders issued by BART in 2022 were for battery or threats against riders.
by thesz | 2025-05-14 18:36:03+00:00
> To address this challenge, we introduce a type-constrained decoding approach that leverages type systems to guide code generation.

This should not work with type inference even at the level of C++ "auto x = " - "auto" does not constrain "x" at all and what is right of equal sign is not constrained either..

In Haskell, the gap is even wider. A long "where" clause may have dependencies constraining things in different direction.

But, what important I see here is the continuation of reinvention of Cyc, from different starting point. ;)

Definitely, "every big LLM has in support code an ad-hoc bug ridden inefficient implementation of half of Cyc." Cyc was written in Lisp, most of LLM support code is C/C++, thus, it is just a corrolary of Greenspun's Tenth Rule.
by bediger4000 | 2025-05-14 18:36:20+00:00
It must feel strange to be one of the few "movement" conservatives left, the folks who still believe in state's rights small, local government, personal responsibility, character mattering, things like that.

If you're one of the faithful, your national and state leadership was revealed as liars, with no moral principles and no spine. You've been abandoned after years of believing.
by pasha_sf | 2025-05-14 18:36:40+00:00
Been working on this AI search for a while now, pretty much as a one-man army. Had to handle everything-setting up K8S, buying GPUs, figuring out storage, ensuring reliability with replicas, tweaking the network... you name it. Even built a full-text search from scratch, added OCR for PDFs, and managed chunking, embedding, storing, assessing... It’s like a billion tiny steps that finally led to Space Frontiers.

Oh, and why’d I call it Space Frontiers? Ever since I was a kid, I’ve been obsessed with the idea of creating something like the Borg-you know, a super-intelligence linked to all of humanity’s digital knowledge. I dreamed it’d guide colonial starships to other worlds, help create new life forms, and push consciousness out to the freaking edges of space. Yeah, that dream’s still a long way off, but I’m grinding to make it happen.

Right now, Space Frontiers search runs on just two servers, so it’s kinda slow. But for academic searches-things like Standards, PubMed, Reddit, Telegram, patents, books, and so on-it’s just a query away. The quality of answers seems better than tools like Perplexity in Academic mode, Elicit, or Consensus. It’s not perfect, and sometimes it flops, but other times the results are so cool that it’s become a daily go-to alongside other search engines. Give it a try; hopefully, it’ll impress.

It’s a regular RAG setup with a large database, query reformulation, and expansion. The databases are split into BM25 and vector parts - the first is powered by my own search engine, Summa, and the vector part runs on AlloyDB. Embeds are handled by Jina v3, while chunking and processing come from a ton of our boilerplate code. Things get reranked by a reranker, then chunks are combined, the document set is expanded and reranked again, and finally sent to LLMs with tuned prompts. That’s the gist of it. Oh, and Qwen3 is the king, by the way.

Starting to see how AI paired with a fleet of knowledge sources should be organized, and there’s a ton left to tackle. That’s why there’s a search for a co-founder, pre-seed funding, and anything else needed to turn this dream into reality. If interested, let’s talk.
by altairprime | 2025-05-14 18:37:07+00:00
Given how popular it is in modern console AAA gaming, which many people do play on PCs, one can reasonably expect that any studio desiring to target high contrast gaming — a valuable niche for stealth games, where a bright torch should absolutely stand out brightly against the darkest shadows, as well as star exploration and anything with landscapes or specular highlights — would like to be targeting HDR on PC, if only to simplify their cross-platform build and test pipelines, but cannot due to platform barriers that don’t exist for consoles.
by johnea | 2025-05-14 18:37:18+00:00
A part of my comment on another thread:

To me, this represents one of the most serious issues with LLM tools: the opacity of the model itself. The code (if provided) can be audited for issues, but the model, even if examined, is an opaque statistical amalgamation of everything it was trained on.

There is no way (that I've read of) for identifying biases, or intentional manipulations of the model that would cause the tool to yield certain intended results.

There are examples of DeepState generating results that refuse to acknowledge Tienanmen square, etc. These serve as examples of how the generated output can intentionally be biased, without the ability to readily predict this general class of bias by analyzing the model data.
by Zenbit_UX | 2025-05-14 18:37:32+00:00
That’s a pretty strong stance.

I’m sitting at my desk doing 133t code challenges for free right now. The idea of optimizing something that both matters and could result in a payout of any amount sounds appealing given my context.

I think you underestimate the amount of people willing to do things for free or for the sake of knowledge itself.

And before you suggest that must mean I’m in a dire financial situation, I’m not.
by justin_oaks | 2025-05-14 18:37:41+00:00
This has been my experience as well.

I implemented 2FA for my previous employer and we would have gladly skipped SMS 2FA if we could get away with it. It's more expensive for the company and the customer. And it sucks to implement because you have to integrate with a phone service. The whole phone system is unreliable or has unexpected problems (e.g. using specific words in a message can get your texts blocked). Problems with the SMS 2FA is a pain for customer service too.
by zahlman | 2025-05-14 18:37:45+00:00
Because if you're "guaranteed to make stupid typos" and you don't have the habit of repeatedly trying again after small changes (which becomes harder to establish when compilation takes longer), then you're likely to make multiple stupid typos at a time. And if you check for them yourself first, you have a decent chance to catch and fix several at a time - whereas it's often not the brightest idea to try to respond to multiple compiler errors at a time, no matter how helpful they are.
by ricardobeat | 2025-05-14 18:38:44+00:00
Vacation rentals are just as far from what AirBnB (originally) offered as a B&B. Usually handled by a property manager, entire home, nice location / popular holiday destinations and facilities as it is someone's second property. Much higher prices. This is a far cry from an "air bed" in a corner of a standard urban family apartment in São Paulo, which you'd find by the thousands in the early years before regulations caught up.

I think you're underestimating how much AirBnB as a platform opened up this market to the average traveller, including business travel, and yes, absolutely contributed to the housing crisis, though I wasn't even making a point about that.
by ModernMech | 2025-05-14 18:38:46+00:00
The prereq for my Rust course is Java, but there are three kinds of students who come to me:

1) those who only know java

2) those who know java and were taught C++ by me. The way I teach that course, they are very familiar with pre-modern C++ because we also learn C.

3) those who know java and C++ but they learned it on their own.

It's the last group who has the most trouble. IME the exact issue they struggle with is the idea of shared mutable state. They are accustomed to handing out pointers to mutable state like candy, and they don't worry about race conditions, or all the different kinds of memory errors that can occur and lead to vulnerabilities. They don't write code that is easily refactored, or modular. They have a tendency to put everything into a header or one main.cpp file because they can't really get their head around the linking errors they get.

So when they try to write code this way in Rust, the very first thing they encounter is a borrow error related to their liberal sharing of state, and they can't understand why they can't just write code the way they want because it had been working so well for them before (in their very limited experience).

Pedagogically what I have to do is unteach them all these habits and then rebuild their knowledge from the ground up.
by ben_w | 2025-05-14 18:39:34+00:00
> currently the US is keeping European shipping open by bombing Houthis nonstop).

Keeping it cheaper.

When the Suez was blocked by a sideways ship[0], some of shipping went around Africa[1].

The USA also notably made it clear to the European powers that European powers absolutely didn't have any right to be the powers who controlled the Suez[2].

I also note that the official position of the Houthis is their attacks on shipping are supposed to be about Israel, the problem from the perspective of everyone else in Europe is that they're idiots hitting unrelated ships as well[3].

[0] https://en.wikipedia.org/wiki/2021_Suez_Canal_obstruction#Ec...

[1] https://en.wikipedia.org/wiki/Cape_Route

[2] https://en.wikipedia.org/wiki/Suez_Crisis

[3] https://en.wikipedia.org/wiki/Houthi_attacks_on_commercial_v...
by HeyLaughingBoy | 2025-05-14 18:39:41+00:00
It really is an acquired taste.

I used to be the same way. Although I liked the smell of coffee, I absolutely hated the taste. Then I met my wife, who would make a pot of coffee (and not "brown water" either) at 8PM and I guess I just got used to it. Now it's an everyday thing.
by edfletcher_t137 | 2025-05-14 18:39:55+00:00
> A little intuition and empathy can tell you that they probably are not going to spend many hours reviewing a complex submission, so the project should optimize for demonstrability of code quality, not completeness.

> "I would like to know what kind of response I could expect..." - This is also established from the beginning: you can expect either a "Looks good, let's do some interviews" or a "Sorry, not interested," based on the code you submit. They can't narrow down the choices prior to your submission, because they're grading your submission, not your proposal document with an extensive list of details that they already told you they're mostly ambivalent to.

Absolutely spot on, and you ID it later with "Main character syndrome", but it is so very clear from this post's tone & content that OP expected a symmetric outlay of effort & focus from the company's side. They thought they were the main character.

That's a fundamental misunderstanding that seems to have predicated a lot of their ultimate response: they feel as if they were entitled to much more effort from the company than they received. Such is often the case with strong entitlement, it's nearly impossible for the person suffering it to see it.
by duxup | 2025-05-14 18:39:55+00:00
I think most everything is from the perspective of negotiating, but it's leverage to benefit himself. I think that's the only constant. I'm not inclined to buy into the "he talks off the cuff" much anymore. Big tech bad, until it does his bidding and so on is the pattern. America first, unless he gets a real-estate deal somewhere.

"Off the cuff" is just cover for dishonesty / not answering difficult to answer questions.

Then when he is honest about taking a bribe, or sexually assaulting somebody, “oh he is just talking”.
by AnotherGoodName | 2025-05-14 18:40:05+00:00
You can also simply register all your devices individually as a passkey and login with any one of them. Part of the point of the passkey standard was that you can simply have your laptop/phone/etc. act as a Fido2 backed security key in its own right. So if you have multiple devices it's pretty easy to set them all up as your passkeys.

Eg. My Microsoft desktop, my Google phone, my Apple laptop all have passkeys setup individually that allow login to my various accounts such as my Google account.

So they aren't at all synced. They are all from different vendors but they can all login since i set them all up as passkeys. It's easy to do this too. Setup one site for passkey login via phone, go to that site on your desktop and select "auth via phone passkey" and use the phone passkey and then once logged in on the desktop go to account setup and select "Create a passkey on this device". The end result is you have multiple hardware security keys, namely your phone, desktop and laptop.
by flkiwi | 2025-05-14 18:40:44+00:00
Did I miss something or is the tone mapper not released yet? I admit I'm multitasking here, but just have an exposure slider in the image lab (or whatever it's called).

Sidebar: I kinda miss when Halide's driving purpose was rapid launch and simplicity. I would almost prefer a zoom function to all of this HDR gymnastics (though, to be clear, Halide is my most-used and most-liked camera app).

EDIT: Ah, I see, it's a Mark III feature. That is not REMOTELY clear in the (very long) post.
by mindslight | 2025-05-14 18:41:07+00:00
Another bullet point in support of replaceable batteries with a little more casing. I assume this all has to be based on puncturing a LiPo pouch and shorting it directly, right? Because I wouldn't think there is enough unrestrained current/power available anywhere else to cause such a spectacle.

Also, you have to love the reflexive draconian reaction of charging minors with felonies. When all you have is an overgrown police department hammer, you might as well ruin kids' lives before they've even begun. It seems like if this behavior is really as serious of a problem as to warrant that kind of legal response, then the adults creating the situation (ie school administration) need to be getting charged with criminal child endangerment as well.
by JKCalhoun | 2025-05-14 18:41:36+00:00
Yep, Jeanne Dielman, 23 quai du Commerce, 1080 Bruxelles (1975) is one of the "1001 Movies".

I confess, I was not patient with the film. I scrubbed a bit to move the film along at a faster pace — almost skipped right over the wild ride that is the end of the film.
by mateo411 | 2025-05-14 18:41:42+00:00
It's true that there is tax money that is spent on infrastructure to support cars, but taxes are also collected from the use of cars through gas taxes and annual registration fees. If you include those taxes and fees it's not obvious how much other taxes are used to subsidize cars.

It will be different in each state, since each state imposes different levels of gas taxes and has different registration fees.
by mrandish | 2025-05-14 18:42:09+00:00
> "The first HDR is the "HDR mode" introduced to the iPhone camera in 2010."

Yeah, I had a full halt and process exception on that line too. I guess all the research, technical papers and standards development work done by SMPTE, Kodak, et al in the 1990s and early 2000s just didn't happen? Turns out Apple invented it all in 2010 (pack up those Oscars and Emmys awarded for technical achievement and send'em back boys!)
by cryptonector | 2025-05-14 18:42:44+00:00
> "Why would you do it any other way" would be more interesting:

That's the interesting question. Normally a bug tracker would basically be a SQL application. When you move it into a Git repo you lose that and now you have to think about how to represent all that relational data in your repository. It gets annoying. This is why for Fossil it's such a trivial thing to do: Fossil repositories _are_ relational and hosted on an RDBMS (SQLite3 or PG). If you don't have a SQL then referential integrity is easy to break (e.g., issues that refer to others that don't know they're being referred to), and querying your issue database becomes a problem as it gets huge because Git doesn't really have an appropriate index for this.

What one might do to alleviate the relational issues is to just not try to maintain referential integrity but instead suck up the issues from Git into a local SQLite3 DB. Then as long as there are no non-fast-forward pushes to the issues DB it's always easy to catch up and have a functional relational database.
by runnr_az | 2025-05-14 18:43:27+00:00
The SSA released updated historical name data covering from 1880-2024. usBabyNames.js is a convenient wrapper for those resources, repackaging the original text file distribution into a sqlite db for easy consumption. Slice and dice the names how you like... spot trends, oddities, etc...

SQLite name db 1880-2024: https://github.com/jonroig/usBabyNames.js/blob/master/sqlite...

Repo: https://github.com/jonroig/usBabyNames.js
by gitaarik | 2025-05-14 18:44:01+00:00
Yeah, I also use that all the time. I use the terminal because I want to use my keyboard, not the mouse. And copy / pasting is something I do very very often. So I don't understand why people make a terminal multiplexer and don't add this feature.

In screen & tmux you can also use vim shortcuts to navigate the scrollback buffer. That is so convenient and makes me work so fast. I can search for a snippet close to where I want to copy some text, and then navigate more precisely with the vim shortcuts.

So that's the first thing I look for in a terminal multiplexer, because if you're gonna expect that I'm gonna put my right hand off the keyboard and use the MOUSE to awkwardly select some text in a TERMINAL, then you expected wrong.
by mike_hearn | 2025-05-14 18:44:15+00:00
It's not (entirely) signature based. Try editing Chrome's Info.plist. If you can do it your terminal or editor probably has app management or full disk access permissions. Note that signatures are only checked on native code binaries every time. For data files and bundle structure, it's only checked once the first time the app is run. The signature is checked even without internet access, and normally notarization can be checked too via stapling.
by petedoyle | 2025-05-14 18:44:56+00:00
Somewhat off-topic: Does anyone know the underlying strength of the keys used as the "root of trust" behind passkey synchronization on Android/iOS? I can't find a lot of documentation on this.

It seems like they're synced between devices using client-side encryption, with keys derived from your phone's lock code (typically only 4-6 digits). Is it possible that the passkeys are fully random, but then encrypted with far less than 128/256 bits of actual entropy while being synchronized between devices?

Could it be possible to brute force the keys server-side (IIUC, derived from 4-6 digit pins) with non-excessive amounts of compute? What am I missing?
by Suppafly | 2025-05-14 18:45:11+00:00
>Just freeing your product might not get you enough traction by itself.

Plus not everyone wants to give their product away. I see that advice all the time here and reddit and other places, "just opensource it" as if that's a solution to every problem a creator might have. I even saw it on a gamedev subreddit where a guy was asking how to make more money and people were saying to make it opensource, as if making it free would somehow increase sales for him.
by neonsunset | 2025-05-14 18:45:23+00:00
> LTO

On some workloads (think calls not possible to inline within a hot loop), I found LTO to be a requirement for C code to match C# performance, not the other way around. We've come a long way!

(if you ask if there are any caveats - yes, JIT is able to win additional perf. points by not being constrained with SSE2/4.2 and by shipping more heavily vectorized primitives OOB which allow doing single-line changes that outpace what the average C library has access to)