News for hackers. Stuff that matters.

Fritsdehacker

Re:NextDNS API on Thursday June 16, 2022 @12:08PM (#31767669)
Same here. And it is not expensive.
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.

Re:Kindle, ePub, and Amazon’s love of reinventing wheels on Wednesday May 18, 2022 @03:29AM (#31420129)
In the Netherlands, anything you buy from Bol.com is automatically synced to your Kobo device. Not sure about other retailers.
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.

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

Re:Mullvad VPN now accepts Monero payments on Tuesday May 03, 2022 @01:11PM (#31250750)
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!

Re:Things I don’t want to do to grow my side project on Sunday May 01, 2022 @05:05PM (#31228657)
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.

Re:I want off Mr. Golang’s Wild Ride (2020) on Thursday April 28, 2022 @02:56PM (#31196698)
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.

Re:I want off Mr. Golang’s Wild Ride (2020) on Thursday April 28, 2022 @02:39PM (#31196467)
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.
Re:Vim Color Schemes on Saturday April 02, 2022 @06:31AM (#30887163)
Reminds me of all the hours I spent learning to program in QBasic.
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.

Re:A short conversation with a bank on Sunday March 13, 2022 @06:26AM (#30659944)
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...

Re:Some tiny personal programs I've written on Thursday March 10, 2022 @04:56AM (#30625134)
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

Re:Cloudflare outage on July 17, 2020 on Saturday July 18, 2020 @02:17AM (#23879451)
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.
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.
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.
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...
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

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.

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.

Re:How the Dutch created a casual biking culture on Tuesday August 28, 2018 @04:35PM (#17862617)
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.
Re:GitLab sees huge spike in project imports on Monday June 04, 2018 @09:03AM (#17227294)
We use a self hosted GitLab, it is really fast and stable. Also the CI is very reliable and fast.
In the case of Openstack though, the community made it really easy to build docker containers from source.
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.

Re:NASA Is Facing a Climate Change Countdown on Thursday April 07, 2016 @05:56PM (#11451022)
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)

Re:CoreUtils implemented in pure JavaScript on Tuesday March 22, 2016 @05:42PM (#11340169)
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.

Re:It Just Works on Thursday August 06, 2015 @01:41AM (#10014745)
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.
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...

Older »