Better HN
topnewbestaskshowjobs
Log inSign up

hurrrrr

6 karma · joined May 28, 2018 (8y ago) · 9 submissions

Submissions

comment 7y ago · link · parent

Numpy has masked arrays [1]. Though I can't say how well they work.

[1] https://docs.scipy.org/doc/numpy/reference/maskedarray.gener...

comment 8y ago · link · parent

downsides: can't move really far when plugged into stationary device, breaks a lot (at least for me it's almost always the plug or cable that breaks), cable picks up random noise

upsides: my very old thingamajig with a broken display doesn't support anything else

comment 8y ago · link · parent

raises hand not with gui but with cli.

Autocompletion stops early because 'SomeReallyLongSourceName.h' and 'SomereallyLongSourceName.cpp' are not the same after the fifth letter. It breaks globbing.

comment 8y ago · link · parent

gcore creates dumps and you could do periodic dumps via cron. But performance triggers aren't easily possible afaik.

comment 8y ago · link · parent

They all seem to be consistently wrong. The series is shifted by 1.

comment 8y ago · link · parent

There is no "we trade districts and both profit" scenario (apart maybe cutting out 3rd parties that have no chance of winning anyway). If they trade one gets the strictly better deal, the other loses.

Human factor and stupidity excluded.

comment 8y ago · link · parent

From what I heard buildup on the panels isn't that big a deal because the wind also blows it away. But if sunlight is cut off too long the battery becomes empty and the heaters won't work anymore. So it would literally freeze to death.

comment 8y ago · link · parent

Also you're only allowed to read that char

comment 8y ago · link · parent

The problem is that the API pretends that it already sanitizes user input to a degree. (from the design perspective, not necessarily documentation)

Sanitizing the input yourself means not using it. You can't sanitize it.