MurphyA/hacker-news huggingface dataset:
by cameldrv | 2025-09-07 20:18:48+00:00
You don't really ever have "two sensors" in the sense that it's two measurements. You have multiple measurements from each sensor every second. Then you accumulate that information over time to get a reliable picture. If the probability of failure on each frame were independent, it would be a relatively simple problem, but of course you're generally going to get a fairly high correlation from one frame to the next about whether or not there's a pedestrian in a certain location. The nice thing about having multiple sensing modalities is that the failure correlation between them is a lot lower.

For example, say you have a pedestrian that's partially obscured by a car or another object, and maybe they're wearing a hat or a mask or wearing a backpack or carrying a kid or something, it may look unusual enough that either the camera or the lidar isn't going to recognize it as a person reliably. However, since the camera is generally looking at color, texture, etc in 2D, and the Lidar is looking at 3D shapes, they'll tend to fail in different situations. If the car thinks there's a substantial probability of a human in the driving path, it's going to swerve or hit the brakes.
by missinglugnut | 2025-09-07 20:19:16+00:00
It's one sensor in both cases, and in the latter case you can do so much more: change the thresholds in an update, detect when the lid is in the process of closing, apply hysteresis (on a simple switch, there's an angle where vibration could cause it to bounce between reading open and closed, but with an angle sensor you can use different thresholds for detecting and open and closing state change).

But most of all...you don't have to commit to a behavior early in the design process by molding the switch in exactly the right spot. If the threshold you initially pick isn't perfect, it's much easier to change a line of code than the tooling at the manufacturing plant.
by immibis | 2025-09-07 20:19:35+00:00
The traditional CISC and RISC division broke down the moment processors started doing more than one thing at a time.

A RISC architecture was actually one with simple control flow and a CISC architecture was one with complex control flow, usually with microcode. This distinction isn't applicable to CPUs past the year 1996 or so, because it doesn't make sense to speak of a CPU having global control flow.
by llbbdd | 2025-09-07 20:19:51+00:00
> None of these are quite deal breakers. Sure, I have to open and close my laptop lid three or four times to get the external monitor to switch back on, and and the login prompt will only show on my laptop screen which gets set to 1% brightness every restart, so if it's sunny I have to stick my face right against the screen to see it.

I know there are tradeoffs everywhere in life but man, these are deal breakers. I'd install windows in my brain before I put up with having to push my boulder uphill just to log in.
by ritcgab | 2025-09-07 20:21:25+00:00
There is no official statement about this issue but you can search for user reports like "M2 MacBook Air black screen" or something similar. It is not uncommon.

In older versions of macOS you can simply try two things:

* Press Esc in locking screen, or * Press "Sleep" from the menu bar icon and then press Esc immediately

If the machine crashes/reboots, the sensor is bad and it needs to be replaced. Apple Store replaces the whole display assembly.

15 inch and M3/M4 models are not affected, AFAIK.
by rayiner | 2025-09-07 20:21:27+00:00
> It's also just assumed immigrants themselves don't have cultural preferences when it seems they do

Of course we do! We don’t even pretend otherwise. I went to a Bangladeshi wedding in Toronto a couple of years ago. A friend of the groom’s family said to my dad that it was too bad my brother and I couldn’t find Bangladeshi women to marry. This is probably not the median view among Bangladeshis in Canada, but it’s within the Overton window—to the point where our response to this comment was to say something ambiguous about the place where we live having few Bangladeshis. And most Bangladeshis I know still marry within the community even in the U.S.

But of course there is a double standard here. Brown people aren’t treated as having moral agency. Bangladeshis in America can express extreme in-group preference and nobody will say anything. But it’s utterly taboo for whites to do the same.
by minimaxir | 2025-09-07 20:21:48+00:00
The main reason your comment (https://news.ycombinator.com/item?id=45160084) got downvoted was because you gave a summary without disclosing it's AI-generated, which made other users upset.

But even if you did disclose, it's still against HN rules, as other people in that thread told you. You commented "they’re free to delete it. I think it adds value", but as you've seen the community disagrees.
by kmarc | 2025-09-07 20:22:30+00:00
Third party app development must be a nightmare, based on how much of a nightmare it is even just to install and use those apps.

But I must say, I wish other appliances would be as intuitive as the built in fitness tracking apps and they controls. Somehow it's just consistent, does the right thing, and works reliably. With only 5 buttons.
by dmurray | 2025-09-07 20:22:39+00:00
No, steels have 4-6x higher tensile strength (and better performance in other related properties) than raw iron. [0] They're not just preferred over iron for their corrosion resistance.

And note that even what we call "cast iron" - a material that reasonably could be preferred to steel for some industrial purposes - is an iron-carbon alloy that in fact has more carbon than steel[1].

[0] https://www.texasironandmetal.com/strength-of-steel-compares...

[1] https://en.m.wikipedia.org/wiki/Cast_iron
by HarHarVeryFunny | 2025-09-07 20:23:36+00:00
> In C++ this can be done when very verbose inheritance and virtual calls.

No - in C++ you'd just define the operators (either as global functions, or member functions of the types/classes in question), and the language's overload resolution rules would select the right implementation for each usage.

You could use inheritence (and virtual overrides if needed), or templates/generics, if you wanted to - C++ certainly gives you a lot of ways to make things more complex and shoot yourself in the foot, but the normal/obvious way would just be to define the overloaded operators and be done with it.
by overfeed | 2025-09-07 20:23:40+00:00
> YouTube to kill Windows Phone back in the day also.

I hope you're not referring to YouTube blocking the 3rd party YT Windows Phone client that didn't play or display ads? At the time, Microsoft was threatening Android OEMs with patent infringement (without disclosing the specific patents!), and making it go away if they agreed to make Windows phone models[1]. Google refusing to make a first-party YouTube client for Windows Phone was to be expected, it was an ugly, hand-to-hand fight and all parties used the weapons they had at hand.

1. The agreements were never made public, but HTC and Samsung disclosed they'd be making Windows phones in their respective agreements with Microsoft. Microsoft also initially filed an Amicus brief in Google v Oracle - supporting Oracle's position.
by blkhawk | 2025-09-07 20:23:50+00:00
oh god - I had that come up in an issue at work just about a month ago. A development system used really simple usernames and passwords since it was just for testing but all the lines with one of those got gobbled up because they had "secrets" in them.

I have very strong opinions on this issue that boils down to. _why are you logging everything you lazy asses_ and _adding all the secrets into another tool just to scan for them in logs just adds another point for them to leak_...

Especially since the ability of lines getting censored even when the secrets were just part of words showed that probably no hashing was involved.

But its a security tool so it stays. I kinda feel like Cassandra but I think I can already predict a major security issue with it or others with the same functionality in the future. its like some goddamn blind spot that software that is to prevent X cannot be vulnerable to X but somehow often is vulnerable because prevention of X and not being vulnerable to X are two separate things somehow.
by raw_anon_1111 | 2025-09-07 20:24:55+00:00
AWS and all of the other cloud providers gives millions in credits each year for migrations and professional services for both their inside professional services department and third party vendors. The reputational risk for them to go after some poor student isn’t worth it to them. The same is true for Azure and GCP.

Have you read one even anecdotal case where AWS didn’t immediately give a refund to a student who made a mistake just by them asking?
by mc32 | 2025-09-07 20:25:58+00:00
Yes but not everyone is a hobbyist so not everyone needs so much stuff. Some people’s hobby is antique car collecting. Not everyone can do it. That’s fine. I’m not mad. Today your Legos hobbyist collects “rare” sets or whatever. It’s not cheap. All I am saying is that we don’t need an overabundance of things be they junk or even quality systems. There is a useful amount and then there is excess.
by ACCount37 | 2025-09-07 20:26:06+00:00
It's a given that if you're taking space exploration seriously, you need ISRU. You can't ship everything to Moon or Mars from Earth - you need to learn how to process and refine local materials.

This is the key advantage of going to Mars or Moon surface, as opposed to operating a space station. A space station exists in a vacuum. Surface bases have access to local materials.

Sadly, very few planned space missions have this kind of ambition. That recent proposal US had about putting a nuclear reactor on the Moon was at least a step in the right direction - if you're bringing an entire reactor, that means you're establishing a permanent base, complete with an industry that would generate the demand for power.
by johnnyanmac | 2025-09-07 20:26:34+00:00
I'm probably more informed than the average 30YO voter, but local news is still a huge blind spot for me. Aggregates break down quickly when looking at policy on a local level.

And to boot, city townhalls here are every other Tuesday, usually around 4-6. Better than others I've seen at 2pm, but still not quite something a full time worker can drop in on.
by voisin | 2025-09-07 20:26:34+00:00
> 1. Make a video documenting each piece and its story while she’s still alive. Get her to tell the family history, where items came from, what they meant to her. This preserves what actually matters.

The wild thing is that “what actually matters” likely becomes “what doesn’t matter” after one more generation when people who never met the person in the video inherit the video.

We are all just here for a brief time and yet we (myself certainly included!) cling so hard to attempting to leave a mark.

Most people we know only think about us for a month or so after we’re gone. Only our closest family and friends think about us longer and even then maybe not so many years later.
by minimaxir | 2025-09-07 20:27:12+00:00
The guidelines are out of date and they don't mention anything for or against AI comments. Having your comment flagged makes the number of upvotes irrelevant.

The search thread you were linked to (https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...) are comments from dang, the head moderator of HN. His word is the law.
by Doohickey-d | 2025-09-07 20:28:12+00:00
The lid angle sensor is also serialized to the motherboard: you cannot replace it, or the motherboard, without performing calibration, which can be performed by an apple authorized service provider, or alternatively, in Europe (and elsewhere where Apple offers parts for self-service repair), you can purchase the sensor from Apple, connect the machine to the internet after replacing it, to then perform the calibration, only if the sensor was purchased from Apple.

So the hardware is capable of performing the calibration, Apple just does not graciously grant you the right to install a recycled or third party sensor in your machine.

https://www.ifixit.com/Answers/View/759262/Torn+Lid+angle+se...
Ask HN: Can an amateur make contributions to pure math or theoretical physics?
by career_question | 2025-09-07 20:28:26+00:00
I've always been fascinated by theoretical physics (specifically, quantum mechanics) and pure math (specifically, number theory). However, they're not subjects I'd like to make a career out of. Realistically, might I be able to make meaningful contributions do these fields as a part-time amateur? That is, someone who has no formal training beyond possibly undergraduate courses and is otherwise self-taught.
by captn3m0 | 2025-09-07 20:29:18+00:00
> To help the team stay in touch, a custom chatroom has been created using a Tcl/Tk script. The same script works as both client and server. The chatroom is private and uses a proprietary protocol, so that developers are free to discuss sensitive matters without fear of eavesdropping. The chatroom is implemented as just over 1000 lines of Tk code, and is thus accessible and easy to customize.

Curious if anyone has more details on this. Does it have encryption?
by SXX | 2025-09-07 20:29:56+00:00
Moreover on Android you still can have 10 different Google accounts on one phone all from different countries for downloading region-locked apps on Google Play. Though recently Google started to break it by changing account region countries nilly-willy. Yet you can still register as many accounts via Chrome as you wish really without extra gmail accounts just by using own domain redirect via cloudflare or something.

On iOS installed apps are locked into specific Apple ID they been downloaded with, so you might have issues with e.g WhatsApp. Still possible to download region-locked apps with non-primary AppleID, but it will sometimes ask to re-authenticate with said AppleID to keep it updated so it's cant be just throwaway.
by artemonster | 2025-09-07 20:29:59+00:00
on 1: i want to stab my eyes out. you cant surely implement any monadic and/or effect system on top of any native generators and effect.ts is no exception, but this is just so wrong, buegh on 2: can you please reformulate and elaborate more? i have re-read what youve said 5 times and it feels like gpt written rambling, sorry
by scarecrowbob | 2025-09-07 20:30:44+00:00
I have a rather limited imagination, so I am having a hard time imagining a world where I kill one of my fellow humans and it doesn't cause me to question the morality of my actions.

Being aware that people are of limited imagination, I often understand that folks want to make morailty more complicated because they can't imagine themselves receiving the violence of those complicated calculations.

So my answer is "yes, if you are killing people and not questioning your actions, you are likely not a moral person."

And your question begs another question: "how does it help to complicate those kinds of moral actions".

From where I stand, a US-led death squad went and murdered some folks. That seems pretty easy to to understand, and complicating that discussion by adding in hypotheticals about "information about this operation that we simply don't have" such as (for instance) other "successful" illegal operations sounds absurd to me.

Like, really, what do we gain in making the murder of fishermen into something complex: this is clearly and simply the murder of some people by professional killers hired by the US government, and it is yet another in several million discrete actions which makes me believe that the US government and the people who support it fundamentally have no morals.
by ceronman | 2025-09-07 20:31:05+00:00
Why would the the orphan rule be a problem here?

The orphan rule only disallow impls if both the trait and the type are defined outside the crate.

But in this example if you are adding a new type (struct) or a new operation (trait), well this new item should be in your crate, so all the impls that follow are allowed.
by instig007 | 2025-09-07 20:32:08+00:00
> Throwing a theorem-prover at the problem, unaided by developer hints, is not realistic in a large codebase.

Please, Kenton, don't move your goalpost. Who said about "unaided"? Annotations, whether they come directly from a developer, or from IR meta, don't make a provided SAT-constraint suddenly a "dependent type" component of your type system, it needs a bit more than that. Let's not miss the "types" in "dependent types". You don't modify type systems of your languages to run SAT solvers in large codebases.

Truly, if you believe that annotations for the purpose of static bounds checking "is not realistic in a large codebase" (or is it because you assume it's unaided?), I've got "google/pytype" and the entire Python community to justify before you.
by Cthulhu_ | 2025-09-07 20:32:20+00:00
Negative take: Vendor lock-in

Positive take: discourage theft; not only is the device locked down / encrypted and you can't just wipe / reinstall it, you can't even break it down for parts.

When the iphones etc first came out, they were a very attractive target for theft. Come to think of it, that's one reason why I was hesitant to get an iphone back then.
by spacechild1 | 2025-09-07 20:33:06+00:00
> If they were, this design would be superior.

I see how destructive moves would slightly simplify the implementation, but what difference would it make apart from that? (Don't get me wrong, I totally think that destructive moves are a good idea in general, I just don't see the qualitative difference in this particular case.)

> And the wasted space for optional is solvable, just like for non-nullable pointers.

In the case of non-nullable pointers the library author knows that they can use NULL as a sentinel value and write a corresponding specialization. But what could you possibly do with an arbitrary user-defined class?
by jacquesm | 2025-09-07 20:33:32+00:00
The risk I think is that people will not understand that that is your goal, instead they will use it to help them diagnose something they might think is suspicious.

They will go through your images until they get a good score, believe themselves and expert and proceed to diagnose themselves (and their friends).

By the time you have an image set that is representative and that will actually educate people to the point where they know what to do and what not to do you've created a whole raft of amateur dermatologists. And the result of that will be that a lot of people are going to knock on the doors of real dermatologists who might tell them not to worry about something when they are now primed to argue with them.

I've seen this pattern before with self diagnosis.
by pinkmuffinere | 2025-09-07 20:33:45+00:00
Maybe the post is correct, but it offers nearly no context or evidence for its claim. As a reader, if I already knew enough to validate that this article was worth trusting, I wouldn’t need the article. On the other hand, I am interested in the premise, but don’t know enough to tell if the article is true, and the article has no sources/evidence to back up its claim. I don’t think there is any situation in which such an article is useful, except as an “echo-chamber” kind of piece
by neg4n | 2025-09-07 20:33:53+00:00
Thank you!

Regarding your case, I'm pretty sure that such type safety can be achieved. It is depending on the ecosystem you're working but if its C++ I would go for CRTP implementation with heavy load of template meta programming - like defining TYPE_ID=1 for grass, TYPE_ID=2 for stone and creating BaseTile -> GrassTile/StoneTile with polymorphism on std::variant.

I think this is not exactly the tree structure, but your minimal case can be achieved by assigning different "concern" to different set of bits in the number. For instance bits 31..24 will be TYPE_ID and 23..0 will be attributes (color of the grass, is the stone cracked). However it will quickly become to small to build anything reliable, but then I would change the structure of tiles to have one non-bit flag integer for block type and the one placed sequentially next to it to the attributes bitflag (max. 31 attributes per block? should be quite enough)

You would also need to establish the whole map format - header of the file (version could possibly be stored per map and exist in header, not per tile?), chunks (per-chunk header, chunk data), optimization strategies like RLE, unique separators, serialization and deserialization, endianness auto-conversion and probably more.

Anyways, please correct me if I am wrong but compiler will help you with types only after static_asserts - as I imagine it would be useful mostly for defining interactions between blocks (which ones are allowed and which ones are not). For every other case the compiler would need to know your map at the compile time to help, and it can't be done.

In TypeScript (its a main example of language in the article, I'm not 100% sure if its possible to do such compile time checking but arktype.io would be an excellent choice for this kind of implementation. I really encourage you to check out their solutions as really complex systems can be built on top of it)
by bigyabai | 2025-09-07 20:34:04+00:00
Okay, McDonalds then. "Billions served"

What gives you the right to leverage their private property as your soapbox? Because people on the sidewalk won't listen, and that hurts your feelings? They have a business, if you are using your speech in any way to obstruct the conduct of their thoroughfare then they can have you ejected. The cops will not listen to your tirade against multinational burger tyrants, they'll drop you off at the drunk tank. Your speech will never be unconditionally protected, not online or in real life.

As always, refer to the relevant XKCD: https://xkcd.com/1357/
by Tadpole9181 | 2025-09-07 20:34:19+00:00
No, now you also need to go through formal customs entry and pay the other related fees. I think the minimum flat duty fee is $80-200 depending on country, so that'd be a $50 shirt becoming a $130 shirt.

Or they can switch courier, but that comes with the ad valorem tax and then that couriers brokerage fees - at least $30 dollars (though they'll probably raise it now that they don't have to compete). So a $50 shirt is now $85.

On top of that is the extra paperwork the seller now has to go through. And who knows if the tariff will change on the way, so maybe throw on a surcharge for Americans or just refuse the orders entirely.

> It seems like many willing to order custom made clothing would also be willing to pay an extra 30%.

These aren't rich people. They're paying a little extra already to avoid the poor tax of cheap, unethical crap they have to replace more often. Even just 30% is a huge markup because now instead of being double the price, it's almost triple the price of the worse stuff where those fees are amortized.

It's hard for me to believe I'm hearing, on HN of all places, "it's just 30% more expensive".
by VBprogrammer | 2025-09-07 20:35:02+00:00
As a reasonably impartial observer, I think the truth here is somewhere in the middle. Like almost any large American factory, there are going to be some handful of people who are illegal immigrants through some means or other (if I understand correctly they had a warrant for 4 Latina people). Sweeping up anyone there who didn't have an iron clad visa, I imagine that was just a political play.
by tootie | 2025-09-07 20:35:14+00:00
Most crimes are not arbitrary. Anything that causes or risks injury or loss of property make up that vast majority of crimes. Drinking age or driving age are proxies for public safety. Those lines are already fuzzy and breaching them is not a major offense.

We haven't had a serious discussion about actual immigration policy for a while and a lot of agreed upon rules are being tossed out. Trump's enforcement includes summary dissolution of refugee status, summary revocation of visas and green cards, arrests at court houses and a general disregard for due process. There is a big headline strategic objective of fighting crime and the current enforcement is not even pretending that this is a serious goal.