News for hackers. Stuff that matters.

Tim61

Re:Ripgrep – A new command line search tool on Friday September 23, 2016 @01:00PM (#12566102)
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.

Re:22nd Century C on Sunday September 11, 2016 @01:59AM (#12472185)
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.

Re:Lifting a Million Pounds of Stainless Steel on Wednesday May 25, 2016 @09:54PM (#11774673)
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.

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.
Re:Project West Ford on Saturday March 26, 2016 @11:11PM (#11368685)
Yes. They are referring to each individual copper needle as a dipole antenna.
Re:XKCD's StackSort Implemented in a Vim Regex on Friday March 18, 2016 @01:38AM (#11310125)
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/

Re:Darknet: C and CUDA open source neural network framework on Thursday March 17, 2016 @02:06PM (#11306264)
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.

Re:Mathematics Animations on Thursday February 18, 2016 @03:18PM (#11128968)
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?

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.