News for hackers. Stuff that matters.

wootoomoo

Re:Research into ketamine as a treatment for severe depression on Tuesday February 02, 2016 @01:44PM (#11021439)
I got Ketamine at a psychiatric clinic. It really did make me feel strangely relieved, and basically immediately. Reminded me somehow of vacation days when I was a child. The feeling starts fading away once they stop the drip, and it's back to normal after a couple of hours.

Since they don't give out pills (not sure if war-on-drugs bullshit or actually dangerous), it's pointless. You're monitored for half an hour by a physician, and the drip gets done by an anesthetist, and if I remember correctly they insisted I be carted back to my room instead of walking. It's also only done on in-patients. So it was completely impractical as a treatment and had no long-lasting effect at all.

Re:Introduction to the Autotools (2012) on Sunday January 31, 2016 @04:26PM (#11008157)
I'm pretty baffled that people recommend CMake so often. I looked into it, and found:

* The worst scripting language ever, seemingly made by someone without even basic theoretical knowledge of language parsing. It's even worse than shell scripting.

* The same I-don't-care copypasta culture most autotools users seem to follow, but the free documentation was even worse (or at least back when I tried it). There's a book which I didn't have access to, though.

* Less enduser/packager friendly, with worse help texts, documentation, and features (seems to have caught up somewhat). Plus, everybody already knows how configure scripts work.

* The portability to Windows in reality means lots of if(WIN32) branches.

* The results are often brittle. This is also true of autotools in practice, but at least there is some info out there about how to write autoconf macros correctly. Even the .cmake files that ship with CMake seemed to be thrown together carelessly the last time I looked.

* Also, CMakeLists.txt must be the worst filename for a script I've ever seen. I'm only half serious on that one. I know it doesn't matter, but it bothers me terribly. It's ugly and misleading and makes me question the author's sense of aesthetics and basic competence.

CMake is terrible. Autotools is also terrible, but at least it's got an excuse. Just learn your damn tools. The real problem with autoconf is that nobody wants to invest any time learning about their build system and instead just copy-pastes it around, creating a brittle mess. From the CMake projects I've seen, it doesn't really solve this problem at all, creating a similar mess. And now your users have to install CMake and figure out how it works, and it doesn't even print a useful --help text.