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 Vugu: Experimental library for web UIs written in Go and targeting WebAssembly
What version of Go are you using? It sounds like an older one. Try the latest (1.12.x).

The syscall/js API is still in development and undergoing API changes. It’s not stable like the rest of Go’s standard library.

shurcooL··on iPad Pro as Development Machine
Thank you for taking the time to write up and share your experience with this experiment, Fatih. I enjoyed reading it.
shurcooL··on 2FA on the command line
Russ Cos wrote another excellent one:

https://godoc.org/rsc.io/2fa

shurcooL··on I Have 800 Passwords
I can't say it has caught on, but there exist _some_ sites where I can login with my own website. https://indieweb.org is a good example of that.

There are also tools like https://indielogin.com that make it easier to add support for that to your own site.

shurcooL··on The men fighting Florida’s python epidemic
I misread this post as having 1843 points and was very puzzled for a few minutes...
shurcooL··on Programming Fonts – Test Drive
I’m glad that Go Mono made the cut. I’ve been using it happily for a while, despite it being an underdog font.
shurcooL··on More games should be honest about death
Fun can be different things for different people. Games can provide different experiences that some people seek.
shurcooL··on Ask HN: Did you delete your Facebook account in 2018?
Haven’t deleted, but it’s effectively inactive and unused. I’m logged out and don’t check it. Maybe once every few months for a minute.
shurcooL··on Don't use the greater-than sign in programming (2016)
I prefer to use the “5 < x && x < 10” style as well.

I’ve arrived to the same general conclusion independently, which is reassuring.

shurcooL··on Ask HN: Which abandoned proprietary software would you resurrect?
Re-Volt Classic on iOS. It was a very high quality and authentic port of one of my all time favorite childhood games.

They released it in 2012 as a 32-bit iOS app. By the time 64-bit became a requirement for iOS apps, the publisher abandoned it and it never got updated. :(

shurcooL··on 2018 Mac Mini Review
> Unfortunately, we still don’t have any great standalone 5K displays. (The LG UltraFine isn’t.)

What’s wrong with the LG display? It gets a lot of criticism, but I find it hard to understand why. There was an interference shielding issue, but it was fixed more than a year ago.

For anyone familiar with the matter, what is it that makes the LG not great?

shurcooL··on GoCity – Code City metaphor for visualizing Go source code
How does github.com/upspin/upspin compare?
shurcooL··on Using Dark Mode in CSS with MacOS Mojave
Excellent, thanks. I see this is mentioned in the original article too; I must've missed it.
shurcooL··on Using Dark Mode in CSS with MacOS Mojave
Woohoo, I’ve been waiting for this.

Will it be possible to figure out the appearance preference with JacaScript as well?

shurcooL··on Transferring GitHub stars
Yeah, I was aware of the redirects, they're very helpful! It would've been okay to rely on redirects on a temporary basis if my long-term plan was to move everything to the new username. But I wanted the repos to keep their old URL permanently, so that's why I moved them.
shurcooL··on Transferring GitHub stars
To point out what might be obvious: this doesn't transfer _just_ the stars. It simply swaps two repos, which means the issue tracker, pull requests, watchers, forks, projects, etc., also get transferred with the stars.

It's not possible to transfer just the stars while maintaining all the things that you can't directly control.

I did something similar when I decided to change my github username without changing all the import paths of Go packages I had. I changed the username, made an organization with the same name as my previous username, then moved all my repos to the organization. So the URLs of all the repos stayed unchanged. [1]

[1] https://twitter.com/dmitshur/status/1021266582834634752

shurcooL··on Quitting my job has been the best thing I've done for my career
Nice writeup. It's very valuable that you took the time to share a unique experience with everyone.

I've also done a 1.5 year sabbatical, and I can relate. It's both very challenging (to pull off successfully) but also can be very rewarding.

shurcooL··on Google Exposed User Data, Feared Repercussions of Disclosing to Public
I would explain it with sampling bias.

Take 100 people, and suppose 1 of them decides to stop using Gmail, replacing it with a custom setup. 99 decide to stick with Gmail. The 1 person who spent hours on a custom setup is more likely to leave a comment sharing their experience, tips and tricks, etc. The 99 won't have something noteworthy to post about.

End result is you see disproportionally more comments from people who do something drastic and unusual compared to ones who don't.

shurcooL··on Well-Architected Monoliths Are Okay
Upspin is a monolith, I think?

https://github.com/upspin/upspin

Also, my personal site is a medium-sized monolith:

https://github.com/shurcooL/home

shurcooL··on This blog has moved
Thanks for your comment. I’m in NYC and I didn’t realize there was gonna be an event tomorrow. I’ve RSVPed yes and looking forward to checking it out!
shurcooL··on Walmart deploys Oculus Go headsets to train its employees
I think VR would be a great way to practice giving talks, especially in front of bigger audiences, etc. To practice being comfortable in that environment.
shurcooL··on Show HN: Pesky Adblock – Blocks site access to visitors without an adblocker
github.com, godoc.org, gmail.com, golang.org, etc.
shurcooL··on Show HN: Pesky Adblock – Blocks site access to visitors without an adblocker
The adblocker I use is not visiting websites with annoying ads (much). High quality websites tend to not have them.
shurcooL··on Id Software
Commit dates don’t necessarily correspond 1:1 to the dates they became public though, so it might be hard to tell.
shurcooL··on Network.framework: A modern alternative to sockets
I wonder how this can/will affect Go’s standard net package [0]. Will it be able to take advantage of this new Network framework (on macOS)? Or is the framework too high level for the low level primitives net exposes, and will need a new separate API?

Also, personally, I suspect this is another hint of an upcoming transition to ARM64-based Macs. They will only implement these new Apple-specific APIs, not the legacy/deprecated ones like OpenGL.

[0] https://godoc.org/net

shurcooL··on MacOS 10.14 deprecates OpenGL and OpenCL
This thread seems similar to https://news.ycombinator.com/item?id=17231593, which was closed an hour ago as “dupe”.

Main discussion seems to be at https://news.ycombinator.com/item?id=17231442.

shurcooL··on Apple introduces macOS Mojave
Riot probably has enough resources to pay its developers to target Metal on macOS by the time OpenGL is removed (some number of years from now).

It’s the smaller scale developers and projects that might not have have such ability.

shurcooL··on Apple introduces macOS Mojave
You can’t compare them directly, they’re very different categories of graphics APIs. Metal belongs to the category of “modern low-level graphics API” (which also includes Vulkan and Direct3D 12), while OpenGL is an older higher-level graphics API (which also includes Direct3D 11 and previous).

The low-level graphics APIs like Metal and Vulkan allow for much better performance, but they are much harder to use and require more work from the developer (hence, they’re usually used only by game engine makers). Higher-level graphics APIs like OpenGL are less efficient and have lower peak performance, but are easier to use for individual projects and have the benefit of having existing functional code (no need to rewrite a working project).

Also, OpenGL (and its mobile and web variants OpenGL ES and WebGL) are very portable (macOS, Linux, Windows, iOS, Android, both and native and in browsers), while Metal is macOS/iOS-only.

shurcooL··on Deprecation of OpenGL and OpenCL
I would be a lot more okay with this if Apple supported Vulkan, the more portable comparable API, rather than just the macOS/iOS-only Metal.

I also wonder what means for WebGL and its future. Right now, WebGL works in browsers on macOS, Linux, Windows, iOS, Android, which is incredible. There is no equivalent.

Sure, Apple has started working on WebGPU, but that’s not yet ready nor is it guaranteed to gain Linux, Windows, Android support.

shurcooL··on 100% CPU usage in Chrome 67
Glad I'm not the only one, I noticed what felt like the same thing.

Mildly funny: http://instantshare.win/4l78fj71b0j5.png.

← PreviousPage 2 of 34Next →