Recent submissions

Comment · 8 years ago
I remember when my mom's machine started sending spam with my name in the address field. Clever Trojan.
Comment · 8 years ago
Parsing C++ is a nightmare....
Comment · 8 years ago
Yep- I'm actually a pretty old hand when it comes to git, and I know most of what git can do, but... I'm lazy, so when I use git at the command line I do caveman git. Magit lets me remain lazy and do subtle git things,
Comment · 8 years ago
No... I mean I hear you about not liking emacs/vim/evil-emacs. I happen to like evil-emacs, but I can see why other people would prefer VSCode. That's a matter of taste, and I won't tell people to switch.

But when it comes to magit I'm not so sure. I'm inclined to think that magit is _strictly_ better than any other git interface, so much so that even if you don't like emacs you should suck it up and use magit as your git porcelain, even if you use a different editor for everything else. Magit is that good- I just gave $100.00 to the project, and I never donate to open source stuff. It is that good.

Comment · 8 years ago
It's an interesting award. Walter Duranty won a Pulitzer for denying the holodomor, and he was awarded a Pulitzer for his work, a Pulitzer that the Times has yet to address.

The reality that Duranty denied was comparable to the holocaust. Hundreds of thousands, maybe millions, of people died and the Times apologized for it.

Comment · 8 years ago
Awards could be made to matter, I suppose, but if they are simply a matter of culture war signaling I'm not inclined to take them very seriously.
Comment · 8 years ago
Note that the linked story is _about_ the fact that a female philipino undergrad won a Pulitzer, but does not explain much about about the story she reported on that won a Pulitzer

I'm not arguing that she shouldn't have won a Pulitzer for her reporting if her reporting were genuinely worthy of a Pulitzer (it wasn't, but that's another story,) but... srsly?

Comment · 8 years ago
I've been thinking about striking out on my own, having both run a contract software business and worked for a startup recently.

I'm inclined to think that the best way to find fit is to make sure people are willing to _overpay_ you for services. For instance, I have a great deal of expertise when it comes to graphics, and I could probably insist on being overpaid in this realm.

If I could automate what I am overpaid for at scale I might have a business.

Comment · 8 years ago
Yep- I was reminded of how much I like magit by this thread so I just made a $100.00 donation to its development. I hope it inspires other people to at least give magit a try (if I'll donate that much it must be good, right?)
Comment · 8 years ago
There's an old joke: "Emacs is a great OS, but it lacks a decent text editor." Only vi users are allowed to tell that joke with a straight face, IMHO.

Evil-mode solves that, and just as magit is better than git evil-mode seems, to me, better than vi. Emacs is better than ever (though you do need to use auto-formatting for languages like JS that change a lot- there is no emacs mode that has kept up with ES whatever. Luckily emacs makes it easy to use formatters like prettier on a per-buffer basis.)

Comment · 8 years ago
I'm an evangelizing convert to Prettier. I was hesitant about it until I tried it, but... I am sold on it now. Prettier has costs- there are cases where I'd like to format things based on semantics not syntax, to show intent, and Prettier can't read my mind (feature request: make Prettier read my mind.)

But the costs are more than offset by the benefits. I didn't realize how much of a cognitive burden thinking about formatting was until I stopped thinking about it, and it turns out that using formatting to signal intent is perilous when people don't agree on how formatting signals intent.

I'm pushing to have Prettier used across all our JS code- there is some resistance to the idea of running it across a several hundred k line non-prettified codebase and some resistance to the idea of using it at all. And this causes problems. Prettier is best when you use it for everything.

But I'm pretty sure we'll eventually just move to prettification. It seems like the right thing to me, and I'm generally right ;). Anyway, thanks for Prettier- I am not actually a huge JS fan despite mostly writing it professionally, but Prettier does away with some of my complaints about JS, and just generally makes my life easier.

Comment · 8 years ago
I keep hearing good things about VSCode. If I weren't essentially married to emacs I'd definitely try it out. I'm not sure I'd recommend emacs to everyone at this point, though I think it remains a really solid choice of editor/OS for people willing to get over the learning curve and put up with a bit of clunkiness.

Re the git stuff though- one place that I'm pretty sure emacs is the uncontested champ is in git integration via magit. I'd be inclined to recommend using emacs as their git interface even to people who want to use a different interface for everything else. It is that good, and IMHO the only git porcelain that is strictly better than the standard git porcelain.

Comment · 9 years ago
Interesting. I prefer to write in high-level strongly dynamically typed garbage-collected languages when I can.

But of course I can't always do so and get the performance I want. My approach is generally to prototype in languages like Python, but implement in C89. See: https://www.youtube.com/watch?v=WNTOpl30MIQ . That's 10s of thousands of times faster than our initial prototype and...

We profiled all sorts of things in order to make it that fast. Right down to cache misses, branch mis-prediction, etc, how concurrency on the CPU interacts with I/O.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton