Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eridius
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
391.
▲
by
eridius
7y ago
My subdomains for things like that all go through a reverse-proxy (Caddy) where I terminate HTTPS, which makes things simple, though I still don't use includesubdomains because it just seems too risky.
392.
▲
by
eridius
7y ago
I went ahead and ran the tests myself, using hyperfine. In fact, I reproduced the benchmark described on the lsd README directly, except using `ls -FG` instead of colorls. Benchmark #1: lsd -la /etc/* Time (mean ± σ):
393.
▲
by
eridius
7y ago
How about lsd? https://github.com/Peltoche/lsd
394.
▲
by
eridius
7y ago
That's actually a really good point, I never thought of it that way.
395.
▲
by
eridius
7y ago
I haven't really been following along very much. I take it from your comment that await in Rust will not automatically propagate errors upwards like it does in JavaScript? So you have to use `foo.await?` in the normal case if you only
396.
▲
by
eridius
7y ago
What does an async block evaluate to? Does that wrap up the contents in Kotlin's equivalent of a Future? In any case, I'm a big fan of the idea that async/await is just syntax around something that can be done without the syn
397.
▲
by
eridius
7y ago
It was glossed over why `await expr` isn't in the running; I take it it's because the language team doesn't like the necessity of adding parentheses any time you want to do postfix expressions on the await results e.g. `(awai
398.
▲
by
eridius
7y ago
That conflicts with `.await` + the ? postfix operator. Namely, if `.await` returns a Result, the ? operator could then be used like it is in code today. In fact, this was referenced in the article: > The primary argument in favor of pos
399.
▲
by
eridius
7y ago
The problem with this approach is merely adding the `async` keyword to a function would then significantly alter the way code is interpreted inside of the function. It seems like a non-starter to me to have adding the `async` keyword cause
400.
▲
by
eridius
7y ago
Verify-on-install doesn't protect you against addons that steal someone's signing certificate to push out an update, because by the time the stolen certificate is discovered, it will have been installed on a bunch of users' s
401.
▲
by
eridius
7y ago
I don't understand why for-profit prisons even exist. It just sets up perverse incentives and encourages unnecessary incarceration.
402.
▲
by
eridius
7y ago
Passing both a &[String] and an index into the function is duplicative, because a slice already has an index in it (the start point). It would be cleaner to just use `tokens.split_first()` to yank the first token off the list, which giv
403.
▲
by
eridius
7y ago
You think Epic is the only game store that buys exclusives? Sony and Microsoft have both been doing this for many years for their platforms (whereas Nintendo prefers to simply develop their own exclusives instead of paying third parties for
404.
▲
by
eridius
7y ago
In general, you cannot commit antitrust violations against the monopoly player (well, unless you're abusing your monopoly position in a related market, but in that case it's the market where you have the monopoly that gives you
405.
▲
by
eridius
7y ago
Not verifying emails is unfortunately extremely common. That said, if someone made an account using your email, can't you trivially "recover" that account and change the password?
406.
▲
by
eridius
7y ago
Because they'd get bad PR for yanking that stuff? It's not like it costs them a noticeable amount of money to maintain the existing services for a single game for customers who've already purchased it.
407.
▲
by
eridius
7y ago
The monopoly store doesn't need exclusives, they're already the monopoly. And back when Steam was first starting out, there weren't competing storefronts that they could demand developers withhold their games from.
408.
▲
by
eridius
7y ago
I can't think of any "feature" Steam has added since cloud saves that have impacted me. Any feature development seems to be focused on VR (I don't have PC VR, nor room at my PC to use VR) or streaming (I don't want
409.
▲
by
eridius
7y ago
Every single case of third-party screen replacement for iPhones I've personally ever heard of has resulted in disaster down the road for the person who got their screen replaced. And that was before the edge-to-edge iPhone X screen.
410.
▲
by
eridius
7y ago
You don't have access to Apple-supplied parts and especially don't have access to Apple-supplied training. Even if Apple did make this publicly available, the overwhelming majority of people are not remotely qualified to follow al
411.
▲
by
eridius
7y ago
Stableishcoinish?
412.
▲
by
eridius
7y ago
I am honestly surprised that HN's reaction to "Apple should provide tools and training to third-party shops" is to be downvoted. I have yet to see a single person explain why an end user should be opening up their own iPhon
413.
▲
by
eridius
7y ago
Opening a desktop tower is vastly different from opening a tightly-packed complex piece of equipment like the iPhone. Even if you do nothing else besides open and close it, you still may have compromised the water resistance of the device,
414.
▲
by
eridius
7y ago
Nobody is saying you can’t fool with it. But if you “fool with it” then you shouldn’t expect Apple to provide support for you.
415.
▲
by
eridius
7y ago
You’re allowed to open up your phone today. Nobody is saying the police should knock down your door because you opened your phone. What’s at stake right now is if you open your phone, you void your warranty and Apple will not provide any mo
416.
▲
by
eridius
7y ago
End users wouldn’t be using them. I’m all for Apple providing support for third-party repair shops. I’m against Apple being forced to allow actual end-users to open up and “repair” their phones, because the latter is not going to end well.
417.
▲
by
eridius
7y ago
A news article talking about George Hotz's original PS3 hack was released January 25, 2010. The PS3 software update that removed OtherOS was released April 1, 2010. As I recall, ultimately Hotz managed to compromise the device's r
418.
▲
by
eridius
7y ago
OtherOS was officially removed due to security concerns. I'm not sure how to find this offhand but my recollection is that OtherOS was used to facilitate jailbreaking the system. Its function wasn't to prevent jailbreaks but to ge
419.
▲
by
eridius
7y ago
Sony removed the ability to run Linux many years ago, after it was determined that it was impossible to prevent a jailbreak as long as the second OS feature existed. I’m not aware of Xbox ever supporting this.
420.
▲
by
eridius
7y ago
So wait, he did "an immense amount of pen testing", while at the same time this was something he snuck in at the last minute on a whim? Something doesn't add up here.
More ›