HNHacker News
TopNewBestAskShowJobs

scottjad

848 karma · joined March 22, 2010

submissionscomments
scottjad··on Side Tabs: Prototyping An Unexpected Productivity Hack
Unfortunately not in portrait mode, at least for me. And in both portrait and landscape modes on my N7 Firefox only shows 3.5 tabs, about the same as Chrome.
scottjad··on Side Tabs: Prototyping An Unexpected Productivity Hack
Where I really want side tabs is on my Android Nexus 7 tablet.

On it in Chrome I normally browse the web in portrait mode and I can see the titles of about three tabs, but only a few words of each. With a slide out side panel on the left (activated by dragging left to right from off the screen onto the screen) I would be able to see the titles for 15 or so tabs, with larger press areas and close buttons.

I realize for every tab switch this would require a swipe and a click, but as it is now the tab is often not one of the three visible and so I already have to swipe multiple times across the tab bar to see the tab before clicking it.

scottjad··on My Treadmill Desk
Treadmill desks can cause seasickness.

At least for people video chatting with you :)

https://www.youtube.com/watch?v=Z-SKWfNWS08

Not sure how fast the person in this video is walking though. [edit: looks like he's walking at 2-2.5mph, whereas author recommends 0.5mph]

scottjad··on Palaeolithic diet: Should we all eat like cavepeople?
Programmers read a lot of blogs and use reddit, and paleo bloggers and /r/paleo are much more popular than vegan bloggers and /r/vegan. Of course the causation could go in the other direction, so I'm just guessing here.
scottjad··on Palaeolithic diet: Should we all eat like cavepeople?
I am quite sure that carbs is the most satiating macro, not fat. :) j/k

It's the energy density and palatability, not macronutrient content.

http://jn.nutrition.org/content/130/2/268.long

"In studies of satiation, it is important to match the palatability of the foods when they are compared. If it is not, the fact that one food tastes better than another could override any effects of the nutrient composition on amount consumed (Drewnowski 1998). In addition, to study the specific effects of macronutrients, they must be manipulated independently of energy density."

"These three studies indicate that the amount of fat in the diet did not influence satiation when the energy density was held constant."

"These results provide clear evidence that the energy density of food can affect satiation independently of macronutrient content and palatability."

scottjad··on Palaeolithic diet: Should we all eat like cavepeople?
It is very nutrient poor and it is very calorically dense, almost as dense as bread.

  | food (100g prepared) | cals |
  |----------------------+------|
  | KFC double down      |  224 |
  | whole wheat bread    |  259 |
  | brown rice           |  110 |
  | corn                 |   86 |
  | carrots              |   41 |
  | cantaloupe           |   34 |
But I guess if you love saturated fat and get your nutrition advice from bloggers and journalists it's awesome!
scottjad··on Ergonomics of the Symbolics Lisp Machine
It would be great if someone (anonymously) could get a working OpenGenera VM and upload the image so that people could skip all these steps and try it out immediately.
scottjad··on The case for eating steak and cream
When people recommend legumes, they're not normally talking about peanuts. It's like people recommending fruits aren't normally talking about tomatoes.

  | food (100g prepared) | cals | fat |
  |----------------------+------+-----|
  | peanuts              |  567 | 73% |
  | black beans          |   91 |  3% |
  | bacon                |  541 | 71% |
  | brown rice           |  110 |  7% |
  | oats                 |   63 | 13% |
  | chicken breast       |  195 | 37% |
  | provolone cheese     |  351 | 67% |
  | light string cheese  |  200 | 45% |
  | cantaloupe           |   34 |  5% |
  | carrots              |   41 |  5% |
  | corn                 |   86 | 11% |
  | whole wheat bread    |  259 | 14% |
Note how peanuts and bacon have similar caloric densities, yet black beans, brown rice, oats, and corn are much much lower? These are the legumes and whole grains parent is likely talking about, not peanuts and whole wheat bread.

Note how even chicken breast and light string cheese are twice as dense as than those whole grain products.

Note how high water content fruits and vegetables are king.

scottjad··on The case for eating steak and cream
My favorite resource on micronutrients and diet are the graphs in this article http://www.vegsource.com/harris/ten_categories.htm
scottjad··on The case for eating steak and cream
For a critical response to Gary Taubes and the many other cholesterol confusionists, I highly recommend the videos by the PrimitiveNutrition Youtube user. He has over 30 hours of entertaining video analyzing medical studies and arguments related to this topic including the common attacks on Ancel Keys regurgitated in TFA.

https://www.youtube.com/user/PrimitiveNutrition/featured Transcripts: http://www.plantpositive.com

scottjad··on The Soylent Revolution Will Not Be Pleasurable
Yeah, eating that much Kale would make Soylent very pleasurable in comparison :)

I mention that it's a lot of Kale and allude that it's not practical to eat that much ("Obviously I'm not recommending people eat 74.6 cups of Kale each day"). The parent said there exists no combination of plants that could match the Soylent nutrients, and I showed that just using a single plant and a single supplement you could get almost there on all the nutrients for which I had data, so it's plausible there does exist some combination that gets there (except for B12, and possibly some of the other nutrients for which I don't have data if they do not exist in any plants).

scottjad··on The Soylent Revolution Will Not Be Pleasurable
Kale by itself exceeds that list of nutrients for almost every nutrient that I could find data for. For many nutrients it blows it out of the water. It also likely includes many unknown beneficial phytonutrients that are not included in Soylent.

Also, from what I understand many of the benefits of these nutrients are diminished or not observed when they are injested from industrial refined supplements like those used in Soylent as when they are eaten in whole plant foods like Kale.

The five nutrients where Kale had less were Sodium, Selenium, Pantothenic acid, Vitamin D, and Vitamin B12. Kale's Sodium was still 127% of the RDA, Selenium was 82% of the RDA, and Pantothenic acid was 91% of the RDA. Not bad for a single plant. I suspect that in a well-rounded whole plant diet these deficiencies would be resolved. If you grow your own Kale then you will make plenty of Vitamin D :) If you don't make enough then you can supplement Vitamin D like millions of animal-eating humans do. B12 is not included in plants, so obviously if you eat only plants you need to supplement it. It costs less than US$0.01/day so I don't see that as a major problem.

I'm highly suspicious that you will find many nutritionists who would say that Soylent is more nutritious than a diet of whole plant foods.

Notes: the USDA data for nutrient amounts in foods are not always very accurate. I believe the nutrient amounts linked by the parent represent an old Soylent recipe, since they have only 5g of fiber which is less than RDA of 25g (female) and 38g (male). "-" in the table indicates I don't have data for this. (+ (* 4.1 400) (* 50 4.1) (* 65 9.3)) => 2449.5 calories for the Soylent data you linked [edit: I'm not sure if carbs included fiber so it's possible that the Kale diet has 1% more calories than the Soylent diet]

Obviously I'm not recommending people eat 74.6 cups of Kale each day, but you can get all you need of these nutrients from a much more tasty diet of a variety of whole plant foods.

  |                     | Soylent | Kale     |
  |---------------------+---------+----------|
  | Calories            | 2449.5  | 2449.1   |
  | Carbohydrates       | 400 g   | 437 g    |
  | Protein             | 50 g    | 213 g    |
  | Fat                 | 65 g    | 46 g     |
  | Sodium              | 2.4 g   | 1.9 g    |
  | Potassium           | 3.5 g   | 24.5g    |
  | Chloride            | 3.4 g   | -        |
  | Fiber               | 5 g     | 179 g    |
  | Calcium             | 1 g     | 7.4 g    |
  | Iron                | 18 mg   | 73 mg    |
  | Phosphorus          | 1 g     | 4.5 g    |
  | Iodine              | 150 μg  | -        |
  | Magnesium           | 400 mg  | 2349 mg  |
  | Zinc                | 15 mg   | 28 mg    |
  | Selenium            | 70 μg   | 45 μg    |
  | Copper              | 2 mg    | 74 mg    |
  | Manganese           | 2 mg    | 32 mg    |
  | Chromium            | 120 μg  | -        |
  | Molybdenum          | 75 μg   | -        |
  | Vitamin A           | 5000 IU | 83220 IU |
  | Vitamin B6          | 6 μg    | 13.5 mg  |
  | Vitamin C           | 60 mg   | 5997 mg  |
  | Vitamin D           | 400 IU  | 0        |
  | Vitamin E           | 30 IU   | 77 mg    |
  | Vitamin K           | 80 μg   | 35227 μg |
  | Thiamin             | 1.5 mg  | 5.5 mg   |
  | Riboflavin          | 1.7 mg  | 6.5 mg   |
  | Niacin              | 20 mg   | 50 mg    |
  | Folate              | 400 μg  | 7047 μg  |
  | Biotin              | 300 μg  | -        |
  | Pantothenic acid    | 10 mg   | 4.5 mg   |
  | Lycopene            | 500 μg  | -        |
  | Omega-3 fatty acids | 750 mg  | 9000 mg  |
  | Ginseng             | 50 μg   | -        |
  | Ginkgo biloba       | 100 μg  | -        |
  | Lutein              | 500 μg  | -        |
  | alpha-Carotene      | 140 μg  | -        |
  | Vanadium            | 100 μg  |          |
scottjad··on Why I am excited about Clojure
imap library with idle support. haskellnet and imapget don't mention idle from what I can see. javamail does.
scottjad··on Burying the URL
If this change lands, then a couple minutes into helping someone fix their computer you now not only have to change Windows Explorer to show file extensions, but you also get to disable this.
scottjad··on Burying the URL
Here are some use cases I thought of:

go to the top level domain directly instead of hunting and hoping that they have a link there

going up several directories on an ftp site

go from reddit.com/r/starcraft to reddit.com/r/nba

go from a foo.github.io/bar docs page to github.com/foo/bar instead of hunting, and hoping, for a link

increment the page number on a blog by several instead of clicking next repeatedly

prepend http://www.google.com/url?q= to NYTimes urls to avoid paywall

add ?limit=100 to see more comments on reddit comment page

going to a new topic on wikipedia

scottjad··on Worse
What's with this stupid title where you have to read the thing to have any clue what it is about?

Imagine if the front page were full with these kind of titles. We might as well change the titles to random numbers.

The last post by this guy that I remember, and the second to last one to do well on the frontpage (perhaps explaining the current behavior), was titled "Off". Can you get any more vague?

In that post all he said about anything being off was "The presenting executives seemed a bit off, too."

My prediction is that before long he'll have a post at the top of Hacker News titled "And" where he ends it with "And that's what I think."

scottjad··on What Dreams May Come
Capitalism is beautiful. It's the reason someone built the home that his family lives in. It's the reason why the resources and technologies to build that home were used for that purpose instead of another. It's the reason why people loaned him money to buy that home. It's the reason people built his van instead of something else. It's the reason a stranger is willing to dispose of his body. It's the reason cremation is so affordable if they choose that option.

Capitalism is the reason there will be a hotel with a room available when he goes to visit family. It's the reason there will be gas at the gas stations along the way. It's the reason Disneyworld will still be operating when he gets there.

Most important of all, Capitalism is the reason why so many of his peers are wealthy enough to afford the basic survival needs of themselves and their own families that they are able to donate some of their surplus to help this family in need.

That said, I agree that consumerism and living beyond one's means and not saving for a rainy day and distorted markets are problems.

scottjad··on What Dreams May Come
You forgot to include state and local government expenditures, which perhaps almost double the number.

And maybe he was thinking of a China GDP number from a year or two ago. When I google "China GDP" it gives me $7.3 billion from 2011.

And "nearly" is subjective.

And most military spending is welfare, either to defense contractors or otherwise.

scottjad··on What Dreams May Come
Maybe they don't have room for 6 visitors (for a month in one case, assuming he's not going to spend a month away from his immediate family).
scottjad··on Show HN: My current App Store Featured Game was written entirely in Scheme
I think you could use the Phonegap Build service to avoid running OSX.
scottjad··on Find your color scheme
Thank you.

https://github.com/Zaku-eu/colourco.de/blob/be7a41500fd1b358...

or a convenient Emacs command/function:

  (defun rgb-to-fgc (&optional background)
    "Returns a hex RGB triplet string for a chosen color or
  BACKGROUND."
    (interactive)
    (let ((background-rgb (color-name-to-rgb (or background
                                                 (read-color nil t))))
          (m (/ 96.0 255))
          (foreground-rgb (mapcar (lambda (x)
                                    (+ x (if (> (apply #'max background-rgb)
                                                (- 1 m))
                                             (* m -1)
                                           m)))
                                  background-rgb))
          (foreground (apply #'color-rgb-to-hex foreground-rgb)))
      (message foreground)
      foreground))
scottjad··on Find your color scheme
What formula do you use to calculate the color for the foreground text that shows the color of the background?
scottjad··on Notch Playing Ludum Dare [video]
You can use Flash or Livestreamer on Linux and presumably OSX. There are also apps for Android.
scottjad··on Show HN: Bit of News – Intelligent news summaries
My favorite terse world news source these days is http://en.wikipedia.org/wiki/Portal:Current_events

For a long time I've wanted a new source that will only show me stories that are likely to be relevant in a year. If no one is going to care or remember something in a month, then I'd rather just skip it. Portal:Current_events is as close to that as I've found.

What I love about it: very short summaries with the most important details about stories that people might still care about in a year, no sensational or partisan headlines, one click to excellent summaries of the issues, and I can easily catch up after missing a few days, whereas many news sites make it hard to see what they looked like even yesterday.

Take for instance the top story on bitofnews.com. The Portal:Current_events summary is:

"<a>A roof collapse</a> at a grocery store in <a>Riga</a>, Latvia, kills more than 50 people."

So it's more up to date than the bitofnews summary that has "at least 32," and if I care where Riga is instead of reading "Riga, which is the biggest city in the Baltics and its biggest seaport" I can click the Riga link and see a map and photo and population etc. If I want to know about the ongoing event, I can click the "a roof collapse" link and I'm presented with a pretty good summary of the issue.

I'm happy to see more news sources like this appear though. My only problem with the Portal:Current_events is that it doesn't have a good RSS feed and if I check it more than once a day, or mid-day, then it can be hard to see what has changed since my last visit.

scottjad··on Why I Will Never Go Back to the United States
> Without trying to spark a partisan discussion, those taking positions against voter ID requirements are the ones you'd expect to be opposed to illegal immigrants voting, and those in favor of voter ID requirements are the ones you'd expect to benefit the most from illegal immigrants voting.

I think you have this backwards, perhaps unintentionally. North Carolina, with its Republican controlled Senate, and House, and Governor has passed voter ID laws. They are being challenged by the Democrat-controlled US Department of Justice.

scottjad··on Why I’ll Never Return to Singapore
> I've never had the impression that the military was held in particularly high regard; serving in the military is the sort of thing you might be ashamed to admit that your children do.

In areas where Republicans win elections (roughly non-urban America), military "service" is very often held in quite high regard. Sure, it's not like being a doctor, but I don't think parents are often ashamed of it. Parents, siblings, and grandparents are often quite proud that their family member is in the Marines, for example. People wear t-shirts advertising their current or past involvement. At American Football games they often have active duty military stand up and people clap for them.

As for some examples of military propaganda, here are some that come to mind (note I'm not the OP):

- July 4 and other holidays where the military participates prominently in parades.

- military jets flying over head of a sporting event or a parade, or an air show.

- school field trips to military bases or military museums.

- military bands performing concerts

- mentions to "brave men and women in uniform" in political speeches everywhere

- "support our troops," "my son's a Marine" signs/bumper stickers

- Hollywood videos that glorify the US military and lease military equipment/personnel

- Video games where the US military or US military weapons feature prominently. The US Army famously sponsored a very expensive game a decade ago.

- tons of advertisements on Channel One news, perhaps a couple a day, a TV station that almost all high school students were required to watch during the 90s (I don't know about now)

scottjad··on 15 years ago, Congress kept Mickey Mouse copyrighted. Will they do it again?
"Property does not exist because there are laws, but laws exist because there is property" -- Bastiat

The idea being that proper governments recognize rights that already exist, they don't create those rights. One could argue that so-called intellectual property rights aren't rights that existed before governments created them.

scottjad··on Soylent Closes $1.5M In Seed Funding From Lerer, Andreessen Horowitz
In combatting world hunger, are you thinking of a factor other than price, like transportability, perishability, predictability, controlability, preparationability?

Given that the cheapest DIY soylent appear to be primarily based traditional staples like rice, oats, peas, soy, and flax seeds, it doesn't seem very likely to be cheaper. The initial price for the official one is $9/day, while the cost of the cheapest DIY based on traditional foods is $2/day.

scottjad··on Why I moved to Miami
Amusingly Miami has 3 schools on that list (Florida has 5), and all of California has 2 (neither in the Bay Area).

Though unless you're planning on sending your kids to one of these schools I don't think this really tells you much of anything.

scottjad··on Cyber-libertarianism: Silk Road battleground individualism vs authority
MLKJr: "One has not only a legal but a moral responsibility to obey just laws. Conversely, one has a moral responsibility to disobey unjust laws. I would agree with St. Augustine that 'an unjust law is no law at all.'"
← PreviousPage 3 of 7Next →