165 karma · joined August 3, 2020
function maybeGetUser(): User | null {
if (!loggedIn) {
return null;
}
return fetchUser();
}
I believe this is an error. The code sample I took from the article is about getting a user, not the user's friends.Since that function will return a list, an empty List might work.
You can alter the ingredients to be lethal.
Also, I think you meant TLS but that is only used in HTTPS not HTTP.
How I cut GTA Online loading times by 70% https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times...
That's incredibly useful. We have a strict policy of all threads and pools being named, but sometimes default named threads sneak in making it difficult to figure out where the thread is used for.
You might be able to recover them by building or downloading an older version of your browser or whatever dependency that caused the issue.
I find doing a code review a demanding task that leaves me drained by the end of it. Despite being drained, I still I don't feel confident I've been thorough enough.
As a comparison, banks' 2FA will get disabled after too many resets.
10 guess every 10 minutes with an expectation that after 5000 guesses you'll have a correct guess is 3.4 days (500*10 minutes).
I agree with your point though. I remember being asked a question and I blanked with how to model it in Java. Then I switched mid interview to python and it clicked for me.
However, I do agree with you. For me it's so much more pleasant working on the faster repo and it feels like it's because of the faster build. But the above criticism again applies to my feelings.
edit: according to this[3] discussion , Microsoft uses .dot. I then found this wiki[4] page that supports the claim. dot is used by Microsoft Word document template files. I will switch to .gv
[1] https://en.wikipedia.org/wiki/Gzip
[2] https://en.wikipedia.org/wiki/DOT_(graph_description_languag...
[3] https://forum.graphviz.org/t/what-is-the-file-extension-for-...
[4] https://en.wikipedia.org/wiki/List_of_filename_extensions_(A... [4]
Edit: restarting slack resolved the connection issue.
Edit: Nevermind. I skipped over the key paragraph here:
> By default, pSnapper replaces any digits in the task’s comm field before aggregating (the comm2 field would leave them intact). Now it’s easy to see that our extreme system load spike was caused by a large number of kworker kernel threads (with “root” as process owner). So this is not about some userland daemon running under root, but a kernel problem.
Is there anyway for the TCP connections share memory in kernel space? My experiment only uses two 8 byte buffers in userspace.
Are you taking about a self hosted or private repo? In that case, I am not familiar.
I'm also using that parser for a side project where developers can cross link their source code and host them statically: https://github.com/josephmate/OdinCodeBrowser#readme