skysight-inc/HackerNews huggingface dataset:
Back when I was at a small company doing a lot of new-grad interviews, it was really shocking how many people couldn't solve fizzbuzz or something equally trivial, like reversing an array in-place.

When I was at Google, most of these were filtered out before I got to see them, but for a while I was doing iOS development interviews and a lot of the candidates applying to Google clearly didn't know anything.
Life of a Zed Extension: Rust, Wit, WASM
Daily walks too, rain or shine.
Yes it's definitely not about winning, if you can get say 75% of Redis performance with simpler and memory safe code I'd say that is a big win and great advertising for the book! And maybe some examples of how performance can be improved/optimisations made also improves the book!
This is great! It's cool that you can listen to each letter individually
> Letting antisemites back on the platform, never punishing people literally spreading terrorist propaganda.

Surely we can engage in this topic without resorting to blatantly inflammatory language.
> Interesting to see the Space Force now mentioned and following the Wikipedia list[1] the standard procedure seem to be to create a new agency every couple of decades which takes over the previous one but with a new name. What are the reasons for this?

Is it a "standard operating procedure" if there are only two examples of it happening (and independent space forces in general)?

In any case, even for those that still aren't fully independent, it seems to be slowly separating air and space forces as space became a bigger player in the global arms race.
Major Downtimes: Lessons from Some Biggest Outages
Starlink as GNSS is definitely a thought that intrigues me and clearly other people too: https://www.technologyreview.com/2022/10/21/1062001/spacex-s...

The tricky parts (that we don't really know as non-SpaceX employees) are:

- how accurate is the clock onboard the satellites? Given that it's likely an OFDM signal the timing is probably pretty good, but given that they're launching zillions of them they probably don't all have atomic clocks onboard

- how accurately is SpaceX tracking their orbits? Kind of a similar answer here... they're doing beamforming to the ground terminals, so it has to be pretty good but we don't really know how good.

- how many SVs are actually visible at a time? We need a minimum of four but the more the better. If there's lots visible we can somewhat work around the first two issues statistically but if there's a limited number than the orbit and clocks need to be super accurate.
According to the equitable grading materials I just received (and posted above), that determination is... entirely up to the individual teacher's discretion? I might be misunderstanding.
It isn't great but the diameter of geostationary orbit is 84,328 kilometers so there is a lot of room.
Boston has two modes of entry, qualifying time or meeting a fundraising goal of something like $5,000. I suspect 5:29 runners are fundraisers.
> “believe it is unlikely that the satellite will be recoverable.”

Why do these announcements have to be so hedgy? The satellite is in twenty pieces, I'd think that with the probability of spontaneous reconstruction being so low, we're fairly safe to say "will not be recoverable".
The COVID era has given us many rich examples of lies dressed up in a single paper.

https://www.science.org/content/article/many-scientists-citi...
Yep.

Aren’t mods more or less the primary justification for building a server like this?

Although Rust may in some ways improve performance, is that a better trade for the huge reduction in potential mods?
> Now I just ping ff02::1 multicast to see what devices are on my network.

Yeah, you see a bunch of MACs and... what next? How do you get the names?
Please don't post like this—it doesn't help, it only hurts.

https://news.ycombinator.com/newsguidelines.html
Just track things that are legal everywhere or in most jurisdictions then.
Is it new?
I accidentally got Zed to parse way more code than I intended last night and it cost close to $2 on the anthropic API. All I can think is how incredibly expensive it would be to feed an LLM text in hopes of making those connections. I don’t think you’re wrong, though. This is the territory where their ability to find patterns can feel pretty magical. It would cost many, many, many $2 though
> I have hired for many positions over the years and never once asked for grades.

I'm not sure what your point is, but if you're trying to claim that GP is incorrect and companies don't ask for GPA, you are (unfortunately) wrong. There are plenty who do. It seems to be especially the bigger and/or more conservative companies so it's trending away, but it definitely happens.
You've lost me here a little, sorry.
If you have little to no dynamic allocations, meaning all of your memory will be automatic stack memory, then memory management wouldn't be much of an issue to begin with.
But the most common pattern to me seems to be memory that is allocated upfront, and then treated as-if it were automatic in a hot loop, so not reallocated or moved etc., and then deallocated after the hot part is over.
How does GC interfere with these use-cases, because I'd imagine it would only kick in after, when you'd want to deallocate anyway, but do this automatically without you messing up.
Yeah, leather saddles also often have an actual suspension with springs. Suspension systems of almost any kind are great for bodies, especially if you can make them not involve overly soft surfaces directly against your body.
A daily update on the best posts of the last 24 hours would be amazing: https://news.ycombinator.com/best
> While strictly speaking, smr.c is not a valid C program, it is not an invalid C program either! Some C compilers will compile an empty file into a program that does nothing.

How do they define "invalid"? Section 6.7 (page 81) of the C89 standard defines a translation unit as a series of one or more external declarations.

I assumed that a main() function was a requirement, but section 5.1.2.2 (page 6) does not require this (which seems obvious in retrospect; that's how object files are compiled).

I think the shortest valid C program would be "f();". gcc accepts it. In fact, gcc agrees with my conclusion above, and says, for a blank file: "ISO C forbids an empty translation unit".

What do other compilers say?
https://news.ycombinator.com/item?id=41905844
How would it help? The LAN traffic between hosts in that LAN does not go through the router.
Hi everyone. I wrote this thing before SNL did its now-famous George Washington sketch about how ludicrous the U.S. system of weights & measures is - so since that sketch just got a sequel, and since in writing that newsletter I found a few reasons to defend Imperial (only a few ) I thought some of you might find it interesting, or at least a chance to teach me something by explaining to me how wrong I am. Cheers!
Yes, for the purposes of landing speeds. In fact, at vertical aircraft landing speeds, your time-step to position Δ is more accurate than automotive SLAM.
Most hackerspaces have a laser cutter strong enough for a few mm of steel sheet. So chances are, you could make it yourself.
The problem with copyright is going to be a big hurdle though.
It's known. Example: https://mintlify.com/blog/stripe-docs
That was fun. I passed my 20WPM way back when it was requisite for your Extra license. Took a few replays, but got the word at 35WPM.

It's funny how you can still retain it. But I did pound brass for years.
At large orgs, the left hand rarely knows what the right hand is doing. Meetings, in general, are a waste of time, but there's something to be said about keeping everyone on the same page.
The supposed problems in the Haskell example presented in the article have nothing to do with purity. Logging is by definition an effect. Haskell supports effects just fine. (I'd personally say better than any other language I know.)
Homelessness != sleeping outdoors or in a homeless shelter. If you have to move out of your home and live with family or friends because you lost your job, you have lost your home and are homeless.
Popular classes may have many hundreds of students enrolled, and schools may not have classrooms large enough to fit all the students in. Professor time is finite and may not scale to giving duplicate lectures, supervising tens of TAs and deal with the 5% of students who demand unusual attention.

So schools offer multiple sections of the same class to share the workload. E.g. in recent years Computer Science 101 - often the most popular class on campus.
It would be pretty useful if we could somehow convince birds to relay our messages using birdsongs -- just use a speaker to transmit a message, encoded in birdsong with some special preamble header, and it will get broadcast or unicast to the desired destination bird that happens to be located near a microphone that receives this message. Could this scheme beat IPoAC? Maybe if we manage to reverse engineer birdsongs well enough, BGP could be ported to birds!
Is this really viable given all the electromagnetic interference the rocket motor exhaust plumes are generating?
It's hard, and interviewing is better suited to answering "nope, not you!" questions than "yes, you'll be a good fit."

Onsite interviews with a range of approaches seem to be the best I've found over the years. As much as it pains me, things like fizzbuzz are still useful, because people still lie about their ability to program in languages. If you claim to know C very well and can't knock that out in 5 minutes, and it takes you 45 minutes of prompting, well, you don't know C usefully.

I've seen good results with having a pre-done sort of template program that's missing functionality, and the person completes it out based on comments (for remote interviews), and you can generally tell by watching them type how familiar with the space they are. Again, perfection isn't the goal, but if someone claims to know C very well and is trying to make Javascript syntax work, well, they're full of crap about knowing C.

That said, probably the best approach I've seen for hiring junior dev sorts is a formal summer internship program - and some places have a pretty solid system for doing this, with 20-30 people coming in every summer for a few months. That's a far better way to get to know someone's actual technical skills. In the programs I interacted with, it's safe to assume that if you have 30 people, you'll have about 15 that are "Thank you for your time, good luck..." sorts, maybe 5 or 8 that are "Yeah, you'd probably be a good fit here, and can be trained up in what we need, you'd be welcome back next summer!" and if you're lucky, one or two "HIRE NOW!" sorts that leave the summer program with a job offer.

It's obviously a lot higher effort than interviewing, but the "Throw things at people for three months and see what they do, with a defined end of the program" process seems to be a really good filter for finding quality people.
Need to add [2022] in the title.
The surprising way OpenAI could get out of its pact with Microsoft
Other games with added differential privacy guarantees also available at https://www.oblivious.com/games
I used that website everyday when I was prepping for my ham license upgrade and got reasonably good after a while, being 25 WPM my most comfortable speed. But then I learned that the CW exam in Brazil was carried out at 5 WPM. When I tried that speed, much to my surprise I couldn't understand a single word. I had to relearn slow Morse on lcwo.net from scratch weeks before the test. My takeaway was that our brains seem to get super specialized, so if you're studying for a CW exam yourself, I do recommend immersing yourself in CW at roughly the same speed as the exam.

At any rate, really cool website!
Since English has several possible sentences that are infinite in length, made up of only one word even https://medium.com/luminasticity/grammatical-infinities-what... I have to agree with all the this is trivial comments.
It's how all languages work. Some languages have bodies that like to pretend they can regulate them, but it doesn't actually work.
This is a pretty good case for just using a local model. Even if it's 50% worse than Anthropic or whatever the gap is now between open models and proprietary state of the art, it's still likely 'good enough' to categorize a story in an old newspaper as missing from an author's known bibliography.
Right, that’s my take as well. But on the whole I don’t see Java itself as being fundamentally less performant, particularly with JDK 21+. Architecture choices in either language make or break performance.
Boeing R&D and manufacturing is completely separated which is probably a significant source of problems for them. Often manufacturing is moved to locations that gives tax breaks and other benefits.

Meanwhile Airbus R&D engineers in Toulouse and Hamburg are often less than a 5 minute walk from where their designs are being manufactured.
A gist to create bookmark in your Markdown file with Gemini
I created this script for my workflow (Raycast, Obsidian, bookmarks in a single markdown file, ...), but at its core, it's just a script to edit a markdown file to append a link with an automatically generated summary. So I think it's worth sharing here.
Ask HN: What learning methodologies should an Edtech capture?
Different students have different learning methods.

1. The textbook or PDF is passive and student has to read. You can go back and forth, bookmark etc.

2. Khan academy is more videos and students listen. Tests are through quiz.

3. The new attempt is to make the students "do". Does it make sense to take the textbook content and make it interactive. This is especially true in the age of AI when we can create interactive snippets like @random_walker has done(https://x.com/random_walker/status/1848388462782673340)

Comparison where we map the textbook content to an interactive page(https://youtu.be/O39pIEHWOiY?si=0SbNVi7Vwlv4lme9)

What are some other learning methods which should be captured by future edtech startups? AR/VR?

Example for learning Trigonometry in 3 approaches:

1. Textbook Method PDF: https://ncert.nic.in/textbook/pdf/jemh108.pdf

2. Khan Academy Link: https://khanacademy.org/math/ncert-class-10/xd6a17b08edbd2443:introduction-to-trigonometry-ncert-new

3. Innings2 Link: https://books.innings2.com/course/trigonometry/trigonometry_intro (sorry, signup required)
It's funny (ironic?), but when I read "an amateur {insert occupation} has"

I mentally replace "an amateur" with "a talented and passionate"

For me, amateur just doesn't mean the insult that it meant when I was a youngster.
Good code isn't just easy to read, it's easy to change. The code in this app is brittle, tightly coupled and likely to break if the app is changed.
The first time I saw FizzBuzz, I immediately assumed it was some sort of "trap" or "trick" interview question - that there's some deviously subtle little thing in it that you'll miss at first or second glance, as a "gotcha." It literally never occurred to me that it was, in fact, a basic "Can you code your way out of a paper bag given a map?" sort of question to check for basic code competence in languages.

Then I started interviewing, and... yeah. I get it now. It really is that simple, should take a competent coder a few minutes, and 80% of people interviewing will take 45 minutes to muddle their way through it.
I saw a bunch of people who had the skills to get a job take months to get one in 2023 and 2024. I've also seen people who think they have the skills to attempt a startup that did not.

All it takes is a downturn at the wrong time and a low capacity for risk.
* We now have ghcup, a solid way to install Haskell (inspired by rustup, I believe). It used to be that you got access to one GHC package from your Linux distribution if you were lucky, otherwise you had to install manually from a bindist.

* We now have HLS, which integrates superbly with VS Code (it's also fine in Emacs and I guess in other editors, but I don't know). It can be flaky on large codebases, but it's a big step up from what we had before (which was almost nothing).

* GHC and bundled libraries have a much higher degree of API stability. In fact in the last 18 months there has been minimal breakage due to new GHC releases[1]. Community libraries are a bit more of a mixed bag, but there's much more awareness in the community that continual API breakage churn is harmful for adoption.

* We now have the Haskell Foundation[2] supporting all sorts of critical ecosystem activity behind the scenes, and helping people work together harmoniously. There used to be extremely fraught and unpleasant interpersonal battles in the community. Those are a thing of the past.

* We now have solid effect systems (Bluefin[3] and effectful) that combine the best of the transformers world (build effects from components, type safety, handle effects and remove them from the type) and the IO-based world (predictable performance, resource safety, escape hatches). I'm willing to boldly claim that effects are no longer a problem in Haskell.

I'm in the same boat as you: I don't use particularly man new libraries. Is that a problem? I'm given to understand that in the Java world that's called "Monday". Sure, I would have liked it if certain community members had stayed more active, but I don't feel I'm missing anything in particular. (That may just be to do with what I work on.) What are you missing?

[1] See

* https://github.com/tomjaguarpaw/tilapia/blob/master/breakage...

* https://github.com/tomjaguarpaw/tilapia/blob/master/breakage...

[2] Disclaimer: I'm the vice chair

[3] Disclaimer: I'm the effect system author
Remember that extradition treaties exist. Kim Dotcom, founder of Megaupload, is a New Zealand citizen who has never lived in the United States, who was nevertheless pursued by the United States for breaking US copyright law (through acts that were — as far as any lawyer has been able to ascertain — not illegal according to NZ law!) According to the NZ supreme court, Dotcom can (will?) be extradited to the US to face those charges.

In effect, in a world where extradition treaties exist, the law you're subject to is the sum of the laws of all the countries your country has agreed to mutual extradition with.

(And strangely enough, I believe this is even transitive. Presuming countries {A,B,C} which have extradition treaties AB and BC, if country B can get you extradited from country A for crime 1, then country C can get you double-extradited during your detainment in country B for crime 2 — even though country A may have never signed any treaties with country C!)

But even ignoring extradition... when speaking of international diplomatic relations, the law-in-practice of "whatever country you're in" is often not the law-as-written, but rather "whatever it takes to make a foreign country happy." I.e. if a foreign country wants you punished — and your own country isn't so powerful as to be able to just tune them out — then often you will be slapped with whatever local law your own country can make fit, to get the other country to calm down.

I brought up the president of Turkiye for a specific reason: the https://en.wikipedia.org/wiki/B%C3%B6hmermann_affair , where a German who wrote an insulting poem about Erdoğan, was charged with a [rarely used, archaic] crime by the German government, after the Turkish government basically sent a strongly-worded letter to the German government implying that their relations would be damaged unless they "did something."

(Though, pleasantly, after much outcry from the German populace, the law they used to try to punish Böhmermann was challenged and repealed: https://www.npr.org/sections/thetwo-way/2017/01/25/511611581...)
Much of esbuild's performance gains are in throwing out a lot of cruft. It definitely benefits from the "fresh rewrite can avoid the cruft of an organic project", including specifically benefiting a lot from ESM as the winning end goal format, and the hindsight of Webpack eventually a massive organic ecosystem of plugins towards a core set of "best practices" over a lot of versions and ecosystem churn.

esbuild versus webpack performance is never a fair fight. Most of the other behemoths are still "just" webpack configurations plus bundles of plugins. It will take a while for the build tools in that model to settle down/slim down.

(esbuild versus Typescript for "Typescript is the only build tool" workflows is a much more interesting fight. esbuild doesn't do type checking only type stripping so it is also not a fair fight, and you really most often want both, but "type strip-only" modes in Typescript are iterating to compete with esbuild in fun ways, so it is also good for the ecosystem to see the fight happening.)

I appreciate esbuild, but I also appreciate esbuild had so much of the benefit of a lot of hindsight and not developing in the open as an ecosystem of plugins like webpack did but rather baking in the known best practices as one core tool.
I'm not sure if that's "by design" or a "bug" – I'm not really familiar with this tool. I agree that ideally it should copy the directory permission bits too, or be more restrictive about that in some other way.
Wild animals are spiraling to extinction. Can a bunch of bureaucrats save them?
A Media Player Without Peers – The Unreasonable Effectiveness of VLC
Ok, so you like to use OOP to emulate a module system.

Yeah, plenty of people like that too. That doesn't make it an application for OOP. The fact that the 90s killed the modular languages is quite a bummer, as neither modern FP nor C++ style OOP have anything nearly as useful.
Bumblebee malware returns after recent law enforcement disruption
Ha ha, yes, that does happen. Usually with poor results. But... I have seen the opposite case, a person who had great organizational and people skills, and bench skills that were an utter disaster -- but was self-aware enough to realize they needed to be more "hands-off". It turns out that they were self-aware enough to appreciate those bench skills in other people, and good at doing the other things needed to keep a shop productive. I admit, though, this is not guaranteed to happen.
Ah, I see. Unfortunately, there doesn't seem to be any official information about the second mode of entry. I assume that this is intentional.
Chomsky's poverty of stimulus argument is, if anything, strengthened by LLMs. You need to read the entire internet to make statistical methods work at producing grammatical texts. Children don't read the entire internet but do produce grammatical texts. Therefore &c. QED.
I think we are converging at an opinion. Internal actors can be hard to detect, and honestly there is a reason at places like Google interns are treated with heightened security checks (my guess -- they learned to do so after some years).

Btw one of the rumors has that it is even difficult to hire engineers to do training/optimization infra at one of those ML shops -- all they want to hire are pure researcher types. We can imagine how hard it will be to ask for resources to tighten up security (without one of these incidents).
> migrating to cod

cod? Call of Duty?
> rewrite it from scratch ... in lieu of actual learning

If one can "rewrite it from scratch" in a way that's actually coherent and gets facts correct, then they learned the material and can write an original paper.

> This is waay more common and just impossible to catch.

It seems a good thing that this is more common and, naturally, it would -- perhaps should, given the topic -- be impossible to catch someone cheating when they're not cheating.
You can use NAT64, it works with all the AWS services. Although it's pretty stupid that services like ECR don't have IPv6.
Honestly if you’ve used esbuild (you have if you use Vite) once, you cannot legitimately be skeptical of rewriting JS tools in faster languages. The difference is so huge it’s not even funny.