Viewing profile — lpghatguy
lpghatguy
HN member- Joined
- Sat, Jun 10, 2017, 3:17 AM UTC
- HN karma
- 395
- Public activity
- 90 items
- HN profile
- View on Hacker News ↗
About lpghatguy
Recent public activity
-
comment
Comment #48790982
I find it frustrating when people talk about memory safety as “a spectrum.” Yes, there are safer patterns in unsafe languages, but at the end of the day, not having memory safety a…
-
comment
Comment #48445026
Take care here though, because shaders are almost always working in linear sRGB colors, while color codes are almost always defined in gamma-encoded sRGB. This property makes it mi…
-
comment
Comment #48182242
It's the StackExchange model! This has bootstrapping issues, is hard to break into the community, and risks creating moderator cliques.
-
comment
Comment #47567092
I bought the same keyboard when I was a teenager as my first "real" keyboard! These days I have a ZSA Moonlander. I adore it! I love how easy it is to program it without any softwa…
-
comment
Comment #46378672
In my career, I've found that this problem crops up the most when a team is unable to make impactful changes to a system that they depend on. It's so much easier (and requires less…
-
comment
Comment #45527319
Years ago, I introduced Flow gradual typing (JS) to a team. It has explicit annotations for type variance which came up when building bindings to JS libraries, especially in the ea…
-
comment
Comment #44869526
I've long felt that I am face blind. I took the face blindness test with my girlfriend. I scored right in the middle, but she scored better than nine out of every ten people. How a…
-
comment
Comment #44524608
This is very disingenuous: we don't know how much spare time Sascha spent, and much of that time was likely spent learning, experimenting, and reporting issues to Slang.
-
comment
Comment #44503120
Once upon a time, Flash, Java, Silverlight, ActiveX, etc. ruled the web. I think the world is _much_ better off today, with a common language and platform. I don't think those big …
-
comment
Comment #42219018
You might be getting “sampled textures in a single call” with “total textures loaded” mixed up. Sampled texture limits affect complexity of your shader and have nothing to do with …
-
comment
Comment #38739132
gfx-rs hasn't been maintained for several years. The successors are definitely wgpu or Dawn, which are championed by browser vendors.
-
comment
Comment #37244043
It's very funny that you used Bower as an facetious example. It's been deprecated for almost 6 years!
-
comment
Comment #36562835
The CPU-specific intrinsic stabilized a little while ago for cases where you need SIMD on a specific platform at least. A lot of crates like glam seem to only support SIMD on x86/x…
-
comment
Comment #36394629
This is incredibly funny and also brilliant: toss/return is an implementation of algebraic effects!
-
comment
Comment #36394470
This has nothing to do with scrolling. They're fixed CSS rules. They remind me of the tricks we used to have to use for vertically centering things. It seems like these rules are f…
-
comment
Comment #36393879
There's nothing on this site using calc as part of scrolling the content. It looks like the background image is fixed in place with some JS, which is probably the source of the per…
-
comment
Comment #35660440
You can combine the approaches! KTX2, for example, supports "supercompressing" GPU block compressed formats with LZ4 or Zstandard. The project I have been working on ships BCn text…
-
comment
Comment #35450724
There are lots of places, including many national forests, where you can cut your own firewood for free. If you live near the Flathead National Forest in Montana in the US, for exa…
-
comment
Comment #34951550
I am a big fan of unicode.link[1] for inspecting existing strings, searching for codepoints, and comparing how strings get encoded. [1] https://unicode.link/
-
comment
Comment #34044313
Requiring user sign-ins is a little bit different than banning all mention of other social media websites existing.
-
comment
Comment #33086267
Like... the sun?
-
comment
Comment #32473199
Containers are not a great solution for programs that need graphics drivers (games) or quick startup times (command line tools). I've been wrestling with glibc versioning issues la…
-
comment
Comment #31720519
This is needlessly condescending.
-
comment
Comment #30509770
New JS frameworks always make for compelling hello world examples. Can you branch on state or use loops over data in Solid.js? The reason _why_ React has a virtual DOM is to enable…
-
comment
Comment #30369983
Compare this to the error message you get from Rust with the same program though: error[E0277]: cannot add `[{integer}; 2]` to `{integer}` --> src/main.rs:2:7 | 2 | 1 + [2, 3] | ^ …