Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sli
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
661.
▲
by
sli
7y ago
CORS is indeed supported and also required on localhost if you're using two different ports (e.g. an API server and a hot-reloading dev server for a UI).
662.
▲
by
sli
7y ago
You could (usually, but not always) compose the functions you're passing into filter and map and use reduce instead to do both operations in a single pass. (Edit: This is a big point in the article -- apologies, I hadn't finished
663.
▲
by
sli
7y ago
What you're suggesting is eugenics.
664.
▲
by
sli
7y ago
Firefox and uMatrix[0], and then never go to those sites again, because you won't be able to use them anyway. Whether or not you want to contact the owner of the site and tell them what's up is up to you. [0]: https://a
665.
▲
by
sli
7y ago
Google really, really does not like people who use Firefox and/or a VPN.
666.
▲
by
sli
7y ago
Or any job that requires creating documents or spreadsheets, managing inventory, and so on and so forth. A small business might start out doing these things on a mobile device, but a some point you just are not going to be productive trying
667.
▲
by
sli
7y ago
> non-technical Do non-technical users typically do a lot of actual work on their mobile devices? Ask a developer to write a full software suite on a phone and you'll get basically the same response that you're describing, just
668.
▲
by
sli
7y ago
Windows 8.1 was absolutely determined to convince me that my brand new i5 was incompatible with Windows 8.1. MS hasn't stopped with the incompatibility garbage.
669.
▲
by
sli
7y ago
Swiftkey has a "tap map" screen[0] that shows the adjustments it's made. [0]: https://i.imgur.com/q42xiqg.jpg
670.
▲
by
sli
7y ago
My dad always questioned me downloading music off Napster during high school, but fast forward to the past couple years, and he's coming home from work with 1Tb external drives filled with pirated movies given to him by a coworker. Tha
671.
▲
by
sli
7y ago
I would really love to enjoy TypeScript, especially now that they've added HKTs, but I am constantly running into type errors when the types clearly match, leading to weird workaround code where the type of some key in some object is s
672.
▲
by
sli
7y ago
I did something similar to this many, many years ago with C just for fun. https://gist.github.com/sli/718436
673.
▲
by
sli
7y ago
Old, esoteric systems also require knowledge of the system, which can be practically impossible to get from the outside. This is why learning COBOL in 2019 probably won't get you a six-figure job maintaining old bank mainframes. You ma
674.
▲
by
sli
7y ago
When I played during a previous free fly weekend, I initially spawned in much the way you describe, then died and respawned in a completely different location (a city of some kind) with no indication of what I should be doing, and no map to
675.
▲
by
sli
7y ago
> with no expectation of getting a return on investment out of it Is this in reference to using it to get to work or something? They would be correct to not expect a return from investing in a depreciating asset.
676.
▲
by
sli
7y ago
What does any of this have to do with a Chinese developer in China? This is just whataboutism.
677.
▲
by
sli
7y ago
When I was looking for one of the poems mentioned, I found what appears to be a sample test[0] (or perhaps one of the past tests the author mentions) with the poem and questions about it. I figured some of you folks might like to take a loo
678.
▲
by
sli
8y ago
Should it not be called F7? Like i18n and k8s?
679.
▲
by
sli
8y ago
That, and "just go contribute" is really just a cop out answer. Users can desire features without it requiring that they learn to develop software. And really, does anyone want brand new, fresh developers contributing to a privacy
680.
▲
by
sli
8y ago
> We have significant, long term, data that age restrictions reduced the use of alcohol and tobacco. Asking for a user's age and giving a dropdown that lets the user select any age they like is in no way comparable to checking an ac
681.
▲
by
sli
8y ago
SQLite is good quality software, and very heavily tested. There's nothing wrong with using it so long as you don't outright misuse it, and they are clear about when you shouldn't be using it.
682.
▲
by
sli
8y ago
> ...the creators of the open source browser Chrome, ... This assumption is a mistake the author is making. Chrome is, for all practical purposes, closed-source and proprietary. It's Chromium that is open-source. So far as I know,
683.
▲
by
sli
8y ago
It's not just April Fool's, either. Antd got into a bit of hot water late last year because it was discovered that they included a Christmas theme that got automatically enabled on Christmas and didn't tell anyone about it.
684.
▲
by
sli
8y ago
Yes. jQuery's `.unbind()` can do it easily, but doing it in vanilla JS is a bit different[1]. You essentially clone the node and swap the clone into the original node's spot. This also clears all event handlers for any child nodes
685.
▲
by
sli
8y ago
Are you implying that a Javascript redirect loop -- something fixed by simply closing your browser -- is actually harming people in some way? Minor annoyance is not harm.
686.
▲
by
sli
8y ago
This website does not ask for your location, OP pretty clearly has malware on their phone. This site uses a measly 150 lines of JS and none of it involves location. Feel free to see for yourself: https://news.ycombinator.com/
687.
▲
by
sli
8y ago
If your account is downgraded automatically, Github will extort you for access to your private repositories. You don't get the option to just set them to public and stay on the free tier, Github simply forces you to pay up to get them
688.
▲
by
sli
8y ago
Larry Wall studied linguistics, so that's an apropos (and fun) question, I'd say.
689.
▲
by
sli
8y ago
> What IF thanks to trackers insurance prices drop by 10x ? Corporations will never, ever be in the business of making less money.
690.
▲
by
sli
8y ago
That type reductive reasoning can be trivially applied to any proposed solution (for nearly any problem). You can't really force anything, eventually you just have to accept that some folks won't go along with it, and let them mak
More ›