Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
piaste
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
271.
▲
by
piaste
4y ago
> Are you writing a library that you want to be kept open when used in a project? GPL will do what you need. > Are you writing an application where communicating over the network isn't a meaningful part of its operation? GPL will
272.
▲
by
piaste
4y ago
Having different numeric types for currency amounts (integer) and for costs or prices (floating point, whether decimal or binary) is not undesirable. Heck, it's very likely a bonus.
273.
▲
by
piaste
4y ago
Voltaire made that joke in the late 18th century, when the dying HRE had been reduced to a multi-confessional German confederation. The medieval HRE, especially the Carolingian one, had a much better claim to the titles.
274.
▲
by
piaste
4y ago
> What else is the turbofish other than an arcane rune for magical purposes? I'm reminded of the Codeless Code short story where the young acolyte visits a Haskell monastery, looks upon an engraving of the monad definition, and wond
275.
▲
by
piaste
4y ago
F# can do this, either as part of the compilation via type providers [1] or, in a more lightweight manner, via Roslyn analyzers embedded in the editor [2]. Unsurprisingly, Haskell can also do this via Template Haskell [3], but I haven'
276.
▲
by
piaste
4y ago
It is because Americans are notoriously rude and violent. They need a device that they can physically slam in the other person's face when ending an angry and stressful phone call - also known, in their language, as "a phone call&
277.
▲
by
piaste
4y ago
Reflection is inherently unsafe. Even something as relatively simple as a JSON de/serializer can blow up in your face. Source generators are compile-time safe. Well, unless they generate unsafe code, of course, but most of them shouldn
278.
▲
by
piaste
4y ago
Given the nature of Mastodon, why not just scale horizontally? Cap your_server at N users and just open signups for your_server_2, then your_server_3 etc. which are all federated with your_server?
279.
▲
by
piaste
4y ago
They are absolutely not popular. I've never heard of them, despite having both family and friends who went on yearly car trips across (one or more of) Spain, France, Italy, Germany, Belgium, and Denmark. Looking into it, it seems they
280.
▲
by
piaste
4y ago
Sure, but still, it's the kind of small-but-incremental QoL improvements that apparently frontend designers really really want in their working week. You linked to a very interesting TS library above, vanilla-extract, and you can proba
281.
▲
by
piaste
4y ago
As I understand it, Tailwind is essentially CSS 2.0 - or 5.0 I guess - with the warts ironed out (sorry for the unpleasant mixed metaphor): A) CSS / Tailwind: lots of little 'atomic' classes describing individual visual prope
282.
▲
by
piaste
4y ago
And for those games, the X3D series are going to be the gold standard, if they follow up in the footsteps of the 5800X3D. Meaning the X series will be in a bit of an awkward position. Disclosure: I own a 7600X, but strictly because I wanted
283.
▲
by
piaste
4y ago
Given that the PR firm who made their video apparently reached out to the press to tell the story, it seems that he wasn't actually claiming or pretending to be a native speaker (and anybody who did would be extremely easy to uncover).
284.
▲
by
piaste
4y ago
Is it? When non-puppy-kicking people are willing to publicly say "I don't kick puppies, but I agree with the puppy kickers' view that the sky is blue", the correct reaction is not to reevaluate puppy kicking (much less t
285.
▲
by
piaste
4y ago
Red herring. The tragedy of the commons is a parable that advocates neither capitalism nor socialism. It advocates the existence of a _responsible manager_ for any resource subject to exhaustion. Whether that manager should be a capitalist
286.
▲
by
piaste
4y ago
To be pedantic, they're not saying the class is making things worse - it just doesn't do anything on .NET Core because it lacks cross-platform encryption APIs comparable to the ones used on .NET Framework. So it's basically j
287.
▲
by
piaste
4y ago
At least on reddit it's a little easier to spot astroturfing, compared to Amazon reviews or Quora or other single-purpose sites. Just click on the profile of the user who wrote three paragraphs extolling the virtues of Brand® razors. D
288.
▲
by
piaste
4y ago
Librewolf is great, and my main desktop browser. One warning that will avoid you some frustration: Librewolf's default settings delete all browsing history when the browser is closed. If you're using it on a private device and wan
289.
▲
by
piaste
4y ago
"Processed" is a slightly confusing shorthand for "has undergone processes which either damaged its nutritional properties or added a ton of unhealthy shit for the sake of becoming more appealing and/or easier to preserv
290.
▲
by
piaste
4y ago
It's worse than that, ChatGPT's answer are superficial on a fundamental level. Earlier today, I asked it to produce a complicated piece of code in a niche language, and it dutifully did so - but the code had a type error, and used
291.
▲
by
piaste
4y ago
Yes, you use 'rpm-ostree' to install and manage regular dnf packages, or local .RPM files. The limitations are: 1) Each invocation of the package manager (install/upgrade/uninstall, the usual stuff) results in a new OS &
292.
▲
by
piaste
4y ago
Haha, this beginning was eerie to read: > We often called it distributed ledger technology because our platform didn't actually use chains of blocks or proof of work, and it didn't have a token or anything like that. It was ess
293.
▲
by
piaste
4y ago
Presumably you'd be using your regular PC to host Nextcloud. You are correct that you'll spend more in electricity than a Hetzner sub costs, of course. (The 1TB tier costs 5.11€ now btw.) However, Hetzner storage isn't encryp
294.
▲
by
piaste
4y ago
One thing that made me shy away from Seafile was the limitations of its Android client. IIRC it could only upload photos, not sync folders. So couldn't use it for notes, voice recordings, downloads, books... I considered Syncthing as w
295.
▲
by
piaste
4y ago
> without their knowledge I've never had an iPhone so I'm not familiar with these dark patterns. Are you saying it's actually possible to get an Apple user to subscribe without clearly displaying the payment amount or freq
296.
▲
by
piaste
4y ago
> Object oriented is organised by virtue of the object paradigm. Or in other words, OO code ties business logic to presentation logic. By sticking to the dominant 'one class per file' principle, the same code behaves differentl
297.
▲
by
piaste
4y ago
> the moment when after one update hibernation stops working or bluetooth has issues and needs to be restarted with rfkill I'll hype Fedora Silverblue/Kinoite once again for solving that. Don't like the new update? Messed
298.
▲
by
piaste
4y ago
> "better Java, by being mostly functional and immutable and then practical as hell when appropriate" That's very much what Kotlin is aiming for.
299.
▲
by
piaste
4y ago
> I read the whole thing waiting for the aha-erlebnis which never came. I'm a full stack JS/TS engineer with a decade of experience. I expected this article to be written for someone like me. It didn't click Don't wor
300.
▲
by
piaste
4y ago
> minimal APIs give good performance I thought the minimal APIs were just a bit of syntactic sugar over the same underlying architecture. Are you saying they are actually different in a more fundamental way?
More ›