Better HN
topnewbestaskshowjobs
Log inSign up

grinalope

3 karma · joined Aug 9, 2015 (11y ago) · 2 submissions

Submissions

comment 10y ago · link · parent

Radioshack used to sell a $10 plastic microscope that people hacked webcams onto. What happened to that? Here's a link to an old tutorial.

http://www.instructables.com/id/30-minute-USB-microscope/

comment 11y ago · link · parent

Cython is amazingly productive for me. I am so happy to write typed pythonic code.

If there's one thing missing it's more people showing off their Cython style and tricks, like how they do macros (since it's not supported in the language), when to turn off safeties, and balancing pure python with typed.

For instance, I like C macros in header files, but I've played around with using a jinja2 pipeline in my setup.py to write cleaner looking pythonic code, and have done generics this way.

more posts like the one using cymem would be welcome.