MurphyA/hacker-news huggingface dataset:
by mholub | 2025-06-30 11:57:32+00:00
it's more nuanced:

you're still releasing resources - so you might not become faster overall but you can compute more in the same time later if necessity arises (althougth that might be somewhat premature but can be good for library code - so it becomes more applicable in different environments)

and there are some rare but tricky scenarios like:

hardware is mobile phone: app seem to be bottlenecked on arithmetics according to the profiler, so it feels obvious to start optimization there

in reality what happens - hardware has limit on power, so it can't give full power to CPU, GPU and memory all at the same time

since app uses too much memory - it has to redirect power there, also memory emits heat, so CPU becomes throttled

By optimizing memory, everything runs colder -> CPU gets more power, can run sustained higher frequencies - app becomes faster
by taneliv | 2025-06-30 11:57:35+00:00
A word of warning. Usually these things are simple, but not always. Either way, you'll get your hands dirty, and mind off other things.

The YT video for changing my cars' front light bulbs was less than two minutes. After half an hour and a lot of scratches / bruises, I thought I got it done. Started the car, checked the light goes on and off. Scrub hands from dust and dirt, be happy.

Mandatory inspection two months later found out that it was pointing so badly off that their targeting device could not even get a reading. In other words, I had been blinding oncoming traffic. Car didn't pass inspection, I was defeated, and took it to the mechanic.

He also spent twenty to thirty minutes on readjusting the bulb, before it was done and up to spec. It costed only 15 euro, though, as they also expected it to be a 30 second operation.

I guess my point is, don't get discouraged when things don't work immediately, or don't work exactly like a manual / video makes you think. Often it's a learning experience, and while those can be fun, they also sometimes are very much not.

(I'm also a complete novice, and not particularly enjoying the experience, just not affluent enough to pay for all of the maintenance work.)
by johnisgood | 2025-06-30 11:58:07+00:00
I have incontinence, so I either wear diapers (still going to pee and defecate regardless), or I have access to the bathroom in time. If I wear diapers, there is going to be odor contamination in the area. It is bad for others, and for me, and their business too, I assume. Depends on the length of the trip; I try to limit fluid intake to zero before I go outside.
by OneDeuxTriSeiGo | 2025-06-30 11:58:19+00:00
Yep. Practicing is cheap. Also "a good voice" isn't really a thing. Everyone can have a good voice, it just requires training. Some people just get lucky and start much closer to their end goal than others.

This is especially obvious if you follow any content creators who after getting somewhat successful decide to try to learn to sing and watch how they improve year over year.
by sometimes_all | 2025-06-30 11:58:30+00:00
In India, the some of the largest "sludge" providers were telecom companies before the advent of Jio. After Jio, the largest sludge providers are still a couple of telecom companies, but at least the regulatory body is now taking more action that it used to.

Before Jio, telecoms felt free to rip customers off on anything and everything. Charges for caller tunes the customer didn't set or ask for. Unknown charges in bills galore. Large areas in metro cities without coverage. Customer service agents who refused to help, and in many cases, tried to gaslight the customer. Trying to stop the service and move somewhere else was almost impossible, they tried every sneaky trick in the book to get you to stay and keep paying absurd amounts of money for very little service.

Jio changed all that; most of the bad ones either dropped dead or merged, primarily because they couldn't deal with an operator which was, aside from the clearly aggressive business practices, actually competent, plus priced itself aggressively and actually gave customers a lot, and handled customer service more effectively than the rest. Airtel upped its game and survived, Vodafone-Idea is on life support, and the rest are dead.

Now it's a different problem altogether - cheap data and free calls led to unabashed spread of spam and scam calls. Until very recently when TRAI actually started threatening telecom providers, it was almost transparent that the latter were just allowing large-scale spam and scam perpetrators to thrive. Then upper government levels noticed the fiascos during COVID after a few very public and egregious cases, and proper action started happening. This has led to more awareness and fewer unsolicited communication, and a surge of complaints causing punishment-by-network-effect to perpetrators.

Until recently, spam was a nuisance which people would grudgingly try and ignore. Now more people are actively complaining, and things are looking better. The article is very right about companies trying to make customers feel powerless; since COVID, when people had some free time on their hands, they started using some of it to fight against the "sludge" and hold companies accountable.
by roenxi | 2025-06-30 11:58:49+00:00
Or, to put it another way, going by the thread ancestor we expect the price of cars to have risen around 26.2% due to currency devaluation. If the price of cars has risen 29.2% it is more or less pointless to look at the car industry for an explanation. The price has risen by roughly what we'd expect if they were doing what they've been doing with no real changes.
by johnisgood | 2025-06-30 11:59:14+00:00
I think that may be more common in the elderly. I had full-on delirium from 5 x 50 mg, however. I would not recommend. It took me months for my body to recover. The auditory hallucinations lasted the longest (2-3 days), but my body and my mind was a wreck for months. Thanks to our beautiful hospital that did not administer the antidote for anticholinergic toxicity.
by bumby | 2025-06-30 11:59:28+00:00
>Hybrids have a lower TCO even though they have a higher initial purchase price.

Is this conclusion based just on fuel consumption? From a relatability standpoint, it doesn’t make sense at first blush because you have to have both ICE and EV parts in series in the drivetrain; the total reliability can’t be higher than the individual components of they’re in series.
by rpastuszak | 2025-06-30 12:00:03+00:00
OK, this is a very interesting post for me because in the past 5 years I've met 200+ people via my Say Hi page:

https://untested.sonnet.io/notes/say-hi/

and many of my speakers suggested that I should charge for the calls.

Many of my calls involve tech/product advice (often from people with a ton of experience in other areas, e.g. ex FAANG managers, already accomplished founders, designers). Many of the people who message me with concrete questions, asking for my expertise are often already well-off, established and happy to pay.

The thing is:

1. I often get calls from students or people struggling financially 2. I enjoy serendipitous interactions with beautifully weird people

I can probably solve 1. by adding two call lines. But I worry that adding a commercial aspect will prevent 2. from reaching out. I don't live in London any more, and most of my nerdy/artsy/techy/hacker friends live allover the world.

Ah, and:

3. I genuinely love speaking with people in this manner, and personally, I'm getting so much of my Say Hi calls. I just finished a call with a very clever engineer setting their first steps as a solo-founder. They're not "indie hackers", they're people with genuine curiosity, talent and will to help people. It feels amazing to be able to help someone like that, and even better -- to become infected with that enthusiasm!

I am very much aware that I'm rationalising this and perhaps even preventing myself from letting people pay for my work. Whether it's impostor syndrome or the fact that this is such a precious subject to me is a question that I'm trying to answer.
by weiliddat | 2025-06-30 12:00:52+00:00
Ah good to know.

I think Windows isn’t that different, just that there's more motivation for NVIDIA or Microsoft to fix those things. I recall not that long ago a combination of Windows 11, my NVIDIA RTX 40xx, my previous Dell Alienware monitor also had some issues with switching between SDR and HDR (and later Dolby Vision brought even more of a mess).

Meanwhile Android and iOS phones have been able to do it flawlessly for a while now…
by doubled112 | 2025-06-30 12:01:13+00:00
I was shocked that we started replacing glow plugs one at a time.

I drove a 2002 diesel Jetta for a few years. $80 for all four glow plugs. It’s a no brainer to do them all. This was probably ~2015, it was old when it was written off.

This year, the cheapest I could find one (yes, just one) for my 2013 was $135 online. Cheaper online than a mechanic friend of mine could get it through any of his sources.

There is a compression sensor in there now adding cost, apparently.
by kalleboo | 2025-06-30 12:01:28+00:00
2005 is when I got a second-hand Sony Ericsson K750 phone that had been reflashed to the W800 Walkman phone firmware (the hardware was the same) and I started using my phone as my MP3 player. It was also my only usable digital camera (the other one was one of those terrible cheap RAM-based ones, and this had a really decent 2MP shooter). Really that device delineated the beginning of the convergence era for me.
by potato3732842 | 2025-06-30 12:01:35+00:00
It's not like she bought a 4Runner or Suburban. She bought a Honda compact car that's been stretched on the vertical access.

We all spend the 2000s listening to the "they're less safe because they roll over more" screeching broken record and while statistically that was true to an extent nothing really came of it, everyone decided that yeah they do but they like the tradeoff. You just sound like a 2020s cover of that. Why ought I to take your hand wringing seriously?
by RandomBacon | 2025-06-30 12:01:46+00:00
> Does anybody feel sympathy for a terrorist? If your answer is yes, then you're unsympathetic towards numerous innocent others who have or may fall prey to them. Your sympathy becomes selective and meaningless.

You can have sympathy for both. It's not one or the other.

> So please stop giving these humans devoid of any empathy, the benefit of your humanity.

I sympathize for you. I hope that you're willing to open up your mind and be open to the idea that everyone deserves humanity.

Hitler decided some people should be treated with humanity and others not. I imagine if you asked Hitler, he would have said the Jewish people were devoid of any empathy. I think we're above that, right?

-----

It seems that for a lot of people, politics is more important than having humanity for other people. I wonder why that is.
by tialaramex | 2025-06-30 12:01:59+00:00
In the public enquiry for the Horizon scandal we saw a pattern that happens over and over where extremely well paid and supposedly high performing executives suddenly remember they were idiots and had no idea about anything so it's not their fault.

I believe we should impose a statutory burden on boards for such outfits to establish that their executives are not idiots, so that when inevitably this happens again the executive is obliged to agree either they are an idiot who couldn't have known they were doing awful things but, they also lied over and over in this mandatory paperwork - and so they go to jail for lying, or, they weren't an idiot after all, they're guilty.

We use this same approach for drink driving here. You can let us take the sample, proving you were hopelessly drunk, then you get banned for drink driving, or, you can refuse the sample, we can't prove you were drunk but you refused and the same penalty applies for refusal.

I'm sure some people will protest - why should I have to put myself at jeopardy, surely I should be allowed to do crimes without consequence? OK, well lets try it out, if every CEO job goes vacant once such a rule comes into effect I guess we'll have discovered every single one of you is a crook, which is good to know. But I suspect instead we'll have no trouble finding candidates and this was simply mispriced - we won't fix the criminality but now those responsible will sometimes end up behind bars at least.
by galangalalgol | 2025-06-30 12:02:52+00:00
Ceiba speciosa maybe? That is a weird tree for sure. I grew up where there were wild thorny honeylocust trees. The trunks are spotted with dense clusters of branching thorns, some of which are 8" long and stiff enough to puncture tractor tires. To paraphrase family guy, nature is scary.
by zenoprax | 2025-06-30 12:02:54+00:00
"ROWM" (read once, write many) robust file copy program that utilizes checksum sidecar files. (1) Read the data, compute a checksum as a 'source of truth' and store it as $filename.checksum_type, and then (2) write the data (and the computed checksum) to N destinations simultaneously, and (3) Compute the checksum of the file on each destination and compare it against the source of truth

Could use "tee" to limit the reading to just one instance but I would like to try Python.

Hoping to write the core of it as an open-source hobby project to learn Python multithreading and then extend it for the actual problem I need to solve at work through the use of config files.
by Someone | 2025-06-30 12:04:26+00:00
> I wonder if the overhead of user space interacting with the kernel api is gonna be noticeable.

‘Luckily’, the overhead of antivirus software already can be quite high at times [1]. So, if this API can keep the number of kernel-userspace transitions down, I think the relative impact could be barely noticeable.

[1] https://www.tomsguide.com/us/av-software-least-system-impact...:

“For example, McAfee Total Protection had a relatively light background impact, slowing down the Lenovo laptop by only 9% after installation”
by coldpie | 2025-06-30 12:05:20+00:00
> I think it’s kind of sad that you would have that opinion.

Yeah. I don't like it either, but that's the world we've built. I wish an industry as important as ours had some standards of ethics, like doctors and real engineers do.

> Are the engineers working on OpenJdk completely lacking of morals?

Oracle attempted to make clean room reverse engineering illegal by arguing that copyright applies to Java's ABIs despite our entire industry relying on that not being the case, all so Larry Ellison could buy yet another yacht. So yeah, someone continuing to work on Java after it was acquired by one of the most evil companies on the planet definitely is consciously choosing to make the world a worse place and should no longer be employable.

> How does working for Oracle compare to say working at Facebook or Google with all their privacy invasion tech?

Facebook is also on my personal blacklist, yes. Less for their privacy invasion, and more for their eagerness to make a buck by helping spread misinformation and bringing about the end of democracy in the western world.

I don't feel as strongly about Google personally, but I wouldn't argue if someone else on the hiring team felt it was disqualifying.
by CommenterPerson | 2025-06-30 12:05:23+00:00
It does have an impact. It wont give you stackoverflow like code to copy-paste though.

Analogy is thermodynamics says how efficient a heat engine _could_ be. If your engine is way below that you know there how much of an improvement there _could_ be, that it's not an impossible problem. That will get people to build better stuff.
Show HN: My Cross-Platform MySQL Parser
by abbychau | 2025-06-30 12:05:29+00:00
I have just completed the MySQL parser that will be soon used in MIST.

The story behind is that TiDB MySQL parser, which is by far the most MySQL compatible parser, was depending on some types called "parser_driver".

Parser Driver contains types from TiDB, but unfortunately, TiDB is not going to moving MySQL types, which is heavy entangled with TiDB, out as a independent Go package. GitHub issue:16381

To me, TiDB itself is mixing all its open-sourced modules as a very opinionated monolith.

I was porting MIST to WASM binary and TiDB syscalls will be stupidly included, compiled, and making static linking failed when targeting WASM.

Thus I spent a few days to extract the existing parser package and parser driver and re-export the entangled TiDB types into an ACTUALLY WORKING MySQL parser go package, which is truly cross-platform and ready to port to WASM.

Repository: https://github.com/abbychau/mysql-parser Interactive Parser Demo: https://abbychau.github.io/mysql-parser/
by 7sigma | 2025-06-30 12:05:38+00:00
While the Nakba was not a genocide per se, it is now one since Oct 2023, the trajectory was similar in Algeria which also culminated in a genocide, that was my main point

"the Arab colonialists that took all the Middle East and north of Africa.": that sentence is misleading. Arabs conquered the other kingdoms, just like the Romands or Greeks did. In no way did they establish an ethnostate.

While there is some desert in Palestine in the south, the north sees heavy rainfall rainfall in upper gallilee of over a metre per year.

Why does it belong to the "Jew people"? On what basis? If its a religious argument then that is not a valid basis for expelling the native Palestinians.

If its based on ancestry, there is little basis for that either. Jewish people like myself cannot claim that all there ancestors were from Palestine. In fact it is probably that Palestinians can claim more descendance from the Jewish people than people who identify as Jewish (excluding existing Palestinian Jews). Zionist colonialists where like myself, European jews, with mostly European ancestry. They were not reclaiming their land, they replicated the European white supremacy ideology in order to "transfer", as they said, the native population that they saw as inferior.

Therefore your argument is very similar to white supremacists who justify their twisted ideology with a very superficial and wrong view of history.
by hayley-patton | 2025-06-30 12:05:54+00:00
> "weird shit" like dynamically creating modules, hell, even creating a Python file, running eval on that, and loading it as a new module.

Expect that you don't, and deoptimise when you do: https://bibliography.selflanguage.org/_static/dynamic-deopti...

It's really not that impossible.
by xtiansimon | 2025-06-30 12:06:03+00:00
Again. Undermining US Industries. This time with an excise tax.

> “It would impose a steep penalty on all new wind and solar farms […] unless they follow […] requirements to disentangle their supply chains from China.”

Even the president couldn’t market his presidential campaign without the help of Chinese made products/tchotchkes.

https://youtube.com/shorts/00Cav9Pu0Co?si=-VAajNAcm7da14m1
by eqvinox | 2025-06-30 12:06:38+00:00
Mhm. I'll absolutely agree some infrastructure is at its limit/oversubscribed, but I also think you're generalizing a bit too much from your own experience without data to back it up.

Btw. Wooden sleepers laid in the 19th century have completely rotted away by now; it's impossible for the line track itself to be that old (except very slow speed shunting tracks, maybe.)
by slau | 2025-06-30 12:06:58+00:00
There's a bunch of different situations that can be discussed, and it's hard to generalise. However:

Your function typically has a specific intent when it tries to call another function. Say that you have a poorly designed function that reads from a file, parses the data, opens a DB connection and stores the data.

Should I really expect an end-user to understand an error generated by diesel/postgres/wtfdb? No, most likely I want to instruct them to generate debug logs and report an issue/contact support. This is most likely the best user experience for an application. In this case, each "action" of the function would "hide" the underlying error––it might provide information about what failed (file not found, DB rejected credentials, what part of the file couldn't be parsed, etc), but the user doesn't care (and shouldn't!) about Rust type of diesel error was generated.

To answer your question specifically, I might go without something like this:

#[derive(Debug, Error, Clone)] pub enum MyFunctionError { #[error("unable to read data from file: {0}")] ReadData(String), #[error("failed to parse data: {0}")] Parse(String), #[error("database refused our connection: {0} (host: {1}, username: {2})")] DatabaseConnection(String, String, String), #[error("failed to write rows: {0}")] WriteData(String), }

Obviously this is a contrived example. I wouldn't use `#[from]` and just use `.map_err` to give internal meaning to error provenances. `DatabaseConnection` and `WriteData` might have come from the same underlying WTFDbError, but I can give it more meaning by annotating it.

When building a library, however, yes, I most likely do want to use `#[from] io::Error` syntax and let the calling library figure out what to do (which might very well giving the user a userful error message and dumping an error log).
by theospeak | 2025-06-30 12:07:31+00:00
Oh but you are interested, especially now. You are trying so very hard. That is why you are still throwing cash into the dumpster fire that is Tesla. You got blindsided. You exploited the cheap Chinese labour, thinking they can never be as smart as you. Your designs will forever be Greek to them. And that was your fatal flaw, and will continue to be as long as you refuse to admit your shortcomings.

America is the undisputed King of software. That is subject to change, especially with your tech leaders pushing hard to create a technocracy. You have successfully spooked your greatest ally, Europe into building for themselves and they already have a lot in place. Good for them.

The US is even losing software ground with your own people who trust your less and less (scandal after scandal will do that)

What you are left with is selling your software to the Third World, but that is not very lucrative, obviously.

As far as chips are concerned ,I pessimistically give it 5 years for China to equal you in that space. They will not be buying from you anymore, and they have football fields of the smartest people now, in all major field. And they are united in the fact that you don't want to share your toys, so they will use their number one manufacturing and research capacity to upend you.