HNHacker News
TopNewBestAskShowJobs

toolate

155 karma · joined February 19, 2010

submissionscomments
toolate··on NokiaPlanB was a hoax
I'm still holding out for http://nokiaplanxp.com/
toolate··on Object Oriented CSS
If this is object oriented then his approach can best be likened to multiple inheritance. Because CSS doesn't offer any kind of native inheritence he's forced to redefine each and every class for each instance. This is the equivalent of defining code like:

    var foo = new Animal Brown Quadruped Barking();
Even if styles could be inherited, this seems to be taking the wrong approach. Most of use realise that classes should be used to denote identity, and not behaviour (or in this case, styling). CSS preprocessors seem to fix the same problem in a much nicer way.

    /* Define classes used in HTML */
    .sidebar {
      @include bordered-box;
    }

    #special-offer {
      @include bordered-box;
      position: absolute;
      top: 0;
      right: 0;  
    }
     
    /* Define theme information */
    @mixin bordered-box {
      h3 {
        background: red;
        color: white;
      }
      border: 1px solid red;
    }
toolate··on Mixing DOM and PHP objects for fun & profit
That looks like a good start, but is missing the multi-pass approach from the original article.
toolate··on What on earth are Google thinking? (re: Binggate)
IE (with certain settings on) is sending page data back to Microsoft. If it sends the URL, title and referrer back then the following session is pretty easy to reverse engineer.

    1. URL: "test - Google"
       Title: http://www.google.com/search?q=test 
	   
    2. URL: http://test.org.us
       Title:  "Test"
       Referrer: http://www.google.com/search?q=test 
       Time: 2 secs

    2. URL: http://en.wikipedia.org/wiki/Test_cricket 
       Title:  "Test cricket - Wikipedia, the free encyclopedia"
       Referrer: http://www.google.com/search?q=test 
       Time: 249 secs
It's really just an extension of page rank by seeing what links are being clicked on and not just which links exist. Whether MS should be capturing this data under false pretenses is another issue.
toolate··on '1984': As Good as It Gets
I find these overly soppy ads a bit baffling. Ads in Australia and UK are nowhere near as sickly sweet. Perhaps we are a bit more cynical.
toolate··on Close Tab Behaviour in Google Chrome
While the tab behaviour is good, the close buttons are hopelessly small. They are a tiny 12px by 12px on Windows. Compare this to the close window buttons, which are 64px by 24px.

Compounding the error is the poor choice of middle-click as the alternative close mechanism. Many older mouses and most laptops don't have middle click. When browsing on my laptop I can't use the touchscreen to close a tab, as the hit area is much to small to accurately hit. Likewise, using the trackpad to land the pointer on the button is something I find difficult to do reliably.

I don't understand why the hit area can't be increased. There is little penalty for incorrectly closing a tab, as Chrome has a handy "Recently closed tabs" menu.

Edit: A search turned up the newer "Chrome Toolbox" plugin, which brings the missing double-click-to-close behaviour to Chrome tabs.

toolate··on 10x Productivity Myths: Where’s the 10x Difference in Compensation?
"Most 100,000 LOC "applications" created by people like this could be rewritten as five lines of Perl in fifteen minutes. I know because I've done it. [...] I should also mention that a lot of productivity comes from thinking beyond the current problem. The "YAGNI" attitude that is so popular these days is the cause of a lot of problems."

So your quick five line script does everything that the fully specced application does and is a generalised solution that will accommodate future expansion. Really?

toolate··on [dead]
The more I read from 1000memories the less I like the concept. The entire of the premise seems insensitive from the outset, but the cold analysis they do in their blog posts makes it feel like they're more interested in growsing their business than helping people grieve (or whatever their mission statement is).
toolate··on An Open Letter to JavaScript Leaders Regarding Semicolons

    function getCount()
    {
        return 
        {
            'count': 1
        };
    }
Not what I'd do, but a common style nonetheless.
toolate··on What's the point of stealing $1.5 million in casino chips from the Bellagio?
Couldn't he gamble with them? Put one or two chips down at a time, keep the winnings as "clean" chips and gamble with the dirty ones until they're all gone?
toolate··on Delicious's Data Policy is Like Setting a Museum on Fire
This would be possible with Flash.
toolate··on Chrome 9 Sandboxes Flash and Adds WebGL Support
I can't imagine the branding looks as good for Chrome 23.0 as it does for single digits. Maybe they'll switch to code names.
toolate··on This is experimental. However, it could start a revolution in information access
Dub-dub-dub.
toolate··on Amazon proves that REST doesn’t matter for Cloud APIs
Amazon's API format is irrelevant because their service is so popular. Once the API is stable and client libraries are available for common languages most developers will be unaware of the actual mechanics.

If you're launching a startup then you don't want to give your early adopters an excuse to not work with your API. If you're developing an API for internal use then you won't be using an off the shelf client library in any case.

Furthermore, a clean API is a sign to other developers that you know what you are doing. If you are targetting an industry where coders get a say on whether or not they will choose your service then you'd better put your best foot forward. I've seen far too many APIs that show a company has no clue on the technical side, which causes me to cast doubt on other parts of their service.

toolate··on After A Four Year Run, Firefox Is No Longer The Top Browser On TechCrunch
Firefox's prompts are a pain in the neck. "Do you want to install the latest Firefox?" No! I want to browse the web. That's why I opened my browser. Every time I get that message I groan because I know I should upgrade but I don't want to sit through a download, install and browser restart.

I always thought a "upgrade Firefox on next restart" checkbox which downloaded in the background and kicked off the installer on browser shutdown would be nice.

toolate··on Symbian Foundation web sites to shut down, closing open source project
I worked on some of those sites. Good riddance.
toolate··on [dead]
For 15 times as many donations as text based ads (http://news.ycombinator.com/item?id=1912983) I think it's worth it.
toolate··on PHP's Smarty releases version 3.0
I've found that the quality of a PHP project tends to be fairly independant of whether it uses a templating library.

One benefit of Smarty is that it forces at least some seperation of business and display logic. People will still try and shove business logic into the templates, but at least you know you're not going to find SQL statements halfway though the rendering of a table.

toolate··on [dead]
You went through a machine which took photos of your naked body without your knowledge and you don't see a problem with that?

I went through a machine in Amsterdam last year and was super pissed when I realised, after going through, what it was. I'm not planning to opt out whenever possible.

toolate··on Poll: How Many hours of sleep do you get per night?
If it's really that much of a problem why haven't you tried sleeping pills? I use them occasionally and they definately help, but they don't knock you out. If you're drinking alcohol to put yourself to sleep you're incapacitating yourself anyway.

Edit: and exercise can't hurt either. It only takes 30 minutes to go for a good jog and is something doctors always recommend.

toolate··on Review my startup: free services for casual game developers
"Manage your game online and integrate our open source libraries in your code, its that easy."

That should be "It's". No comma and an apostrophe.

I have to agree with the other commenters that this needs a better landing page. I had no idea what the site does.

toolate··on Kik Messenger Insecure
To view this page in Firefox I have to add an exception for the certificate. Firefox now displays a hint that this is a secure connection (http://imgur.com/d9kEd). It's up to me to remember that this specific site uses a self generated certificate and that I shouldn't place the same level of trust in this certificate as I do with others.

If this guy wants to use SSL he should do it properly.

toolate··on Kik Messenger Insecure
Got to love that apparenly iPhone, Android, and Blackberry are "all". Targetting the early adopters makes sense, but making your tagline a blatent lie doesn't.
toolate··on 37signals' Chalk Dissected
I always thought it was a shame that HTML only defined two elements for content: <div> and <a>.
toolate··on Interactive Javascript Terminal as a personal website
You might be better off getting the canonical path and then checking against a whitelist. E.g. `strpos(realpath($command_path), '/var/www/html/') === 0`.
toolate··on Why doesn't this code simply return a to z as the output?
While I agree that 'z'++ being 'aa' is a bit silly, I can't ever see anyone making the case that 'aa' should be greater than 'z'.
toolate··on Living In A Photoshop World
The domain ihavepsd.com sounds like a support group for people with an STI.
toolate··on 37signals' Chalk: a fun little browser-based app for iPad
Agreed, this is exactly like the old "you need Netscape 3.7.5.1 to view this page", except this time you need to shell out $500 for a whole new device.
toolate··on One Dunkin’ Donuts store is taking a stand against the penny
We got rid of our one and two cent coins in Australia in 1992. Likewise, you're correct about New Zealand not having 1, 2 or 5 cent coins.
toolate··on One Dunkin’ Donuts store is taking a stand against the penny
I always consider Pret to be a coffee shop, but even Wikipedia says they're a sandwich store.
Page 1 of 3Next →