skysight-inc/HackerNews huggingface dataset:
Ok this particular piece of garbage software is not the crime of the century, and we all have dirty underwear, but there is nothing about this that deserves the tiniest bit of empathy. This is not an empathy situation. This is an atrocious job full stop.

Anyone attempting, or purporting to do this job should know this, and if they don't know this, then that very fact is the unforgivable thing.

I say this as someone who has barely programmed anything for windows. I managed to make a custom version of putty for work that replaced the registry for a text file for settings, and made it lauchable to make saved sessions portable. And I managed the amazing engineering feat of producing a .exe that wraps a twain scanner library. No ui, just a cli that copies argv to the library calls. And I wrote a powershell script that talks to a device over rs232.

Thats about it. More than my mom could do but all in all essentially nothing.

The criticism of this utter shit is not elitism.

When I first had that work project to hack on putty, at first I took a look just to see if I could figure it out. I immediatly decided I could not figure it out in any reasonable time.

So I tried to hire a freelancer to do it. Pay someone who actually does this, right?

You know what they did? For $3k usd in 2005 or so? They fucking called regedit. As in they executed the regedit exe in a system call to import a text reg file. The settings are still stored in the registry, and I already knew how to run regedit to export and import .reg files. I could have done that much by just wrapping my exe in a bat file that runs regedit before launching putty, and that would have been a better engineered result than putting it in a system call, because it would be more flexible since the bat could be modified infinitely later without recompiling.

They were working on c code that already had code examples in it for working with the registry directly, and for reading and writing files, and yet when they needed to read a file to load settings, they ran an external executable that reads a file and puts the contents into the registry.

And putty actually has a fairly modular settings module! The registry stuff isn't baked in all over the place. There is a single c file that does all of the settings storage and retrieval. You can essentially swap the whole file out with anything else.

Am I some supergenius just because I knew enough to not try to do a job I didn't know how to do?

Am I a supergenius just because I was able to at least read code even if I couldn't write it, enough to see what it was doing and that it was a shit way to get the outward appearance of what I asked for?

How come you aren't completely offended and scandalized by solutions like these? What code that I rely on are you writing right now?

We do indeed all have dirty underwear but this is not a case of "not an expert". That is inexcusably misrepresenting the essence of the criticism here.
Yes. One solution to the problem if false testimony was photo evidence...

But I'm less worried about the courts and more about media that might publish photos without realizing they are AI generated - or ordinary people using those cameras without understanding how they work and then not realizing there may be some details in the pictures that are plain fantasy.
> An array can be used to efficiently simulate a linked list

That's obviously not what the OP meant. Also, I don't think there's an efficient way of implementing deletes with an array backed linked list.
> What confuses me is that Western media often portray China as a threat, while Chinese mainstream media exaggerate these reports, deepening mutual hatred

There is a mutual lack of trust and dialogue amongst Chinese and American decisonmakwrs - most of whom started their careers in the late 1980s/early 1990s and thus lack modern in-depth experience in the West or China respectively.

Both the Trump and Xi admins both bled competent advisers at the expense of populist and hawkish advisers, which degraded the ability for nuance in both the US and China's policymaking.

Imo, the biggest issues have been the MFA/State Dept and the CMC/DoD in China/US. Both had massive attrition of experienced policymakers in the 2016-19 period, which caused a game of economic brinkmanship.
It’s also false nostalgia: https://news.ycombinator.com/item?id=41282225
I had a look but it's unclear that it is an NDIR CO2 sensor. There are cheap Chinese CO2 sensors that actually do not measure CO2 but estimate it from VOCs.
You can test this easily. Spray some Ethanol around your sensor and see if the CO2 rises a lot. If so then it's not a real CO2 sensor.
Do we need to update Godwin's Law on probability of comparison to Nazis? (2010)
That assumes you use a suitable electric toothbrush and technique. If you search my comments I have written about dental hygiene before at length.

I use Philips Sonicare, heard good things about Oral-B iO from a dental hygienist who has patients using both.

Of course, flossing using a super floss (OralB makes those) and interdental brushes by Curaprox/ TP of correct sizes is important to also clean the space between your teeth and significantly lower the likelihood of gingivitis and almost eliminates the progression to periodontitis.
I didn't hear of a password manager for another decade. Even if I had I'm now depending on it evisting (as opposed to lost in a disc crash or something)
80% is indeed a striking imbalance though, I had no idea it was this high, and I don't know if social conditioning alone is enough to explain it. Not to mention that according to this study itself, when considering ASD-like behaviours, "an estrogenic fatty acid alleviated these features and reversed detrimental neurodevelopmental gene expression." So it seems to really be something based in the biology.
Thanks for taking the time to answer. And you did answer the core of my question. Indeed, i will be citing the books as the source. Thanks again for making this resource available for free.
Before opening the article, my first thought was "wdym, it's HM and Algorithm W"

The very first sentence was:
> There is more to Hindley-Milner type inference than the Algorithm W.

I guess congratulations to the author for knowing the audience well enough
Saturation is not a boolean, it's how beyond 100% utilization the resource is.

https://www.brendangregg.com/usemethod.html
It's usually driven by industry standards, not government regulations.
Rare yet Impactful – Orthographic Projection in Films and Animations
Very helpful. Thanks. :-)
Turning Segmented Display Designs by YouTuber Posy into Real e-ink like Displays
So, just finish drawing the owl. Got it! Good discussion.
They probably don't want to license them globally, because the expected usage is low. But surely this could be taken into account in the contract / negotiation. Anyway I guess I'm just not in the target audience. But that's what MPV is great for, it allows you to tweak it for that 0.1% use-case.
Most people I know would understand "the camera comes with a built-in filter" to mean "what the camera photographs isn't what you'd see if you looked". The media publishing misleading (or misleadingly-captioned) photos is a problem as old as print photography.
Effective Learning Does Not Emulate the Professional Workplace
True, but maybe we should utilise principles which don’t suck. Things like onion architecture, SOLID, DRY and similar don’t appear to scale well considering software is still a mess. Because not only can’t your hardware find your functions and data, your developers can’t either.

It’s a balancing act of course, but I think a major part of the issue with “best practices” is that there are no best practices for every thing. Clean Code will work well for somethings. If you’re iterating through a list of a thousand objects it’s one and a half time slower than a flat structure. If you were changing 4 properties in every element it might be 20 times less performant though. So obviously this wouldn’t be a good place to split your code out into four different files in 3 different projects. On the flip side something like the single responsibility principle is completely solid for the most part.

Maybe if people like Uncle Bob didn’t respond with “they misunderstood the principle” when faced with criticism we might have some useful ways to work with code in large teams. I’d like to see someone do research which actually proves that the “modern” ways work as intended. As far as I’m aware, nobody has been able to prove that something like Clean Code actually works. You can really say the same thing for something like by the book SCRUM or any form of strategy. It’s all a load of pseudo science until we have had evidence that it actually makes the difference it claims to do.

That being said. I don’t think it’s unreasonable to expect that developers know how a computer works.
TL;DR: use idempotency tokens to prevent reprocessing of duplicate requests.
This strikes me as an excessively complex argument. Personally, I would zoom way out to work with some more abstract axioms, namely…

- Money now is more valuable than the same money later.

- The above applies for all parties to varying degrees.

- Some operations are money-constrained.

- There are ways to move money forwards or backwards in time.

Now most businesses are not in a position to financially engineer all that much, rendering the response to a given situation per the above axioms rather simple.

However I agree with the piece in its insistence that you shouldn’t just look to the obvious categorical solutions — there may be some interesting opportunities to find in the cracks. This point was well outlined in the example of the restaurant owner securing a discount by pre-paying for ingredients.

I would love to hear some non-monetary examples of axiomatic reasoning failures. Whenever I reflect back on a process I led a couple of years prior, I am startled by my limited awareness of dynamics/risks/opportunities — even though I was confident at the time and it went well. These reflections make it clear to me that we are always missing useful information, and I further laud the author for acknowledging this fact.
What makes you think it’s not legal?

You can almost certainly make something like Wine for iOS legally. But it’s a huge undertaking. It took years (decades?) for Wine to become solid. And it’s a constant battle with new OS updates with new APIs.
I believe they're referring to the tone of language used, which is IMHO just unnecessarily rude.

> THIS is why your software is slow. it's not "web tech" or "electron" or "JIT compilation" or any fucking sorting algorithm

> it's boneheaded _design decisions_ made to avoid doing things properly in packages with 1,600,000 weekly downloads.

> :DDDDDDDDDD this is why everyone hates nodejs developers

Yes, you can criticise a piece of software for doing something X way, but you don't have to shit on the people who made it in the process. Imagine being the person who implemented this waking up and seeing that.
The visual aspect is important, but can you speed up the simulation by omitting the rendering?
Even WHEN i don’t know much about computers, i never believed I could have TOTAL access to my spouse’s iPhone, TEXT MESSAGES ,snapchat, call logs , INSTAGRAM ,FACEBOOK, Line and WHATS APP without having physical contact until i was recommendation by my best friend to a professional hacker. He only asked for little information and the phone number of my spouse i never wanted to contact him at First because i was so scared but trust me it was worth the RISK because i was happy to get proof for my lawyer to file a divorce.

Contact him via email:spyrecovery36 @ gm ail c om.
Interesting, in the US? What state?
If you have proper dental hygiene there should be no smell from your mouth besides after spicy foods/ onions/ garlic etc. until you brush of the plaque. Or if you are sick (that goes mostly from the bacterial disbalance, the stomach etc.)

Of course, the minty freshness is nice to have but that is just a bonus. Most people rely on this to cover up bad hygiene but a proper dental hygienist will of course see the problems either way.

If you search my comments, I have written about dental hygiene at length. Source: my fiance is a DH, see neighbouring threads.
I don't ever recall seeing PL/M compilers advertised by anyone back in the day. I have a feeling that the few that existed were offered at "meet our sales guy at the golf course" pricing.
> their huge expat community all across Asia.

The Nanyang community is not uniformly pro-PRC.

A massive portion of them have blood and political relations with HK and Taiwan, and the younger generations don't have the same level of attachment to China as older less educated Nanyang Chinese do.

You can see this in Singapore and Thailand, with Millenial/GenZ Nanyang Chinese who can't even speak Mandarin anymore and almost entirely consume Western media.

In Malaysia, PRC nationalism is stronger, but that's in reaction to horrid race relations between Chinese and Malays/Bumiputera due to policies like "Ketuanan Melayu", memories/experiences from the various race riots of the 1960s-70s, and also the insularness/otherness of the Chinese community compared to other communities in Malaysia.
> Eventually burned out alright.

I don't know if this is a typo or not but it's great.

(B and T are pretty far apart in QWERTY, so...)
I read it as “Have smoking quitters found other health destructing addictions”. Ahh, hopefully not, why would you?
Not if you had LCD video games like on a Gameboy.
Congrats on shipping and the effort to stay motivated and optimistic. As a fellow parent in a similar boat working on a similar app, I deeply appreciate what it takes to get anywhere when all you have is, at best, 90 tired minutes.

Also while it may be a form of escapism there is a stark difference between shipping something while learning new (valuable) skills, and tinkering with a novel under your desk indefinitely. Kudos on getting to that next step!
So, you needed to rewind the tape to the beginning if you wanted to return it after having partially watched it i.e. at 40%? Now I wonder, did the store owners check each tape on return for this? I hope it was a quick process..

> Rewinding to the beginning of VHS tapes was honestly so long that nobody really forgot.

Hmm, if it took so long, wouldn't it have caused the reverse effect? That people would ignore it out of laziness? Maybe I'm too spoiled! :D
One could say you shouldn't store the 2FA along with your password.
You can play it with mpv, it depends on the hardware/drivers. It worked fine on a random Ryzen Lenovo laptop with Linux even though MacOS version of mpv couldn't play it correctly on M2 (even though Apple claims that M2 is compatible with the format).
Definitely. Who writes like that and expects to be taken seriously?
> the fact that internally it looks somewhat like IndexedMap is an implementation detail.

It really is not. IndexMap was directly inspired by Python’s naturally ordered dicts. It’s spelled out right in the readme.

And while indexmap has weaker ordering guarantees for performance reasons (though also additional features aplenty), “ordermap” was revived as a wrapper which does conserve ordering on removal.
There is a comparable software that has a friendlier UX: https://mochi.cards/. It's basically Anki, if Anki were smoother. Does cost a tiny bit though.
Towards the end of the 1980s there was the excellent Turbo Pascal for the 8086

TurboPascal was released at the tail end of 1983 targeting CP/M and the Z80. It was hugely popular on the platform.
Simply put, assuming the books will balance eventually, would you rather hold the money or hold the IOU, and for how long? If you hold the money as it changes hand, you can make money off of that (or use it for opening the next store).

For a corporation where revenues are consistent, 90 days of payables that you haven't paid anybody yet could be equivalent to tens or hundreds of millions of interest-free loans.

Home depot notoriously has payment terms that can extend beyond one year.

Edit:
To add on to that, understanding the accounting of E,I,T,D, & A (earnings, interest, taxes, depreciation, amortization) as in EBITDA is an important factor to grokking beyond the surface of the article. Basically cash accounting versus amortization accounting.
I did that, and it was horrible. The people were nasty, mean, and intellectually incurious. Conformity was valued over all other traits.

Some places might be better, but this is a dangerous option.
It might have originated from specific technical constraints, but it's a unique art style. Some people will like it, other people won't. Nostalgia might be a factor in its popularity, but people without nostalgia can (and do) fall in love with it.
Hypothetically, could the implementation just not faithfully represent the design, or could enough time have elapsed for some critical detail in the target project to have changed?
Not that I'm aware of, nor can I find any sources talking about it. Maybe you're confusing it with DivX that did something like that (https://news.ycombinator.com/item?id=6409888)? Both were popular during the same timeframe, so not impossible you're confusing the two.
I have also never programmed on Windows in my life. Seriously, not so much as a trivial script.

But I would look up the right way to find the system installation if I were writing production code, or even personal-use code, that needed to know where it was. I also wouldn't walk the filesystem looking for a program I was relying on (and assuming filenames and installation locations, but evidently not with a definitive standard location in mind). If I had to do that, I would know there was something horribly wrong with my own design. Although I should probably already be clued into that if my chat program is having to fool with GPU arcana like that.

Either some programmer has put thousands of other people's reliability and resources at risk by intentionally taking on something they're unqualified for and don't have the time to do right... or some manager has pushed somebody into that position.

If you mean that the reality of commercial software is that it's written by half-qualified people under unreasonable time pressure, why should we have "empathy" for the people who make it that way?
> any

Nope, not "any", but "Most".

> blank refund

Nope, they can charge an excess, and there is a cap.

> any payments consumers claim are scam

Nope, only actual scams. The consumers have to provide all suitable details and help the bank report the scam to the police if appropriate. They can't just say "I was scammed", provide no other details, and expect a refund.

Here's a source that's not behind a paywall:

https://www.moneysavingexpert.com/news/2023/12/banks-scam-fr...

> Banks will be required to refund most victims of bank transfer scams – known as "authorised push payment (APP)" fraud – from 7 October 2024, under new rules confirmed today (Tuesday 19 December). But you'll still need to be cautious when making a payment, as banks will be able to refuse refunds where you haven't been "sufficiently careful" – and they can charge an excess on claims.

> You WON'T be eligible for a refund if your bank decides you were "grossly negligent". According to the regulator, this is a "very high bar" and involves acting with a "significant degree of carelessness". So you'll still need to take care when making payments.

> Vulnerable customers will get extra protections. This is defined as "someone who, due to their personal circumstances, is especially susceptible to harm – particularly when a firm is not acting with appropriate levels of care". Banks will have to assess this on a case-by-case basis, taking into account all the facts around any claim.
"measurably better" is a strange term for a process where any two people don't even agree on what better means. Obviously different people have different ideas of what constitutes good information extraction. AI isn't a synonym for algorithm, in fact modern AI systems don't meet the criteria for that definition. There's a big difference between deterministic and probabilistic systems, and there's yet a bigger difference between generative AI systems and the former.

Reminder an algorithm is a finite sequence of mathematically rigorous instructions, which is why we can in fact meaningfully talk about the performance of timsort or quicksort. Not only is "Grug AI" not measurably better, it isn't even measurable in the first place. Not just to me, but not even to the guy who runs the website.

In a note taking system it seems quite natural that one wants precision, transparency and full control and not use a technology that by design cannot accurately distinguish what even exists in my notes in the first place and what doesn't.
An age old wisdom - if you work manually, rest via mental efforts, and vice versa. For most HNers it means do tons of sweat inducing efforts, often, so mind can rest a bit and do some defragmentation, not leaving everything only for sleep.
Spring’s security record prior to 6 was pretty interesting. They had a bunch of RCE causing vulns they wouldn’t even recognise as vulns (eg due to Java deserialisation issues), which wasn’t a great look for something in use in many large companies.

To be fair, Spring devs did say “don’t use it like that”, but devs of all skill levels use Spring, so that’s not great advice.

It is much better now, but of course the latest thing is that it’s now owned by Broadcom. So if you as a contractor are foisting Spring upon your clients, I hope you’re ready with a security/fixes strategy, because don’t expect Broadcom to support old versions of Spring forever. Or else you could just pay Broadcom $$$.

Good time to mention: users of open source Spring 5, it goes end of life this month. Hope you’re ready!
on the other hand, vitamins and minerals are routinely added to hundreds of common food products in most markets worldwide
I used to think that, until my first experience with a 24 hour outage because nobody wanted to tell an enthusiastic junior to move slower. It’s possible and far from uncommon to be so overly critical that nothing can get done. But what I see substantially more often is juniors who don’t understand the downside risks of what they’re doing.
Legacy legal mistakes, the worst kind.
Also, surprisingly handsome ^^
Ben Thompson and the Air Current guy are two that come to mind
Unitree Go2
If you sit down and need to wait one hour for one and 6 hours for the other to do the same thing I doubt you would say they are 'not that far off'
Linking to personal information may be considered publishing in some areas.

Also it's just a really crappy thing to do IMO.
Slam-Door Train
Gay sheep and gaslighting: The funniest jokes from the Edinburgh fringe 2024
The downside of something like indexmap is now removal is O(n)
What is a beamer? A video projector?
This is about magnesium lowering homocysteine but homocysteine can be lowered with methylated b vitamin supplementation in people for whom it's elevated.

Magnesium is great, but is it really the best way to lower homocysteine levels? Should be easy to test with standard blood tests.
It means you either need to persist the key to localStorage or a cookie. If you clear your browsing data or switch browsers, you can't just log in again, you have to use an existing device to share the key (e.g., with a qr code). That's the friction.
Why is a 'once-in-a-decade' Supermoon Blue Moon happening twice in 2 years?
Isn’t that mixed in with a bunch of random data / websites or is it only Firefox that does that?
If your distro has outdated packages, that's a problem with your distro.

You can always just open files with a CLI if you want to see the error messages.

What do you mean can't drag and drop on a window? That's literally how you add subtitles or open a file if you opened mpv from the shortcut, rather than by opening a file.
Maybe it was added since your comment, but below the signup form is a series of videos
Not specifically married to Mono, just what came to mind as I typed it. Regular .NET works just unfamiliar with how commonly it gets embedded.