Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hgs3
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
hgs3
2y ago
Very cool. You can control the paddle with the mouse by holding left click. I missed that my first playthrough and used the arrow keys.
122.
▲
by
hgs3
2y ago
> This seems like it's too hard to tell friends/family. It's an opportunity for someone to write an "adblock fixer" app for the non-technical market.
123.
▲
by
hgs3
2y ago
Not to downplay it or anything, but I'm curious why webgpu is receiving so much attention? There have been many low-level cross-platform graphics abstractions over the years. The bgfx [1] project had its first commit ~12 years ago and
124.
▲
by
hgs3
2y ago
> I would also like to point out that CUDA and rocM are also considerably easier to write than the Vulkan equivalents I agree that Vulkan has more boilerplate, but I think that's because Vulkan is an open standard and makes fewer as
125.
▲
by
hgs3
2y ago
Please don't misinterpret this as gate keeping, but Vulkan is designed by and for professionals (not hobbyists). It is certainly not a rapid prototyping tool. Vulkan and OpenGL aren't comparable because Vulkan isn't merely a
126.
▲
by
hgs3
2y ago
It’s ok. I enjoyed Left 4 Dead and Deep Rock Galactic more. The game lacks content compared to those two, but that’s to be expected as its only been out a short while. Its theme feels like a homage to 1997’s Starship Troopers which gives it
127.
▲
by
hgs3
2y ago
This looks nice and oddly nostalgic. One bit of feedback: each time I toggled the checkbox I expected the checkmark to look slightly different, as if it were being redrawn by hand each time. Adding some "noise" might be a neat fea
128.
▲
by
hgs3
2y ago
The interface looks very clean. Would you mind sharing a bit about the tech behind it, assuming it isn't a proprietary secret? At first glance it looks like a C# .NET application.
129.
▲
by
hgs3
2y ago
I wouldn't dismiss MISRA C so quickly as its guidelines may prove useful when deriving best practices for unsafe Rust.
130.
▲
by
hgs3
2y ago
> Problem is nobody is offering good alternatives. You can find alternatives, but no politician wants to run experiments proving or disapproving them. They'd rather argue them instead. Why not follow the scientific method and run a
131.
▲
by
hgs3
2y ago
> Well you can, but then by definition they would no longer be open source. Why?
132.
▲
by
hgs3
2y ago
> Question: is C gaining in popularity? Did C ever go away? The computing industry is built on C. It is the foundation underpinning everything. > Are their good reasons to be using C in product development rather than more modern lang
133.
▲
by
hgs3
2y ago
This is neat, but I'm wondering how well the authors approach will map to animated 3D models. I'm guessing, at best, it might look something like the "Voxel Doom" mod for Doom [1] [2]. [1] https://media.moddb.
134.
▲
by
hgs3
2y ago
Namespaces are nice, but to my knowledge require name mangling which isn't a thing in C. I'm curious what you mean by "clean up the code significantly" and "confusing code paradigms" because in C you typically
135.
▲
by
hgs3
2y ago
> Please don’t ruin C. Exactly this. C++ folks should not approach C like a "C++ lite". I appreciate the authors candid take on the subject. As for defer, there is some existing precedent like GCC and Clang's __attribute
136.
▲
by
hgs3
2y ago
For anyone interested in prototypal inheritance you might checkout Io [1] and Lua [2]. Interestingly enough the "Object.create" function that Crockford suggests in 2008 was already how Io worked in 2002 with "Object clone&quo
137.
▲
by
hgs3
2y ago
For me Ubuntu and Fedora give me nostalgia for Mac OS 10.5 and earlier. They remind me of that pre-iPhone era when software was shared via websites, when code signing and developer accounts hadn't become a thing yet, when the App Store
138.
▲
by
hgs3
2y ago
Depends how you define "good". I consider this concurrent GC algorithm [1] to be "good" and it can be implemented in a few hundred lines of C. I'm going to disagree with the article and say GC's aren't &qu
139.
▲
by
hgs3
2y ago
Aren't in-game ads old news? Sports and racing games have had them in the past. Even a shooter game like Quake Live had them for a time. And they're all over mobile games. The article makes reference to "next generation of in
140.
▲
by
hgs3
2y ago
Cmkr appears to be a TOML wrapper around CMake. At its current stage of development it only appears to be wrapping the most basic features of CMake (registering binaries and such). Just my two cents but most of my time spent with build sy
141.
▲
by
hgs3
2y ago
> memory allocation takes a ton of time Depends how you define "a ton of time". Good general purpose memory allocation algorithms, like the TLSF algorithm [1], guarantee a O(1) bounded response time suitable for real-time use.
142.
▲
by
hgs3
2y ago
How does this compare to the official Unicode compression schemes? [1] [2] [1] https://en.wikipedia.org/wiki/Standard_Compression_Scheme_fo... [2] https://en.wikipedia.org/wiki/Binary_Ordered_Compr
143.
▲
by
hgs3
2y ago
> seems clients have a knack for asking for the most complicated way of doing things Sometimes clients don't know what they want. Sometimes you have to show them. “If I had asked people what they wanted, they would have said faster
144.
▲
by
hgs3
2y ago
Oof I just built a new client contact form for my company. The reason I used a form over email is because (1) a form feels more impersonal so I feel less guilty about not responding to potential clients I have no interest in conducting busi
145.
▲
by
hgs3
2y ago
For a time the "Adam and Eve" twist ending was actually overused in many science fiction stories so much so that it is now pejoratively discussed in books on writing [1]. [1] https://en.wikipedia.org/wiki/Shag
146.
▲
by
hgs3
2y ago
It's good to have options. This is just my opinion, but I'd recommend moving the next/previous page links to the bottom. With the current design once I'm done scrolling through the links I have to reverse scroll back to
147.
▲
by
hgs3
2y ago
It's a tradeoff. Alternatives like exception handling make control flow less obvious and shorthands like the ? operator lock you into a specific return type (Result<T,E> in the case of Borgo or Rust).
148.
▲
by
hgs3
2y ago
According to the Law of Supply and Demand if there is a low supply of AI talent and a high demand from Google, then Google is supposed to compete for that talent, e.g. raise wages, offer more benefits, more sick time, etc. As the article st
149.
▲
by
hgs3
2y ago
Go's semantic use of case is objectively bad because most of the worlds scripts do not have the concept of it. For example ideographs, as used in eastern countries, do not have capitalization. This means programmers in many parts of th
150.
▲
by
hgs3
2y ago
I've written code to do this. If you're lucky there will be a BOM (byte order mark) or MIME type to indicate the encoding form. In this case you know the encoding. If you don't have this information, then you must guess the e
More ›