skysight-inc/HackerNews huggingface dataset:
Such an interesting view of another perspective! I am so different from the author that reading the essay is a bit like learning about a new civilization. Here's how I differ:

> Using Your Brain Considered Harmful

I love using my brain. I don't want to minimize that at all. Reducing the need for brainpower would reduce one of the things that appeals to me about this profession.

> Problem: Software engineering is complicated.

I don't consider that a problem, I consider that an upside.

> this task is also the best description of the work of a software engineer: reducing complexity.

We're more or less on the same page here, though, but with a bit of nuance. Programming is not really about reducing the complexity of the task (although it is about reducing the complexity of the code), it's about complexity management.

> "Sleep only when you're very sleepy, eat only when you're very hungry". I would add: "Think hard only when you really need to think hard".

Again, this is from the point of view that thinking is an unpleasant process.

> Breaking up a big task into smaller, simpler, easier steps? That's the textbook recipe for reducing complexity!

I guess I don't quite understand what the author means by "reducing complexity". I'd say that's a recipe for complexity management. It doesn't inherently reduce complexity at all, it just changes the nature of that complexity to help make it manageable.

> Once you've cut your task into smaller steps, you can turn off your brain. You won't need that bag of meat anymore.

I simply disagree with this. Once it's broken into smaller steps, you need your brain to be able to knit those steps together so everything works coherently. When I write it out like that, it sounds pedantic, but I don't think that it is.

Anyway, none of this is a criticism of the article at all. It's just me being fascinated by a point of view that is so different from mine as to be noteworthy to me. In the end, everyone's brain works differently and we each find approaches to using it that work best for us. There is no right or wrong here, only what works for a given person and what doesn't.
"An objective frame of reference" sounds like it should be standardized. A suggested serving amount is pretty arbitrary and up to the manufacturer to determine, and is the opposite of "objective".

In https://news.ycombinator.com/item?id=40087543 I suggested using per 100g or per 100 calories as a reference. Extremely objective and clear.
> Legal paperwork cannot prevent the government from choosing evil

This is deeply mistaken attitude - paperwork allows your to prosecute the person in the government that signed off on this decision. Without paperwork, you wouldn’t be able to pin the decision on anyone

And it is entirely normal to have the next government prosecute corrupt officials from the previous one
My impression is that they were trying to determine if the heat treated products were actually safe.

But, you know, that should have happened before they were approved as products.

I'm horrified and don't know what the hell to say. Humans have a long history of gruesome medical experimentation and I'm just not in a good space for addressing this well.
Yeah; according to an IDF report on intercepted Hamas documents (so, both sides agree on this; nothing here should be controversial today and it was well-understood by leadership on both sides on that day):

- Hamas had a < 20% approval rating before the attacks, and couldn’t recruit. If no action was taken, they’d fade into obscurity, and the conflict would finally end in a few years.

- Their plan was to force Israel to do something so bad that it would escalate into a regional conflict, and allow them to recruit again.

- Hamas’ goal was to get Israel to level Gaza. They estimated that three days of slaughtering civilians would be enough to get Israel to do something unforgivable in response.

- Israel reacted after one day. At this point Hamas had won, and stopped their initial campaign.

- Hamas now has a > 70% approval rating, and can easily recruit, so things are going as well as they could hope, organizationally.

My opinion (I can’t come up with anything else that matches the facts):

The military leadership on both sides of this conflict should be tried and convicted for war crimes, including genocide. The conflict is happening because the military wings of both governments are trying to consolidate power and secure funding/resources.

The Israeli and Palestinian civilians (and Israeli conscripts — they still have a draft) are the victims here.

Their only hope is that they’d band together as part of a peace movement and replace their own governments (via an election in Israel), but, predictably, mob rule and fear have strengthened the right wing militants on both sides.
Tip: refuse to use programs that don't use .config. refuse to use programs that don't use your home directory as a cache or tmp folder
Mobile connections are often especially crap, using something much lower bit rate than G.711 µlaw. Even modern landlines use voice activity detection and comfort noise generation instead of just passing through the background sounds.

I've never used WhatsApp to call. I have used decent SIP connections with G.722 Wideband or OPUS. They sound better than the old landlines. Discord sounds better too. Signal, much worse.

I think often the problem is that cell phones really have crappy speaker and microphone placement for calls, as basically nobody actually makes calls on them anymore.
If those functions are external you've lost that optimisation anyway. If they're not, the compiler chooses whether to ignore your annotation or not as usual. As is always the answer, the compiler doesn't get to make observable changes (unless you ask it to, fwrong-math style).

I'd like to specify things like extra live out registers, reduced clobber lists, pass everything on the stack - but on the function declaration or implementation, not having to special case it in the compiler itself.

Sufficiently smart programmers beat ahead of time compilers. Sufficiently smart ahead of time compilers beat programmers. If they're both sufficiently smart you get a common fix point. I claim that holds for a jit too, but note that it's just far more common for a compiler to rewrite the code at runtime than for a programmer to do so.

I'd say that assembly programmers are rather likely to cut out parts of the program that are redundant, and they do so with domain knowledge and guesswork that is difficult to encode in the compiler. Both sides are prone to error, with the classes of error somewhat overlapping.

I think compilers could be a lot better at codegen than they presently are, but the whole "programmers can't beat gcc anymore" idea isn't desperately true even with the current state of the art.

Mostly though I want control over calling conventions in the language instead of in compiler magic because it scales much better than teaching the compiler about properties of known functions. E.g. if I've written memcpy in asm, it shouldn't be stuck with the C caller save list, and avoiding that shouldn't involve a special case branch in the compiler backend.
This is very cool for making freedom of thought unconditional (local first + encryption + creators keys), but public spaces? They need to be restricted in certain ways, since they affects other people. They can’t be unmoderated. So we need a centralised system?
Copyleft licenses depend on copyright. I think it was in an FSF FAQ somewhere. GPL is as copyright maximalist as it gets.
Here I was hoping this would be something that works with the OS to take pre-window-compositor “3D screenshots” of a desktop, and then assigns the windows Z depths so that they’re floating above the desktop + each-other. Looking at the rendering of such a “3D screenshot” (in orthogonal projection) would look exactly like a regular screenshot… until you added a depth-of-field effect.

But, of course, you could also look at it in other projections; tilting it around in 3D space (as done here); applying fog to shadow “distant” windows; lighting the scene from a point-source so as to make the windows cast real shadows on one-another (with more light let through translucent areas!); etc. I would imagine that the (ideally HTML5 embeddable) viewer for this “3D screenshot” format would do all those things.

(I do hope someone does try creating such a “3D screenshot” format and viewer, as IMHO it would have a fairly-obvious use-case: reproducing static “look-around-able” snapshots of the already-depth-mapped AR window layouts in visionOS. Being able to tack arbitrary depth-maps onto windows from a 2D desktop OS would just be a bonus.)
“We are inconvenienced because some humans are otherwise monsters.”
SQLAlchemy sources.

Not exactly small, but great.
How can anyone verify the others actually did the thing?
What about the ocean? The ocean also "tries" to keep the temperature steady.
But none of your personal details are sent to Bing? Sure they get some SERPS from them, but DDG abstracts in front of Bing's API using your query without passing your data.
To me, “disproportionately bad with quality issues” would be about total units shipped.
those nested if - for - for - if loops are horrendously difficult to understand.

take the fn starting at line 387. they comment why they do certain imports, but this function is comparatively underdocumented. it's not easy to wrap my head around the control flow. some bits are nested about 6 levels too deep for comfort, there are too many positions from which it can return or raise, and the function is about 3x too long

really difficult to grok what is happening here.
Has it, and which Overton window are you thinking? The public tolerance for (disruptive) protest, corporate tolerance for political activism in the workplace, or.. ?

If I had to venture a guess, I would say the window has shifted towards political burnout. People may be more comfortable shutting down disruptions like these because they are burned out, and feel the disruption/protests/activism has gone too far.
I’m definitely going to be picking up my kids in this truck and camping, but maybe I’m just a weird tech bro. In the arms race that is American roads, it’s objectively safer for my family to be driven around in a massive steel tank. I also love the look.
> Of course, without access to insider information we can only guess if this is really occurring...

No need to guess, the GP poster confidently stated this:

> Tesla is losing money on every truck sold at this point.

They must be an insider or have reliable insider information.
For context, worse things happen at sea...

https://www.theguardian.com/uk-news/2023/feb/01/royal-navy-o...
In other words, a lot of fuss about nothing.
Map of the internet fiber optic cables at the bottom of the oceans
IMO this is a much more credible take than the prevailing conspiracy theory that Nestle is specifically getting kids addicted to sugar so they'll be reliable Nestle customers in the future. Nestle is like any other corporation- they need to show that profit now. The side effect of getting kids addicted to sugar- which they can also get from Nestle's compeitors- is just a side benefit.
Give me another one then? It’s a search engine with no search index. It’s an ads supported site without an ads network. What is it then if not a wrapper?
If tenants had enough surplus income to put into any meaningful savings, then landlords would increase rents accordingly to scoop up that money. Their entire business is to maximise the amount of rent extracted from the tenants.

It's unrealistic that renters could save themselves out of the hole they are in. Their efforts are much better spent making drastic career changes, high risk investments, or even extreme measures such as drug dealing or moving to another country, than thinking they can beat a game that is completely rigged against them.
The privacy comes from the lack of tracking your interests and tailoring the search results to the preexisting interests.

They just don't collect the private data in the first place.
It is surprisingly common, we are much more similar to Developing nations than we would like to believe
Quick critique: module contains functions with many parameters, many branches, deep nesting, and multiple return points.
It seems to me that directories are a fundamentally flawed system or organizing files. A natural way to start a directory structure is by basing it on the type of file (i e. games, music,
pictures etc) but that will quickly fall apart after you want your files of different "types" relating to X to be under the same directory. So now you can either create some symlink mess, include the wrong "type" of file in your directory tree, or restructure. The problem with restructuring is that it's a lot of work and the end result is not really worth it. What tends to happen (at least for me) is overly deep directory structures (and/or too much branching) that are tedious to navigate, and in the end have the same problem. Another option is to just bite the bullet and create a X subdir for each of your main directories that have relevant files for X which is what I do. But that really sucks and I wish there was a better alternative that actually worked with existing programs which assume a directory based organization. There are some alternatives that work on top of existing filesystems e.g. tag based systems but I haven't tried them yet and I suspect they have their own headaches.
> What data are you using?

I’m not the one claiming anything about proportions. I didn’t claim to have any data. How did you arrive at your proportions?
Tesla recalls all 3,878 Cybertrucks over faulty accelerator pedal
> I want architecture students to see that the flexible, modular, all-purpose and all-choices box of a room isn’t always what’s called for. It sounds right — surely your client wants a space that could be anything you need it to be — but unprogrammed space is often tractionless, characterless.

I fully agree, the spaces we visit have to be opinionated and we can self-select on if we want to visit, physical or otherwise.

I'd wager anything meaningful involves some subconscious design biases, there's no reason why it wouldn't make more sense to make them explicit - You're never going to capture the portion of audience who would be offended by the rules by not having them, as they're already self-selecting the spaces that have rules tailored for them!
Funny, but not legally relevant
>if through the course of overseeing management, Nestle decides to attempt a new strategy for customer retention (sugar addiction), which most certainly was at least mentioned to the board in passing during some update meeting, and if the board did not shut down the initiative

1. those are a lot of "if"s

2. it's not necessary that the explicit decision to add sugars made it all the way up to the board. That could be due to banal (eg. board of directors doesn't care about every minutiae of how the business) or nefarious reasons (ie. providing plausible deniability).

>then in some ways they are responsible for the company’s actions

To be clear, I'm not claiming they should be left off the hook entirely, just that claiming they're "directly" responsible doesn't make much sense. From my original comment:

>It's fine to claim "the buck stops at the board/CEO and they should be responsible"
The group size might be too small. This is something that fits well with a 15/20 person office.
Why not the guillotines?
I said nothing of my political leaning, only that you shouldn't rely on some sort of "meter" of bias from an outlet. It's circular reasoning.

There's no "authority of bias" you can trust. You have to view many sides and perspectives and judge for yourself the truth in the middle.

But judging from your hyperbolic, unsolicited statements you do seem to have some biases yourself that you may want to even out.
Starting each test with a totally clean template ensures consistent reproducibility, I’ll give you that, but it also isn’t real world, either. You only have the data that the test seeds which favors tests (and by extension business logic) written only with the “happy path” in mind. I think the smell for when tests are stepping on each other causing flakey runs, is that the logic being tested isn’t written for non-happy paths, or, the tests are asserting entirely too specific datasets or outcomes and anything else results in a failure. In the real world, other systems may very well be touching the same data or tables that your code is interacting with, so it being able to handle that kind of situation will produce a more fault tolerant system overall, which will serve to deliver value even if other systems go haywire and produce unexpected data you are looking at. Of course the need to handle that extra complexity is going to vary depending on business needs or other determining factors.
How does this not create perverse incentives? I have noticed that Musk has repeatedly made fraudulent claims about Tesla. I can't help but wonder how many of his fantastical claims are precisely in service of boosting the stock price. Also what exactly are the material consequences for him if he didn't get paid by Tesla? Essentially zero.
Reading the comments here makes me feel guilty. I'm sitting on probably a few hundred files and folders called something like tmp, tmp1, foo, foo23, foobar, testxyz, etc...
They all hold probably very irrelevant stuff and are safe to delete, and I have yet to resort to those files for rescue, but you never know! Every now and then I collect them and put them in an archive folder. I'm now at "archive10".
That's a "maybe Google planning to do something" vs "Apple doing horrible things in China for years".
They could literally run Mixtral or Llama on their own machines and have total control. This is basically a ChatGPT VPN.
I think a local first alternative and a direct connection of nodes in the network would lead to a healthier network if we think of it as a nervous system that connects us
> responded by whupping the offender in a fistfight, which apparently instilled respect in his adversary. Improbable as it seems, the two men developed a friendship.

Is this improbable? It's common enough to be a trope. I've had it happen twice.

One of my co workers had words with me and promptly knocked me on my ass. We became friends while he helped me off the ground.

A drunk once got lippy with me and said "you won't hit me". Naturally, that forced my hand. Soon thereafter he became one of the best friends I ever had.

This can't be uniquely American, right?
Private meaning that they don't store the chat sessions? We don't store them either unless you really want to. Am I missing something?
My point is that such people exist doesn't mean they represent anyone other than as an argument point. These people have zero influence or access to levers in politics. They are convenient idiots for the opposite viewpoint.
I hope someone takes this as a challenge.

Technically html + css + user interaction can be turing complete: https://github.com/brandondong/css-turing-machine
You might find the courses useful too:

https://github.com/federico-busato/Modern-CPP-Programming

https://learnmoderncpp.com/
I was also shocked, and doubly shocked that no punishment was faced by those responsible. This is the kind of stuff I expect to happen in Russia
>No GUI requirement. Why would someone need a GUI for voice application? But a fancy real-time refreshing TUI would be desirable. Mumble tends to output no information, sometimes hiding the fact of a problem and that everything stopped working.

Eh why would someone need a fancy real-time refreshing TUI for a voice application? Just write logs to stderr and status updates to stdout like regular people.

Honestly, go a step further. Take microphone audio in on stdin and produce speaker audio out on stdout. Then you can skip ALSA/OSS/jack/pipewire/pulseaudio support and just leave that to the user to compose.
Pyupgrade is a good tool that focuses on upgrading to newer idioms. Which is more important for learning than simple pep8 type stuff, which is useful but has its limits.

On that subject, Raymond Hettinger has a great talk called “Beyond Pep8” that talks about how to de-java your codebase among other things. Also reading the book Fluent Python now and it is so far excellent.
China forced Apple to remove WhatsApp and Threads because they don’t allow China to spy on its people

https://news.ycombinator.com/item?id=40083409

TikTok spies in US citizens and somehow you feel that it’s slimy to block it?
That's one way of looking at it. Another way is that your PII like your IP hitting a MS server and searches being returned for that searcher are heavily correlated. They can't serve results like https://duckduckgo.com/?t=ftsa&q=shops+near+me&ia=web and return shops within miles of me without passing that info on.

IIRC they pass the /24 of your IP, but all the same, not much better.
How climate change is turning camels into the new cows
> It’s better that a mat was designed in a dangerous way vs a production line mistake? That is similar to saying a simple bug is worse than an architectural flaw that no one caught at design time. Far more eyes are on the design flaw vs a production bug.

:) I think you're missing my point, or I 've failed to explain it clearly.

A design flaw is bad, but we can't eliminate those. According to this article an assembly line employee went rouge and introduced a change without telling anyone.

If the article is correct then clearly these two things aren't even near comparable. We expect design flaws and adapt, we don't expect employees to go rouge and change the design without telling anyone.

Now the article or Tesla could be lying here but this is the facts as we know them.

Does that help clear things up for you?

I also dont' think you deserved the downvotes I saw you got for just misunderstanding. Sorry that happend to you!
Drug shortages, now normal in UK, made worse by Brexit, report warns
I'm building Lifetime Deals Validator and I need your advice/experience
I like apps with lifetime deals (as do many people, I think). Unfortunately, some of them are not really 'lifetime'.

So, I want to build a tool that validates products according to certain criteria.

Currently, my tool is in beta.

The criteria are as follows:

- Domain age and expiration date: The domain age must be more than 3 months, and the expiration date must be more than 2 years away.

- Check for downloadable content: If the product is downloadable, there is a greater chance for it to be a lifetime deal.

- Checking social pages: Social pages must contain the latest posts (currently it only checks the link on social pages).

- I'm thinking about adding another criterion such as 'posts on social accounts', 'existence of a refund policy', and 'fair price'.

If anyone has some experience or ideas on how to ensure that a lifetime deal is truly lifetime (or at least for 1-2 years), please share.

Thanks in advance.
Overdue Book Returned to Colorado Library After 105 Years
The article says a lot of the perpetrators are already dead, presumably of old age/natural causes.

I don't know how to remedy it.
Where I am, we still do!
This one is very good! I have recommended it countless people at work.
An Obscure Chinese Real Estate Startup Paved the Way to TikTok
Love the interactivity of the UI. Nicely done!

> Edit: not documented, but right-click drag to pan

Confirming undocumented feature. Scratching my head why ctrl-left-click on macOS doesn't enable panning, too.
Ghost Shark: the stealth advantage of autonomous submarines
There are political protests that happen in a free democratic society and protests that happen in a multi-trillion dollar capitalist corporation. I have no idea why people think they should or will be treated the same.

The Google constitution does not give employees the right to free speech or the right to stage public protests.
modern uis are really bad. almost uniformly copying shit designs endlessly
Invention is searching a problem space to find novel solutions to problems. Can you explain why such a search would require agency?
Yeah, Coinbase is really killing it.