Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MapleWalnut
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
MapleWalnut
7y ago
It's not just performance! Using percent formatting is superior in many ways: - errors that occur in formatting a message will be logged instead of raising an exception into your application - error reporting services like Sentry can p
62.
▲
Ask HN: Is there an iOS HN client without front page infinite scroll?
1 points
by
MapleWalnut
7y ago
|
1 comments
63.
▲
by
MapleWalnut
7y ago
The title is kind of clickbait. The article says this is near the catacombs, not in them, which makes sense since the catacombs are ossuaries. better title: "Scaleway's data centre in a bunker, 26 meters under Paris"
64.
▲
by
MapleWalnut
7y ago
Maybe in plain JS, but with Typescript this Either pattern will force you to handle errors unlike untyped try, catch.
65.
▲
by
MapleWalnut
7y ago
There's also pydantic, which provides validation using type hints: https://pydantic-docs.helpmanual.io
66.
▲
by
MapleWalnut
7y ago
I’ve found the language server practically useless because of regressions introduced in later versions. This wouldn’t be too bad except the language server auto updates. For now I’ve switched to the default Jedi version which was been worki
67.
▲
by
MapleWalnut
7y ago
I had that experience with Minecraft around 2012.
68.
▲
by
MapleWalnut
8y ago
A comparison with mypy would be helpful.
69.
▲
by
MapleWalnut
8y ago
It's always going to be a matter of economics.
70.
▲
by
MapleWalnut
8y ago
Nuclear power is cost prohibitive. Additionally, it's hard to predict and account for that one-in-a-million catastrophe that creates a nuclear wasteland. The sample size is too small.
71.
▲
by
MapleWalnut
8y ago
You can't merge a branch that is even with another.
72.
▲
by
MapleWalnut
8y ago
I believe with lookahead/behind a regex is technically not "regular" anymore, so you can definitely DoS a regex without GB worth of text.
73.
▲
by
MapleWalnut
8y ago
Don't you need to do the same hacking within CircleCI?
74.
▲
by
MapleWalnut
8y ago
That's the cost of liberty.
75.
▲
by
MapleWalnut
8y ago
I think Youtube Red does something like this.
76.
▲
by
MapleWalnut
8y ago
Fun fact, Fuse.js uses a copy of a Google bitap implementation[0]. They originally[1] mentioned this, but the license was removed[2] when the moved some files around. [0]: https://github.com/google/diff-match-patch/
77.
▲
by
MapleWalnut
8y ago
You can’t do pinch to zoom on macOS, which kills the experience for me.
78.
▲
by
MapleWalnut
8y ago
It glitches out for me when I tab between browser tabs, but that's the only technical issues. I stay for the content.
79.
▲
by
MapleWalnut
8y ago
I wish there was better story for integrating React with Django, so I can use Django for the simple views and React for the interactive stuff.
80.
▲
by
MapleWalnut
8y ago
You can configure DRF permission classes in the interface definitions, so there's some security.
81.
▲
by
MapleWalnut
8y ago
It's the screen size that matters. I can reach the top corners of a iPhone5-sized phone with ease. iPhone6-sized phones require me to strain or give up and use the reachability feature. I don't think I'm alone in this.
82.
▲
by
MapleWalnut
8y ago
Here is the output from the handy `file` BSD utility which gave it away to me (see the comment field). JPEG image data, JFIF standard 1.01, resolution (DPI), density 300x300, segment length 16, comment: "<html><body>&
83.
▲
by
MapleWalnut
8y ago
I do the same with plain text files. The only problem I have is searching. I wish there was a Google for searching local files (i.e. concept search).
84.
▲
by
MapleWalnut
8y ago
Heroku has "private spaces" which will give you a fixed set of outbound IPs, AWS VPC peering, and a firewall via Trusted IP Ranges. Heroku is surprisingly nice as an enterprise customer. https://devcenter.heroku.com