HackerLangs
トップ新着トレンドコメント過去質問紹介求人

smcameron

no profile record

コメント

smcameron
·9 日前·議論
He's a mathematician, so what he means by "in general", is "in every possible case", or "without exception", so what I think he means is, "not all bugs will be found by code review." I agree it probably could have been made more clear.
smcameron
·24 日前·議論
Curl Noise[1] is also cool. I've used it to create some gas giant planets for video games [2] though I used opensimplex noise [3] rather than perlin as the base noise, but either will work.

[1] https://www.cs.ubc.ca/~rbridson/docs/bridson-siggraph2007-cu... [2] https://github.com/smcameron/gaseous-giganticus [3] https://en.wikipedia.org/wiki/OpenSimplex_noise
smcameron
·先月·議論
My own efforts in this area amount to creating the game, Space Nerds in Space[1], which is a LAN game in which everyone gathers in a room with their computers, and each computer acts as one of the stations on the bridge of a starship: navigation, weapons, science, comms, engineering, damage control, etc. Multi-bridge is supported as well, so if you can overcome the insurmountable task of gathering enough people together, you can indulge in that luxury. This is in the same genre as such games as Artemis: spaceship bridge simulator and Empty Epsilon, but with the additional hurdle that it's linux only. Good luck mustering enough spacenerds. If there are missing features, well, it's open source, so it's got that going for it, which is nice.

[1] https://smcameron.github.io/space-nerds-in-space
smcameron
·2 か月前·議論
> I don’t know what C++ thinks it’s doing anymore.

C++, when increment becomes excrement, decrement back to C.
smcameron
·2 か月前·議論
Funny enough Adam Savage just posted a youtube video about building a replica of the demon core and the box to hold it. https://www.youtube.com/watch?v=V1Y4UR8xqxA
smcameron
·3 か月前·議論
Ukraine, in operation spiderweb, has already launched drones from containers deep within Russia to damage "... one third of Russia's strategic cruise missile carriers, estimated to be worth $US7 billion ..."

https://en.wikipedia.org/wiki/Operation_Spiderweb
smcameron
·3 か月前·議論
Not to mention the endless stream of marketing emails you'll get forever after.
smcameron
·3 か月前·議論
Similarly, Ben Travers didn't have a delay pedal, so learned to pick the delayed parts on Pink Floyd's "Run like hell" when he was younger, since taken to ludicrous speed: https://www.youtube.com/watch?v=1CY0_HG8J5M
smcameron
·3 か月前·議論
The TI99/4a version of the Logo language which has turtle graphics used user defined characters to implement them. There were only (I think) 128 user definable characters, and when the turtle graphics had redefined all of them to create its output, it gave the user a message, "out of ink".
smcameron
·3 か月前·議論
Interesting... RP2040 seems like maybe a bit overkill for a zero power badge. I've participated in writing some software for an RP2040 powered badge for the RVASEC conference in Richmond, VA, for several years, and the RP2040 is really nice to program for, and is quite powerful. https://www.youtube.com/watch?v=A5ZrHAXCFLA
smcameron
·3 か月前·議論
PRs can contain multiple commits. You need something like stgit to make it easy to make a bunch of small commits that appear to be the work of an omniscient genius who knew exactly what they were doing. Try using stgit for awhile, and you'll wonder how you ever lived without it.
smcameron
·4 か月前·議論
On the "reset"/"stty sane" trick, I also sometimes have found it necessary to press Ctrl-J rather than RETURN at the end of the command.
smcameron
·4 か月前·議論
Something like those switches might be made very cheaply with a 3D printer, possibly a laser cutter, some transparent or semitransparent acrylic sheet, tactile switches and some LEDs. I designed a cheapo replacement for $50 tellite switches and got the price down to about $0.60 Not quite the same, as these are a lot bigger, and getting things down to the desired size might be troublesome. Anyway, here's a little video of my fake cheapo tellite switches: https://www.youtube.com/watch?v=LaenrgPVCjc
smcameron
·7 か月前·議論
Control, Alt, Delete.
smcameron
·7 か月前·議論
Can't you just read from /proc/pid/fd/0 ?
smcameron
·7 か月前·議論
I found it funny that in a sentence that mentions "those who can recognize an LLM’s reveals", a few words later, there's an em-dash. I've often used em-dashes myself, so I find it a bit annoying that use of em-dashes is widely considered to be an AI tell.
smcameron
·7 か月前·議論
For me, the answer is stgit. https://stacked-git.github.io/
smcameron
·8 か月前·議論
> When you are a single person, the math changes.

No, you just have to cook meals that freeze well and learn to use your freezer.
smcameron
·8 か月前·議論
In the U.S., anything machine generated is uncopyrightable.

Why would you put uncopyrightable code into your codebase?
smcameron
·8 か月前·議論
and sccs