Better HN
topnewbestaskshowjobs
Log inSign up

ncake

70 karma · joined Nov 6, 2021 (5y ago) · 19 submissions

Submissions

comment 1y ago · link · parent

or https://photopea.com

2.

Soviet hexapod robot prototype and computer simulation (1980) [video](youtube.com ↗)

3 points · by ncake · 1y ago · discuss

comment 1y ago · link · parent

Same. I recently tried to find a MIDI keyboard like that for sale and got nothing. Apparently this is what it's called:

https://en.m.wikipedia.org/wiki/Dodeka_keyboard

comment 3y ago · link · parent

I've been using Raspberry Pi 400 as the main desktop for a few months. The idea was that I'd be more productive without youtube and games. That's not as extreme as the OP setup, but the slowdown and freezes unfortunately outweigh the focus benefits.

comment 4y ago · link · parent

"The organizers believe that text compression and AI are equivalent problems."

Are they? Not only interfacing with human-readable media is half of the story, optimizing for size isn't the same as optimizing for context.

comment 4y ago · link · parent

Cool. I wish CMake included an option to use a custom preprocessor like this.

comment 4y ago · link · parent

Still using one as a daily driver to write code and read articles on. (1gb ram, 1.6ghz, Win 7)

It's painfully slow at browsing some websites, but runs VSCode and all of the dev tools just fine. There's some weird pleasure in knowing that if your stuff runs on that, it will run anywhere.

comment 4y ago · link · parent

Those Russians who are on your side are very sorry for your tragedy, but don't feel responsible for being born into a dictatorship. And those who aren't, are vocally unashamed for other reasons.

comment 4y ago · link · parent

If this is a US-only service, it should say so on the website somewhere.

I've also had this experience with e.g. Betterment and Wealthfront. The only way to find out they're US-only is halfway through sign up process, not even anywhere in FAQ's.

comment 4y ago · link · parent

I've had the opposite experience, and everything just works once you install the suggested extensions.

For C++ specifically you just need to create a .vscode/c_cpp_properties.json file to tell the intellisense where to find include folders, which defines to assume, and such.

comment 4y ago · link · parent

This.

"you've got a syntax error at around here: [the entire query]. go consult the manual or something idk"

comment 4y ago · link · parent

I use CMake's FetchContent. It's probably the most universal solution for this out there.

comment 4y ago · link · parent

I use a script I wrote in an hour, which parses nginx access.log and prints last visitors to a "_stats.txt" file.

It's 90% requests made by bots, so I didn't bother making a UI.

comment 4y ago · link · parent

I'll try to explain what I mean. Suppose you want an in game character to change the displayed weapon in their inventory.

Stateful way: your Inventory Manager component iterates through its private array of item entities to mark their model components as shown or hidden, then calls the dependency injected character's avatar component to update its animation state.

Stateless way: you flip an integer in character's struct, and the rendering function does something different.

comment 4y ago · link · parent

Unpopular opinion, but I personally think ECS has no place in C/C++ game dev. Every supposed advantage is either curbed by limitations of the language (e.g. serialization) or can be implemented more logically in a stateless manner.

comment 5y ago · link · parent

It is a very good library, especially for 2d games. ..Just not 100% production-ready out of the box. Some features are lacking (e.g. no stereo audio) or oddly implemented. (e.g. rlgl primitive-dependent texturing)

comment 5y ago · link · parent

In my brief experience in front-end, I've encountered weird Safari bugs on every single project.

In one case the code failed because the form object there doesn't implement the method to validate and submit. In another, it wasn't sending a form field if it was styled with "display: none;" (had to change to "left: -9999px;"). In another, playing a non-muted video would error out some of the time, if clicking an element wasn't recognized as a user event. In yet another, the mobile version refused to center text inside <button> no matter what. And so on.