hn_acc_2's comments

hn_acc_2 | 6 months ago | on: Next.js is infuriating

I prefer this to having app.use / router.use scattered anywhere throughout the app init (i.e. Express)

hn_acc_2 | 2 years ago | on: Linda Yaccarino is the new CEO of Twitter

Success is a lousy teacher. Mr. Musk has been dreaming about his "everything app" i.e. X.com for a very long time. The fact that he thinks the sinking Twitter ship will bring it to fruition is laughable.

hn_acc_2 | 3 years ago | on: Why CVE-2022-3602 was not detected by fuzz testing

There are a limited number of people willing to spend a limited amount of time fuzzing, reviewing, and scrutinizing crypto libraries. The more libraries exist, the more their efforts are divided, and the total scrutiny each library receives decreases. How would this help the problem?

hn_acc_2 | 3 years ago | on: Amazon confirms corporate staff cuts that could hit 10k employees

Actually, among the MAGMA companies I've found the _least_ bias for leetcode-memorization at Amazon.

My interview with Meta was exactly as you described (a CS riddle taken from a textbook, to be solved without running the code or receiving hints). But in my interview with Amazon, each coding interview also included a couple leadership questions. If you want you can look up the exact questions that they'll give you to test what they call their "Leadership Principles"

Also the Amazon coding questions were not taken directly from Leetcode, and were easily reasoned out without prior knowledge of a special algorithm.

hn_acc_2 | 4 years ago | on: Let's Rewrite Everything

Having seen several projects written by people who "happen to know some code," I can tell you there's a good reason this hasn't caught on.

These sort of people can work the very foundations of the company into an ungodly quagmire that would send you screaming back to the fad-chaser dev in a heartbeat.

Also despite the meme, most mid-senior devs are actually keen on making their contributions valuable to the business, having gotten over this phase of fascination with new tools

hn_acc_2 | 4 years ago | on: QOI: Lossless Image Compression in O(n) Time

The difference will be painfully clear once you try to walk a junior developer through installing and linking new files to a large project in Visual Studio, vs "copy this .h file here and include it".

Whether or not a "good build system" should handle it, the fact that single-file libraries are much preferred these days should demonstrate most people don't have such a build system

hn_acc_2 | 4 years ago | on: My First CSS

There is a stigma amongst "real programmers" against "web developers". So a "real programmer" will never become adept at CSS because it doesn't appeal to their ego

hn_acc_2 | 5 years ago | on: What I wish I knew before building a Shopify App

What other packages have you seen abusing import side effects?

Shopify is the first one I've seen, so I don't think it's quite as common as you are implying, but I'm curious to know what other bad behavior you have found

hn_acc_2 | 5 years ago | on: Tesla buys $1.5B in Bitcoin, may accept it as payment in the future

What "moat" does Bitcoin have protecting it from other crypto which may have more attractive features?

It seems to me that it's just the first one that everyone's grandma has heard the name of.

Some journalists will say BTC is just the "most stable" but the fact that it has the most miners is just a consequence of the high price, not the other way around.

As for the technology, what is actually maintaining BTC dominance in the crypto world other than general first mover sentiment?

hn_acc_2 | 5 years ago | on: Alpine Linux 3.13

Unfortunately the Python package ecosystem is enough of a headache.

Now we add additional complication "OK, these pip package authors have upstreamed Alpine packages, and these other ones are only on PyPi".

Maybe this approach would work if you can keep your Python dependencies to a small list of well-maintained packages

hn_acc_2 | 5 years ago | on: Alpine Linux 3.13

If you ask me, installing glibc / compat layers defeats the purpose of using Alpine, especially since Alpine ultimately only saved me ~50 MB on image size versus a similarly configured debian:slim-buster image

hn_acc_2 | 5 years ago | on: Alpine Linux 3.13

I did settle on Debian, using i.e. python:3.9-slim-buster (though you can just as easily start from debian and install your python version)
page 1