3,608 karma · joined Jun 9, 2011 (15y ago) · 1,202 submissions
comment 14y ago · link · parent
When I first moved to the Menlo Park/Palo Alto area two years ago, rent on a decent two-bedroom apartment was around $1400-1700 per month. Currently (two years later roughly), it's $2350+ a month and still climbing.
In fairness, a lot of that has to do with Facebook moving into Menlo Park and the crazy demand for space in Palo Alto / proximity to Stanford University.
I'd move farther south, but there's too much urban sprawl which makes it inconvenient at best to get around unless you drive everywhere. Mountain View is going up too thanks to Google.
The last place of refuge is pretty much Sunnyvale and San Jose. But the rent there is still a few hundred higher per month at least than it was two years ago.
comment 14y ago · link · parent
You need to install a giant lame IDE just to get
a bunch of command line development tools?
That hasn't been true since earlier this year. If you login to developer.apple.com, you can download the "Command Line Tools for XCode" from here: https://developer.apple.com/downloads/index.action
No "lame" IDE required. But you might think that IDE is not so lame the first time you use Instruments...comment 14y ago · link · parent
And unlike the Nexus or the iPad, Amazon's devices (well, at least the Kindle Fire) now comes with ads on the home screen and lock screen by default:
http://arstechnica.com/gadgets/2012/09/all-kindle-fires-sold-to-us-customers-will-have-home-screen-ads/
It's unclear yet how consumers will be able to opt out of those (that is, whether it's a simple setting or fee-based).comment 14y ago · link · parent
http://www.infoworld.com/d/application-development/scala-the-android-programming-language-you-didnt-know-you-had-170999
...I didn't realise you could use Scala with Android's Dalvik.Admittedly, that's an article from 2011, and it's probably on hacker news somewhere already, but still...
comment 14y ago · link · parent
The HTC One X, in this regard, is the superior phone. In all other regards, the SIII is (to me).
comment 14y ago · link · parent
For example, Solaris, Linux, and Windows all feature versions of memcpy that are specifically optimised for different hardware platforms. Intel in particular supplies these optimisation for a number of operating systems directly to the OS vendors.
My advice only applies to the standard library (really, just libc). It's not intended to be nor applicable to anything else for the purpose of this discussion.
For example, in Solaris alone (older version of OpenSolaris actually, but it gets the point across), there are seven easily found versions of memcmp alone:
http://src.opensolaris.org/source/search?q=&project=onnv&defs=memcmp&refs=&path=libc&hist=
Six of those versions are written in assembler specifically for a particular hardware platform. One is a generic C version. Furthermore, as an example, the amd64 version of memcmp alone has optimisations for at least 14 different cases. Everything from 3DNow! optimisations to optimisations based on data size and alignment.Also, as for your concerns that OS vendors don't update the standard library functions as often as you think -- you're wrong. I know for certain that Linux, Windows, and Solaris all receive continual updates for new hardware platforms for their standard library. There's a reason you hear these vendors constantly talking about their SPEC benchmark numbers or the like.
So again, as far as standard libraries are concerned -- don't do it; it's not worth it.
comment 14y ago · link · parent
It's also at the discretion of the compiler whether to permit some functions to be inlined. The compiler man page outlines this caveat, and mentions that inlining standard library functions is discouraged as it can cause errno to become unreliable.
Finally, there's also a question as to whether (again) there was a bad algorithm being used as opposed to the fault being with a standard library function. Yes, it's possible there was a performance pathology with the particular use case you have, but there's almost always a better way to resolve an issue like that than hand-rolling a standard library function which inevitably causes unexpected issues.
comment 14y ago · link · parent
It's very rare that a program's performance is being held back by a standard library function (speaking of libc here). I remain highly skeptical that the algorithm isn't the real issue instead of the implementation of standard library functions.
It's just not worth it.
comment 14y ago · link · parent
Don't hand-roll standard library functions. You'll very likely regret it later.
In particular, as hardware advances, OS vendors often update their implementations with optimisations specific to new hardware platforms. This both allows improvements for all programs that consume those interfaces, and prevention of regressions when hardware changes in some cases.
In addition, you really don't want to be the one that introduces a security bug into your program because it turns out your optimisation work didn't account for a scenario that the standard library function does.
I'm aware that there may be cases where some believe it's appropriate; don't give into temptation. It's a bad idea to duplicate the standard library.
comment 14y ago · link · parent
Despite my best efforts, every time I try to use git I run away screaming in terror.
I've used sccs, cvs, svn, mercurial, and a few other version control systems over my development lifetime and I can just never wrap my head around git.
That may be because I spent so many years using Mercurial before git, but I just can't seem to bring myself to enjoy using it.
git makes things far more difficult than mercurial (in my opinion) and has encoded it's creators process and workflow into the tool.
Tools like github for mac (or the arguably superior tool, SourceTree) make git bearable for me.
comment 14y ago · link · parent
There are large sections of even the more highly populated areas of California (like the bay area) that are not served by public transit, or are inadequately served by it (for example, Gilroy has only three trains per day during the week and none on the weekend/holidays).
comment 14y ago · link · parent
I owned an HTC One X (AT&T-branded) briefly (about a week) and most of my co-workers have Android phones. One of them had the Galaxy SIII. The screen sizes are almost identical. The actual battery life achieved was roughly the same.
Everyone agreed the One X has the better screen; the blue tinge on the SIII (thanks to pentile) was quite noticeable, especially in flesh tones in photos.
There were only three ways in which the Galaxy SIII was obviously better than the HTC One X:
* twice the memory (2GB vs 1GB)
* sdcard expandable
* camera (SIII's clearly superior)comment 14y ago · link · parent
The things that ultimately made me return it were:
* camera inferior to Galaxy SIII
* bluetooth caused my car's bluetooth module to crash
and reset constantly rendering hands-free mode useless
Now with that said, I haven't tested the Galaxy SIII's bluetooth yet. It could have the same issue, but the two above were enough to make me return it. For now, I'm just waiting until my old phone dies before I bother getting another Android phone.comment 14y ago · link · parent
As for the shortcut keys, they're documented, so you don't have to remember them.
comment 14y ago · link · parent
And by default, you can simply hold down a shortcut key to open an application and install it anyway without a signature.