gopher_protocol

Joined 10 years ago

Karma
48
Submissions
10
Member since
Dec 22
View on Hacker News

Recent submissions

Comment · 3 years ago
I know reading the article is hard, but if you did you'd realize that it was slow because colorization was performed by an extension, and could not be optimized sufficiently because of limitations of the public API. They sped it up by moving it into the VS code core, which allowed it to take advantage of a bunch of features not available to extensions.
Comment · 7 years ago
Beard oil is fantastic for making your beard feel softer and more manageable. For controlling shape, beard balm is generally even better, but I'm still learning to work with it; the one I have is basically a pomade.
Comment · 7 years ago
I've started going to a barber for a full trim/shape once a month or so. Then any trimming I do is kind of as-needed. I think this kind of depends on how your beard grows in and how particular you are about stray hairs. I find that with beard oil/balm, my fly-aways are manageable enough between trims.
Comment · 7 years ago
Comment · 7 years ago
I'm not arguing that Kakoune's way isn't better (I think it probably is). But you can sort of do this in Vim as well, minus the more advanced interactive adjustments:

- :set hlsearch

- Type `/`

- Spend five seconds thinking up a regex that approximately matches the things I want to change

- Hit Enter

- Cycle through matches with `n`/`N`, checking to see if they're what I expected

- If they're not, press `/` then <Up> and edit the regex

- When satisfied, type `:%s//`, enter the replacement you want to make, then `/g<Enter>` to apply the change everywhere

Comment · 8 years ago
He also styled himself as a progressive, and was largely supported by progressives. He specifically took rhetoric from the Progressive Party platform.

Donald Trump bears little resemblance to Reagan or Lincoln, but he is still a Republican. Wilson, likewise, was a progressive - even if he did other things we might consider anti-progressive.

The definition of progressivism, like Republicanism (and conservatism, and liberalism), has also changed significantly in the last century. Prohibition of alcohol, for example, was a central plank of most progressives of Woodrow's era, but it is not considered such now. Likewise, opposition to racial inequality is often associated with modern progressivism, but it was not so explicitly supported by many early progressives.

Comment · 9 years ago
No one is asking for C/C++ style macros, or even C++ templates. Go generics would be closer to Java or C# generics, which increase code clarity, reduce boilerplate and copy/paste code, and communicate intent.
Comment · 9 years ago
I've found another issue where it just removes comments entirely inside an otherwise empty block.

    function doSomething() : int {
      return myPromise
      .then(() => {
        // ...do thing
        /* what */
      })
      .catch(() => {
        // ..do other thing
        /* the heck */
      });
    }
becomes

    function doSomething(): int {
      return myPromise
        .then(() => {})
        .catch(() => {});
    }
Still a very nice pretty printer, though.
Comment · 10 years ago
One of my partner's tasks as a legal assistant is to go through mountains of OCRed PDFs and classify them and extract pieces of data so that lawyers and paralegals can go through them more easily. Do you imagine deep learning would be an appropriate means of automating that, or is it overkill?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton