MurphyA/hacker-news huggingface dataset:
by lemonwaterlime | 2025-05-04 16:44:43+00:00
Multiple times in this thread you have been taking the hardline stance that a framework is always necessary while stating that others are saying the same in the opposite direction. In reality, most people seemingly advocating for non-React are actually saying to start simple and add the complexity where and when it’s needed.

Further, being against a bloated framework is not the same as being against frameworks. Those frameworks are actually principles. It’s possible for a team to come up with or use existing principles without using a framework.

Finally, “always use React” brings other costs. You need a team to build your system twice. That means you need bigger teams; more funding to do the same thing, and so on. You add complexity at the team level and at the software level when using frameworks. The person above you said that blindly “following best practices” is bad while stating a “best practice” of always start with React. That particular “best practice” not always being the best practice is the entire point of this thread.
by philjohnson | 2025-05-04 16:44:47+00:00
Thanks, and cool project you've built!

Yeah, you're right on that it's perception problem rather than tech. It's interesting because it's much less intuitive to inspect the code/network requests for a desktop app which on it's face seems less transparent than something on the web, but the kicker is that there is no URL that you're accessing it from so it feels safer.

I'm thinking now actually if I did a PWA? I think it has the psychological benefit of feeling of an offline desktop app (which it can function as), but is lightweight and less maintenance than an Electron app, while still having the benefit of automatically updating when I make improvements without needing to manually make updates.

Where I'm struggling on the open-source question is that in the PDF use case most of them are not developers and don't know what open source is let alone host it lol. And most businesses can probably afford to pay a nominal fee to host it themselves and modify it if they wish, which many companies offer. It would be different if the product was something like a database or code package where it's always going to be a developer using it.

While open source might actually have more "freedom" for people to modify it for free initially, in a way it can be more honest for a developer with any commercial intentions to not open source something while offering paid ways to modify the source code, as we're seeing more and more that companies start out with a very open source product that they then revert once the community has helped develop it. Not that it needs to happen that way, but with commercial aspirations one needs to be careful as something becomes popular, it becomes too tempting to take back once open-source parts.

Forgive the wall of text here, I'm thinking out loud haha. Appreciate your comment!
by dragonwriter | 2025-05-04 16:44:55+00:00
> Democracy & separation of powers stand for something simple: Over long horizons, everyone is wrong.

You could look at it that way if you believe that there is a unique right policy answer and government is the solution to finding it, but that's not what democracy and separation of powers are about, in terms og why they have historically been adopted. It can certainly be viewed as a reason to prefer democracy and separation of powers.

But, really, democracy is about people having the right to make their own decisions and how to incorporate that into a collective government (or, more cynically, about people rebelling when they feel they have been deprived of that right and how to prevent it for the sake of domestic peace), and separation of powers is about protecting democracy by preventing the concentration of power in a particular institution within a representative democacy being leveraged to make a dictatorship.
by lelanthran | 2025-05-04 16:45:12+00:00
> Then you just pre-build the page before publishing it.

That's "using a programming language to solve the problem", isn't it?

> It's way cheaper as you do the work once, instead of every client being much slower because they have to do additional requests.

What work do client-side includes have to do other than fetching the page (which will get cached anyway)? It's less work to have a `<include-remote ...>` builtin than even a simple Makefile on the server.
by autoexec | 2025-05-04 16:45:25+00:00
They could, but it'd take a lot longer and movers are usually paid by the hour so they could expect to hear a lot of "Stop playing on your phone and get to work" or even "why are you taking photos of my (or my child's) stuff" which could get pretty awkward.

I expect that right now moving companies do sell info like your name and your old/new address. That alone should give them a rough idea of your income level, if you're getting poorer or richer, starting a family or recently divorced, etc. If you're using a moving company like Flat Rate and taking photos of all your stuff so that they can make an estimate they could be selling that data too.
by neilv | 2025-05-04 16:45:42+00:00
> I think everyone should be aware that it’s very likely that each MDMA dose is incurring some level of damage that is either long-term or potentially permanent.

In school, I knew a very smart person who got into drugs, especially MDMA. They later got clean, but when they got brain imaging done for some reason, a doctor who looked at it said they could tell the patient had done a lot of MDMA. Reportedly, the damage was visible on the imaging, and it was characteristic.

I'm sorry that my friend had to learn the hard way, and I'm glad that I was always too scared of drugs to try any myself.
by jfengel | 2025-05-04 16:46:11+00:00
Did he pretend, or did he really not know? The blues was founded by people who rediscovered Western music theory on their own, in part because guitars lend themselves to it. Punks learned that they could play power chords because they work with the messy overdriven sound.

Theory can explain it after the fact, and can extend your options (or at least save you time knowing what you want). I know a lot of "untrained" musicians had a fair bit of theory, but I don't know about Cobain.
by Graziano_M | 2025-05-04 16:46:13+00:00
I have a similar (but much worse) story.

Long story short: Any moving company in Boca Raton is a scam, don't do cross-state, check very closely for fake reviews (e.g. google the text and see if it's duplicated elsewhere).

Don't pay a dime ahead of time, and absolutely refuse anyone that subcontracts.

https://www.sun-sentinel.com/2018/08/17/feds-south-florida-b...
by palsecam | 2025-05-04 16:46:36+00:00
> and directly running it? How much more personally involved can you get?

Ms. Farmer is the CEO of BNSF Railway[1], she is the one “directly running it”.

Moreover, Berkshire/Buffet is notorious for _not_ micro-managing, for letting its subsidiaires enjoy greater autonomy than they would in an usual conglomerate.

1: https://en.wikipedia.org/wiki/Kathryn_Farmer
by Marsymars | 2025-05-04 16:47:21+00:00
Sure, could be a neat feature, but practically, 95% of the time that I’m searching for an app I know the specific app I need already and am just searching by name. The !gp bang doesn’t search Kagi, it directs to the app with the matching name on the Play Store, but skips having to wade through ads to get there.

The other 5% of the time where I’m looking for an app for a particular function, there usually don’t exist enough apps that perform that function for filtering on search results to be worthwhile.
by vlmutolo | 2025-05-04 16:47:25+00:00
A simple extension of the Bloom filter called “block Bloom filters” fixes this. The idea is that the first hash is the index of a small constant-size block of your array, and the rest of the indices are within that block.

So a single query to the filter should only have one or two cache misses, depending on the size of your block. Or even if your block is larger than a cache line, you can probably issue all the loads at once and only pay for the latency of one memory access.

The downside of doing this is slightly more space usage relative to simple Bloom filters. I’d almost always reach for block Bloom filters, though, once the filter becomes a significant fraction of cache size.

I implemented block bloom filters for fairly large (~GB) arrays and saw about 35ns performance. They’re excellent data structures, pretty much as fast as you can get for approximate membership tests (though other filters have better space-time tradeoffs).
by vunderba | 2025-05-04 16:48:09+00:00
From the article:

> Careful music analysis was left for other bands.

I'm sorry... but lol what.

> And it's fascinating to think that Kurt Cobain was unaware of any musical composition's rule he was following, but just trusting his musical instict (sic).

This doesn't come as much of a surprise. A good deal of my friends who are musicians (particularly those who could sing) found themselves writing music at a pretty young age before they had any real understanding of music theory.
by simoncion | 2025-05-04 16:48:33+00:00
> But only 1,200 miles without a human accompanying the truck.

Sure? You'd only remove the man in the cabin if you'd already run many, many, many miles with the man in the cabin not having to take control.

It's true that the company could be being irresponsible (perhaps even dangerously so). [0] We'll just have to see how the vehicle performs over the next year or five.

Do make sure to compare any reports of failure to the expected rate of failure of human operators.

[0] Given that they're running fully-autonomous commercial payloads, I find this unlikely.
by mindslight | 2025-05-04 16:48:48+00:00
The problem with speed bumps is that the level of annoyance is drastically higher for the already-slow prudent driver in a reasonable vehicle, compared to the lackadaisical latently-fast driver in an oversized monster SUV. So most of the intended targets get punished with "wow that was bouncy lol!" while the collateral damage gets comically slow crawling and/or frame damage. Speed bumps also draw the attention of drivers towards focusing on the obstacle, and away from staying alert for pedestrians.

I just had an experience with a parking lot (at a place generally full of kids), that had added a horrible speed bump at the entrance and then removed it a few months later. As far as I know there was no problem with people speeding in the lot, it was likely just some busybody trying to make things "better". Thankfully someone more in charge saw the light of reason.
by demaga | 2025-05-04 16:48:50+00:00
This sounds smart and could 100% be something I would say too, but it is not true at all. People benefit greatly from phones (and in some sense, social media). The way to test it is to give up phones for some time.

I spent 3 months without smart phone, and it was inconvenient as hell. Not having maps, calculator, or wikipedia at all times sucks. So almost everyone I know definitely does use computers, in all meanings.
by xphos | 2025-05-04 16:48:55+00:00
Absolutely but I think when people are first learning math especially they ask this question, why are we learning things like trig and or logarithms? The answer we give is usually they are important for the future math people learn. That is very uninspiring to students in my opinion (ages 12-18). While its true they will use them in the future those two things were invented to reason about the distance between the sun and the moon, the size of the earth, and other hard questions. Even doing machine tool work you'll quickly develop an appreciation for trig if you are doing any time of manual machining.

Logarithms were used percisely because they made long tedious multplication and division into simple additiona and subtraction. That's really valuable if you don't have calculators but when we don't talk about this it makes things feel arbitray. There properties don't stop being useful after we have calculators either but the motivation in my academic career was basically ignored until college (sample size of 1 :( ) but I think its something that I hear from many many people.
by mananaysiempre | 2025-05-04 16:49:02+00:00
This may refer to xdg-desktop-portal[1], which is usable without Flatpak, but Flatpak forces you to go through it to access anything outside the app’s private sandbox. In particular, access to user files is mediated through a powerbox (trusted file dialog) [2] provided by the desktop environment. In a sense, Flatpak apps are normal Linux apps to about the same extent that WinRT/UWP apps are normal Windows apps—close, but more limited, and you’re going to need significant porting in either direction.

(This has also made an otherwise nice music player[3] unusable to me other than by dragging and dropping individual files from the file manager, as all of my music lives in git-annex, and accesses through git-annex symlinks are indistinguishable from sandbox escape attempts. On one hand, understandable; on the other, again, the software is effectively useless because of this.)

[1] https://wiki.archlinux.org/title/XDG_Desktop_Portal

[2] https://wiki.c2.com/?PowerBox

[3] https://apps.gnome.org/Amberol
by asdf6969 | 2025-05-04 16:49:03+00:00
Unfortunately this is one of those times where Wikipedia is not useful. Any page related to an ongoing conflict is under constant attack from bad actors on all sides. Go read some books or visit in person if you want to know the truth.

Israel is actively committing atrocities similar to the holocaust and the comparison is fitting. If German jews fought back it would have looked just like Gaza.
by Jtsummers | 2025-05-04 16:50:15+00:00
> Cars in Japan drive on the left, and unlike US rivals European automakers usually put the steering wheel on the correct side for vehicles sold there, he added.

> That could be changing. General Motors' 8th-generation Chevrolet Corvette has right-hand drive in Japan for the first time.

> "I think that reflects efforts (for selling in Japan) by manufacturers and importers," Misawa said.

This explains the numbers at the start of the article:

> Meanwhile US industry leader General Motors sold just 587 Chevrolets and 449 Cadillacs in Japan, while Ford pulled out of the tough Japanese market nearly a decade ago.

If you're not selling cars suited to the market you won't sell many cars in that market. This is not a surprising thing.
by codazoda | 2025-05-04 16:50:41+00:00
If you like this you might like The Storyteller by Dave Grohl, it’s a great read from the vantage point of Nirvana’s drummer and his adventures and music influences both before and after.

The Kindle version is $3 right now.

https://www.amazon.com/gp/aw/d/B091Q9VCP4/
by simonw | 2025-05-04 16:51:34+00:00
Gemini's approach to prefix caching requires me to pay per hour for keeping the cache populated. I have to do pretty sophisticated price modeling and load prediction to use that effectively.

Anthropic require me to add explicit cache breakpoints to my prompts, which charge for writes to the cache. If I get that wrong it can be more expensive than if I left caching turned off entirely.

With OpenAI I don't have to do any planning or optimistic guessing at all: if my app gets a spike in traffic the caching kicks in automatically and saves me money.
by loloquwowndueo | 2025-05-04 16:52:31+00:00
“Storage is cheap” goes the saying. Other people’s storage has a cost of zero, so why not just fill it up with 100 copies of the same dependency.

These package formats (I’m looking at you snap as well) are disrespectful of users’ computers to the point of creating a problem where due to size, things take so long and bog the computer down so much, that the resource being used is no longer storage, but time (system and human time). And THAT is not cheap at all.

Don’t believe me, install a few dozen snaps, turn the computer off for a week, and watch in amazement as you turn it back on and see it brought to its knees as your computer and network are taxed to the max downloading and applying updates.
by dragonwriter | 2025-05-04 16:53:35+00:00
If I was an enemy of the United States, I would very much like the US to increase the degree to which applying its warfighting capacity required stripping out hard to replace experts on which its civilian air transport ability relies for safe operation, and vice versa.

It would fit in well with the present administrations policy orientation, both toward militarization and toward making th country weaker and more fragile in general.
by compiler-guy | 2025-05-04 16:54:01+00:00
If you have never tried to collect on a judgement from small claims, it is extremely difficult if the target just doesn't want to play ball. I have tried, and they were just like, "Yeah. No. Go get the court to enforce it."

Filing those claims is time consuming and expensive, and if they fight or ignore, it ends up costing more than your claim is worth, even not including time.

And this wasn't even with movers.
by seanhunter | 2025-05-04 16:55:02+00:00
Yeah. It's really poor musical analysis in general, and my ears just don't agree. For example "Come as you are"- it's really hard not to hear that as functionally in a minor mode.

Also, there's nothing particularly unusual about not having any minor chords. In fact, here's a thing that may surprise some people: most African music for example has no minor chords of any kind, and we're not talking about power chords etc just only major and no minor triads. In African music it's really common to have the first inversion of the 4th degree triad function as the relative minor (so in the key of C that would be A-C-F instead of A-C-E).
by isaacremuant | 2025-05-04 16:56:04+00:00
The European systems, I'd argue are absolutely worse than many of the "direct republic" systems in the US and other American countries because in the European systems there's a pretense of "consensus" reaching and it mostly ends up preserving an elite status quo and hiding any problems. That's why there's such a big tendency of nanny stating and censorship. It's entrenched in a bureocratic way.

The direct vote gets a better chance at subverting the system radically and that's a good thing. Regardless of criticism from the losers about "populism". The end result is great for democracy and actual change.
by globnomulous | 2025-05-04 16:56:05+00:00
This comment is such a weird way to defend the patently absurd claim that he wrote some of the best songs in human history.

Even the first sentence makes no cogent sense, especially when read alongside your original comment:

> When it comes to cultural significance and catchiness the fact that people have been doing it for a long time doesn’t matter.

You've apparently changed your argument. "Best in human history" does not mean "most culturally significant and catchiest."

If "the fact that people have been doing it for a long time doesn't matter," then why did you mention all of human history?

If what you mean instead is that you care only about contemporary, present-day cultural impact, then, again, why did you mention all of human history? You've already decided that no time period other than the present matters.
by bandoti | 2025-05-04 16:57:17+00:00
Definitely would be interesting to use it in that way! The nice thing about Tcl is the syntax is clean (in brevity and understanding). Basic features like piping, file globbing, encoding conversions, compression, and so-forth are intuitive.

If you’re interested, I have various Tclkits available for download on GitHub. I have added dependencies to them like TLS for HTTPS and so-forth. It can be convenient to have them standalone; the TLS extension here is bundled with the ca certs from libcurl.

https://github.com/tclmonster/kitcreator/releases/latest

And here’s an example how I use the kits in the CI build. It uses the kit it builds to push the update using the TLS extension along with the GitHub REST API:

https://github.com/tclmonster/kitcreator/blob/main/.github/s...
by rolph | 2025-05-04 16:57:34+00:00
[supplementary]

(1) The artificial placenta and EXTEND technologies: one of these things is not like the other[2023]

https://www.nature.com/articles/s41372-023-01716-2

(2) A Unique Womb-Like Device Could Reduce Mortality and Disability for Extremely Premature Babies[2017]

https://www.chop.edu/news/unique-womb-device-could-reduce-mo...
by twodave | 2025-05-04 16:57:35+00:00
Yeah, I can understand that sentiment. We’ve done this since I graduated from college, when I was making about 1/10 annually what I am now, though. As I said, you get pretty good at knowing what is worth keeping. Besides, even with a low income it is important to prioritize being charitable. We teach this to our kids. If you don’t prioritize it early in life when things are tight, you’re likely not to prioritize it later when most people have even more opportunity to be charitable.
by NBJack | 2025-05-04 16:58:12+00:00
One article inaccuracy: Amazon treats all of their employees (from the warehouse to Day One) like cattle. Bidets? Chefs?!? If you didn't have to make the free pot of coffee yourself as you ponder which café to fork over money to, consider yourself blessed. In Ruby/Dawson, you couldn't find a bathroom to save your life at times (more dignified to sob quietly on a toilet than a desk as you dealt with the brutal reality of stack ranks and agendas I suppose).

The pay scales differently, no doubt, but only because Amazon has to in order to be competitive (I still remember the recruiter saying "even Jeff himself doesnt have a base pay beyond $160k"). If they could get away with making pee break opportunities miniscule, rest assured they would.
by kmod | 2025-05-04 16:58:43+00:00
The worst part to me is the privacy nightmare with AI Studio. It's essentially impossible to tell whether any particular API call will end up being included in their training data since this depends on properties that are stored elsewhere and are not available to the developer -- even a simple property such as "does this account have billing enabled" is oddly difficult to evaluate, and I was told by their support that because I at one point had any free credits on my account that it was a trial account and not a billed account even though I had a credit card attached and was being charged. I don't know if this is true and there is no way for me to find out.

At some point they updated their privacy policy in regards to this, but instead of saying that this will cause them to train on your data, now the privacy policy says both that they will train on this data and that they will not train on this data, with no indication of which statement takes precedence over the other.
by philjohnson | 2025-05-04 16:59:07+00:00
Thanks!

The "offline only" app could be a PWA where you can access if if you're offline but I could even enforce disabling network requests in the code itself. Seems like the most straightforward solution to me. Could even make updates opt-in. Would keep it lightweight and easily accessible for anyone.

What do you think of this? Would you be willing to pay for this, or are certain features you'd be willing to pay for? Curious you're thoughts.
by Projectiboga | 2025-05-04 16:59:13+00:00
16 LTL shipping, or Less-Than-Truckload shipping, is a cost-effective method for transporting goods that don't require a full truckload. It's commonly used by businesses shipping smaller quantities, as it combines multiple shipments onto a single truck, sharing the cost among shippers.

This is a way to ship things professionally but it is based on pallet sized packing. Not sure about furnature via this method.
by accrual | 2025-05-04 17:00:02+00:00
Just anecdata, but I was under a few times as kid. It was like teleporting into the future. Last memory was being told to count backwards, next memory was waking up in the recovery room.

Apparently I had a small anesthetic overdose in the hospital as a kid and woke up a day or two later than expected, but from my perspective, nothing happened and I just went to sleep then woke up.