HNHacker News
TopNewBestAskShowJobs

MapleWalnut

136 karma · joined June 4, 2018

submissionscomments
MapleWalnut··on Half a million lines of Go
If you add a link like the following to your page, feed readers should be able to discover your RSS feed

    <link rel="alternate" type="application/rss+xml" href="/engineering/feed/" />
MapleWalnut··on Half a million lines of Go
Excellent, this works perfectly. Thanks!
MapleWalnut··on Half a million lines of Go
It seems like Khan Academy changed their blog to Wordpress and they no longer have an RSS feed.
MapleWalnut··on Pyre: A performant type-checker for Python 3
I've used mypy and pyright. Mypy generally "just works" for all the Python idioms I use, while pyright is less reliable.

Pyright's VSCode integration, Pylance, provides a great auto complete experience. So I use Pyright for autocomplete in VSCode and mypy for type checking.

MapleWalnut··on The Honest Troubleshooting Code of Conduct
Lyft
MapleWalnut··on No-SQL databases are glorified caches
Which NoSQL store are you talking about regarding fast aggregations? I don’t think that’s a property of all NoSQL dbs.
MapleWalnut··on Adoption of Mypy for Python type checking: 45% already use it, 40% don't plan to
Those tools are not re-implementations of mypy, but their own type checkers. Pyre doesn't necessarily have all the features of mypy and vice versa.
MapleWalnut··on Exhaustiveness Checking with Mypy
You can use typing.TypeVar for the `pow()` example. TypeVar was added via the original type hints PEP in 2014.

    from typing import TypeVar

    T = TypeVar('T', int, float)
    def pow(base: T, power: T) -> T: ...
MapleWalnut··on An ex-Googler’s guide to dev tools
GitHub's $4/user/month pricing is very hard to compete against and actually make money as a business. Charging half the price of GitHub for example isn't sustainable.
MapleWalnut··on A case for using punctuation in Slack
OT: this blog could use RSS.
MapleWalnut··on Django Async: What's new and what's next?
Why didn't you use Pydantic with Django if the DRF serializers were too slow?

You can also skip the object serialization from the ORM and work with python dicts directly to significantly improve serialization performance from the database.

MapleWalnut··on Ask HN: Recommendations for a Password Manager
You can purchase a license through the app. I don't think you can get one through the website.
MapleWalnut··on Ask HN: What's the worst piece of software you use everyday?
Intersystems purchased Trakcare, which was developed by an Australian company. They'd love to sell it in the US, but Epic is Intersystems largest customer and they have an agreement to not compete in the US.

Cache is the most archaic and least usable programming environment I've ever experienced. Unit tests are not a thing. MUMPS, which underlies the whole system, is stringly typed. The entire stack is junk, so it's no surprise that Trackcare is either.

MapleWalnut··on A terrible, horrible, no-good, very bad day at Slack
> It’s worth noting that HAProxy can integrate with Consul’s DNS interface, but this adds lag due to the DNS TTL, it limits the ability to use Consul tags, and managing very large DNS responses often seems to lead to hitting painful edge-cases and bugs.

I was surprised how they dismissed HAProxy integration with Consul using SRV DNS records. Can anyone confirm the problems they highlight?

It seems like their service that broke would not be needed if they went the DNS route.

MapleWalnut··on A simpler, more organized Slack
Anyone know how to enable this new UI?
MapleWalnut··on Silly benchmarks on completely untuned server code
Another great post! I'm curious what people would suggest as a tech stack that's not python/gunicorn. Something with a GC, decent ORM, that can replace database-backed services written in Python with similar high level code.
MapleWalnut··on 6 months in and $1k MRR: my biggest mistakes so far
It would be great if you could add an RSS feed to the blog.
MapleWalnut··on A two-person startup already uses twenty-eight other tools
Additionally any deploy will give users a moment of downtime because Heroku only supports rolling deploys on paid dynos.
MapleWalnut··on CleverCSV: A Drop-In Replacement for Python's CSV Module
This project appears to have a dependency on pandas.

https://github.com/alan-turing-institute/CleverCSV/blob/mast...

MapleWalnut··on Facebook and Microsoft Partner on Remote Development
It's the _default_, as they say in the article:

> There is no mandated development environment. Some developers use vim. Some use Emacs. And even more engineers use our internal, unified development environment called Nuclide.

MapleWalnut··on GC Fun at Twitch
off topic: It's annoying how the Twitch blog linked in the article doesn't have an RSS feed. How do people read these blogs without one?

https://blog.twitch.tv/en/tags/engineering

MapleWalnut··on Is GraphQL Still Relevant in an HTTP2 World?
Why wouldn’t you return more data for the REST API instead of making dependent requests?
MapleWalnut··on Bazel 1.0
What languages are you using with Bazel? I have a project that uses Typescript and Python. Are you using Bazel with interpreted languages?
MapleWalnut··on Raising severity to serious for some Python 2 leaf packages with no Python 3
Have you tried https://docs.python.org/3.9/library/2to3.html? It should automate some of the syntax conversation.

You can also write custom transforms with 2to3 but I've found https://pybowler.io is a decent wrapper. I haven't used it for 2to3 conversion though.

MapleWalnut··on Apple Music Web Client
You can create a genius (or maybe it’s called smart) playlist in iTunes that is ordered by recently added. It does exactly what you need.
MapleWalnut··on A database of Facebook users’ phone numbers found online
It's MongoDB Compass, a client for Mongo.
MapleWalnut··on Please Add RSS Support to Your Site
That's a great idea. I would definitely use a service like that.
MapleWalnut··on Uranium Contaminates Water Across California's Central Valley (2015)
I feel your comment isn’t very constructive and is a little demeaning.
MapleWalnut··on Apple contractors listened to 1k Siri recordings per shift: former employee
I've used the same mic array and the provided software isn't great. In fact it's terrible, but ODAS[0] is amazing. It's super accurate, can track/isolate multiple audio sources, and has a web ui to visualize it. They also have config specifically to handle the respeaker and raspberry pi.

[0]: https://github.com/introlab/odas

MapleWalnut··on What's Coming in Python 3.8
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 properly aggregate events

- interpolation won't occur if you don't have the logging level enabled

- it's recommend by the Python docs: https://docs.python.org/3/howto/logging-cookbook.html#use-of...

← PreviousPage 2 of 3Next →