Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lucideer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
451.
▲
by
lucideer
2y ago
As someone who went through two of the touchbar macbook pros up until recently getting a M2, "on a mac level" is a pretty tricky metric these days. Apple were charging crazy prices for garbage quality machines for years. A friend
452.
▲
by
lucideer
2y ago
Assume "pretty good" here means "pretty good relative to Sora", because even Sora can't claim to be "pretty good" yet.
453.
▲
by
lucideer
2y ago
I use chezmoi - it handles both elegantly & has no real requirements w.r.t. how you choose to structure your filesystem. It also handles recovery well when you mess things up.
454.
▲
by
lucideer
2y ago
> I always feel uncomfortable since it's hard-code I used to think this as well, but I've since come around to the opposite view. Having it as a "requirement" for what's likely the most popular cli execution st
455.
▲
by
lucideer
2y ago
The slow part here is going to be HTML handling. The comparator - turndown.js - is built on top of domino.js, a mature HTML lib built as a more performance-focused version of Mozilla's DOMJS (an already mature project in itself), so ev
456.
▲
by
lucideer
2y ago
I have a counter-take on the first law that I've seen two examples of within my (20 year) career: > A system that inevitably degrades (to a significant degree) over time was badly architected. Most systems aren't badly archite
457.
▲
by
lucideer
2y ago
JetBrains "Inject" is fine for contiguous embeds like JS in XML, but doesn't cut it for inline intertwined string-templating. E.g. (from the article): <a class="button {{if .IsPrimary}}primary{{end}}" {{if eq
458.
▲
by
lucideer
2y ago
[off-topic comment but somewhat relevant for anyone choosing a lang/ecosystem] I noticed that the syntax highlighting for the Go html/template examples in the article is incomplete. We're using Go html/templates on a new
459.
▲
by
lucideer
2y ago
Tbh I've been rather impressed about how much of DDG has continued to work while all their results are down - e.g. all bangs continue to work fine.
460.
▲
by
lucideer
2y ago
try/catch messing with const is a well known problem in modern JS & one that imo needs a generalised solution & not one specific to one constructor. As far as other error return patterns existing in "the spec" - there
461.
▲
by
lucideer
2y ago
> nobody uses his software Yes, you're absolutely right. Popularity is the best indicator of quality.
462.
▲
by
lucideer
2y ago
The problem with this line of thinking is it gives automatic carte blanche to anyone pointing out problems to implement "solutions" to those problems with little interrogation of whether those solutions are actually better. SUID,
463.
▲
by
lucideer
3y ago
pivoting some underlying metaverse tech? scant on detail unfortunately
464.
▲
by
lucideer
3y ago
I think the feature to compare could be made a little more obvious - I can see why they would default to Chrome (both the most popular browser & also the one that shows the starkest difference), but tbh I find the most interesting compa
465.
▲
by
lucideer
3y ago
Apple is 23% worldwide, but if a brand is looking at specific markets, it can be as high as 40%+ (US). As for p3 adoption outside of Apple-land, you're right there's no good stats but I'd wager they're higher than you&#x
466.
▲
by
lucideer
3y ago
I'd imagine it's largely just due to a combination of inertia & ignorance (though the lack of clarity around display support is almost certainly a factor too). Apple made a song & dance about it 7 years ago but releases of
467.
▲
by
lucideer
3y ago
p3 has been the default for Apple desktop & mobile displays since 2017 (iPhone 7 era). Other device manufacturers are more likely to have lagged on that but I would imagine a fair number would have added support since. Also, within CSS
468.
▲
by
lucideer
3y ago
Big companies can afford to - the point is not that Meta would win a case, it's that most people are too small to survive a case long enough to see it through to a win against Meta.
469.
▲
by
lucideer
3y ago
Re-iterating what others have commented: quick-wittedness isn't "thinking fast" in the same way as you think slow, it's a different variety of thinking that comes with practice. I've always been a slow thinker, &
470.
▲
by
lucideer
3y ago
Homebrew adds a location to your $PATH that is writable by unprivileged users. This means any non-root process has privileges to mask any binary on your system. They do this in the name of "convenience" - so that the Homebrew proc
471.
▲
by
lucideer
3y ago
> That’s how it works for many Linux distros, e.g. Debian etc etc. Yes and no. It's certainly true of most packages but the smaller the package, the more likely it is that the distro package maintainer will be [a/the] maintai
472.
▲
by
lucideer
3y ago
You're a user - I'm purely referring to contributors. It's clearly gained popularity for good reasons - it's an API that is very user-oriented, with reasonably good UX for most people. The downsides are mainly related to
473.
▲
by
lucideer
3y ago
I recently switched from MacPorts to Homebrew & from previous trials of Nix, MacPorts support is well ahead of Nix. I used MacPorts for many years without many issues - only recently just started to get a little too frustrated with some
474.
▲
by
lucideer
3y ago
> more credibility I would say the opposite. Homebrew isn't a broadly well-respected project from a purely engineering perspective (i.e. by anyone who's engaged with it in earnest) - it gets contributions because it has user-
475.
▲
by
lucideer
3y ago
> I thought it was well-established that SMS text messages should not be used for authentication purposes? Using SMS text messages for 2FA is barely better than 1FA, but it is better. There's a lot of value in discouraging what
476.
▲
by
lucideer
3y ago
I'm glad you're starting to question things & definitely the wisdom of the "rule of law" is an interesting question to delve into for many reasons. However, none of what you're exploring is remotely relevant in
477.
▲
by
lucideer
3y ago
> pip wasn't pythons first package-manager, and obviously wasn't it just created with version 1.0. There were already years of history at that point. All the more reason it should have been so much better if it has already ha
478.
▲
by
lucideer
3y ago
The package manifest for maven is pom.xml. Sure it's got quirks - I might have the wrong version of a maven plugin it's got required directives for or something - but it's always there, it's declarative, and dependencies
479.
▲
by
lucideer
3y ago
The recent CocoaPods SPM migration is almost as painful as py2->3 but it seems to be a clearly understood direction with end in sight. SPM's manifests being non-declarative is also super problematic for 3P tooling but again - it
480.
▲
by
lucideer
3y ago
Java is Maven or Gradle mostly. Neither perfectly ideal but there's clear choices by subcommunitues (e.g. Android =>Gradle) & churn is low. Not at all an awful situation. C++ is mostly unmanaged in practice which is obviously ba
More ›