Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wonderlg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
wonderlg
6y ago
Generally I’d say that this could work on people that don't expect violence, like the racists who go around the city harassing immigrants. Why are they making other people’s lives miserable? It’s not fair and the law doesn’t protect
2.
▲
by
wonderlg
6y ago
With your library one has to write types twice. I understand that it’s not TypeScript’s job at the moment, but it’d be great to enable runtime checks with the flick of a switch without typing extra code. function upper(s: string) {
3.
▲
by
wonderlg
6y ago
The difference is that I can update all dependencies without having to verify whether they contain breaking changes, because I can just look at the number. Conformism helps us think less. Imagine if every website had their own way of scroll
4.
▲
by
wonderlg
6y ago
I love Bill Burr’s take on this. I can’t find the clip, but the resolution was that after receiving a punch, maybe you’ll reconsider “ehh maybe i was being a bit of a dick back there.” I never punched anyone, but people who ruin your life a
5.
▲
by
wonderlg
6y ago
There’s an obvious solution to this: require('clamp')(num, min, max) 1 million monthly downloads
6.
▲
by
wonderlg
6y ago
Apple is doing great even if they’re not super friendly to developers. Why change? I think that they could become better once they start losing some ground, kinda like Microsoft is all about Linux now that the desktop market isn’t improving
7.
▲
by
wonderlg
6y ago
Lol why do you donate to a company that made $120 million in ads last year?
8.
▲
by
wonderlg
6y ago
Playing devil’s advocate: Is it possible that, yes, of course you can work from home, and you must do that during lockdown, but is it as efficient as working in the office? I think that’s why many don’t like remote: They can’t see you worki
9.
▲
by
wonderlg
6y ago
I don’t get this project. This is nothing special, you can very easily spot that every T is identical. You might as well just use a handwritten font.
10.
▲
by
wonderlg
6y ago
I kind of agree. I remember having to deal with T_PAAMAYIM_NEKUDOTAYIM Sure the solution is still one search away, but…
11.
▲
by
wonderlg
6y ago
I think they’d need some hardware to verify that the transaction happened. A small business owner can use their own phone, but other businesses need a smartphone per point of sale, which might be more expensive than a card reader (that on
12.
▲
by
wonderlg
6y ago
I think this is a good default, as long as one can opt to see the full URL. A slightly better solution would be to still show the path at 50% grey or less. It might be hard to read, but it shows that something is there and that you’re not
13.
▲
by
wonderlg
6y ago
I don’t think Node has trouble from the very first installation. A brew install will set you up with the latest version of both node and npm and they will work. At most you’ll have trouble running the right version (rare nowadays, unlike in
14.
▲
by
wonderlg
6y ago
“Almost never” is still more frequent than “never,” so it’s still positive.
15.
▲
by
wonderlg
6y ago
Indeed, one could even automate the process, some sort of tool that automatically copies the dependency’s code, kinda like an install. I think someone already wrote such tool.
16.
▲
by
wonderlg
6y ago
I think that many of those with PR would rather be (first-class) citizens; it’s not always just a personal choice to not be one. I think it’s pretty clear that if you plan your life in a secondary country, and they allow you to via permanen
17.
▲
by
wonderlg
6y ago
This is me. When I stay at cheap hotels that have bogus reviews like “small room”, I’m very inclined to leave more positive and realistic reviews, and even to be more understanding of them. Usually this leads to being treated better and it’
18.
▲
by
wonderlg
6y ago
I think you completely misunderstood. > Requesting an image should be requesting a image, not a specific representation of that image. This is exactly what I’m saying. The image is one, it’s the browser that decides how much of it to loa
19.
▲
by
wonderlg
6y ago
I’m completely ignorant about this but is it possible that they’re referring to a “debugging backdoor”?
20.
▲
by
wonderlg
6y ago
Years ago I remember seeing a progressive image format that was supposed to solve the resolution issue. The loader could stop loading as soon as it figured it had enough quality. This meant that you could have a single, large image file, th
21.
▲
by
wonderlg
6y ago
I’m not doubting you, but how is that even possible? How do these people visit any other website? I don’t think much works in IE8 nowadays.
22.
▲
by
wonderlg
6y ago
I’m sure you love the modern web and its 2MB average page load, but most people don’t. This is code, so after it’s downloaded it needs to be parsed and executed… needlessly. What are you complaining about exactly?
23.
▲
by
wonderlg
6y ago
Wait till you throw a package.json with "type": "module" in there. Everything used to work until Node 12.15, then 12.16 started throwing when trying to require type:module packages with `require` (which is what `esm` doe
24.
▲
by
wonderlg
6y ago
Good point. That might probably be the reason why Apple will be able to get away with it in the end. They’re not a monopoly and users do have a choice.
25.
▲
by
wonderlg
6y ago
Is that why I occasionally find random apk files in my downloads? It is a problem, there’s a bunch of malware on android.
26.
▲
by
wonderlg
6y ago
I remember some Underground or Underground 2 cutscene or run that was identical to a run in FnF; I always assumed that they did a collab.
27.
▲
by
wonderlg
6y ago
To be fair, if an alternative App Store was available and popular, I’d probably have to use it to download Spotify, Audible, etc. Its existence would affect me. It would benefit in some way (like being able to subscribe to Audible in th
28.
▲
by
wonderlg
6y ago
So you’re saying that we don’t own Apple devices but merely rent them out for the day? Disneyland isn’t a product, you can’t compare it to a phone.
29.
▲
by
wonderlg
6y ago
Do you think this dev uses an IDE?
30.
▲
by
wonderlg
6y ago
Great, but “don’t roll your own auth” should still be the default. I’ve seen far too many awful login systems at any level that I’d really prefer if NO ONE rolled their own, especially no single unsupervised developer.
More ›