Better HN
topnewbestaskshowjobs
Log inSign up

darrickwiebe

41 karma · joined Apr 22, 2012 (14y ago) · 10 submissions

Submissions

comment 13y ago · link · parent

This is a great post! Very nicely written and understandable. I really like the way this approach breaks up the work of reacting to, processing, and rendering the results of events into discrete and composable steps. I feel like I'm starting to understand the potential power behind CSP for user interface development.

I do wish that it included a full code listing, though. I'm curious to see how the code looks in its finished state, together with whatever additional helpers need to be defined to accomplish what we see on the page. I'm also interested to know how the protocols the article defines get implemented and used.

comment 13y ago · link · parent

I came to the same conclusion. I think fasting is a good example of a weight loss approach that optimizes for low ego depletion.

http://en.wikipedia.org/wiki/Ego_depletion

comment 13y ago · link · parent

No, I only drank water. A lot of water. Even on my regular diet I drink more water than most people, but when fasting, I'm sure I drank 2-3x more water than normal. I would typically have a bottle or glass of water on hand all the time.

Once I did experiment with either lemon water or weak tea (can't recall now) but that caused an unpleasant case of acid reflux, which was very unusual for me.

comment 13y ago · link · parent

Simply the first link on Google to the text of the article.

comment 13y ago · link · parent

Harpers Magazine published a much better written article that discusses this same Scotsman along with an American who achieved some slight fame for his fasting around the beginning of the 20th century. In addition, the author writes about his own fairly significant fasts.

http://www.scribd.com/doc/95722979/Starving-Your-Way-to-Vigo...

After reading that article and doing a little bit of further research online, I tried a pair of fasts. The first was a week, followed a few months later by one of 10 days. My experience was very similar to what the author describes. That is, I felt good during the fast after the miserable 2nd day. Coming off the fast was no problem, either. Food was actually not a significant temptation during the fast and I found the discipline aspect to be much easier than the couple of standard diets I've ever tried.

I'm tall and about 50 pounds overweight (~200 lbs would be my target weight). In the 10 day fast I lost roughly a pound per day, but for me the weight came back within just a few weeks. I suspect that to have the best results I'd have to continue my fast for 5-6 weeks.

In fact, I only broke my fast because I was leaving for a road trip vacation in which I had to drive. My focus was actually fine and I was able to write software with no problems during my fast, but wasn't willing to experiment with long stretches of driving.

I'm actually looking forward to my next fast which I hope I can make last at least several weeks.

comment 13y ago · link · parent

If you look at the winners of the Underhanded C Contest [1], the subtle and deniable "errors" that are hidden in innocuous looking pieces of code remind me a lot of the type of error that this spreadsheet sounds like it contains.

It's telling that now that their data is exposed as being incorrect, the original authors still are standing behind their conclusions.

[1] http://underhanded.xcott.com/

comment 13y ago · link · parent

This command has a mistake in it:

  ours   = "!f() { git commit --ours $@ && git add $@; }; f"
it should be

  ours   = "!f() { git checkout --ours $@ && git add $@; }; f"

8.

Maintainer(s) wanted for vim-javascript(github.com ↗)

2 points · by darrickwiebe · 13y ago · discuss

comment 13y ago · link · parent

I've been considering adding a treadmill to my standing desk, but am concerned about the whine of the treadmill and the sound of my footsteps on it bothering others in the room or who work below me. How is the noise from your setup? Have you had to address that in any way?

comment 14y ago · link · parent

Under lein 2, the "lein run" task fails with the following error:

Exception in thread "main" java.lang.ClassNotFoundException: clojurescript-ohpointone.core

I installed the stable release of leiningen and it works fine.