440 karma · joined August 9, 2019
k.manaouil@gmail.com
Heavy, strength-focused type of excercises are a real cure for depression and bad mood. They siginificantly increase the amount of Testosterone in the body.
Try Squats, Deadlifts and weight lifting in general. Push yourself a little bit and it's gauranteed you will feel amazing.
After 5 or 6 months of suffering, I decided, at some certain point, that I need to do something about it and that I need to get over it and not waste my life. I started small, step by step, waking up, taking shower, going out for a walk, etc. I used to WFH, but I reversed the habit and started to go to work place everyday.
Then, I got a gym membership and started exercising almost everyday (after so many years of physical inactivity. I am 25 BTW). I started cooking and eating healthy. I take multivitamins everyday with an additional dose of Vitamine D and Magnesium. I eat only vegetables (lots of them), rice, chicken and fish and sometimes beef steaks. I also take fruits everyday (usually Oranges, Bananas and Apples). I also drink Coffee (one cup in the morning and sometimes another in the evening) and Tea with Ginger.
I feel much better. Now, I have a routine, I am more active and I get some work done. However, I still suffer from a slight lack of motivation and happiness. I still feel a bit unhappy and I am not as motivated as I was before the whole depression thing hit me. I don't know why and I have no idea how to solve this part to become the super motivated, super focused and super productive person I used to be.
How did you approach this issue? Did you manage to create a strong social circle outside of work? Any helpful tips for the lost me would be appreciated.
I am still trying to build a social network on this new city, but it's a very hard process and a very long one. For now, going to office, makes me feel less lonely and I get some interactions and also do some activities with co-workers.
For the second question, you just build your GDT entries with the highest privelege, then you switch to protected mode.
Nevertheless, Algerians are very welcoming and they are very happy to see other people visit them. We hope that things will change very soon. However, it's hard to have a positive hope with the corrupt, mafioso political system governing the country.
Algeria is a kind of a hidden gem. There are many other impressive sites and much larger and better preserved Roman cities. Few minutes from my hometown, Setif, there is Djemila [1]. The preserved arches, basilicas, bathes, theatres and markets is just super impressive.
A larger and bigger site is in Batna, a neighboring city of Setif. The site is called Timgad [2], usually the preferred place for cultural events. Timgad is definitely one of the greatest world heritage sites, absolutely on the same order of Pompeii.
Another impressive city is Constantine [3], or equally Béjaïa and also obviously the The Casbah in Algiers [4].
On the Sahara side, there is the Tassili [5] and The Hoggar mountains.
edit: typos
[1] https://en.wikipedia.org/wiki/Dj%C3%A9mila [2] https://en.wikipedia.org/wiki/Timgad [3] https://en.wikipedia.org/wiki/Constantine,_Algeria [4] https://en.wikipedia.org/wiki/Casbah_of_Algiers [5] https://en.wikipedia.org/wiki/Tassili_n%27Ajjer
(In Kabyle language, from Algeria!).
And BTW, Go is very safe! it has automatic memory management, and managed concurrency for writing bug-free concurrent code.
For example, let's say an operating system's kernel has a procedure to disable cache snooping on the CPU. There is no way the compiler can implicitly generate this for you, except if a special built-in function is provided. But built-in functions do not exist for every case, and not for every supported CPU architecture.
In this example, every architecture-specific code of the kernel shall implement an interface named disable_cache_snooping() wrapping an inline assembly statement, invoking the underlying (x86, arm, mips, sparc, riscv, etc.) CPU's special instructions to disable cache snooping.
When a new socket is added, epoll() gets triggered (by the loopback epoll file descriptor that was used to add the new socket, since it's also actively being polled by epoll). epoll() immediately returns to userspace, the event is handled (to do necessary socket bookkeeping) then go back to polling again with the updated list of sockets.
May I ask why?
Heap: "an untidy collection of objects placed haphazardly on top of each other". Example: "a heap of cardboard boxes"
This makes sense as the Unix Heap is just a space containing a random collection of objects with random sizes.
In fact, micro kernels have a lot of issues and limit the possibilities of what an OS can do! One of the most important issues is they prevents resource sharing in a rich and efficient way between the components of the kernel. They make building rich relationships between kernel data structures and kernel subsystems very messy, complicated, impracticable and very inefficient.
Micro kernels are delusional and people should stop implicitly assuming their superiority.