Better HN
topnewbestaskshowjobs
Log inSign up

thoughtfunction

78 karma · joined Jun 20, 2018 (8y ago) · 38 submissions

https://www.thoughtfunction.com/

If you want to contact me, email me at hn at (my username) dawt com

Submissions

comment 7y ago · link · parent

That is a form of delivery vehicle in a way, right?

comment 7y ago · link · parent

What does that have to do with radio waves? And how often do people actually put cell phones close to their head compared to 10 years ago? For all we know it could be related to increasing obesity rates.

comment 8y ago · link · parent

A 'solar heating panel' in most cases is a water tank exposed to the sun as much as possible painted in black. Or maybe put inside a black box. Not a lot of electricity work there.

comment 8y ago · link · parent

Snort

comment 8y ago · link · parent

Static type systems have scopes in how much they type. Some newer ones add nullable annotations, like kotlin or swift, others don't have it yet.

I hope java gets native support for @nullable, but for now we have stuff like error prone and @nullable annotations.

comment 8y ago · link · parent

You see these migrations as companies grow past certain engineer counts if they start out with dynamic languages. Sometimes they might even modify the language itself to bolt on types on it.

Ex: Facebook and adding types with Hack & Flow. Dropbox's work to add types to python. Uber used to be a python and nodejs shop, and now new stuff is done in golang and java. Many nodejs shops go from pure js to typescript or flow.

Gradual typing is useful for companies that don't want to immediately migrate everything at once. If you have the right policy of 'type everything you touch', enforced with a linter, a codebase gets migrated relatively quickly.

comment 8y ago · link · parent

They are a non-profit that lives on donations to pay it's employees basically. Not your typical for profit venture.

comment 8y ago · link · parent

Almost all UI programing is single threaded. If the main thread is blocked for more than 10-16ms, then frames start dropping and the UI is unresponsive for that time.

Add locks and you add many more causes for the main thread to be blocked beyond pure computation.

12