Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
martinhath
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
martinhath
4y ago
The fact that they're all cubic isn't really the notable part of the runtime of computing the different decompositions, because the constants involved are really different. In practice, a common reason for computing many of these
32.
▲
Entangled: Literate Programming for the New Millennium
(entangled.github.io)
18 points
by
martinhath
4y ago
|
4 comments
33.
▲
by
martinhath
5y ago
> Interestingly, the results of this optimization are well-described by Hoare's Dictum, often mistakenly attributed to Donald Knuth, which states More interestingly, it is not clear at all that it's Hoares. [0] has a nice overv
34.
▲
A neat approximation algorithm
(mht.wtf)
73 points
by
martinhath
5y ago
|
0 comments
35.
▲
by
martinhath
5y ago
> take our bugfix or leave it. Why do you think people should unconditionally accept code into their own codebase? Your wording also suggests that you think the maintainers are somehow leading you on to doing more work. Have you consider
36.
▲
by
martinhath
5y ago
See https://en.wikipedia.org/wiki/Richard_Stallman#Events_leadin...
37.
▲
Making Reasonable Use of Computer Resources: Part 2
(vfoley.xyz)
18 points
by
martinhath
5y ago
|
5 comments
38.
▲
by
martinhath
5y ago
Good post, and a good list. Here's a mind dump on some of the items: Right off the bat: > Well, I'm certainly not a world-class expert, but I have put my 10,000 hours of deliberate practice into programming. Okay, I don't
39.
▲
Dion Systems
(dion.systems)
2 points
by
martinhath
5y ago
|
0 comments
40.
▲
Expanding TeX's \Newif
(mht.wtf)
4 points
by
martinhath
5y ago
|
0 comments
41.
▲
Russian court outlaws opposition leader Navalny's groups
(abcnews.go.com)
6 points
by
martinhath
5y ago
|
0 comments
42.
▲
by
martinhath
6y ago
This [0] mail from Linus might shed some light over this. [0]: https://lkml.org/lkml/2009/3/25/632
43.
▲
by
martinhath
6y ago
Hehe yeah, it's not a great analogy :)
44.
▲
by
martinhath
6y ago
> An extremely simple example is cross compiling. In Rust, usize is dependent on the architecture you're compiling for. A very simple "just compile and run the program, get the answer, and use it" implementation of compile
45.
▲
by
martinhath
6y ago
> a cross compiler can't replicate the architecture-specific behaviour of the compiled code because the target architecture is unavailable or possibly even nonexistent at the place and time the compiler runs. I mean, it can't p
46.
▲
by
martinhath
6y ago
> doing compile-time execution in a sound, safe way is not simple. For example, cross compilation becomes more of a thing. It is easy to accidentally break the type system. Why? I don't think I've ever seen a concrete example o
47.
▲
by
martinhath
6y ago
> Nobody forces beginners to write macros. Beginners are only macros _users_. With time and experience, the need for macros emerges by itself, then learning them is a natural part of the process. But even then, nobody is forced to write
48.
▲
by
martinhath
6y ago
This is a really great writeup! I was using Rust as my main programming language from some months before 1.0 up until maybe early 2019. I have only written somewhere in between 100 and 1k lines of Zig, but generally feel that I agree with
49.
▲
by
martinhath
6y ago
In case anyone is inclined to go read the article, let me (potentially) save you a click with the following excerpts from it: > the last thing many male computer scientists entering the field wanted was to make the field easier to enter
50.
▲
by
martinhath
6y ago
Like C++, they basically seem to take the stance of "no".
51.
▲
Why I Use Suckless Tools
(christine.website)
238 points
by
martinhath
6y ago
|
207 comments
52.
▲
by
martinhath
6y ago
I've been collecting blogs I'm interested in via. HN, lobste.rs, reddit, or just random links all around, and am now at around 50 feeds, all of which at least have once had content that I'm genuinely interested in. Then I use
53.
▲
by
martinhath
7y ago
Denmark is also about 5 times as dense, so one could easily attribute the death number to that.
54.
▲
by
martinhath
7y ago
We don't need to wait two weeks; Sweden has significantly more deaths (110) than any of it's neighboring countries: Norway (25), Denmark (72), and Finland (11). [0]: https://www.corona.cloud/
55.
▲
by
martinhath
7y ago
You criticize Norway for continuing to pump up oil, which you attribute to greed, and then, in the same comment, point out that many other countries don't have the opportunities for renewable energy that Norway (allegedly) has. Do you
56.
▲
Following Up on “Hello World”
(drewdevault.com)
12 points
by
martinhath
7y ago
|
1 comments
57.
▲
by
martinhath
7y ago
Also see slides[0] from a recent course at SIGGRAPH2019 that Steven De Keninck and Charles Gunn held. [0]: https://slides.com/enkimute/siggraph/
58.
▲
by
martinhath
7y ago
Absolutely! In addition, if you've spent a full day on a single commit, it'll show in these stats as a single data point at the end of the day - the fact that you were working for the 8 hours leading up to the commit as well is lo
59.
▲
by
martinhath
7y ago
I think the reason for confusion is that you seem to say that people doesn't even commit their work when they work, but only when they're pushing as well. dchest is (seemingly) asking why don't you commit when you're don
60.
▲
by
martinhath
7y ago
I _think_ I understand the rationale behind `undef` in LLVM, but I still think it's a bad one, since it can, and does, lead to very surprising behaviour. > LLVM propagates the `undef` outward through the expression until the whole c
More ›