HNHacker News
TopNewBestAskShowJobs

chandler

171 karma · joined December 31, 2007

Programming some work, just about.
submissionscomments
chandler··on PG: Clarification about Character Sets
One of the more frustrating aspects of Scheme, to me, is that most implementations layer a defacto strong type system on a weakly-typed base (something CL does not suffer from, to a certain extent). "What does this mean," you ask? Here we go!

  (define (dumb-fun s)
    (let ((front (substring s 0 3))
          (back  (substring s (- (string-length s 4)) 
                              (sub1 (string-length s)))))
      (or (string-ci=? front "was")
          (string-ci=? back  "good")
          (string-ci=? s "Yesterday"))))
Notice how, even though we didn't declare "s" to be a string when binding it, we end up declaring its type in every single function call involving it. Basically, most Scheme implementations end up with some kind of bizarre inverse-type system, where programmers perform all of the work (extensive type declarations) and receive none of the reward (compile-type type checking).

(This is all an artifact of how the rXrs's have been traditionally written--lacking standard support for generic functions or type-introspection, they've essentially set the precedent by "typing" the functions provided in the standard. For example, and straight from r5rs, we have:

  length
  string-length 
  vector-length

  <= 
  char<=?
  string<=?
Is it any surprise implementations end up with functions like 'bytes-length', 'hash-table-length', etc?).

It seems that pg is vaguely cognizant of this deficiency by overloading the common operators; however, unlike CL (or even Haskell, for that matter), Arc doesn't yet provide a way of extending the functions beyond the predefined types.

chandler··on Ask YC: tendonitis at a startup?
That's interesting--I'd never thought of it in those terms.

I know that with video-games, the force I use to press the buttons varies _dramatically_ from game-to-game, even though the controller stays the same (depends on personal stress, responsiveness of the on-screen UI, etc).

I suppose a case could be made that unresponsive interfaces tend to make a person type/click more deliberately (i.e. forcefully) than is technically required by the input device.

chandler··on The 247 lb. Vegan
My experience is that a terrible vegetarian diet (pasta, white-rice, tomatoes, as the staple) is the cheapest method of eating. A nutritionally adequate vegetarian diet (variety of fresh fruits and vegetables, whole-grains, etc) costs about the same as a terrible carnivorous diet (i.e., meat + pasta, white-rice, etc), and, at the top of the price-point, is a nutritionally adequate carnivorous diet (which, incidentally, few people can afford in terms of both cost and time to prepare).

I don't know about any studies regarding which is faster, but I do know that in my personal life I've found vegetarian meals to be both easier to prepare and easier to clean (e.g., meat has to be cooked just right or it is either a) dangerous or b) tastes terrible).

> The fact is that it shows a level of dedication above and beyond what normal people exert.

Because he's targeting health, the hardest part he needs to work through is having to wait for his taste-buds (i.e. brain) to adjust to a low-salt/low-fat diet; while not an insignificant feat, his wealth does allow him to skip the practical re-education of both how to shop for food and how to cook meals.

chandler··on Two AI Pioneers. Two Bizarre Suicides. What Really Happened?
> they recognize the irrelevance of everything...they can't escape the irrelevance of everything, because that's just how nature is...QED

In science, when a model of the world ceases to be useful, the smart thing to do is to find a better model.

Even if there is an objective nature, animals can only hope to experience it subjectively (our brains are remarkable at filtering physical input received from the five senses, and our world view is shaped by a lifetime of filtering and selecting input).

Consequently, the gifted "everything is irrelevant" individual will be depressed, not because everything is actually irrelevant, but because the individual believes this to be the case (moreover, whether or not "everything is actually irrelevant" is actually irrelevant is the follow up joke).

It's a shame that many gifted depressives are apparently so emotionally attached to this ugly model.

chandler··on Ask YC: what will replace the music album?
>> As went classical, so went pop music. It's just finished, and all the artistic people seem to have shifted to video games, which just keep getting better and better.

Ever heard of a reality tunnel? Because I'm just not seeing this.

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

chandler··on User registration pages suck
Although, for me, even reddit's is too much work--the only form I should see when registering is:

Enter e-mail: [ chandler@wherever ] [ Register ]

The system would auto-generate a username and password, then email me the results (along with a link to where I can change these, if dissatisfied).

A very low hurdle to jump, in my opinion.

chandler··on Man, weather.com really sucks. I bet I could make a better one in a day.
I've always been a fan of wunderground (http://wund.com). In addition to the main site, it has similar functionality to what's described in the article with its mobile/iphone subsites.
chandler··on Ask YC: How to prevent social news sites from devolving?
> Are social news sites destined to devolve? ... How does one keep social news sites from sliding down that slope?

With moderators/editors who are responsible for the quality of content?

It seems that a social news site only stays relevant as long as the people in charge are interested in maintaining it. As it is, reddit's problem is that they put "everyone" in charge, and, as it gained popularity, "everyone" was therefore free to change their mind about what content is acceptable.

To use a successful example besides Slashdot/mefi, look at the n-sider forums (discussion community focused around Nintendo products). Although membership is free and content is provided by the community, the quality of the site has remained generally high for the 6-7 years I've been visiting it. Why? Simply because the moderators are quick to warn (and ban) members that don't contribute interesting discussion.

Basically, idealized sites such as reddit misunderstand where democracy exists regarding the internet--since the ability to found competing communities is cheap and unrestricted, it shouldn't be reddit's responsibility to give everyone a voice.

← PreviousPage 3 of 3