Странная статья, в которой рассказывают, что будет, если закрывать апп через
#system #jvm #activity
System.exit(). Не очень понятно, зачем так делать, но всё равно забавно было узнать. #system #jvm #activity
Medium
A cautionary tale on Android: do not call System.exit()
Once upon a time… there was an issue that was hidden in plain sight! It lived freely for years without no one noticing it. Until one day…
Чудесная заметка про системных программистов и отладку проблем в ядре ОС или в распределенной системе.
#programming #system #debug
I described the bug, which involved concurrent threads and corrupted state and asynchronous message delivery across multiple machines, and my coworker said, “Yeah, that sounds bad. Have you checked the log files for errors?” I said, “Indeed, I would do that if I hadn’t broken every component that a logging system needs to log data. I have a network file system, and I have broken the network, and I have broken the file system, and my machines crash when I make eye contact with them. I HAVE NO TOOLS BECAUSE I’VE DESTROYED MY TOOLS WITH MY TOOLS. My only logging option is to hire monks to transcribe the subjective experience of watching my machines die as I weep tears of blood.”
#programming #system #debug
🔥1
Тут один товарищ, пребывающий в местах не столь отдалённых, делает прикольные дела. Например, собрался писать серию постов с разбором всяких штук системного уровня. Вот первый из них. Про процессы.
#os #process #system
#os #process #system
🔥3👍1