MurphyA/hacker-news huggingface dataset:
by motorest | 2025-09-17 01:26:55+00:00
> So basically react class components? It definitely was not easier in those days.

Yes, class components.

Function components help in reducing boilerplate code when all you want to do is put together a component that is a thin wrapper over other components with barely any state or logic.

The problem with function component fundamentalism rears its head when you start to add state and life cycle handlers, as you start to pile hooks on top of hooks when simple inversion of control would make things cleaner and easier to manage.

Literally the main criticism thrown at class components is boilerplate code and support for life cycle methods. It turns out that they are a nuisance when writing small stateless components, but are an unavoidable need when you add non-trivial state and life cycle handlers.
by theluketaylor | 2025-09-17 01:27:39+00:00
Bruce C was scrapped 15 years ago.

There is extensive long term refurbishment of the existing reactors that includes uprated capacity, but there isn't currently any plans to add new reactors at Bruce.

A different Ontario nuclear site (Darlington) does have work underway to build four BWRX-300 reactors, one of which will be the first in the world.
by verandaguy | 2025-09-17 01:27:42+00:00
Two counterpoints to this.

- A good designer will be able to produce a page whose looks are appropriately engaging, complementary to the content, unique, and easy on the eyes. For every abrasive CSS (or lack thereof) justfuckingusehtml.com, there's a masterpiece like acko.net, many of which just aren't in the mainstream.

- If everything ends up looking the same wouldn't that get... boring? I get the desire to avoid obnoxious design choices, but those obnoxious design choices are part of the web, and they should be embraced as part of the decision-making process about if and how you want to keep reading a site. A bit of friction is, IMO, a good thing when browsing the web. It's the minimum level of keeping the web an interactive medium rather than just a content pipe.

That said, you do you. You're well within your rights to browse the web how you want, up to and including using automation to re-style sites with extreme prejudice.
by henearkr | 2025-09-17 01:27:50+00:00
I'm making you a favor, if you did not understand, to avoid you many trouble in your future. Also, I'll combine it with the symmetrical warning to European people lol:

- to US guys: when speaking with people of European education or culture, the words socialist and communist have very different meanings. Mixing those will anger your interlocutor. You can avoid it easily by using common "synonyms" (in US) such as communist or marxist.

- advice to EU people: be aware that in US they only think of "socialist" as meaning "communist" and are very obtuse about it. Danger zone!
by liquid_thyme | 2025-09-17 01:29:43+00:00
Not to be personal, but you sound quite naive. The world is ugly and runs on money/power/leverage/arm-twisting. The "nice" people who lay down their arms get invaded and conquered, and thats the end of that gene pool.

Side note: For Americans, the ability to stay blissfully unaware of all of this is due to the 76 US Navy Destroyers and 11 aircraft carriers that are ready and willing to enforce/maintain/defend the current way of life for the civilian population.
by nextos | 2025-09-17 01:30:20+00:00
Capability-based security via sandboxing is not that hard to overlay.

Firejail provides a very usable implementation with default profiles for lots of programs.

I've been using this since the PyTorch exploit [1].

Most programs don't need access to large parts of your filesystem or network.

[1] https://pytorch.org/blog/compromised-nightly-dependency
by jonhohle | 2025-09-17 01:31:13+00:00
I’m going to wager that the cutscenes are all XA audio/video DMA’d from the disc. Opening the disc kills the DMA and the error recovery is just to end the cutscene and continue. The program is in RAM, so a little interruption on reading doesn’t hurt unless you need to time it to avoid an error reading the file for the next section of gameplay.
by cyberax | 2025-09-17 01:31:21+00:00
Because we're large. In nature, crocodilians prey on small/mid-size mammals and birds. Humans are larger than their normal prey, and we're also tall, so we appear more massive to them. And most predators actively avoid animals that are too large to be their prey.

That's why it gets so much more dangerous if you're swimming. If a crocodile is above the water, then it can only see your head. And it's just the right size to be its prey.

And if the crocodile is underwater, then it may be even worse. Humans usually look clumsy when swimming, just like an animal in distress. In other words, an easy prey.
by ants_everywhere | 2025-09-17 01:31:23+00:00
Russell wrote a good essay on his thoughts about communism and Marxism as a non-Marxist socialist. [0]

e.g.

Some lines of note

> The theoretical doctrines of Communism are for the most part derived from Marx. My objections to Marx are of two sorts: one, that he was muddle-headed; and the other, that his thinking was almost entirely inspired by hatred.

and

> I am completely at a loss to understand how it came about that some people who are both humane and intelligent could find something to admire in the vast slave camp produced by Stalin.

You say

> Sartre repellent on multiple levels

IMO the group of French intellectuals influenced by the Nazi philosopher Heidegger (of which Sartre is certainly one) looks increasingly creepy the more you look into them.

[0] https://www.rjgeib.com/thoughts/opiate/why.html The rest of the page looks a bit crazy but that's the first google hit and they host the whole thing in plain text.
by bigyabai | 2025-09-17 01:31:46+00:00
> AirPods are a technology marvel

I get that not everyone is an audiophile, but this is just a completely insane thing to say. Bluetooth headphones aren't a technology marvel. Nor are true-wireless headphones, open-back earbuds, the AAC codec or wireless charging cases. Apple's greatest claim-to-fame is the pairing mechanism, but they refuse to let competitors even use that.

You're right: there is a reason they're so popular. They are the only headphones allowed to use all of iOS' features.
by ldl12345 | 2025-09-17 01:31:58+00:00
1. This project examines which common household material provides the best thermal insulation to keep drinks hot or cold. We will test materials such as wool, cotton, aluminum foil, bubble wrap, and recycled paper by wrapping identical containers with hot water in them. We will measure the water temperature over time, using an unwrapped container as a control. The material that minimizes temperature drop will be the best insulator.

2. Heat moves in different ways. It can move when things touch it or when air moves. It can also move in waves, like the sun's heat. Good insulators stop this from happening. Materials like wool and cotton are good because they have lots of tiny air pockets. Air is bad at moving heat. Bubble wrap is good for the same reason. Each little bubble holds air inside, which keeps heat from moving around much. Foil is different. It is shiny, so it reflects heat. This can stop heat from going out or coming in, but it's not good at stopping heat that touches it. The foil will go around the bottle to see if that helps. Recycled paper is also good because the tiny paper bits can trap air. I will see if paper works as good as the other materials that trap air.

3. I will be careful with the hot water so I don't get burned. An adult will help me pour the water. I will use gloves to handle the hot bottle. I will be careful with the thermometer so it doesn't break. At the end, I will just dump the water and put the other stuff in the trash. I will clean up everything when I am done.
by eclipticplane | 2025-09-17 01:32:11+00:00
The number of fake resumes is insane. During reviews I ended up passing a number of fake profiles through because their CVs looked real. None of them showed up to the initial screening call.

There are now AI CVs mimicking real people, so the CVs point to real Linkedin profiles, Github profiles.

Not sure what their end game is unless it's to continually test CV creation or find woefully inept companies that will hire them with limited vetting.
by galaxy_gas | 2025-09-17 01:33:07+00:00
The last place I work do this by requiring an in person to "pick up your laptop" and immediately, many of fake will not bother even enter the pipeline -- and make it well known upfront you will not ship

The people that desperate for employment but legitimate will work the job are happy to take a free flight and hotel and meet some people in the team - it was full remote but had a few in major city so just fly them to a "wework" say hi to a several members free dinner and all.

NK, scammer, body shop that will substitute the worker on day 1 after have someone else fake the interview don't bother in this terms
by benmanns | 2025-09-17 01:33:11+00:00
The trouble is, you have to place the outbound call to those contacts to trust them. People could spoof an incoming call from numbers in your contacts and it will look as legitimate to you as a receiver as if the real number was calling you. With voice spoofing, it's now possible to call someone as [grandchild] with [grandchild]'s voice with a pretty horrible story about what's going to happen if some Bitcoin or Google Play gift cards are not purchased and handed over immediately.
by ecshafer | 2025-09-17 01:33:36+00:00
The first programming language that used overloaded operators I really got into was Scala, and I still love it. I love that instead of Java's x.add(y); I can overload + so that it calls .add when between two objects of type a. It of course has to be used responsibly, but it makes a lot of code really more readable.
by autoexec | 2025-09-17 01:33:48+00:00
> It isn't feasible to audit every line of every dependency, just as it's not possible to audit the full behavior of every employee that works at your company.

Your employees are carefully vetted before hiring. You've got their names, addresses, and social security numbers. There's someone you're able to hold accountable if they steal from you or start breaking everything in the office.

This seems more like having several random contractors who you've never met coming into your business in the middle of night. Contractors that were hired by multiple anonymous agencies you just found online somewhere with company names like gkz00d or 420_C0der69 who you've also never even spoken to and who have made it clear that they can't be held accountable for anything bad that happens. Agencies that routinely swap workers into or out of various roles at your company without asking or telling you, so you don't have any idea who the person working in the office is, what they're doing, or even if they're supposed to be there.

"To make thing easier for us we want your stuff to require the use of a bunch of code (much of which does things you don't even need) that we haven't bothered looking at because that'd be too much work for us. Oh, and third parties we have no relationship with control a whole bunch of that code which means it can be changed at any moment introducing bugs and security issues we might not hear about for months/years" seems like it should be a hard sell to a boss or a client, but it's sadly the norm.

Assuming that something is going to go wrong and trying to limit the inevitable damage is smart, but limiting the amount of untrustworthy code maintained by the whims of random strangers is even better. Especially when the reasons for including something that carries so much risk is to add something trivial or something you could have just written yourself in the first place.
by jffry | 2025-09-17 01:34:18+00:00
I appreciate you having a go and it does look very attractive. It's not a problem I have but $5 is a reasonable request for something that gets the info into an understandable format for somebody.

I do think that small, single-purpose apps are probably the easiest lunch to eat. Narrowly scoped greenfield projects are where the LLMs seem to excel right now so that game seems like a race to the bottom.

As far as the cloning goes: your only recourse is probably the DMCA angle for the exact duplicate text. It's a shame they're so lazy as to straight copy it, but I suspect the response (if any) will be them lightly laundering it through ChatGPT so it's no longer the same.

Good luck! And I hope you find more useful ideas people might pay for
by bigyabai | 2025-09-17 01:35:36+00:00
Can't say my experience matches yours, either. I too have a box of unsupported mobile devices; the stuff I can do on an Android device clears every iOS one. I can't install apps on iOS without a desktop and a specific unsupported iTunes client. I can only use a subset of iOS functions.

My Android phones still do everything they say on the tin. Regardless, you've worded your entire argument to be orthogonal to my original point so it's clear you're not arguing in good faith. Nothing you ever said was related to the principles I mentioned, just what you consider to be personally valuable. Which is fine, but akin to responding to a health food nut by saying how great burgers taste.
Advertising in Microsoft Excel
by BLKNSLVR | 2025-09-17 01:37:54+00:00
I was just shown an (admittedly low-key) ad for OneDrive Mobile in Excel.

Just under the ribbon bar, where little notifications bars sometimes show useful information such as when a file is read-only or if a file needs to be Checked-Out to edit, a grey notification bar popped up an Information icon (blue circle with an 'i' in it) with the following text:

TAKE YOUR FILES WITH YOU View, share and edit files wherever you are with the OneDrive mobile app.

Followed by a button labelled "Download OneDrive".

This is on my work laptop, which has OneDrive installed and running.

I don't like this. Maybe I'm oversensitive because I also don't like OneDrive and I don't like advertising. Is this new? Slippery slopes aren't a valid point of argument, but this is yet another step, of many, down said slope.
by toss1 | 2025-09-17 01:38:37+00:00
The only point being demonstrated here is that you fail to see the explicitly authoritarian actions of the parties Musk supports in the US (Republicans), Germany (AfD), Hungary (Fidesz), etc., and do not understand that in democracies the branches of government (legislative, judicial, executive), and the institutions of society (press, academy, finance, industry, sport, religion, social) are all independent. In contrast authoritarians coerce or corrupt these institutions to serve the executive.

If you can't see those authoritarian actions by the parties Musk supports, you are either willfully ignorant or just plain obtuse, or a willing authoritarian proto-fascist.

And no, your point is still wrong; there is nothing wrong with changing ones opinion of a public figure when he comes out supporting authoritarianism
by jjk166 | 2025-09-17 01:40:43+00:00
Last election the democrats didn't have a primary, and the republicans barely had one. Political change requires more than one day at the polls; it demands large scale sustained effort by many people, including those in positions of prominence, and even with that success takes time and luck.

Part of being in a leadership position is taking responsibility for what happens on your watch. The electorate can't be blamed for its leaders not doing their jobs when the their leadership is needed.
by killerstorm | 2025-09-17 01:40:45+00:00
"Outbound network connection at npm install" is just one of many ways malware in NPM package can manifest itself.

E.g. malware might be executed when you test code which uses the library, or when you run a dev server, or on a deployed web site.

The entire stack is built around trusting a code, letting it do whatever it wants. That's the problem.
by pcthrowaway | 2025-09-17 01:41:05+00:00
Read the UN fact-finding report, particularly starting at page 44 ("Israeli Security Forces counter-offensive and the application of the ‘Hannibal Directive"): https://www.un.org/unispal/wp-content/uploads/2024/06/a-hrc-...

It's true that the casualties of the Israeli counter-offensive can only conclusively be tied to ~20-30 casualties, but for many casualties it's unknown who is responsible, and there is (inconclusive) evidence Israeli fire resulted in the burning of 77 vehicles, many of which were returning to Gaza with captives (or their bodies)

It seems unlikely to me there were fewer than 80 civilian casualties (out of 815) attributable to friendly fire, and I wouldn't be surprised to learn that number is over 200.
by pdonis | 2025-09-17 01:41:17+00:00
I don't answer calls from numbers I don't know, period. (In fact I routinely have my phone in Do Not Disturb mode so only a few numbers, the ones I have in my favorites, will make the phone ring at all.) If it's urgent enough to the caller (either because they're legit or because they're a scammer and are trying particularly hard), they'll leave a voice mail. (I've had plenty of fraudulent voice mails.) If they claim to be from some company I have a relationship with, I check independently to see if something's up. This incident illustrates why, even if it seems like a call is legit, if you didn't initiate the call, you shouldn't even be talking.

I also don't leave any information I'm worried about someone stealing in my Google account. I find it hard to understand how anyone in tech could fail to see how risky that is.
by andrewmcwatters | 2025-09-17 01:41:20+00:00
Because people so commonly misuse and misunderstand the phrase "time the market," I'll take a moment to clarify:

If a kid comes down your street selling you lemons because their lemonade stand didn't work out, and they start selling them to you at $10/lb and you say, "Uh thanks kid, but I can buy them from Walmart for 75¢ each," and then another kid running a failed, overpriced lemonade venture comes around and tries to sell them to you for $5/lb and he clarifies that all the grocery stores near by are sold out and aren't getting any more lemons until next season, and CNN says there is a new insect killing off citrus trees, you're not timing anything when you look in your backyard, which has two producing lemon trees and you start offering them to your neighbors at $2/lb since no one can buy them from stores.

Now for the adults in the room, if 3 month treasury bills are yielding nearly the same as 10 year treasury bills,

...you’re not "timing the market" by preferring one over the other. You’re recognizing the price of risk and time. If lending money for ten years barely pays more than lending for three months, the market is telling you something about growth, inflation, and future policy rates. Choosing the shorter bill isn’t speculation. It’s responding to the information embedded in yields, just as choosing to sell lemons from your backyard isn’t speculation but simply adjusting to supply, demand, and alternatives available.
by Jedd | 2025-09-17 01:42:05+00:00
Being about 10,000 kilometres from the US, I can't conveniently look around there.

I expect these guys had 'trees' on their risk register, and have suggested to the site owners to purchase a chainsaw / rent an excavator for a day or two.

Either way, I'm pretty confident on a project the size we're talking here - somewhere upwards of USD $5 billion? - they've probably spent a couple of afternoons pondering logistics.
by hedora | 2025-09-17 01:42:41+00:00
The last I heard, Google relied on spam filters for this.

Supposedly, people have been fired after being falsely accused of harassment. The scam works as follows:

Send a message to bob@gappsdomain.com and notavictim at the same domain. Arrange for the headers to be “from” bob. Now, notavictim reports Bob to HR. If the google admin is competent, they look at the headers, and note that Bob didn’t send the email. (Not sure if they catch the offender or not.)

If they’re incompetent, they see the message in Bob’s from box, and recommend he be fired.

This is a feature that enables dubious workflows, where Bob configures spam bots to bother his coworkers, but wants those messages to be auto filed in his sent box.

I didn’t think it worked when spoofing unrelated domains like Google though. That’s just dumb. Maybe the attacker had the author’s IMAP gateway password and moved the message into the inbox?
by summerlight | 2025-09-17 01:43:25+00:00
> in C++, you can write perfectly fine code without ever needing to worry about the more complex features of the language. You can write simple, readable, and maintainable code in C++ without ever needing to use templates, operator overloading, or any of the other more advanced features of the language.

Only if you have full control on what others are writing. In reality, you're going to read a lot, lots of "clever" codes. And I'm saying as a person who have written a good amount of template meta programming codes. Even for me, some codes take hours to understand and I was usually able to cut 90% of its code after that.
by lkbm | 2025-09-17 01:43:34+00:00
> Blimps and airships can carry the weight, but they bring a laundry list of complications. They’re too slow, need an expensive hangar to shield them from bad weather, require helium—which is currently scarce—and struggle to land when it’s windy. “And by the way, wind farms tend to be windy,” he says.
by cherrycherry98 | 2025-09-17 01:45:33+00:00
Most people probably never upgrade their machines at all. In my case I used the same PC from 2009 until about a month ago. Over its 16 year lifespan it saw 3 GPUs, the memory was doubled from 6GB to 12GB, a Wifi card was added (and then got flakey after about 7 years but was able to switch to Ethernet over coax with MoCa), and an SSD was added for hosting the OS and most apps (original HDD relegated to additional storage).

If you're planning for a 10-12 year lifespan I have this advice. CPUs have surprising longevity these days as most usages don't significantly tax them, go a little above mid range on core count and it should last. GPUs are a throwaway item, plan to replace them every 3-5 years to stay current. Storage can be something that's worth adding if you're planning for a long lifespan and depending on usage. Photos, video, and games use more storage than they used to but personal photos and videos largely live in the cloud now. RAM you might need to upgrade if you go midrange but might not if you aim higher than standard in the initial build. The buses and interfaces become the main limiting factors to longevity. RAM technology will advance, PCIe and USB will have new versions. There may be new standards you can't take advantage of, like I was still on SATA II when the world had since moved on to SATA III and then NVMe.

Sometimes it's more about repairability than upgradability. My stuff lasted but I've had HDDs, PSUs, and fans die in the past. It's nice to be able to replace a dead part and move on.

I will also say that I'm a little surprised that the enthusiast market is still mostly these big ATX mid tower cases. They feel massive and unnecessary today when 5.25" bays are obsolete and storage is not 3.5" HDDs but an m.2 chips that sit flush with the motherboard. The smaller form factors are still the exception. Is it all to support the biggest and baddest high end GPUs that cost more than the rest of the system?
by lkbm | 2025-09-17 01:45:42+00:00
> Blimps and airships can carry the weight, but they bring a laundry list of complications. They’re too slow, need an expensive hangar to shield them from bad weather, require helium—which is currently scarce—and struggle to land when it’s windy. “And by the way, wind farms tend to be windy,” he says.