HNHacker News
TopNewBestAskShowJobs

MapleWalnut

136 karma · joined June 4, 2018

submissionscomments
MapleWalnut··on Scaleway's data centre in the catacombs, 26 metres under Paris
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"

MapleWalnut··on Elegant Error Handling with the JavaScript “Either” Monad
Maybe in plain JS, but with Typescript this Either pattern will force you to handle errors unlike untyped try, catch.
MapleWalnut··on Getting to Know Python 3.7- Data Classes, Async-Await and More
There's also pydantic, which provides validation using type hints: https://pydantic-docs.helpmanual.io
MapleWalnut··on Python in Visual Studio Code – April 2019 Release
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 working reliably.
MapleWalnut··on I miss Facebook
I had that experience with Minecraft around 2012.
MapleWalnut··on Pyright: Static type checker for Python
A comparison with mypy would be helpful.
MapleWalnut··on The Nuclear Option
It's always going to be a matter of economics.
MapleWalnut··on The Nuclear Option
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.
MapleWalnut··on Introducing draft pull requests
You can't merge a branch that is even with another.
MapleWalnut··on Facebook adds 5 divs, 9 spans and 30 CSS classes to every post in the timeline
I believe with lookahead/behind a regex is technically not "regular" anymore, so you can definitely DoS a regex without GB worth of text.
MapleWalnut··on Travis CI acquired by Idera
Don't you need to do the same hacking within CircleCI?
MapleWalnut··on Feds Can't Force You to Unlock Your iPhone with Finger or Face, Judge Rules
That's the cost of liberty.
MapleWalnut··on How would user-centric payouts affect the music-streaming world?
I think Youtube Red does something like this.
MapleWalnut··on Show HN: AutoComplete.js v2.0
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/blob/master/javas... [1]: https://github.com/krisk/Fuse/commit/42b082fb1607ddc74e3d848... [2]: https://github.com/krisk/Fuse/commit/ad2f06a39a483a75e7c697d...

MapleWalnut··on Goodbye, EdgeHTML
You can’t do pinch to zoom on macOS, which kills the experience for me.
MapleWalnut··on AT&T blacks out HBO, Cinemax for Dish, Sling TV users over carriage dispute
It glitches out for me when I tab between browser tabs, but that's the only technical issues. I stay for the content.
MapleWalnut··on React v16.6.0: lazy, memo and contextType
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.
MapleWalnut··on Show HN: Res(ts): Auto-Generate TypeScript Models for Django Projects
You can configure DRF permission classes in the interface definitions, so there's some security.
MapleWalnut··on The iPhone SE was the best phone Apple ever made, and now it’s dead
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.
MapleWalnut··on A file that’s both an acceptable HTML page and a JPEG (2012)
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><style>body { visibility: hidden; } .n { visibility: visible; position: absolute; ", baseline, precision 8, 1000x667, frames 3
MapleWalnut··on Ask HN: How to organize personal knowledge?
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).
MapleWalnut··on GitLab is now running on GCP
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/articles/private-spaces#stable-...

← PreviousPage 3 of 3