Better HN
topnewbestaskshowjobs
Log inSign up

Fritsdehacker

59 karma · joined Oct 10, 2014 (12y ago) · 36 submissions

Submissions

comment 4y ago · link · parent

Same here. And it is not expensive.

comment 4y ago · link · parent

Under normal circumstances the difficulty with the western diet is getting enough nutrients, but not too much calories.

I meant the combination can be a challenge if your on a narrow time feeding window.

comment 4y ago · link · parent

In the Netherlands, anything you buy from Bol.com is automatically synced to your Kobo device. Not sure about other retailers.

comment 4y ago · link · parent

For most males it should be possible to get enough calories and nutrients from just one meal, but I would not say easy. It is far easier with two meals, or maybe a time window of 4 hours.

It's probably also better to ease into it. So start with an 8 hour eating window and slowly decrease the window.

Getting enough calories and nutrients can be a challenge and is far from easy with the "standard western diet". I would really recommend seeking advice from a professional.

comment 4y ago · link · parent

This is why you have backups. Good on you to have them!

When I just started as a junior dev at a small company I made the classic mistake of emptying the prod db instead of my local dev db. This was a small and in hindsight insignificant project. But Google was our customer, so it didn't feel insignificant at the time.

In this case my inexperience was partly my savior. All the data was inputted by people via a web form. Normally you're supposed to use POST to submit a form. But I was quite clueless at the time, so I had used GET. This meant all requests were still in the Apache logs. I could simply replay all requests.

I still feel my hard pounding when I think about the moment I realized what had happened. I was really relieved when everything was back!

What I learned from this incident:

- make automated backups

- no access to prod db from anywhere but prod

comment 4y ago · link · parent

I don't know. Disclaimer: just a happy customer. What I do know is that all you know about me is the account number you gave me and the IP address I'm connecting from. I always pay cash, so that would be hard to trace back.

So I know you do the absolute maximum you can do to know as little about me as possible. As far as not keeping logs and not spying on me, I suppose I'll have to trust the audit reports.

Not much more you can do in my opinion. It's definitely good enough for me! Thanks for this great service!

comment 4y ago · link · parent

Maybe you shouldn't feel bad about this, you're not always hurting feelings.

If I'm using an open source project and I need something changed, I'll usually just make the change and put the new code online, because I think that's how open source is supposed to work. Others can now benefit from my change.

I'll also make a PR to the original project. But I don't mind if it's rejected. I made the changes for myself. If you can use the changes, fine. If can't, also fine.

comment 4y ago · link · parent

Sure, but the way I read the article, that's what the author shows. They don't like trade-offs that are made.

Maybe the tone of the article feels a little aggressive towards Go, I don't know. To me it felt more like an outcry of frustration with the chosen trade-offs.

comment 4y ago · link · parent

I think describing this article as a one sided rant isn't really fair. The author shows that Go makes a few design decisions that make it easy to shoot yourself in the foot. This is generally a bad idea. Rust may be the summum of correctness. In my view that makes it an ideal candidate for comparison. It shows the reader what a better solution would look like. And that this can work in practice. Does that mean you shouldn't write code in Go? No of course not. But I think the author has done a great job of showing why they don't want to use Go anymore.

comment 4y ago · link · parent

Reminds me of all the hours I spent learning to program in QBasic.

comment 4y ago · link · parent

In Linux you can also use network namespaces for this. Although you can't have your application run in multiple namespaces simultaneously, I think.

The websocket approach is a lot easier to configure, so I'm definitely going to look in to this.

comment 4y ago · link · parent

Email from the dutch government: You have a message from <organization>. Log in to My Government to view.

Me: logging in to My Government using DigiD, which takes some effort, like five steps between two different sites and an app, but at least seems to be secure.

My Government message: you have a message from <organization>. Log in to <organization> portal to view message.

Me: Logging in to <organization> portal, again using DigiD (same steps).

<organization> portal message: There is a new document for you to download at My Documents in our portal.

Me: Wow, I don't even have to log in again, that's great! Document is not in the list, though. O, you have to select unread documents, otherwise you only get the old ones. Sure, makes sense.

Document: You student loan interest has been changed. We will send you your new monthly repayment amount soon.

Me: Great, glad I spent an hour finding out what was in that document...

comment 4y ago · link · parent

I had a similar experience, though not with a house. My sons school was organizing a couple of sport activities. We could sign him up for the different activities, but it was first come first serve. We were early, so our son ended up doing all the activities. This meant some kids ended up getting nothing.

I found this very unfair. Better would have been to let all the kids list there preferences and then fairly distribute the kids over the activities. However, I could see why the school wouldn't want to bother with this.

I ended up creating a tool (1) for them to do this easily. It's quite ugly, but it's open source (2) and it works. The tool is in dutch because it's a dutch school.

(1) https://eerlijke-indeling.nl/ (2) https://github.com/deliriouspenguin/eerlijke-indeling

comment 6y ago · link · parent

I don't understand Cloudeflare is making direct configuration changes to a router like this. If these are changes that are made regularly, why not use a tool to make them. You can then assure that only certain changes are possible, preventing simple mistakes like this.

comment 6y ago · link · parent

I don't have any problems with numbers or math. But I do have the same issue with time conversion in Dutch. I also have problems with tens. In Dutch you say "four and sixty" for 64, which I find terribly confusing and I often replace it with 46 internally. I tend to read numbers in English for that reason.

comment 6y ago · link · parent

I've made systemd profiles and timers to do restic backups. It's really clean and works well. Also much better testable than cron. It will most likely also work for more complex scenarios, like you're mentioning.

comment 6y ago · link · parent

A lot of people here are saying this is why you shouldn't trust cloud services for password management. And I agree. I use Keepass myself, however, that is not a viable solution for most of my family and friends. They need something dead simple, which is what cloud services like LastPass, Bitwarden etc. offer. I think the LastPass user interface is horrible, though...

comment 7y ago · link · parent

Instead of full on fasting there is the option of "intermittent feeding", where you only eat part of the day, without restricting calories. This has some very interesting health benefits [1].

It's still advisable not to overeat, obviously.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5064803/

[edit] typo

comment 7y ago · link · parent

That's an interesting idea. I thinks it's definitely part of the benefit vegetables give.

Vegetables also contain a lot of vitamins and minerals that we require and a lot of fibers that are beneficial to gut bacteria. These are also linked to good health, so I don't think you you leave out vegetables, even if you wouldn't replace them with meat and dairy.

comment 7y ago · link · parent

There are actually strong links between diet and health. Eating a lot of vegetables lowers the risk of quite some diseases including cancer and heart diseases. The western diet seems to be particularly unhealthy in that regard.

It's not about eating more, but about eating different things.

comment 8y ago · link · parent

I lived in Amsterdam for more than ten years and recently moved to a smaller city. Amsterdam really has it's own bike "culture". Cyclist in the rest of Holland are far more forgiving to pedestrians and other traffic in general in my experience. I have no trouble cycling in Amsterdam, but I do have to pay a lot more attention than normally.

22.

Chemicals in Food May Harm Children, Pediatricians’ Group Says(nytimes.com ↗)

3 points · by Fritsdehacker · 8y ago · discuss

comment 8y ago · link · parent

We use a self hosted GitLab, it is really fast and stable. Also the CI is very reliable and fast.

comment 8y ago · link · parent

In the case of Openstack though, the community made it really easy to build docker containers from source.

comment 8y ago · link · parent

I work for a hosting company and we host our own Openstack based public cloud. We have a hard demand that for production systems we build all binaries we use from source. We actually build these in docker and use that to deploy to production.

What I'm trying to say is that the one doesn't exclude the other.

And we actually use make quite extensively.

I do however see the ops point, building from source hasn't gotten easier.

comment 10y ago · link · parent

I never heard retreat as an option, but the issue it is definitely discussed here. In 2010 the "Delta" program started, making place along the river sides for the water to flood when needed [1]. There are also projects started to strengthen the dikes and dunes. I live in the Netherlands and I'm not worried.

[1] http://www.klimaatportaal.nl/pro1/general/start.asp?itemid=3... (in dutch)

comment 10y ago · link · parent

Why would threading with GIL be worse than no threading at all?

As long as IO is your bottleneck the GIL shouldn't be much of a problem. And Python (and I'm sure Ruby, too) has excellent async support.

Not saying Node.js isn't useful, but I wouldn't automatically say no to Python or Ruby.

28.

Commenting: documentation and justification(totempaal.tj ↗)

2 points · by Fritsdehacker · 10y ago · discuss

comment 11y ago · link · parent

I like digikam. It mirrors the internal photo albums with directories on the disk, so if you want tot browse tour photo's directly, you can still find them easily. Things like labels, comments and ratings are all stored in a little database file. You can view by album, but also by date or use custom filters.

comment 11y ago · link · parent

It would actually be less secure to run your browser in a Docker container. If an attacker can break out of the container, it has root access to your system.

https://zeltser.com/security-risks-and-benefits-of-docker-ap...

12