Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cbarrick
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
241.
▲
by
cbarrick
6y ago
There is no such thing as GNU sudo. The homepage for sudo is https://www.sudo.ws/ It is licensed under an ISC style license.
242.
▲
by
cbarrick
6y ago
For context AVIF is to AV1 what WebP is to VP8. It's an image format based on the keyframes of the AV1 video codec.
243.
▲
by
cbarrick
6y ago
The official docs say the same thing in fewer words: https://docs.python.org/3/library/functions.html#print I definitely recommend the official Python docs. They are well written, and you'll find lots of usef
244.
▲
by
cbarrick
6y ago
Reminds me of Dijkstra's aphorism: > "The question of whether machines can think is about as relevant as the question of whether submarines can swim."
245.
▲
by
cbarrick
6y ago
Isn't `sizeof(bool) == 1` on most C99 compilers? Having bool be 4 or 8 bytes is ridiculous.
246.
▲
by
cbarrick
6y ago
The input format is json? How do I generate that from a git log?
247.
▲
by
cbarrick
6y ago
This is very broken on Firefox on my machine. Everytime I click a key, it loads up a blank white page with a constant tone in the background. I have to refresh to fix it up.
248.
▲
by
cbarrick
6y ago
> not even much to do with computer science That is very debatable. Lambda calculus is a BFD in the subfield of programming languages, which is the topic at hand.
249.
▲
by
cbarrick
6y ago
Trampled by Unicorns is the book referenced by the article. This article appears to be PR for the book.
250.
▲
by
cbarrick
6y ago
You have to explicitly enable UBSan checks: -fsanitize=signed-integer-overflow See the UBSan docs: https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
251.
▲
by
cbarrick
6y ago
For comparison, there are only 10^80 atoms in the universe.
252.
▲
by
cbarrick
6y ago
Google moved a lot of their open source projects to GitHub after they shut down Google Code. That was before the MS acquisition. You can find a lot of smaller projects at https://github.com/google , and obviously there are s
253.
▲
by
cbarrick
6y ago
The article recommends `.DEFAULT_GOAL := help` which causes make to display the help message when the user doesn't specify a target. But this breaks the classic incantation: ./configure make make install
254.
▲
by
cbarrick
6y ago
Maybe instead of "a slow regex matching algorithm" you could just say "a backtracking algorithm". And instead of "a fast regex engine" you could say "a linear algorithm". That way it's both more
255.
▲
by
cbarrick
6y ago
The paper Regular Expression Matching Can Be Simple And Fast [1] has a time complexity plot that clearly shows how backtracking engines are more exploitable than finite-automata engines. [1]: https://swtch.com/~rsc/re
256.
▲
by
cbarrick
6y ago
The multiple implementation story of Rust isn't as great as some older languages, but it's getting there. There are at least two e2e implementations of Rust: - rustc, the reference implementation. - mrustc, an alternative written
257.
▲
by
cbarrick
6y ago
It's not about removing the MS branding. MS does not allow their branding to be distributed in unofficial builds. So if you want a custom build of VS Code, you are required to swap out the branding.
258.
▲
by
cbarrick
6y ago
Conda is a great tool. But it forks the ecosystem, twice: First, Conda packages have to be maintained separately from PyPI packages. Second, the "default" repo is maintained by Anaconda, but the community maintained Conda Forge re
259.
▲
by
cbarrick
6y ago
> As far as I know the only language making static binaries easily is Go, but it was a first class language design principle. Rust does this as well. The official high level build tool, `cargo`, uses a declarative TOML file for dependenc
260.
▲
by
cbarrick
6y ago
The number of "inmates currently Positive for COVID-19" is 1,112, not 4,439. I think you're counting tests, not people. Those numbers double count inmates who receive multiple tests, and it's likely that those who have t
261.
▲
by
cbarrick
6y ago
Relatedly, are there challenges or benefits to reading diffs in this model?
262.
▲
by
cbarrick
7y ago
I hope this doesn't mean hub is going away. For those that don't know, hub is a command that extends git with GitHub specific features. It has most of the features of gh AFAICT. Unlike gh, hub a drop-in replacement for git, so you
263.
▲
by
cbarrick
7y ago
> "why x?" To be fair, the language is developed by Cray. So my instant assumption to the question "why Chapel?" is "because programming supercomputers is hard". > I guess it's fine if they never wan
264.
▲
by
cbarrick
7y ago
If you're a fan of markdown, take a look at reStructuredText (RST). The syntax is very similar to markdown, e.g. italics , bold , and ``code``, but includes things that are inextricably missing from markdown, like definition lists,
265.
▲
by
cbarrick
7y ago
"Old Reddit" refers to the web UI before the redesign, which is still available at https://old.reddit.com/
266.
▲
by
cbarrick
7y ago
That first post is what Linus is responding to. The second post was really educational for me.
267.
▲
by
cbarrick
7y ago
"Head" is a vague term. His exact title was "Director, International Relations".
268.
▲
by
cbarrick
7y ago
It doesn't seem to be as simple as downloading a binary. We (those who read HN) could probably download the code and run it at home, but I think the authors want non-technical users to play. To do that, they need an accessible Python r
269.
▲
by
cbarrick
7y ago
That article "Pratt Parsing and Precedence Climbing Are the Same Algorithm" is excellent. Though Andy has a later article where he clarifies that Precedence Climbing is a special case and is more popular than general Pratt Parsing
270.
▲
by
cbarrick
7y ago
To be fair, tail calls don't require stack frames. If it's just a matter of keeping up with the bounds of the partitions, I can see that being done in constant space.
More ›