News for hackers. Stuff that matters.

thoughtfunction

Re:Things that are more inequitable than road pricing on Sunday February 03, 2019 @05:02PM (#19072518)
That is a form of delivery vehicle in a way, right?
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.
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.
Re:Personal Statement of a CIA Analyst on Monday October 08, 2018 @01:05AM (#18164255)
Snort
Re:A Year in Clojure on Sunday October 07, 2018 @03:06PM (#18162114)
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.

Re:A Year in Clojure on Sunday October 07, 2018 @02:59PM (#18162084)
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.

Re:Ask HN: Who is hiring? (October 2018) on Wednesday October 03, 2018 @01:34AM (#18127845)
They are a non-profit that lives on donations to pay it's employees basically. Not your typical for profit venture.
Re:24-core CPU and I can’t type an email on Friday August 17, 2018 @02:35AM (#17780721)
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.