HNHacker News
TopNewBestAskShowJobs

shurcooL

3,365 karma · joined November 8, 2012

I seek a better understanding of the world, so I can help make it simpler and better. I enjoy writing correct, high-quality Go code. Minimalist.

https://dmitri.shuralyov.com/about

submissionscomments
shurcooL··on An Update on Bradfitz: Leaving Google
All of the Go commits are public, you can look at them for yourself:

• https://github.com/golang/go/graphs/contributors

• https://github.com/golang/build/graphs/contributors

Brad also once gave a lightning talk about HTTP/2 that had 80+ slides in 5 minutes. He’s very fast.

shurcooL··on What is music? A unified theory of music and dreaming
Perhaps I shouldn’t have said “I don’t see at all” because that’s an exaggeration. I see some connection, e.g., listening to music can feel “enjoyable”, just not “very strong emotions that lie outside the range of their normal everyday emotions”.

As an example, here’s a random song that has a nice beat and I enjoy listening to: https://www.youtube.com/watch?v=xY-4-O7GetQ. What kind of “strong emotions outside the normal everyday range” can one feel when listening to it?

I agree certain rare songs can instill strong emotional responses, but that isn’t the case when just listening to random music that sounds good for the first time.

shurcooL··on Is Git Irreplaceable? (2019)
> Google's `repo` command is a wrapper around Git that treats a set of smaller repos like one big one, but it's a (very) leaky abstraction.

Could you please provide a link to it? I’m very interested in seeing this command, but ironically it’s not a name that’s easy to google for.

Edit: I was very wrong, searching for “google repo command” displayed https://gerrit.googlesource.com/git-repo as the very first result.

shurcooL··on Implementing WebGPU in Gecko
WebGPU to WebGL is like Metal/Vulkan to OpenGL.
shurcooL··on Having Kids

  * less productive
  * less time for your ideas
  * less ambitious
These points may or may not be true depending over what timeframe you measure.

If it’s your own lifetime, sure. If you measure your productivity over the next 300 years as what you plus your transitive offspring accomplish, it’s possible having kids is a huge boost to your aggregated productivity.

shurcooL··on Show HN: GoCode.io – A Golang Game in the Browser
Yep. Based on the hint for that question, I expect this is the "normal" solution.
shurcooL··on Show HN: GoCode.io – A Golang Game in the Browser
Not to discount your point, but I want to offer my opinion which is different.

I had fun _because_ it was more constrained. But I also like Go.

As an example, I solved level 6 in what I understand to be an unconventional way:

(spoiler alert)

I realized I could “get out” of readCodesFromKeypad function scope by ending it early and then writing the start of another top level function. Once I had access to global scope, I could add an init() function to modify the “crypto/rand.Reader” variable and assign to it an io.Reader that I could control. I was on mobile so I decided to take a shortcut and just overwrite the global passcode variable instead.

(end spoiler)

I may have “cheated”, but it felt creative and in spirit of the game, and it got me to the next level.

shurcooL··on Twitter lets you use 2FA without a phone number
I'm glad this happened; I've been waiting for more than 5 years for this.
shurcooL··on A lone wolf's miles traveled in northern Minnesota
96.5 MB GIF ahead warning.

(I'm both impressed and scared of how I used up 1% of my generous mobile data plan in about 5 seconds by clicking 1 link.)

shurcooL··on John Carmack: I’m going to work on artificial general intelligence
I wanted to find some discussion on this topic. I’m not pessimistic, but I am curious to consider what it may mean for humanity if/when AGI happens.
shurcooL··on Lesser Known Coding Fonts
So glad to see Go Mono mentioned here. I'm a happy user for many years now.
shurcooL··on Coffee Is Hard
This seems like a high quality article and has many upvotes, but I found it hard to read, and unfortunately ads made it even harder, so I couldn't get through it. I wonder if I'm in the minority because I don't use an ad blocker?
shurcooL··on Things you probably don't know about Go (2012) [slides]
This is a talk from 2012, so I believe the title needs a “(2012)” suffix according to what I’ve seen in the past on HN.
shurcooL··on An Ethical License for Open Source Projects
There was what I thought an insightful twitter thread on this license at https://twitter.com/chimeracoder/status/1175896685505056769?....
shurcooL··on Apple Card launches today for all US customers
It might be desirable for some people if there is an option for a minimalist card. One that offers the following features:

• can make purchases with it; no fees (when you pay it off on time)

Without any of the following:

• rewards, deals, special offers, other gimmicks and spam

Maybe the Apple Card will be an interesting option for people looking for something simpler and aren't trying to maximize the rewards.

shurcooL··on Apple Card launches today for all US customers
To add another data point, I had no problems making the first purchase with it (or any purchases since).
shurcooL··on Advice to my younger self: become allergic to the churn
Thank you for sharing, I really enjoyed this talk. I somehow missed it when it happened.
shurcooL··on I wanted to punish my daughter with a no-frills phone but it didn't go to plan
One party trick some people miss about me is that for a number of years I carried around an iPad mini (with cellular) in my front jeans pocket. It was my primary and only mobile device. It was somewhat more inconvenient than a smaller phone, but not by as much as one would expect it to be. Having its bigger screen was an advantage in many situations though.

I downsized to a large phone a year ago (partly because Apple neglected the iPad mini and I gave up waiting for a better version to come out).

shurcooL··on iMessage: Malformed Message Bricks iPhone
Do you know why is the upstream bug in "New (Open)" state, if it's fixed in currently released versions of iOS/macOS?
shurcooL··on Kuo: Apple to include new scissor switch keyboard in MacBook
> Oh and the escape key… long remapped to caps lock. If I really need caps lock, fn + caps lock key toggles it.

I've remapped escape to caps lock too, but how do you get fn + caps lock to toggle caps lock?

shurcooL··on Pro Display XDR
The “See Pro Display XDR in AR” feature on the website was a compelling demo of using AR for getting a better sense for a new product.

Looking forward to seeing more in-depth reviews and hands-on experiences about these.

shurcooL··on What's New in DevTools (Chrome 76)
I didn’t know there’s a built-in dark theme. Thanks, I’ll use it.

By “Dark Mode support”, I was primarily referring to the behavior where an app automatically switches between light/dark theme based on the macOS system-wide Dark Mode setting. Having a dark theme is very close, but it requires the user to switch to it manually (and also requires knowing that it's possible to switch; case in point, I didn't even realize DevTools had its own separate theme).

shurcooL··on What's New in DevTools (Chrome 76)
I’m still waiting for Dark Mode support in Chrome DevTools. It’s one of the last things I use that doesn’t support it yet, and it’s very jarring at night.
shurcooL··on I can see your local web servers
> It is not sufficient security to only bind to 127.0.0.1 (the “loopback interface”)

What would be a better, more secure thing to do when you have multiple web servers on one machine behind a SSL-terminating reverse proxy?

shurcooL··on Ian Lance Taylor's Response to “Go Is Google's Language”
It loads okay in an incognito window for me. Are you sure logging in was mandatory? It should only be needed if you want to post to the mailing list.
shurcooL··on WebAssembly Micro Runtime
My guess as to why it’s mentioned so much is that the general expectation is that many people haven’t seen it yet. When people do watch it, they’re surprised by how much good foresight there was, and so they repeat the cycle.
shurcooL··on Have a personal web site
For more reasons why this might be a good idea, see https://indieweb.org/why.
shurcooL··on Everyone’s Income Taxes Should Be Public
It’s not a very reliable defense. I wouldn’t want to have to rely on only it.
shurcooL··on Goldman Sachs will open-source some of its trading software
This makes me have second thoughts about getting the Apple Card, not sure I want to support this company after that.
shurcooL··on I tried creating a web browser, and Google blocked me
> the open source browser Chrome

That doesn’t sound right. It should either say “open source browser Chromium” or “closed source browser Chrome”.

Page 1 of 34Next →