News for hackers. Stuff that matters.

fedorova

Re:Ask HN: What lifehacks actually changed your life? on Thursday January 20, 2022 @12:33AM (#30005104)
Please tell us how you do the walking meditation. It sounds great and I’d love to try it.
Re:The benefits of intermittent fasting the right way on Sunday January 16, 2022 @08:42PM (#29962454)
I started IF about two years ago. I gradually, over a very long period worked down to one meal a day. It wasn’t hard, because it was gradual. I didn’t lose weight (but I wasn’t overweight to begin with), but I have leaner stomach and I gained muscle and strength. I’ve never felt better in my life. The first improvement I noticed was mental clarity.

It is embarrassing that the BBC article gets all its information from only one “expert”, who doesn’t seem expert at all. So shallow. For me, the best source of solid evidence-based information about IF was Jason Fung’s Obesity Code.

Re:How to read research paper, textbook, long text content? on Sunday January 09, 2022 @12:46PM (#29865564)
I am a scientist and I have to read sometimes hundreds of pages of dense scientific literature in a given week while doing other things that my job requires. I also find reading long difficult text to be hard. However, over the years I found two things that allowed me to get better at it:

1. Just read A LOT. There is no way around it. If you push yourself to do this, eventually your mind will figure out a way.

2. Markup the text you are reading. I do this on an iPad with a stylus. I underline key points, circle important paragraphs, jot down a quick summary of lengthy thoughts.

Good luck!

Re:Ask HN: 2020 goals and resolutions? on Thursday December 26, 2019 @05:46PM (#21887518)
* Consume less. Do something good for the planet.

* Rekindle my career now that I’m done having kids. Start a new research project, submit ~5 good papers.

* Help my husband with his career transition.

* Figure out how to have more impact in my consulting gig.

* Learn how to match flavors in food and how to pair food and wine.

Re:Why mmap is faster than system calls on Thursday December 19, 2019 @12:16PM (#21836884)
I do agree with you about the title!
Re:Why mmap is faster than system calls on Thursday December 19, 2019 @11:41AM (#21836468)
I doubt it. Using O_DIRECT is essentially bypassing the buffer cache. Similar to the “cold” experiments where the file is not cached. Mmap is still faster. I have also done experiments on a NVRAM machine with DAX file system (no buffer cache). Mmap is still several times faster.