Heurtebise
Re:A tiling window manager written in Rust
on Thursday December 18, 2014 @04:53PM (#8769865)
> As for the xlib stuff, I can't really write tests for that.
I do that by wrapping the C APIs into traits. I have some macros that generate both the proper implementations with ffi calls and mock implementations. Then I can write extensive tests for the high level binding's low level behavior using properly set up mocks.
Re:Communication between brain networks in people given psilocybin
on Friday October 31, 2014 @10:11PM (#8541976)
Some people are susceptible for psychosis. LSD might give them the final push, turning them from the normal looking guy that sometimes say weird things to full-blown crazy.
https://en.wikipedia.org/wiki/Lysergic_acid_diethylamide#Psy...
I also know about a similar case in my social circle. An offbeat guy starts seeing demons after his first trip. Recovering in a mental institution ever since.
Yet I don't think LSD is to blame, it is just a trigger for a pre-existing underlying issue.