Hacker Newsnew | past | comments | ask | show | jobs | submit | atmin's commentslogin

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.


How many Calories (I assume kilocalories) is that?

According to this article:

https://www.nytimes.com/2018/02/23/sports/olympics/cross-cou...

>A typical elite cross-country skier will burn about 30 calories a minute during training–by comparison, a 155-pound person on an elliptical machine burns about 11 calories a minute.

On the rowing machine, I can get up to about 500 to 600 Calories in 45min to 1 hour. But I also feel like most people would not work out hard enough to burn 10 calories per minute, especially if we are talking about older people.


799 total calories, 55:33 run duration, 146 avg heart rate. Resting metabolism: about 1800 calories per day.


Not OP, but interested: can you deploy on a vps having only bun and not node?


Yes


I don't think you're talking about what GP comment is.

For clarification, Bun can act as a package manager like npm (probably the case of "bun + app router + NextJS" comment), and it can act as a replacement to a node runtime a la Express on a VPS (I'm assuming this is what you mean by "yes"). But Bun currently does not implement enough of the Node API's to use Bun as the runtime for a Next.js app.

From Bun themselves: "The Next.js App Router currently relies on Node.js APIs that Bun does not yet implement. The guide below uses Bun to initialize a project and install dependencies, but it uses Node.js to run the dev server."

https://bun.sh/guides/ecosystem/nextjs


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?


This post is about key-value stores.

While foundationdb uses SQLite I didn't otherwise think of SQLite as being relevant here. :)


SHAs of entire IPv4 space can be easily precalculated. Include a nonce, that is rotated periodically, to solve this.


It's a good idea, but the hash doesn't need to be unique or secure.

The IPv4 space is 2^32. The trick is to keep e.g. 24 bits. 2^24 gives 16M possibilities -- unless your web site is _VERY_ big, that means it's a unique ID for most visitors. If you come across an IP (e.g. a scammer), you can also backtrack.

On the other hand, mapping back, you get 2^8 options, so you can't tie back to a unique user.

A nonce is a good idea, but it's not part of the security perimeter here.


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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: