12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions
comment 14y ago · link · parent
Planes during takeoff and landing are at sharp angles with extra G-forces. If your iPhone was in your hand during this time and you accidentally let go, maybe the phone would fly at someone else with enough force to hurt them.
comment 14y ago · link · parent
Note that UTF-8 is quickly becoming the new "raw text file". The encoding of each symbol is very well defined and supported by programs already. It is actually better to have that exact definition than an ASCII word that may or may not be supported by all editors (and if it's not, as you said some symbols look similar; which one is intended?).
I don't think keyboards will change much until some related tech becomes cheaper, too. Two key ones I think are cheap mini-displays per key (so the whole keyboard can display new glyphs if need be), and a companion touch-screen for drawing non-trivial glyphs that are needed only occasionally. Or maybe they just give up on the idea of physical keys entirely and attach large touch screens as "the whole keyboard" for a desktop machine.
comment 14y ago · link · parent
comment 14y ago · link · parent
I would love to see a UTF-8 or other Unicode keyboard so that it's very fast to enter "real" symbols (partially programmable too). Why for instance does my numeric keypad need another "/" or an asterisk...it could now have "÷" and "×" instead.
In the next few years, given more common Unicode support in keyboards and companion programs (text editors and terminals already do a decent job), it would be interesting to see a language evolve to require actual symbols for known operators. Then you really would have to type "6 × 5 ÷ 3", not the ASCII hack "6 * 5 / 3". It would also allow very interesting hyper-operators (as seen in old environments such as the Mac's MPW Shell, and now Perl 6). Wait...don't let Larry Wall see this or we'll have a "$≠" variable or something in Perl 7. ;)
comment 14y ago · link · parent
If you need to support older iPhone non-retina displays, the area is exactly 1/4 as large in roughly the same physical space. So to display the same number of images on an older iPhone display, make each image file 1/4 the area (e.g. a 64 pixel square on a retina display should be a 32 pixel square on older iPhones; this will be the same physical size but less detailed). You can send the developer files at both sizes (normal and 1/4-area), it is not difficult to install both with an app and let the device choose the best one.
comment 14y ago · link · parent
I have valuable stuff in my house; it is my job to protect what I own. If I feel the items are extremely valuable, I should be prepared to personally pay substantial amounts to keep them safe. So I buy insurance, door locks, whatever. And for the betterment of society, we all pay taxes so that firemen can do their jobs and give us general protection of all property.
What money has the RIAA paid to keep things safe? Their only contribution so far seems to be raising the blood pressure of everyone else. Lawsuits count as raising blood pressure.
The RIAA has the audacity to complain that Google spent "only" 60 million protecting things? Is Google a security company that advertises protection services? Even if it was, shouldn't the RIAA be footing the bill? If you want 200 million dollars worth of protection instead of 60 million, RIAA, then why don't you pay Google 200 million?
comment 14y ago · link · parent
Programming is also an unusually marketable hobby skill. With many hobbies you can invest a lot of time and effort and produce beautiful things, but that's liable to only gain you praise; in programming, it can gain you a really good job. This is a pretty smart investment: for a modest expenditure yourself you might net a high income so it should not be surprising if people often teach themselves.
Besides, when I hire someone I like seeing evidence of side projects that reveal a certain passion for doing good software work. I wouldn't hire an artist or designer without seeing a portfolio either, and software has a lot of things in common with art and design.
comment 14y ago · link · parent
comment 14y ago · link · parent
For example, I would structure it as "in order to use the data for any purpose, internal or external, the open infrastructure must be there". In other words, everyone uses the same mechanism so that it can't be bolted on as an afterthought that may or may not work or be maintained.
comment 14y ago · link · parent
About 1/3 of the reviews on Amazon.com alone[1] are 3 stars or less. While the majority of the reviews are 4 or 5 stars, that's still a huge number of unhappy people.
Okay, maybe Amazon has sold a million per week. But during gift-giving season all kinds of popular items are being bought by people who won't be using those items. It only makes sense to come back in January and see how many of the things made it back to the store or onto eBay. Why measure "sales" and "success" now?
[1] http://www.amazon.com/Kindle-Fire-Amazon-Tablet/product-revi...
comment 14y ago · link · parent
The main problem for me is that I often see my typos about a fraction of a second after I hit Return. I know it's wrong and I just want to go fix it. But when something initiates a search, it completely changes the URL (no longer a simple fix) and the resulting page isn't even close to what I wanted. It all just slows me down.
comment 14y ago · link · parent
One of the things I like about Mac OS X is how solid the command-line "defaults" mechanism is. It has allowed me to expose everything that might be useful to configure, while still trimming the graphical preferences UI and setting a series of factory defaults. So an app can be both simple and flexible at the same time.
1936.
Tell HN: Avoid duplicates and keep it HN-relevant
5 points · by makecheck · 14y ago · discuss
comment 14y ago · link · parent
I can make my iPad browser pretend to be anything, and it's not enough. I imagine web sites are also checking, e.g. for a 768x1024 browser window and adapting accordingly. It is actually relatively easy to do this with "@media" in CSS, for instance.
All this extra "smart" code takes site developers more time to write, it's more data to download, and more work for the browser to do. Funny that the result would be to damage the user's experience after all that effort was put in.
comment 14y ago · link · parent
comment 14y ago · link · parent
http://en.wikipedia.org/wiki/Convergent_series
http://en.wikipedia.org/wiki/Divergent_series
In particular there are many interesting sums on the convergent series page.
comment 14y ago · link · parent
The reason for IE's continued existence is the enterprise. A few years back, a bunch of companies paid way, way, way too much money to have "web" (read: Windows-only, IE-only) apps developed. Rather than admit this was a poor investment and have the apps redone, companies have just been mandating the use of IE until the end of time. And now that virtual machines are feasible there isn't even the risk of hardware failure to make them change!
So I give IE at least 10 more years, if not 15. I wouldn't be surprised if it takes the retirement of certain key managers at all these companies before anything can change.
comment 14y ago · link · parent
comment 14y ago · link · parent
As much as I'm a fan of RAII in C++, it really is a "pure C++" idiom. If a C++ class is needed in Objective-C code that can @throw an NSException, then the C++ cleanup code really has to be invocable explicitly (because the destructor might not be called). For example:
MyCPlusPlusObject object;
@try
{
...
}
@finally
{
object.cleanup();
}comment 15y ago · link · parent
There are side effects to supporting PowerPC however.
To run a modern app on a PowerPC machine you need a Universal binary. And the binary is often the biggest part, meaning half the app's bloat comes from data that modern Macs don't even need. What's worse, 10.3.9 and earlier don't actually support Universal binaries so unless you require 10.4+ you will also need to include a PowerPC-only binary. At that point, roughly 2/3 of your app's disk bloat is entirely because of PowerPC support. In these days of App Store updates and other downloads, it's becoming a little harder to justify adding extra megabytes to an app that won't benefit most people.
The developer tools are also now falling behind. SDKs have been disappearing slowly over the years anyway, but now you can't even build with the 10.3.9 SDK unless you use the Xcode 3.x environment; no Xcode 4. You're also using GCC, so you can't take advantage of LLVM and some other nifty new things. This definitely starts to cause some headaches.
So basically, for the next year or so PowerPC has some life left, but beyond that it will probably be impossible for an app to support both modern Macs and PowerPC Macs without extraordinary effort.
comment 15y ago · link · parent
There are some fairly obvious tasks, like artwork and putting some thought into what the behaviors should be. There are less obvious things like the fact that huge side effects often pop up.
How much time will you spend on artwork? Every version of Mac OS X looks different, so your custom widget may have 4 different looks and you just know you'll need a 5th next year. Maybe it's a cross-platform program. Maybe the entire thing needs to change depending on where in the world it will be used. And this doesn't even begin to look into issues with programming images (e.g. tracking the mouse inside odd shapes or figuring out how to render things at different window sizes).
Setting UI behavior is also deceptively simple. It can take a very long time to be sure that you've thought of everything even if you're reproducing a variation of UI that's pretty standard already. You often interact with existing things, e.g. a window manager or mouse event system, and you can be seriously screwed if you find a deficiency in a dependency.
What about when your entire framework breaks because you need a customization? (This seems to happen in Cocoa all the time.) For example, guess what: customizable toolbars and resize-from-any-edge come "for free" in standard windows but they are completely unavailable for custom windows. Some changes can look simple on paper and explode when you actually try to implement them. Nothing ruins a weekend like discovering that a simple change would break all kinds of tangentially-related UI elements that were already working. So what do you do...recreate half the OS yourself just so one piece of UI can be a little more interesting or appropriate to a task?
comment 15y ago · link · parent
Browser crashes almost always happen when I'm loading a page that was already being slow or unresponsive. By the time everything falls apart, I'm definitely ready to blame the site and not my browser; usually I never go back to sites that want to serve me ten megabytes of script in exchange for a paragraph of text.
comment 15y ago · link · parent