HackerTrans
トップ新着トレンドコメント過去質問紹介求人

nabeelms

no profile record

投稿

The Clean Architecture in Python (2014) [video]

pyvideo.org
2 ポイント·投稿者 nabeelms·3 年前·0 コメント

Best Resources to Learn X

bestresourcestolearnx.com
2 ポイント·投稿者 nabeelms·3 年前·0 コメント

Don’t use your ORM entities for everything – embrace the SQL!

blackparrotlabs.io
3 ポイント·投稿者 nabeelms·4 年前·0 コメント

The tragic tale of the deadlocking Python queue (2017)

codewithoutrules.com
2 ポイント·投稿者 nabeelms·4 年前·0 コメント

コメント

nabeelms
·3 年前·議論
About String::leak:

> The caller has free choice over the returned lifetime, including 'static. Indeed, this function is ideally used for data that lives for the remainder of the program’s life, as dropping the returned reference will cause a memory leak.

I can see the use case of the function and from reading the commit discussion, it seems it was based on Vec::<u8>::leak() but I'm not able to understand why either of the functions are safe instead of unsafe.
nabeelms
·4 年前·議論
If you're in it for the long haul (1-2 years), I'd recommend working through the recommendations in https://www.teachyourselfcs.com/. The Algorithms part, the Networks part and DDIA all have a very high return on time invested.
nabeelms
·5 年前·議論
My book recommendation for learning calculus would be Calculus Basic Concepts For High School by Tarasov.