967 karma · joined Mar 25, 2011 (15y ago) · 336 submissions
comment 7y ago · link · parent
sometimes when you are programming in a big body of code you are dealing with lots of types (types in the programming sense)... and you are dealing with functions that have type signatures that must be satisfied to avoid compile errors... so you wrap this type in that one so you can call that function.. or you convert the return value from one type to another so you can call something else...
anyway, that is all similar to what you are doing when you manipulate an equation. you follow the rules and change it into a form that is more useful.
comment 7y ago · link · parent
comment 7y ago · link · parent
1) I'm always mmap()ing the whole file (and the files are power of 2 sized). 2) The files I'm mapping are stored on file systems I control (and so are never on NFS). 3) In one case, my use of mmap() is limited to read only.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 8y ago · link · parent
But a robot capable of recognizing all the plants could tell... and could selectively harvest just what is needed.
I suspect this is a very difficult problem however just because of how varied individual plants can be... telling plants apart can be hard even for trained humans.
comment 8y ago · link · parent
I envision bundles of neurons that begin their existence mostly disconnected... These bundles are described somewhere in DNA (but not their ultimate learned configuration) and so is whatever learning algorithm drives this process.
We will have AGI when we understand the underlying learning algorithm our brain uses... Personally, I believe that algorithm involves fantasizing future scenarios and learning from the fantasies.
comment 8y ago · link · parent
https://qz.com/1355672/stacking-concrete-blocks-is-a-surpris...
comment 8y ago · link · parent
Touchbar is worse than useless for me because I am constantly accidentally grazing the esc key on the touch bar with my ring finger... infuriating. Keyboard is pretty bad also... I needed to take my macbook to the apple store (thunderbolt issue) and so I had to use a loaner for a week... I got the last macbook before the 2017 one... SO much better! First of all having a variety of ports is awesome... keyboard is awesome... Why did they just not add 2 thunderbolt ports and a 4k screen to that one (and upgrade CPU etc)?
comment 8y ago · link · parent
In SQL, indexes are implicit.. they are used if available but it's easy get a large query to scan sometimes when it shouldnt... what if there was a different query language with explicit index syntax.. I think you'd get a lot more predictable performance.
comment 8y ago · link · parent
comment 8y ago · link · parent
You start with the thought "I should have some canned goods and water on hand."... 5 years later you're locked in your bunker in south dakota... each step seemed reasonable, but the destination is unreasonable.
That said, you should have some canned goods and water on hand. :)
comment 8y ago · link · parent