HNHacker News
TopNewBestAskShowJobs

cninja

255 karma · joined March 11, 2008

submissionscomments
cninja··on Why Firefox Has Jumped the Shark
Actually the Opera 9.5 beta and Firefox 3 betas both started using a "Awesome Bar" type feature around the same time. Opera 9.27 was released over a year ago.
cninja··on [dead]
From the article: Personal testimonials are even more powerful than the statistics

Statistics can be molded to fit whatever the statitician wants to say, but anecdotes are worse.

cninja··on Ebay history and architecture
I found the link at the bottom of that page to be much more interesting: http://www.ibm.com/developerworks/library/os-eclipse-ebay1/i...
cninja··on Sprockets: JavaScript dependency management and concatenation (SvN)
There is a page describing which browesrs support which parallel download types at http://stevesouders.com/ua/report.php
cninja··on Higher Order PHP
I personally use a wraper around php's create_function to predefine upto 6 parameters and also return the last statement.

  function lambda( $code )
  {
    if( !preg_match( '/return/', $code ) )
    {
      $code = preg_replace('/^(.*;(?!\s*$))?/s', "$1 return ", $code);
    }

    $code .= ';';
    $response = create_function('$_=null,$_1=null,$_2=null,$_3=null,$_4=null,$_5=null', $code);
	
    if( !$response )
    {
        error_log("lambda($code) failed");
    }
    return $response;
  }

This converts:

  $func = create_function('$v','return htmlenties($v,ENT_QUOTES);');
  array_map($func, $data);
Into:

  array_map(lambda('htmlenties($_, ENT_QUOTES)'), $data);
cninja··on Plastic power
Is it me or are the numbers from the bottom of the article not adding up? They calculate a 35% return on investment after a decade, and they say the part only lasts for 5 years. My calculations show there needs to be a 5x improvement in something before these make sense.
cninja··on WebKit plug-in to prevent automatic loading of Adobe Flash content
And for opera: http://my.opera.com/Lex1/blog/flashblock-for-opera-9
cninja··on Ask HN: CSS vs table based layouts
A agree. In the end it is about what is going to save you the most time.

For example, if you decide at some point you want all page titles to be bright green and placed below the main text of the page, how much work will it be?

The whole argument about separating content and presentation is about speed. If they are separate, and changes need to be made to one, then you don't have to get knee deep in the other to change what needs to change.

CSS based layouts mean the changes might only require editing the one .css file. Table based layouts might mean that you have to edit each page, or if you are using a decent templating system, it might be a single page

The same goes for accessibility. Will it take more time to make your site usable by screen readers and small screens while using one layout or another? What types of accessibility are even important to you?

cninja··on Hacking a Programmable Road Sign
I agree. A more appropriate title for this article: "A script kiddies guide to cracking programmable road signs"
cninja··on Clinical trials: Unfavorable results often go unpublished
I think that the problem is we consider a result as either "positive" or "negative". All correctly preformed experiments add a positive ammount of knowledge. Humans tend to classify unexpected results as negative, but that is not necessary.
cninja··on Typing Errors: The standard typewriter keyboard is Exhibit A... Dvorak not so great either
My apologies. I didn't notice until the edit link disappeared. And I have no clue why the site decided to add <code> brackets to my comment.
cninja··on Typing Errors: The standard typewriter keyboard is Exhibit A... Dvorak not so great either
I actually installed Colemak on my computer yesterday. I played with it for a couple hours before uninstalling it. Most of what I type is programing code, not prose. It dawned on my that most my typing delays come from all of the parens and brackets and other programming symbols. Since all these fancy keyboard layouts have been computationally optimized for prose language, they don't address the primary cause issue. I decided that if I'm going to take the time to learn a new keyboard layout, then it will need to be one that has been optimized for programming.
cninja··on Brain surgeons don't hold cellphones next to their ears
What a silly article. The article finds 3 brain surgeons who dont use cell phones near their ear, and it becomes news. If 4 our of 5 dentists recommend Crest toothpaste, then if I talk to 15 dentists, I can find 3 dentists that dont recommend Crest.

My favorite quote from the pseudo science fear mongering article: "researchers who have raised concerns say that just because science can’t explain the mechanism doesn’t mean one doesn’t exist."

cninja··on Mozilla says Firefox 3 ready for prime-time
Its about money:

Firefox has Google

IE has Microsoft

Safari has Apple

Opera only has Opera backing it.

cninja··on Ask YC: Is Internet Slowing down?
For the cisco, it takes about 6 seconds on my average speed connection. If you want to see what takes so long, I recommend using FireFox's Firebug extension. In Cisco's case, it is a simple 20k html file, but then there are 3 js files and 8 css files each of which has to be loaded in a particular order before the page is rendered.
cninja··on Google announces layoffs?
The article reminded me of the comedy "translation" of Adobe's aquisition of Macromedia done some years ago. http://daringfireball.net/2005/04/adobe_translation
← PreviousPage 3 of 3