151 karma · joined Dec 21, 2011 (14y ago) · 60 submissions
comment 4mo ago · link · parent
comment 5mo ago · link · parent
comment 10mo ago · link · parent
% !TEX program = lualatex
to the top of your document allows you to switch LaTeX engine. This is required for recent accessibility standards compliance (support for tagging and \DocumentMetadata). Compilation takes a bit longer though, but works fine, unlike with Overleaf where using the lualatex engine does not work in the free version.
comment 11mo ago · link · parent
comment 2y ago · link · parent
https://docs.r-wasm.org/webr/latest/ https://github.com/jupyterlite/jupyterlite https://dev.lfortran.org/
There are rough edges to be sure, but the potential is great in education I think.
comment 3y ago · link · parent
comment 3y ago · link · parent
Matrix Analysis by Horn and Johnson (perhaps the best end-of-chapter problem sets of any math book I've encountered!)
Matrix Computations by Golub and Van Loan
Elements of Statistical Learning by Hastie, Friedman, Tibshirani
Functional Analysis by Reed and Simon
comment 4y ago · link · parent
The two of us use just under 5kWh / day average electricity. Our big energy use is heat in winter though! Here is the breakdown:
5kWh/day electric * 365 days = 1825 kWh/year electrons
2.5 cords wood (mostly oak) = 17584 kWh/year wood heat
300 gal. liquid propane = 8400 kWh/year propane heat
That's a total of ~27800 kWh/year for the two of us including heat. That's about 76 kWh/day or 38 kWh/day per person on average. *This includes charging my e-bike for my work commute--but we also have a gas car so not nearly all transportation energy costs.[edited to add this]
I can't see any way to go much lower than that without freezing in the winter. 2 kWh/day seems crazy low to me.
comment 4y ago · link · parent
comment 4y ago · link · parent
https://proceedings.mlsys.org/paper/2021/hash/3636638817772e...
seems mostly about tuning the original idea instead of expanding its scope. But it's still a neat idea. I guess it could be possible to adpt many of the approximations used in the SLIDE idea to GPUs too though...
comment 5y ago · link · parent
git clone https://github.com/xianyi/OpenBLAS && cd OpenBLAS && make PREFIX=/opt/openblas install && curl https://jott.live/code/blas_test.cc | sed -n "/<code>/,/code>/p" | tail -n +2 | head -n -1 > blas_test.cpp
inspect blas_test.cpp file, and then...
g++ -I/opt/openblas/include/ blas_test.cc -lopenblas -std=c++11 -O3 -L/opt/openblas/lib/ -o blas_test && ./blas_test 512 512 512 100 100
and got a peak of about 192 gflops, averaging closer to 180. So yeah, the M1 is > 6x faster in this simple single-precision matrix test.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 6y ago · link · parent
all of these variables could of course be coded for a good classification algorithm.
just saying, it's often more than simply visual.
comment 8y ago · link · parent
400ft * 35tons * 2000lbs/ton * 0.00037661609675872 watt hours/ft. lb = 10545 watt hours.
that's only about 10kW hrs, what you get in a just one very compact Sonnen battery (https://sonnenusa.com/en/sonnenbatterie-eco/).
This doesn't seem like much. Did I make a mistake somewhere?
comment 8y ago · link · parent