News for hackers. Stuff that matters.

einmaliger

Re:Libgrapheme: A simple freestanding C99 library for Unicode on Wednesday November 16, 2022 @02:43AM (#33620148)
I think it specifically applies to implementing standards that are known to be more difficult to implement and easily break.
Re:Not everyone should meditate on Wednesday March 02, 2022 @04:45PM (#30533623)
I'm sorry, but this is such an extreme example. You should not overdo anything, be it meditation, gaming, playing, reading, any sport, even drugs. Drugs also give you a state of mind that, when taken to the extreme, can harm your social life and well-being. That is not a problem specifically of meditation.

You can safely do anything up to the point that it benefits you. The moment your well-being suffers, or you neglect important parts of life, like friendship, you should stop.

Re:ReactOS Updates on Tuesday February 09, 2021 @10:18AM (#26078433)
ReactOS has nothing to do with ReactJS.
Re:Toward a Predictive Theory of Depression on Saturday September 30, 2017 @11:46AM (#15373391)
> it was just that no matter how much I tried I couldn't predict a future where I weren't constantly in agony

That's a great way to put it. I had a few depressive episodes in my life, I know that these thoughts and feelings are symptoms. The inability to feel, even the hopelessness are symptoms of the disease. Usually, I can even pinpoint the cause of the episode. But another symptom is the inability to imagine a state of mind without depression. And no matter how rational you are, it is very difficult to believe in something that you cannot imagine.

My x86-assembly has become very rusty, but couldn't it work like this, not using a branch:

(with eax being the unsigned 32-bit input word)

  xor ebx, ebx
  test al, 7
  stnz bl
  shr eax, 3
  add eax, ebx
(edit: replaced a movzx with an xor)