Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
juliusgeo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
151.
▲
by
juliusgeo
4y ago
Thanks! I took some inspiration from discussion on that page, however my solution differs because instead of hard coding everything it instead calculates the multiplicative inverse and affine transformation separately. This is worse in term
152.
▲
Rijndael S-box in 512 bytes of Python
(gist.github.com)
31 points
by
juliusgeo
4y ago
|
6 comments
153.
▲
by
juliusgeo
4y ago
Code golf style implementation of AES S-box and inverse in the same number of bytes as just pre-calculating the tables.
154.
▲
AES Rijndael S-box in ~75 lines of Python
(gist.github.com)
3 points
by
juliusgeo
4y ago
|
0 comments
155.
▲
by
juliusgeo
4y ago
This is a well thought out reply, and one that rings true with my experience.
156.
▲
by
juliusgeo
4y ago
If your 10 year old likes music and sequencing, the Teenage Engineering set of Pocket Operators are very cool. A set of unique samples combined with a surprisingly powerful sequencer. One of them even has the ability to sample from aux in a
157.
▲
by
juliusgeo
4y ago
I wasn’t even alive in 1991, but reading that memo sounds very familiar given the recent statements companies like Meta[1] have made in anticipation of recession. I wonder if Meta has internal discussion in the same way. [1] https:/&#
158.
▲
by
juliusgeo
4y ago
While it is a blog post, I think their concern that it could muddy the waters persists regardless. Your statement seems to imply that if it was a worthwhile idea it would not harmed by mischaracterization, which doesn’t make much sense to m
159.
▲
by
juliusgeo
4y ago
One caveat to note[1] is that apparently you cannot promote those threads back onto the performance cores using setpolicy. [1] https://eclecticlight.co/2022/01/24/how-you-cant-promote-thr...
160.
▲
by
juliusgeo
4y ago
Oops, my bad. That's correct.
161.
▲
by
juliusgeo
4y ago
I tried to implement what you said on my M1 2020 MBP. Heres's the one liner (albeit using 0% of CPU as the cutoff, and only throttling Safari processes): ps axo pid,%cpu,command -r | awk '{ if ($2 >= 0 && $3~/W
162.
▲
by
juliusgeo
4y ago
When using pyenv, I find it useful to install like this to make sure you’re getting a framework build (some libraries are incompatible with non framework builds) PYTHON_CONFIGURE_OPTS=“--enable-framework” pyenv install 3.7
163.
▲
by
juliusgeo
5y ago
Orion supports tree style tabs natively (Prefs->Appearance->Show tabs: On the Side).