Yeah, an all-numpy version runs in less than 1ms on my M1 air
import numpy as np
l = 10_000
t = np.empty(l, dtype=np.float32)
j = np.arange(l)
t = 0.02 \* j
t *= (0.03 * j)
t -= (0.04 \* j)
t /= 0.05 \* (j + 1)HN user
Yeah, an all-numpy version runs in less than 1ms on my M1 air
import numpy as np
l = 10_000
t = np.empty(l, dtype=np.float32)
j = np.arange(l)
t = 0.02 \* j
t *= (0.03 * j)
t -= (0.04 \* j)
t /= 0.05 \* (j + 1)I cannot help but nitpick either. You're off by over 50% on your eastern mountains:
Mount Mitchell, NC: 6684 feet [1]
Mount Washington, NH: 6288 feet [2]
These eastern Mountains are indeed majestic, towering overhead when you look to ascend them. Mt Washington would stand in perfectly for Caradhras.
[1] https://en.wikipedia.org/wiki/Mount_Mitchell
[2] https://en.wikipedia.org/wiki/Mount_Washington_(New_Hampshir...
PlotWatt | Durham, NC + Remote (US or Canada) | Full Time
PlotWatt is looking to fill software engineer and devops positions. Please visit https://plotwatt.com/careers/ for more details.
PlotWatt works with chain restaurants and smart grid service providers to save people money using energy analytics. Our software boils insights gleaned from analyzing electrical power data into easy-to-understand feedback and recommendations that help our customers save energy. With a team of 20+ in engineering, operations, and sales, PlotWatt is live across many customers and is consistently delivering positive return (net of cost) in less than 12 months.
We work on the consumer side of the smart grid. We’re cleantech, greentech, lean, agile, eco-geeky, and generally fired up about building a huge internet business that helps save the planet.
Tech Stack: python, AWS, rails and angular.js
PlotWatt | Durham, NC + Remote (US or Canada) | Full Time
PlotWatt is looking to fill software engineer and devops positions. Please visit https://plotwatt.com/careers/ for more details.
PlotWatt works with chain restaurants and smart grid service providers to save people money using energy analytics. Our software boils insights gleaned from analyzing electrical power data into easy-to-understand feedback and recommendations that help our customers save energy. With a team of 20+ in engineering, operations, and sales, PlotWatt is live across many customers and is consistently delivering positive return (net of cost) in less than 12 months.
We work on the consumer side of the smart grid. We’re cleantech, greentech, lean, agile, eco-geeky, and generally fired up about building a huge internet business that helps save the planet.
Tech Stack: python, AWS, rails and angular.js
reminds me of this: http://stuffwhitepeoplelike.com/2009/02/24/122-moleskine-not...
This is beautiful.
I wish my 9-year-old had a parent that could pull this off.