HNHacker News
TopNewBestAskShowJobs

Tim61

39 karma · joined August 31, 2015

submissionscomments
Tim61··on Ripgrep – A new command line search tool
I love the layout of this article. Especially the pitch and anti-pitch. I wish more more tools/libraries/things would make note of their downsides.

I'm convinced to give it a try.

Tim61··on 22nd Century C
Yeah, that is probably what bothers me the most about this. I write C code almost everyday. I can't remember the last time I forgot a "break", but I do use fallthrough when it simplifies the logic. It also breaks even the simple case of having multiple labels for the same code.

Also, the for-loop overrides are ugly and pointless, IMO.

Tim61··on Lifting a Million Pounds of Stainless Steel
This would sound much less impressive if they just said 500 tons. Also, why the dead weight? 500 tons is easily doable with a (smallish) hydraulic press.

The actual title of the article is "How Do You Lift A Million Pounds Of Stainless Steel?" I feel like they didn't answer that question either. It turns out that the weights are in fact lifted by hydraulics.

Tim61··on Google's Nest is disabling some of its customers' old smart-home devices
Exactly. This isn't an IoT problem, it's a cloud-based systems problem. "Cloud" actually just means "someone else's computer", and that somebody will turn off their computer someday.
Tim61··on Project West Ford
Yes. They are referring to each individual copper needle as a dipole antenna.
Tim61··on XKCD's StackSort Implemented in a Vim Regex
Nice, course there's an emacs command to do that. Good ol' C-x M-c M-stacksort [1]

Joking aside, I'm glad this is for vim. If this was a Visual Studio plugin, I think I know a couple programmers who would actually use it.

[1] https://xkcd.com/378/

Tim61··on Darknet: C and CUDA open source neural network framework
This is cool. The documentation is very entertaining, although not something you'd show to your boss. Looks like it implements a lot more than just neural networks.

Shameless plug: For a minimal neural network implementation in ANSI C, check out: https://github.com/codeplea/genann Sometimes lack of features is a feature.

Tim61··on Mathematics Animations
I just finished watching the Hilbert's Curve video. It's extremely well done!

Does anyone know what software or process was used to create these videos?

Tim61··on Single-file public-domain/open source C libraries with minimal dependencies
Just proposed two of my C projects for inclusion:

TinyExpr - evaluate math from string - https://github.com/codeplea/tinyexpr

minctest - very minimal C unit tests - https://github.com/codeplea/minctest

TinyExpr is a single source file + header, while minctest is a single header. Both are zlib licensed.

Also, I'd appreciate feedback if anyone is interested.