HackerTrans
TopNewTrendsCommentsPastAskShowJobs

nabeelms

no profile record

Submissions

The Clean Architecture in Python (2014) [video]

pyvideo.org
2 points·by nabeelms·3 года назад·0 comments

Best Resources to Learn X

bestresourcestolearnx.com
2 points·by nabeelms·3 года назад·0 comments

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

blackparrotlabs.io
3 points·by nabeelms·4 года назад·0 comments

The tragic tale of the deadlocking Python queue (2017)

codewithoutrules.com
2 points·by nabeelms·4 года назад·0 comments

comments

nabeelms
·3 года назад·discuss
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 года назад·discuss
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 лет назад·discuss
My book recommendation for learning calculus would be Calculus Basic Concepts For High School by Tarasov.