skysight-inc/HackerNews huggingface dataset:
I love code golf as much as anyone, not sure it's worth it on such small methods tho. Any of the propositions would be fine. Anyway:

def oddness(n):
return ["Even", "Odd"][n % 2]

BTW this trick with replacing if-then-else with a lookup is sometimes very useful. Especially if there's many ifs.
I don’t believe that you have absolutely zero money invested in public stock markets.
The PUNCH mission features four 140-pound small satellites, each about 1-by-2-by-3 feet in size.

Or

The PUNCH mission features four 63.5 kg small satellites, each about 0.3048 m × 0.6096 m × 0.9144 m in size.

https://blogs.nasa.gov/spherex/2025/03/04/nasas-spherex-punc...
Extensible how?
The Republican controlled congress is fully complicit. The CR they're voting on includes a provision that preemptively surrenders their ability to restrict Trump's tariff boondoggle.

https://bsky.app/profile/fritschner.bsky.social/post/3lk4eyq...
Agree. TypeScript is primarily a programming language. Did they make the language faster? No. Hence, the title is misleading.
> “faster typescript” would also be a valid way to say the typescript compiler found a way to automatically write more performant javascript.

That still wouldn't make sense, in the same way that it wouldn't make sense to say "Python type hints found a way to automatically write more performant Python". With few exceptions, the TypeScript compiler doesn't have any runtime impact at all — it simply removes the type annotations, leaving behind valid JavaScript that already existed as source code. In fact, avoiding runtime impact is an explicit design goal of TypeScript [1].

They've even begun to chip away at the exceptions with the `erasableSyntaxOnly` flag [2], which disables features like enums that do emit code with runtime semantics.

[1] https://github.com/microsoft/TypeScript/wiki/TypeScript-Desi...

[2] https://www.typescriptlang.org/docs/handbook/release-notes/t...
I think the point is there is a big difference between "He who does not work shall not eat" and "...anyone who was unwilling to work should not eat". Specifically the clause "unwilling to work".
Yes, but C# is the Microsoft language, and I would say TypeScript is 2nd place Microsoft language (sorry F# folks - in terms of popularity not objective greatness of course).

So it's not just that the lead architect of C# is involved in the TypeScript changes. It's also that this is under the same roof and the same sign hangs on the building outside for both languages.

If Ford made a car and powered it with a Chevy engine, wouldn't you be curious what was going on also?
https://youtube.com/shorts/izildGlrEVg

I believe most of these people are not being killed when they beg like this. Nonetheless, the rules of war should try to preserve dignity in death. It needs to be codified at least, even if it’s violated, and perhaps some future generation will litigate the sin.

The brutality of this war probably hasn’t all gotten out.
No landlord is looking at a particular tenant's income under the microscope and adjusting their rent. But, of course they do it in aggregate based on averages. UBI shifts the overall demand curve, and every supplier of goods will adjust their prices proportionally.
Very obviously correct^
> Are these taught a schools in these countries? Genuine question - I'm curious.

When I went to secondary school from about 1997-2001 Indonesia in particular was covered fairly extensively. From what I recall it wasn't white-washed either: I remember one chapter describing how a young Indonesian woman was punished with hot chilli pasta (sambal) on her vagina. Pretty graphic stuff to teach a 14-year old.

Experiences seem to differ though, because I've heard other people describe that it's barely covered and/or white-washed. Maybe it depends on the school? I don't know. Also the schooling system completely changed since then.
In the example above, you first have a list of books. Then you filter it down to books with >1000 pages. Then you map it to authors of books with >1000 pages. Then you collapse it to distinct authors of books with >1000 pages. Every step in the chain adds further complexity to the description of the things you have, until it exceeds the capacity of your working memory. Then you can no longer reason about it.

The standard approach to complexity like that is to invent useful concepts and give them descriptive names. Then you can reason about the concepts themselves, without having to consider the steps you used to reach them.
That's it! Thanks :-)
Finally something not-Rust!
IANAL, and I am assuming you are a lawyer - I interpreted @NoMoreNicksLeft as saying that it's a judge's responsibility to determine whether or not evidence is admissible - before it gets to a jury. And that's also what the article is talking about - "The examples should illustrate circumstances that may satisfy the authentication requirement while still leaving judges discretion to exclude an item of evidence if there is other proof that it is a fake. "
Dario Amodei: "In 12 months, nearly all code may be generated by AI."
One of my coworkers is Greek and learned English in Scotland. Nobody can understand him for the first six months they are working with him. He’s a cool dude though, once you get past the Greek-Scottish accent.
Set comprehension are more idiomatic here (explicit syntax) though filter/map are not that bad too:

{*map(_.author, filter(_.page_count > 1000, books))}

It uses lambdas package.
Your initial post mirrors fascist rhetoric and is just an ideological rant.

Maybe try explaining how academics strong armed capital into deindustrializing and you’d get a better response.

The fact you went right to rules lawyering shows your weak position.
>The level at which politics has actually intersected with my life in the past year is zero.

Road maintenance, sewer connections, water and air quality, food safety, and a million other things that you interact with daily are all results of various levels of politics.
> Eigendecomposition of the covariance matrix, essentially PCA, is probably the first non-trivial step in the analysis of any dataset

For a sufficiently narrow definition of "dataset", perhaps. I don't think it's the obvious step one when you want to start understanding a time series dataset, for example. (Fourier transform would be a more likely step two, after step one of actually look at some of your data.)
IMO no. Russian conditions for a ceasefire have been pretty clear: There should be a concrete idea of the starting positions for negotiations, and what the sides will be negotiating over. The current starting positions are still incredibly far apart.
And then once you need actual calling Access lags far behind even MySQL.
We're witnessing a group of wealthy and powerful people intentionally doing their best to burn everything down so they can enhance their own wealth and power. If nothing is done, collapse is the inevitable result.

But it's not yet too late. Much of the damage we've already seen will take generations to repair, but we can still avoid total destruction.
That's about the right response. These don't expose a command across a security boundary. You can only exercise them if you're already executing arbitary code on the main CPU core.

Honestly the original Tarlogic report was so irresponsible that I have to wonder if Espressif is considering legal action.

Note btw that the linked press release points to the more detailed blog post explaining the architecture: https://developer.espressif.com/blog/2025/03/esp32-bluetooth...
Yes, you're right in that there isn't a textbook example of 'proper form'.

I appreciate you finding the quote on the website! For clarity, at the bottom of the homepage's FAQ section ("I already know how to do my exercises. Is this still for me?"), we’re not here to teach proper form since everyone is different. We just assist with accountability and using full range of motion. For premium users, we do have the option for users to freely control their strictness level when the app counts your reps.

The way we set the AI is by prioritizing certain body parts. For squats, we focus more on hip lowering than arm positioning. It's just making sure: Are you going all the way down?

No, we didn't work with a licensed physical therapist. We had certified trainers try it out and hear their feedback. This is just meant as a tool to keep you accountable on your form. If it's not to your liking, that's fine! Just trim down the level to your preference.

Last yes, we do place the pricing upfront after the onboarding pages. The challenges and programs are free to try after you swipe down on the paywall. I just didn't communicate the instructions properly. If you ever change your mind and want to give us constructive feedback, would love to apply that and help others!

I appreciate the comment and hope you have a good one!
I know tech reporting has gone downhill, but I was really surprised by how badly this minor issue was overhyped.. articles with titles like "Hidden Backdoor Discovery Could Expose 1 Billion Bluetooth Devices To Hackers" coming out even yesterday. It's a stretch to even call this a back door.
Location: Delhi,India
Remote: Yes
Willing to relocate: Yes
Technologies: Python(Flask,FastAPI,Django),React, Relational DBs, Linux
Résumé/CV: https://drive.google.com/file/d/1FhEZdNpaLWJBrrgIcsLscGnRBOfm65RW/view?usp=sharing
Email: 21112002mj@gmail.com

Looking for:
Every day after work I want to grab a coffee and think about "crazy" work I did today and "crazy" work I will do tomorrow. There is nothing that makes me more happy than to experience that "eureka" moment when something seemed "difficult/never-done-before" and I did my part in making that happen.
It is fairly common, yes. Sometimes those compilers (or interpreters) aren't the primary implementation, but it's certainly a thing that happens often.

Most of the Rust compiler is in Rust, that's correct, but it does by default use LLVM to do code generation, which is in C++.
You can (somewhat) bridge between them:

https://github.com/SecretiveShell/MCP-Bridge
Even closer to woodlawn and the infamous o block, arguably the birthplace of Chicago drill. Blocks away from campus
The £8B plan to break BT's broadband grip that struggled to connect
Apparently not good enough, given the decision to use Go.
no true scotsmen, eh
Once upon a time, a US president said "the only thing we have to fear is fear itself". His unconventional administration brought USA from deep economic depression into a golden age.

Meanwhile, the current ruling elite smears him as one of the worst presidents of all time, and has spent decades undoing that legacy and racing towards a repeat of 1929.
For example, look at the Techempower benchmarks.

I benchmarked HTML rendering and Dotnet was 2-3x faster than Go using either Templ or html/template.

Etc.
Tell that to the Pierce-Arrow company: makers of the first official cars for the white house, but they didn't survive cash flow problems from the great depression. Meanwhile, Ford survives.

https://en.wikipedia.org/wiki/Pierce-Arrow_Motor_Car_Company
Europe is increasing it's defense spending as it should. The whole point here is about countries paying they're fare share for defense. You want to have all the benefits of socialism without defense spending, which is easy when you know someone else will come to bail you out. I'd be pissed as well tbh, but I think it's good the EU controls their own destiny.
Author here.

Thank you for all the thoughtful comments and great stuff I didn't think of (also has been a hot minute since I wrote the article).

I appreciate the discussion!
That does help. Network stuff is a usecase I could see.

It seems like with a restart system you could do something like this, in a generic reusable library way, correct me if I'm wrong. On network failure, register a callback with some OS level network activity watcher, once the network has resumed working, continue execution as normal.
> Lots of people predict it

Yup.

2009 https://news.ycombinator.com/item?id=855684

2017 https://news.ycombinator.com/item?id=14790251

2018 https://news.ycombinator.com/item?id=17184054

2019 https://news.ycombinator.com/item?id=21613997

2022 https://news.ycombinator.com/item?id=30622300

2023 https://news.ycombinator.com/item?id=35091237

2024 https://news.ycombinator.com/item?id=40739431
That's a good point, though the readme does flatly state that krep "is designed with performance as a primary goal," so the lede's generalization that it is "blazingly fast" isn't correct, despite the later, more deeply buried caveat that "Performance may vary based on hardware, file characteristics, and search pattern" (which describes all software). And the comment you answered doesn't say just that krep is "slower" than fgrep; it says krep "produces obviously wrong results" slower.

Edit: and the fact that krep lacks regular-expression support means it's not a replacement for grep or meaningfully comparable with it.
Speak for yourself, mate! Many fun times were had with machines built by each. I have particularly fond memories of the SiS 630 / 730, Via's KT133A, and lots of old ALi, OPTi and ULi gear from the 286, 386, and 486 era.
Running a local resolver is very simple.

If you know the steps -- install software, download root hints file, glance at default config (probably no changes needed), set packet filter rules, start daemon, update DHCP config -- you can be up and running in less than 10 minutes.

If it's your first time, but all of those steps are conceptually clear, I'd allot an hour or so.

I'd recommend Unbound[0] or Knot Resolver[1]. Either will give you fast local caching and private DNS history, with zero maintenance requirements. I literally have not touched my (Unbound) config in ten years.

Though, now that I think about it, there have probably been root hints[2] updates that I should download. (30 sec later: Done!)

0: https://www.nlnetlabs.nl/projects/unbound/about/

1: https://www.knot-resolver.cz/

2: https://www.internic.net/domain/named.root
War of full of cruelties.

You've read about "foraging" to supply an army with food, which was done for millennia. Nice polite word. Do you know what it meant? It meant sending out soldiers to find farmers and force them to hand over their food, and next year's seed counts as food in this context. Pity the farmer's wife or daughter who hadn't hid well enough. Pity the farmer too.

War really is despicable.
I think Anthropic's definition makes the most sense.

- Workflows are systems where LLMs and tools are orchestrated through predefined code paths. (imo this is what most people are referring to as "agents")

- Agents, on the other hand, are systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks.

https://www.anthropic.com/engineering/building-effective-age...
Has there ever been any petition in the UK that has achieved any effect other than "thanks we'll think about it"?
DeepSeek doesn’t seem to support it either FWIW. Maybe MCP is just an Anthropic thing.
Yep, it’s a bit different, I won’t do it again. The problem is important, I wanted to hear other people’s ideas, you can google “share AI safety ideas”, I posted the same question in a bunch of places and it created some discussions
True, but now you're relying on a specific implementation and optimization of the compiler, unless the language semantics explicitly say that lambdas will be inlined.
It is like those I-am-not-really-MAGA-pretenders forgot that Trump launched a nonsensical trade war against US allies, which has started all this drama in the first place.
Why would an archivist back then happen to know computers that intimately? I'd be surprised if the average archivist knew much more than how to do data entry... and I wouldn't even hold it against them if they happened not to know how to do data entry.
The key:

> immutable data structures --> "we are fully concurrent, because these are what I often call embarrassingly parallelizable problems"

The relationship of their performance gains to functional programming ideas is explained beginning at 8:14 https://youtu.be/pNlq-EVld70?feature=shared&t=522
still impressive that a 17 year old laptop is still useable now. imagine using a 3/486 in 2008.
Yet none of the Canadians stop using reddit, a US company. Easy to boycott things you don't care about.
This is essentially a UPS (uninterruptible power supply) with an app. The UPS basically passes power from the wall to your fridge until there's a power outage. At that point it flips to using the battery to send power to your fridge.
You've misread your source article—what you've quoted is not a description of Webb.
Yeah, if you treat it as javascript vs python they're likely correct (I'm not that familiar with js). The article and original comment were about function vs imperative though, so I assumed half decent runtimes for both.
The Prevalance of Productivity Porn
That's only true for casual reviewing and writing.

When you're actually analyzing a bug, or need to add a new feature to the code... Then you'll have to keep the whole thing in your mind. No way around it

It gets extra annoying when people have complex maps, reduces, flat maps all chained after the next, and each step moved into a named function.

HF constantly jumping around trying to rationalize why something happens with such code...

It looks good on first glance, but it inevitably becomes a dumpster fire as soon as you need to actually interact with the code.
I wonder how much faster DOOM will run on this
> Mozilla is selling your browsing activity in Firefox "privately" to advertisers

Do you have a better source for this?
Isn't it up to the opposing party, and not the judge, to impeach an expert?
This just doesn't make technical sense. I completely agree that backdooring encryption standards is a bad thing. But Dual EC DRBG is a clear example of a NOBUS backdoor actually being that. The backdoor is equivalent to "knowing" a private key. The weakness is not some sort of computational reduction. Using this logic, you would say that no encryption method is possibly secure because you can't rely on its security once the key is exposed.
I'm honestly impressed people have golf game cabinets at home. never saw anyone playing those on the arcades.
not on principle (unless i was applying to work in HR) - recruiters are not the company ambassadors you seem to imagine but cogs in a small machine that you're not likely to encounter after onboarding.

i would treat it like a 504 error
Not all software jobs are like that. If, like myself, you have a very low tolerance for that stuff, then you need to sniff it out during the interview process so you know that the company is a poor fit for you before you accept a position.
ah, I misread the Orbital Parameters on the wiki. that day-night orbit is also a LEO which makes it even more possible to do a manned mission for upgrades. Oh, wait, we no longer have a shuttle for those types of missions.
What about improving our own lives. I live in a first world country, work as a dev with decent earning. But finding things are expensive these days
Ok, don't buy them? You always had that decision.
Relevant to the study of phase transitions in machine learning; e.g., https://openreview.net/forum?id=0pLCDJVVRD
They trained a new model that is good at creative writing
Those CPU features (AVX2 and whatnot) need to be detected at runtime, too, however.

Those ifdefs only detect if the compiler supports them, i.e. at build-time only.

So... your program only compiles with AVX2 and others if the compiler supports them; so you should compile where the compiler has all those features (because you want everything to be compiled into one executable, of course), and then use runtime checks to make sure the CPU on which the program is run has actually support for AVX2, for example, as it can select the best implementation based on the available CPU features.

To make things a bit more complicated, let me quote a part from one of the projects he has: "The detection is performed at configure time through both CPUID flags and actual instruction execution tests on the host machine, verifying support in both the CPU and operating system.". Currently what you are doing is the "OS", or rather, compiler, since you are using only macro definitions.

Once you add this, then "Automatically leverages SSE4.2 and AVX2 instructions when available for maximum throughput." from the list of features on the website will be correct / accurate.

If interested, someone I know (or rather, follow) has a single header file for detecting CPU features at runtime (for C), and he also has a build-time detection one, but that has much more features.
It's crazy that this got as much attention in the first place
I wish there was an app for renting humanoid (android) robots. Maybe from Unitree or TeslaBot or something, or a US-based robot if there is one that is actually being manufactured and similar.. maybe combined with a built-in AI system.

America definitely seems to be a little bit behind in terms of android manufacturing. They have some pretty competitive robots but they seem more expensive and to be being built inefficiently.

Maybe there's an opportunity for a startup that can build a stack and integrate it into one or more off-the-shelf robots to provide the intelligence part. Because a lot of the demos of android are teleoperated since the AI is still quite difficult.

Combining the AI and a rental service would be so powerful.

We might be one or two years away from that being practical.
Nope, pure functions are referentially transparent. The key idea is that you can replace the function invocation with a value and it shouldn’t change the program.

A regular static function could refer to a file, a database, or it could change some global memory, etc. So, replacing the static function (that causes side-effects) with a pure value wouldn’t result in the same program.

Side-effects are usually declaratively represented by something like an IO monad. Which in reality is just a lambda with the side-effecting behaviour in the body of the lambda.

So, to make a pure IO function you don’t actually perform the IO in the function, you return a data type (the lambda) that represents the IO to perform. This maintains the purity if the function and ‘passes the buck’ to the caller. In the case of Haskell, all the way up to its Main function and into its runtime — making the language itself pure, even if the runtime isn’t.

This isn't just a Haskell thing though. I'll write code this way in C# (and have built a large pure-FP framework for C# to facilitate this approach [1]).

Here's an example of the more 'narrative style' [2] of C# using pure-FP. It reads from top-to-bottom, keeping the related functions near each other and walking the reader through the functionality. There's also a massive removal of the usual clutter you see in C#/Java programs, getting down to the essence of the logic. It won't be to everybody's taste (as it's not idiomatic at all), but it demonstrates the idea.

This style works well for regular program logic and less well for things like APIs where there's not always a narrative you can tell.

[1] https://github.com/louthy/language-ext

[2] https://github.com/louthy/language-ext/blob/main/Samples/Car...
(I'm honestly curious who downvoted this and why...)
Evolving Intercom's database infrastructure: Lessons and progress
I keep forgetting there's a front page to this website. What a cool story!
I did once and it turned out they'd been super busy and dropped the ball. Turned out fine.