799 total calories, 55:33 run duration, 146 avg heart rate. Resting metabolism: about 1800 calories per day.
HN user
atmin
[ my public key: https://keybase.io/atmin; my proof: https://keybase.io/atmin/sigs/kPxAW0EUxVYd1b-QI9udz1qDzaJ0D6WBWkOJHD3gfuc ]
I just ran for a hour and burned about 45% of my resting calories. I do this every other day. 3.5 hours of exercise per week sounds reasonable to me.
Not OP, but interested: can you deploy on a vps having only bun and not node?
The main argument (“I hate static sites”) can be more efficiently (dynamic page, guaranteed fast response, mainstream tech) addressed by deploying normal JavaScript jsx on the edge.
Yes. It's one background image, tiled 8 billion times, but you never see more than a screen of tiles at a time. Virtual scrolling is fast.
No mention of SQLite as an embedded SQL database?
SHAs of entire IPv4 space can be easily precalculated. Include a nonce, that is rotated periodically, to solve this.
Any sufficiently advanced search engine is indistinguishable from hacking.
Very cool. I had similar idea and glad to see it implemented and working well.
Workers KV imposes 25MB limit per key. Worker memory limit is 128MB. Concatenating several values from the store or using sqlite's ATTACH DATABASE should make possible querying of about 100MB large databases, would be my guess.
I used qrpixel to draw my avatar https://avatars0.githubusercontent.com/u/714648?s=460&u=2bca...
I'd be very glad to see it online again.
Maybe these are not their customers anymore and this is just timely update.
Reminds me of http://www.underengineering.com/2014/05/22/DIY-NoSql/
What I'd love to see in Pydis is durability option.
sql.js does this
sql.js uses emscripten to compile SQLite to webassembly (or to javascript code for compatibility with older browsers)
By default, sql.js uses wasm
Citation needed. All I can find are jailed musicians in Japan for drug possession.
Not just some member, but the leader. He did know how to behave in this role (including allowing such stories become widespread), he was the leader for 45 years.
And implementation by the same author: https://github.com/csuwildcat/SelectorListener
You kinda can do it on Android via Termux: https://termux.com/add-on-api.html
I created something similar recently, but more minimalistic, es6/jsx-encouraging and based on the real DOM (via morphdom).
- CSS can be tested, e.g. [1]
- use simplified program model and enforce it, [2]
I did something quite similar couple years ago [jtmpl.com].
Main difference is Monkberry uses Jinja-inspired templating language and jtmpl uses Mustache (with slightly changed semantics, so, for example, a partial can be dynamically requested via XHR). jtmpl is a bit bigger and provides a bit more features.
Thanks for the insightful explanation. Adding https://github.com/atmin/freak to the comparison (disclaimer, I'm the author):
* it supports set operations, `model(‘fieldName’, newValue)`, like Backbone and unlike Redux, which trigger only the necessary update actions in the (implicitly built) dependency graph. set is idempotent, even if your computed properties have side effects
* it has .on() method
* "You can log every action and see the entire state tree before and after the action.”. In freak, too:
const model = freak(statePOJO);
const history = [];
model.on(‘change’, prop => {
// change is called exactly once per mutation
history.push({...model.values});
});
freak’s README is a literal test suite, consisting of state changes and assertions.Probably it's a good idea to add 'beforeChange' event, to make it possible to cancel a mutation.
* it's currently implemented internally using mutable data structure, but this is implementation detail and can be changed to immutable data in the future, allowing simply `history.push(model.values)`
You may be interested in my functional-reactive object wrapper, https://github.com/atmin/freak