2,838 karma · joined Dec 28, 2012 (13y ago) · 522 submissions
comment 2y ago · link · parent
comment 3y ago · link · parent
$ echo -n 'The SHA256 for this sentence begins with seven, seven, f, zero, a, b, b and five.' | sha256sum 77f0abb54cd09ad7b654bd5e762d7be58e7daffd1a0da6a56f5135bd667856a3 -
comment 5y ago · link · parent
https://github.com/grisha/thredis/blob/master/README-THREDIS
Then I added SQLite to it, more details here:
This was all done mostly for fun, though I did use it in a an actual project for a while.
comment 6y ago · link · parent
[1] https://dl.acm.org/doi/10.1145/356770.356776
[2] https://grisha.org/blog/2013/05/11/relational-database-on-to...
Edit: also [3] is about how to store SQLite in a Redis hash (rather than on-disk file).
[3] https://grisha.org/blog/2013/05/29/sqlite-db-stored-in-a-red...
comment 6y ago · link · parent
The reason our body always favors burning glucose first is NOT because glucose is "better" but actually because it is an inferior type of fuel (it creates "pollution" and is difficult to burn - you can develop diabetes from too much of it) - so our evolved system tries to get rid of it first, while hanging on to the "good stuff" for as long as it can.
comment 6y ago · link · parent
https://github.com/voxmedia/maestro/
With the SQL-centric approach you do not need to specify a DAG because it can be inferred automatically, all you do is maintain your SQL and Maestro takes care of executing it in correct order.
comment 6y ago · link · parent
12.
Ask HN: Do you blog under your own domain? How?
27 points · by gtrubetskoy · 6y ago · 39 comments
comment 6y ago · link · parent
http://modpython.org/live/current/doc-html/pythonapi.html#mu...
EDIT: And it looks like I had subinterpreters in the first released version in May 2000, so the initial git (formerly SVN) commit already had them https://github.com/grisha/mod_python/blob/9b211b7e8a65f1af4b...
EDIT2: Just noticed this comment:
* Nov 1998 - support for multiple interpreters introduced.comment 6y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
C*2^7
You can also follow fifths and arrive at the same note after 12 fifths. A fifth of a note is 3/2 of its frequency. Thus, starting from the same C, you arrive at C*(3/2)^12
But... (3/2)^12 = 129.7, while 2^7 = 128.
And that's (roughly) the problem that Bach's temperament addresses by ever so slightly adjusting the frequency so that in any key it sounds "right".comment 7y ago · link · parent
https://www.youtube.com/watch?v=ras_VYgA77Q
https://en.wikipedia.org/wiki/Predatory_open-access_publishi...
comment 7y ago · link · parent
comment 8y ago · link · parent