528 karma · joined Jun 29, 2015 (11y ago) · 267 submissions
comment 4y ago · link · parent
comment 4y ago · link · parent
This is an aspect of the https://en.wikipedia.org/wiki/Planning_fallacy.
comment 4y ago · link · parent
comment 4y ago · link · parent
9.
UK-Morocco 10GW Renewable Electricity Interconnector Planned(xlinks.co ↗)
110 points · by redcalx · 4y ago · 236 comments
comment 5y ago · link · parent
https://github.com/colgreen/cartpole-physics
Note that the equations being used in the 'wild' are generally wrong in some way; see the article appendices for detailed info.
12.
Equations of Motion for the Cart and Pole Control Task(sharpneat.sourceforge.io ↗)
1 points · by redcalx · 5y ago · 1 comment
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
I put 'nap' in quotes because I don't set an alarm (unless there is specific need to), and for me that usually means a 2 hour sleep! I figure that is made up of 90 mins of one sleep cycle, and some time either side for falling asleep and waking.
https://en.wikipedia.org/wiki/Sleep_cycle
All made possible by pandemic working from home.
comment 6y ago · link · parent
https://github.com/colgreen/Redzen/tree/master/Redzen/Sortin...
Available via this nuget package:
https://www.nuget.org/packages/Redzen/
Timsort may give much improved performance if the items in an array are already partially sorted. I had a specific need for this, and couldn't find any good quality implementations in the dotnet world, so ended up putting the time in to port it and update it to the latest fixed/patched version.
As part of the work I looked at the source for Array.Sort and noticed it was doing some redundant null checks when you call it with a secondary sort array. I submitted a pull request to the MS github repo with some supporting performance numbers, and they merged it in.
It looked to me that the code there was originally one class that used null checks to support the secondary sort array, and at some point the code was copied to a second class that does the secondary sort only, and the first class had that logic removed, but some of the null checks apparently got left behind.
Next steps for my timsort will involve moving from dotnet standard to dotnet core, and starting to leverage some of the new functionality, such as Intrisics for x86-64 and Arm. So this article will be a good starting point for that.
comment 6y ago · link · parent
comment 6y ago · link · parent
https://www.amazon.com/Journal-Plague-Year-Observations-Rema...
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 7y ago · link · parent
--
Edit: See comments below - I got the dates wrong.