News for hackers. Stuff that matters.

Kiuhrly

> This is awesome but with a mere 1000-song database it would be simpler just to run the whole thing on the client

If you have a Google Pixel phone running the stock OS, you already have this! https://support.google.com/pixelphone/answer/7535326?hl=en#z...

Re:Xash3D: An open-source reimplementation of Half-Life on Saturday November 18, 2023 @05:17AM (#38317714)
I think you're right. The 3ds is definitely over minimum spec now that I think about it, especially given that it has a dedicated GPU
Re:Xash3D: An open-source reimplementation of Half-Life on Saturday November 18, 2023 @05:16AM (#38317699)
Nope, non-xl o3ds
It's also not the first time they've ditched macOS and kept linux support: SteamVR dropped support for macOS back in 2020 https://store.steampowered.com/news/app/250820/view/22162780...
Re:“Make” as a Static Site Generator on Sunday September 10, 2023 @09:23AM (#37455596)
Wow, this is almost exactly what I was planning to do for my site. For another small project, I wrote a tiny shell script as a makeshift "bundler" (just embeds the CSS and JS inside the HTML) with the goal of also being able to serve the unbuilt files locally:

    sed \
    -e '/[/][/]script/r index.js' -e '/[/][/]script/d' \
    -e '/    <script defer src="[.][/]index[.]js"><[/]script>/d' \
    -e '/[/][*]style[*][/]/r styles.css' -e '/[/][*]style[*][/]/d' \
    -e '/    <link rel="stylesheet" href="styles[.]css">/d' \
    index.html
The HTML contains something like this:

    <link rel="stylesheet" href="styles.css">
    <style>
    /*style*/
    </style>
and the script just deletes the <link> tag and replaces the /style/ comment with the contents of styles.css. Definitely not my finest work but it worked well enough.
Re:WASM: Big Deal or Little Deal? on Wednesday September 06, 2023 @03:08PM (#37409668)
Another point I haven't seen mentioned much: WASM (in theory, and not including some modern extensions) has perfect, cross-platform, cross-architecture determinism. It's niche but I think it's very interesting.

For example, I've toyed with the idea of creating a game which runs its logic/simulation entirely in WASM with the only input being the controller/keyboard inputs. That way you can create perfectly reproducable replays which could be used for racing games or timed platform games similar to Mario Maker. Then your leaderboard of best times can be properly verified (not accounting for manufactured/edited replays similar to TASs, Tool Assisted Speedruns). You could take it a step further and include previous versions of the game simulation WASM to get backwards replay compatibility, which is also uncommon in games.

Re:Turbo 8 is dropping TypeScript on Wednesday September 06, 2023 @02:34PM (#37409176)
Took me a while to figure out, thanks. "Turbo 8" is a useless search term.