Better HN
topnewbestaskshowjobs
Log inSign up

hackermom

1,708 karma · joined Jan 14, 2010 (16y ago) · 672 submissions

Submissions

comment 16y ago · link · parent

I believe the first rule for pitching a piece of "technology" is to repeatedly refer to it as "new" "technology", despite it being neither new nor technology. It's the new buzz.

In other news, blacksmith creates horseshoe with hammer and anvil "technology".

comment 16y ago · link · parent

Sadly I am not aware of any specific resources on iOS performance tricks or optimizations. You might find something of use in Aaron Hillegass' beginner's book on iPhone development (on http://www.bignerdranch.com/) - his previous book on Cocoa has gotten a lot of praise, and there's a good chance that his iPhone dev book holds the same quality.

The things I commented about in the code examples were mainly general cases of bad programming; f.e., one of the applications did a frame rendering pass via a loop that ran 100k times per frame, and as the first thing in each run of the loop (instead of just once at the start of the application) it initialized a few variables that end up having the same value through the entire run of the application, resulting in the unnecessary addition of 200k function calls with consequential variable declarations per frame, totalling 6 or 12 million extra function calls PER SECOND, depending on if the application rendered in 30 fps or 60 fps. While it might not look like a big mistake, things like these are easily picked up by people who might consider it sane, healthy and clean programming from an "engineering" perspective, but even the smallest mistakes can be the best recipees for killing handheld battery life and producing lousy software.

comment 16y ago · link · parent

Yes it's impressive, if time stood still and politics never changed, but that's not how the world works :) Everyone knows from the lesson of "retrospectivity" that growth can be just a temporary rise, or just the spike before a decline etc.

If we look at the UK's numbers in that same graph, after having travelled back to 2002 in our time machine, we could also say "but look at the rate of growth the past 4 years!", but looking back at the graph today, with "8 years later" of extra data...

My underlying point was that no mistake in graphs and statistics is as common as the repeated mistake of us trying to predict the future from contemporary numbers, and always ending up being wrong a few years later down the road. Statistics need lots of time to mature and settle.

comment 16y ago · link · parent

Based on that graph's numbers (dated 2008) combined with each country's 2009 population census (a percentile or two off, I know...):

  Nigeria: 15%
  United Kingdom: 75%
  Egypt: 17%
  South Africa: 8%
  Sweden: 85%

comment 16y ago · link · parent

I took a look at a few of the apps, and many of them contain plenty of clunky programming leading to severe performance inefficiencies (read: battery life inefficiencies) that could lead to very bad habits being picked up by a fledgling, but I still consider this resource a pretty good starting point. Don't forget to update the Base SDK setting before playing around with the projects, as the sources are a bit out-of-date and won't properly compile against newer SDKs.

comment 16y ago · link · parent

Safari 5.0 on OS X gets it wrong (http://www.4p8.com/eric.brasseur/gamma_dalai_lama.html); just a gray image with subtle, barely visible pink and green contours.

comment 16y ago · link · parent

That should be 1/874000 :) (assuming sound traversing air at room temperature).

comment 16y ago · link · parent

It's always easier to blame the tool for your failed craft than it is to be a good programmer, isn't it :)

Putting PHP in the "inadequate corner" or trying to convince oneself that it is lacking in features is just an easy excuse.

comment 16y ago · link · parent

PHP already does that via PDO. PHP's "Register globals" was deprecated exactly one year ago, in 5.3.0.

comment 16y ago · link · parent

http://2.bp.blogspot.com/_Y8NC7AZJdqs/SwrOEjyHWXI/AAAAAAAAAC... wrrrooom wrooom

comment 16y ago · link · parent

Without going off on a limb, I'm guessing you're a not too experienced developer. You comment as if instead going for Perl, Ruby or ASP inherently makes an application safe, saves buttloads of manhours etc. And you're wrong. Gravely wrong.

Excluding the obvious issues caused by bugs that are a natural part of any programming language's development, security problems are not caused by the language chosen, but by the developers themselves.

comment 16y ago · link · parent

Like someone else already said, "small thing"... like Facebook? Like Flickr? Like Wikipedia? Like Digg? :)

comment 16y ago · link · parent

PHP may be one weird concoction, that's for sure, but all of the arguments brought up by this guy - and this is the exact same boring song belched out whenever there's an argument of "PHP is a terrible language" - fall into the category of vanity, because no matter how one twists and turns these points they still really don't make the language itself terrible, and they don't make PHP one bit less capable, nor one bit less adequate for the supposed job.

comment 16y ago · link · parent

Part of the problem is how Hacker News seemingly have turned into something more akin of News. The hacker tidbits are far and few between, and the overall amount of new submissions have skyrocketed.

comment 16y ago · link · parent

I use a currently 4 months old Mach 3 "Turbo" (big laugh) for my legs/etc. No matter what the commercials wants you to believe, unless you are one of those men inflicted with steel wool growing out of your chin, the blades really do their job not entirely as swift, but definitely well enough, far longer than Gillette wants them to.

comment 16y ago · link · parent

13.3" MacBook Pro, running OS X 10.6. I gave up stationary computers almost 6 years ago, and haven't looked back once.

comment 16y ago · link · parent

I personally always (when applicable, of course) go with a reversed while-loop, because of its neat and tidy nature, and being "easy on the eye".

comment 16y ago · link · parent

In maritime navigation class, we were taught that artificially heating a person who has been chilled down (that is, heating by giving them something warm to drink, putting them in a hot shower etc.) sometimes result in something very similar to a cold shock response, a sort of "hot shock response" known to cause severe after-effects and apparently even death.

Tests carried out by the Swedish Sea Rescue Society along with data from over one hundred years of recorded incidents, showed that the safest way to sustain a person suffering a cold shock or near hypothermia is to simply uncloth them (if soaked in water), blanket them lightly, and let their body heat itself up to normal temperature, utilizing the time in parallel to make sure heart rate and blood pressure stabilizes in calm tempo.

469.

Debunking the efficiency of NVIDIA's PhysX(realworldtech.com ↗)

2 points · by hackermom · 16y ago · discuss

comment 16y ago · link · parent

This is all kinda bad, but... really... if you're so convinced that your phone is b0rken, why not just stop yapping and go make use of your return policy?

add.: yes, YOU, DOWNVOTER! Solve the problem you're holding in your hand instead of just focusing on pointing your finger at Apple - enough people are already busy doing that 24 hours a day.

comment 16y ago · link · parent

It's got two! http://www.gomonews.com/wp-content/uploads/2009/07/android-l...

comment 16y ago · link · parent

Nowhere in the announcing article on pixelqi.com, or on the linked Maker Shed product page, can the resolution of the display be found. What an awkward blooper.

comment 16y ago · link · parent

There are no OS X serial numbers, nor serial keys. There are unique Mac platform identifiers, but these are not used by Apple for anything today. Nothing is required of you to start developing for the iPhone, except the obvious of downloading the XCode+iPhone SDK package from ADC (which is free).

comment 16y ago · link · parent

Not all countries are impaired by the inflated legal power of a EULA; they are entirely void in most of Europe.

475.

Fan death(en.wikipedia.org ↗)

3 points · by hackermom · 16y ago · 2 comments

comment 16y ago · link · parent

To state the obvious: there's more money in keeping people ill and in need of temporary amelioration than there is in curing them, and such is the foundation of american pharmaceutical industry.

comment 16y ago · link · parent

Meh... This geolocating is standard procedure, like with much other software that doesn't have readily available locale info. Also Bing, Altavista and Google perform geolocating to serve you the "appropriate language", all depending on where you browse from (they don't check the browser's language setting). If he just logs on to the US iTunes Megastore he gets the contract in English.

comment 16y ago · link · parent

So in essence, the problem is still to be blamed on those specific JS implementations. Optional means optional, at which point making an implementation that demands the absence of semicolons is as bad as one explicitly requiring them, as both are breaking the set rule: optional.

(personally, I'm for the mandatory semicolon, to avoid mistakes)

comment 16y ago · link · parent

(What's(your(stance(on(LISP?)))))
1
151617
23