1,043 karma · joined Mar 20, 2014 (12y ago) · 132 submissions
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 8y ago · link · parent
The Rust program was not a faithful reimplementation as the author concedes. I expected a more closer comparison given the somewhat broad title of the article. Claiming the perf benefit came out of the thinking encouraged by the language is okay but debatable.
comment 8y ago · link · parent
One of my pet peeves with several "newer" languages that I've looked at is that users don't usually talk about the ugly parts. You can try out C++ for a week visiting forums and r/cpp and you find out fairly quickly what the pain points are and what typical workarounds look like. At that point, it is up to you to decide to what extent you can live with those downsides and where to tread lightly. Same for C, Python, OCaml etc.
To be clear, I don't mean that you should go looking for the bad parts in a language but I do believe you should be aware of them before you invest a lot of your time in it. Unfortunately, a lot of the language love blog posts do not talk about the pain points of the language and what kind of problems it isn't well suited for.
I like Rust and I love several features that Bryan talks about (algebraic data types being one of them) but I would love to read a more balanced evaluation of the language - focusing on aspects which are rough around the edges and expected future improvements.
comment 8y ago · link · parent
I suppose union based type punning makes the intent a little clearer (vis a vis memcpy) but that's a weak argument at best.
comment 8y ago · link · parent
I could understand Facebook/Google/BigCo. doing so when the data in question might be internal implementation/tech but the trend is far more prevalent.
Sharing experiment data/parameters would not only help people verify your results but also help students learning how to design and carry out experiments.
comment 8y ago · link · parent
18.
Ask HN: Health and Medicine book recommendations
2 points · by gshrikant · 8y ago · discuss
19.
Pledge and Unveil in OpenBSD [pdf](openbsd.org ↗)
125 points · by gshrikant · 8y ago · 34 comments
20.
The Really Big One (2015)(newyorker.com ↗)
1 points · by gshrikant · 8y ago · discuss
comment 8y ago · link · parent
Second, while I appreciate the opt-out option, is it here to stay or is it a fallback mode until the entire site is flipped over to the redesign? I can't imagine the former being the case - having two teams maintain two fundamentally different UIs doesn't seem viable in the long run. If so, to what extent is the rollout of the redesign influenced by the number of people opting out or the opt-out feedback?
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
Python is excellent at being intuitive and readable for the original programmer or when you’re skimming the code looking for broad logic.
Not so much for the maintainer. The programmer needs to keep a lot of state in their head to make up for the type system. If you don’t have good tests, it is even harder.
comment 8y ago · link · parent
After writing I run `post.sh` with the file as the argument. It invokes a Python script which generates the HTML and puts it in a directory for published posts sorted by date/month/year (e.g. published/2018/01/29). The Bash script generates a directory/link listing and an index page for the blog roll, followed by a "git push".
comment 8y ago · link · parent
The tricky thing is also the fact that Google does not inform the user that it is prioritising the faster loading pages instead of the pages with the most accurate match. This is a little dishonest too.