Better HN
topnewbestaskshowjobs
Log inSign up

redeyed

2 karma · joined Mar 11, 2021 (5y ago) · 8 submissions

Submissions

comment 5y ago · link · parent

Thanks for the source! I was trying to find that list with no luck.

comment 5y ago · link · parent

Watched this lectures 2 years ago and It's pretty solid!

comment 5y ago · link · parent

Again hammer to microscope comparison. Do you realize that your ignorance is bigger than Solar System?

comment 5y ago · link · parent

I don't think it will happen soon.

But what would be nice currently, is to create map reduce API w/o shared data or just readonly data.

Something like ProcessPoolExecutor but instead of spawning new process and pickling input/output data, create threads w/o GIL w/o pickling input/output data.

comment 5y ago · link · parent

There is such problem on Windows. When you create new process (spawn) it copies all memory of parent process.

comment 5y ago · link · parent

Yeah, had the exact problem.

I solved it by using python threads and C function (cv2.resize)

comment 5y ago · link · parent

> Also I pity the fool who tries to connect a debugger to code using multiprocessing.Pool()

PyCharm works fine

comment 5y ago · link · parent

Not "Python is Faster Than C++" but "When Python is Faster Than C++"