skysight-inc/HackerNews huggingface dataset:
>I think a run with Idris Elba would be wonderful.

I'd have liked to see that but I think it's probably too late now, he is only four years younger than Craig.
"Code expands to fill the maintenance capacity of the available team".

There, Parkinson's law updated.
The whole credit system is a big scam anyway, hopefully people will keep defaulting and eventually take it out.
Dude hate to hit you up with it but whole Bond is about being unrealistic just like Santa Claus.

Being masculine in unrealistic way is part of the fun. Just the same as cars with machine guns in the hood or wrist watch with laser cutting through things.

It is like nagging that in Star Wars explosions in space have sound and are not like actual explosions that would happen in space…
There should not be more than one pizza restaurant
A lot of the stuff on Prime is absolute dross.
You should do, and I usually do, both "pure" unit tests (with all I/O - database calls, reading/writing local files, 3rd party API calls, etc - being mocked), and integration tests (with ideally all I/O really happening). More of the former, and less of the latter, in line with the "testing pyramid" approach.

There is value in testing "assuming that the database returns 3 rows with Foo IDs and Foo Descriptions, my code should serve a JSON response containing the Foo IDs and the Foo Descriptions concatenated together". And there is also value in testing "when my code executes SELECT id, description FROM foo LIMIT 3, the real database should return 3 rows with Foo IDs and Foo Descriptions". Granted, there's also a big advantage in that the former can run much faster, with zero environment setup / teardown complexity required. But my main point is, different test suites should test different things.

However, if you're unable or unwilling to write two different test suites, and if you're able to easily and reliably have a database available in dev / CI, then ok, I concede, just write integration tests.
When they're being hysterical, yes.
Well, if you found a productive workflow then who am I to judge, right?

However, if I was hired into your team tomorrow you'll have to fiercely fight with me over this:

> And sure, we could probably refactor it to use transactions to shave a few seconds of running our test suite, but it'd add some additional mental complexity to our codebase to do so.

Various languages and frameworks demonstrate that abstracting this away and using convenient wrappers is more or less trivial, and definitely a solved problem. And the resulting code is simple; you are (mostly) none the wiser that you are actually using a temporary transaction that would be ultimately rolled back.

...Though that is extremely sensitive to which programming language and DB library you are using, of course.

Your approach works, so keep using it but IMO it's a temporary one and it could stop being fit-for-purpose Soon™. You yourself are already aware of its limitations so just keep an eye out for this moment and be decisive when the time comes to migrate away from it.

My $0.02.
Overall I feel like Amazon produced TV and movies have been pretty terrible

Apple on the other hand are making some surprisingly good shows! Not always, but generally much better than Amazon.
Of course. That’s all possible. When I wrote this I was thinking about defaults, and what I could do and did do out of the box with nobody knowledgeable around to guide me.
As I see it, this all doesn't matter though as soon as "security update" enters the picture.

The problem here is upstream dev's saying "my dependency needs are absolute". And a security update ruins that: because as soon as one happens, now no matter what we're going to be replacing libraries anyway. Even your prosposal includes this: we're going to strip out openssl librares and use distro ones.

At which point everything might break anyway, because whether a security hole can be fixed at all depends on which versions of a library it affects and how. Not to mention problem's like finding the issue in one version, but it's changed enough that it's not clear whether a different version is impacted the same way.
This link just goes to the homepage now
I might be in the minority here, but I couldn't stand the Wheel of Time book; given its popularity I gave it about 200 pages before discarding it as poorly-written, under-edited, over-wrought, unoriginal, derivative drivel. Different strokes, I guess.
To expand on this a bit, in many places a software project without a license means that all rights are reserved by the author and that nobody else has any legal right to use it in any way.

I'm not sure if unlicense/public domain would be a better default though. At the very least, that Github prompt should explicitly state with a warning what it means when you select "None" as the license. I think most people don't realize or know what it means for others who want to look at or use the project.
The author, David Brooks, is a white Republican, born into an upper middle-class family.

Of course he hasn't written a line of code! He was born into a class that leaves the hard work to "others" beneath him.

He doesn't get being poor, or being an immigrant, let alone a brown immigrant, and this brown immigrant wishes he would just sail away on his yacht.

If David Brooks speaks for anyone, it is for the small set of overprivileged white people (both right and left) who think their good fortune entitles them to lecture everyone else on how to think, how to live. (Sheryl Sandberg also in this category, although some of her advice is objectively useful.)
US treasury's workstations breached in cyber-attack by China – report
AFAIK ECall uses a voice call with data encoded on the audio channel. This is not what telemetry does, it should be doable to leave the voice channel and disable any data connections. (But it's probably very hard to check for someone who has no background in emebedded systems). Plus, in theory an emergency call can be done without even using a SIM card, right (if network allows)?
Glad to help!

On a philosophical / meta level it's all quite simple: do your damnedest for the computer to do as much of your work for you as possible, really. Nothing much to it.

Strict technologies slap you hard when you inevitably make a mistake so they do in fact do more of your work for you.
Why is everyone falling for the most obvious negotiation tactic in the world? The copyright owners know that Amazon has money, way more than any regular film studio. Watch their reservations about commercializing the franchise magically disappear once the number is high enough.
A door can be kicked in, a safe can be drilled, a password can be reset. But these keys (whether a phone or a Yubikey) to your digital life are irreplaceable if they're all lost. We've never been in this situation before.

The problem with any solution relying on a couple of physical devices as the sole access to your digital life is that the management and protection of those objects becomes one of the most important things in your life. These keys are supposed to give perfect security so by design making "software" copies brings that security to the level of passwords. But losing them kills your digital life.

You have two keys in the house and you have a fire or severe natural disaster? There's no reset for them and you just piled a tragedy on top of another. You want to restore them from a backup? You probably need the keys to begin with. People need one on them at all times, one at home, one or two in some other safe far away location but to still trust that they won't be misused there.

That's all people hear when they look into passkeys. "One more key" is not enough for most people, tech savvy or not.
LLMs are writing code for the coming of the lil' baby jesus?
This is what I do, it has an overhead of about 10-20ms per test and I’ve had zero flakiness. Absolute no brainier from my point of view.
I was using a mobile browser; on many mobile browsers it's hard to see/edit the URL, unfortunately.
Show HN: I spent 2024 building a wealth projection web app
CashSprout has been my side project for the better part of a year now.

The main differentiator between CashSprout and other personal finance applications, in my mind, is the emphasis on future values.

I have hardly done any marketing as I am still working out some kinks and am considering an iOS application. Give it to me straight, does it suck?

My new years resolution for 2024 was to make $1 online which I have yet to accomplish.

Check it out: https://www.cashsprout.app
Brainrot Stimulation Extension in ChatGPT
> Don’t have temporary people make permanent decisions.

That seems like the entire streaming ecosystem as services compete to pay more for content than it is worth and ultimately many lose money…. And the content is hidden / hard to find.
I don't think there is a generally optimal design. There are cons and pros to using the same homogeneous FMAs units for adds, multiplies and fmas, even at the cost of making adds slower (simpler design, and having all instructions of the same latency greatly simplifies scheduling). IIRC intel cycled through 4 cycles fma, add and mul, then to 4 cycles add and mul and 5 cycles fmas, then with a dedicated 3 cycles add.

The optimal design depends a lot on the rest of the microarchitecture, the loads the core is being optimized for, the target frequency, the memory latency, etc.
> Now it's really time to invent something else instead of keep doing the same stuff over and over. No matter how much the visitors of this website might downvote me :D

Be fine with the fact that you are not the target audience of the James Bond movies.
No. I am really intrigued as why the Taiwanese people can't see what their comprador elite is doing.
So would you be okay with Bond seducing
and sleeping with men to get information?
Classic hindsight/survivorship bias for me.

Bezo’s approach is sublime. It holds two seemingly irreconcilable insights in tension and transcends either lesser alternative:

Come on.
sorry. i thought this was meaningful commenting here.
$2k is massive sum for most US households. Many are a flat tire away from bankruptcy, they lean on cash advances and their communities to help them through simple things like a flat tire.

I grew up kinda poor and lived this as a kid, my family was always helping or being helped by a neighbor or something. Through my friends and some extended family I knew these things were like a sign of our “class” and even slightly more secure people would never do them, it would even be a social faux pas to even ask for help. Now, at middle aged, I’ve done pretty well for myself and sometimes make other types of faux pas statements like “just buy a new car instead of dealing with that”. I have to be somewhat mindful that even a 10 year old used car is a huge purchase for many people. Even if it’s in good shape and can get another 5-10 years out of it, and would technically be the best move, it’s not viable if they can’t afford it or have to subject to some usurious loan.

TBH I generally like to just take the “it’s impolite to talk about money” approach unless I know the person well enough. Although I’m a financial professional so people tend to like asking my opinion/advice on a lot of things, even if I barely know them, I have found that I prefer to avoid those types of conversations altogether until I know you pretty well.
All of the big OEMs are soldering memory on at least some (if not all) of their thin-and-lights, and I haven't seen a single one priced at margins that weren't significantly above the cost of materials.

Either way, my point is that flat margin pricing is exceedingly rare. Everywhere from the grocery store to the car dealer is charging higher margins on more premium products.

Luxury cars have higher margins than economy cars. Organic milk has higher profit margins than regular milk. And Macs with 32GB of memory have higher profit margins than Macs with 16GB of RAM. The fact that the desktops PCs of our past priced RAM upgrades nearly at cost was an outlier; a courtesy, not anything normal.
Yeah, clearly intelligence agencies got the memo on sexuality a long time ago! Portrayals will catch up eventually, I hope.
Which is also made by the same author as ts_zip (Fabrice Bellard): https://bellard.org/nncp/
It would be more useful to link to the Gutenberg page that shows links to the various formats:

https://www.gutenberg.org/ebooks/38769
PT Mono for me
It’s that, except the OS manages the private key (in a “secure enclave”). So you, the user, (or malware), never get access to the private key.

The second crucial part is that these private keys are cloud synced. This means that the average Joe doesn’t lose their passkeys when they lose their phone. Get a new phone, and it will sync your passkeys and you are back. For people in the Apple ecosystem, it really is a straight upgrade over passwords.

Where it sucks:

- I’m not comfortable trusting a big vendor with the keys to my digital life

- I only have one device, so when I lose that device I’m locked out till I get another

- I want to use my own password manager to handle passkeys

- I am in multiple big vendor ecosystems

- I want to export these private keys (this one is sort of coming, the standard has been defined to allow export and import, but again in such a way that the user (or malware) cannot access these private keys)
I don't think it's right that statistical significance is independent of population. 1 sample out of a population size 1 is plainly more significant than 1 in 100.
So QED?
An open TPM does exist: https://www.qemu.org/docs/master/specs/tpm.html#the-qemu-tpm...

The TPM emulation offers a full TPM implementation in software, for providing TPM functionality to a virtual machine when the host doesn't have one (or, when the TPM needs to be virtualized for other reasons, e.g. migration).
Original source - more detail including link to a source, and without the CISA initialism mistake (19 points, no discussion) https://news.ycombinator.com/item?id=42553154

The letter: https://legacy.www.documentcloud.org/documents/25472740-lett...
Beyond Gradient Averaging in Parallel Optimization
For the lazy, the blog post that accompanies it (2012):

http://bit-player.org/2012/world3-the-public-beta

The source code:

https://github.com/bit-player/limits

I haven't read "The Limits of Growth" but I assume it's from a "peak oil" perspective, predicting societal collapse once oil runs out. I think it's pretty clear we're past idea now, with solar energy and other renewable being deployed globally because of the exponentially decreasing economic costs.

One thing I do find interesting is the cyclic nature of the booms and busts of population growth predicted by the model. Even if the assumptions of the model are invalid (short term finite supply of energy) it still might explain some gross level behavior.
A bit of background on Hardy, and his choice of title:

https://en.wikipedia.org/wiki/G._H._Hardy#Pure_mathematics
“based on communications with Moody’s analysts”

“based on internal data from Moody’s”

“data from Moody’s” with no qualifier indicates the reader should be able to reasonably find the information themselves (which they can’t in this case)
Real median wages for full time workers are up a little less than 2.5% since Q4 2019. It could be worse, but it's not really something worth getting excited over.

https://fred.stlouisfed.org/series/LES1252881600Q
Jimmy Carter set the solar, space, and environmental pace
Fermi: A terminal DSL for Fermi estimation with distributions
You can interleave most operations how you like, without any extra latency, each op starting as soon as all the results are ready, regardless of where they were computed.

There are some exceptions where "domain crossing", or using a very different operation costs an extra clock cycle. Notably, in vector registers using FP or integer operations on the result of the different type of op, as modern CPUs don't actually hold FP values in their IEEE754 transfer format inside registers, but instead registers have hidden extra bits and store all values in normal form, allowing fast operations on denormals. The downside of this is that if you alternate between FP and INT operations, the CPU has to insert extra conversion ops between them. Typical cost is 1-3 cycles per domain crossing.
Perhaps not literally, but you can easily imagine training an embedding on a large amount of existing video, and then delivering somebody "the point in space that decodes to the video with the least residual compared to the original".

Conceptually, most modern movies are just linear combinations of basis tropes (tvtropes.org).
Why Linux is not ready for the desktop, the final edition
I'm sure there's many books about this. You have to be carful when and how you give attention. _Boundaries are key_. If you're giving attention while they're behaving badly it can reinforce the situation. I've got three kids and it took a painful devorce and some deep introspection, personal change and turning some concepts on their heads. Now my third child (new partner) is a brilliant reasonable person and my relationship with my older kids is on a much more even keel. I would seek external support (therapist and child behavior folks) and don't be afraid to dig deep on why you feel the way you do and how that affects how you act and reflects in your 4yo. Good luck! (Edited for grammar.)
Analyzing OpenAI's Reinforcement Fine-Tuning: Less Data, Better Results
I was with you in the first paragraph. My kids are young adults now but I feel your pain.

In lost you when you mentioned being up at 4:30 willingly.
Whaaaat oh no bad news or with words of S. O'Connor - nothing compares to you :'(
A Concise Field Guide to Post-Commubist Regimes (2022) [pdf]
> But herein lies the problem. There is no general, objective social norm that covers the range of topics necessary.

I’m pretty sure people happily played board games together in the recent past without these conversations.
BitLocker no longer leverages SED by default due to vulnerabilities in drive manufactures firmware as of Sept 2019.

> Changes the default setting for BitLocker when encrypting a self-encrypting hard drive. Now, the default is to use software encryption for newly encrypted drives. For existing drives, the type of encryption will not change.

https://support.microsoft.com/en-us/topic/september-24-2019-...

https://nvd.nist.gov/vuln/detail/CVE-2018-12037
> I understand Brocolli is fine with it. (I didn't say he wasn't.) I just don't see changing Bond's sex or race.

Your comment changed Brocolli from a ‘she’ to a ‘he’ though… So maybe you don’t mind so much after all?
Yes, "NP-complete" is not correct on the author's part and neither is "NP-hard." "NP-hard" is the author's intent since the problem is solvable using a SAT solver but presumably has no polynomial algorithm (so it is harder than P but not as hard as NP), but NP-hardness actually requires the other direction to be true: for a problem to be NP-hard, an oracle for the problem needs to be able to solve everything in NP. NP-complete is a stricter condition that requires NP-hardness but also requires that the problem be in NP.

The author was missing the words "in NP" if they are talking about complexity.
> Also IIRC there are still some non-pipelined units in Intel chips, like the division engine, which show latency numbers ~= to their execution time

I don't think that's accurate. That latency exists because the execution unit is pipelined. If it were not pipelined, there would be no latency. The latency corresponds to the fact that "doing division" is distributed across multiple clock cycles.
Wait, these companies seem so inept that there's gotta be a way to do this without them noticing for a while:

- detect bot IPs, serve them special pages
- special pages require javascript to render
- javascript mines bitcoin
- result of mining gets back to your server somehow (encoded in which page they fetch next?)
I can see this being used for discounting fresh foods to reduce waste. Not bulk produce, but packaged produce, meat, bread, prepared foods.

Stores discount these things as they approach the end of their shelf life, which generally means spending labor to individually tag items with a substitute barcode. But labor costs money, and clerks get busy, things get missed, food gets wasted, and margins get degraded.

Currently the barcode on something like a steak encodes the PLU and the weight. If it also encoded the pack date, then this discounting can take place automatically with no chance of missing anything.
I use it for the boiler plate, uber google, automated reviewer, rubber duck design reviewer, and junior engineer given extremely precise instructions.

The latest models (o1, Claude sonnet new) are decent at generating code for up to 1k lines. More than that, they start to struggle. On large code bases they lose the plot quickly and generate gibberish. I only use them as code summarizers and as a Google replacement in that context.
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Unimaginable Sums of Money
https://eradman.com/ephemeralpg/ (for Postgres) plus making sure your test suite is parallel works wonders.
> I still don’t understand how people are getting value out of AI coders. I’ve tried really hard and the commits produced are just a step up from garbage.

These aren't mutually exclusive. I pay for ChatGPT. It sucks fat balls at coding but it's okay to do things like "Bash: ensure exactly two params are passed, 1st one is a dir, 2nd is a file". This is slightly faster than writing it myself so it's worth $20 a month but that's about it.

"from now on no explanation, code only" also helps.

Does is still stuck? Definitely. But it's one more tool. I can understand why one wouldn't even bother though.
I'm sorry, but if P5 was VLIW then the word has lost all meanings. They couldn't possibly be more different.
I've never heard anyone not say "sequel server" for Microsoft's SQL Server
Scale is part of the problem. It actually hurts small businesses.

There is a probably on Google Maps where a marketer will setup a website, a lot of business listings, and get a Google Business Profile for a "local business" which doesn't actually exist. This is all setup to attract unsuspecting customers to share their information which is then sold to local contractors often without informing the customers and/or the local contractors.

It's a practice known as lead gen and/or rank-and-rent.

For an example, you can look up a "business" called Seattle Grease Trap Services on Google Maps. It's part of a network of fake businesses run by marketer in Hawaii. Check the profiles of the people who leave reviews to find some of the others.

Another example is found by searching for deck builders in Chicago. There are several variations of Koval, TOD, CPC, and similar companies. This is all operated by a local marketing company that I managed to identify in less than an hour.

I report these frauds, nothing happens. I escalate. Nothing happens. So I've given up, but I know that these listings cost local businesses actually work. And even though they're against Google guidelines, nothing happens.
Good ones.
Agreed, this was blatant sexism. He does far worse things to men who won’t tell him what he needs.
Yeah, not all contain translations, and the lack of translations makes the feature that was suggested (the ability to filter by language) useful. I think you misunderstood what OP was saying.

Nobody assumed that "everyone has to do everything in their language", and please remember that english specifically is not used because of this but rather because it plays the role of a "lingua franka". The real arrogance is when there is an active attempt to exclude people by third parties in an event that explicitly attempting to be international, inclusive, antiracist, antinationalist, antiborder, etc.
My comment here got two downvotes. I was trying to contribute positively to the conversation. I've barely ever downvoted anyone. I upvoted the parent comment even though I disagreed with it (because I appreciated the perspective). The drive-by downvoters in HN bum me out.