Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nupark2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
241.
▲
by
nupark2
15y ago
The hostname of our servers is indeed hardcoded in the framework. So, yes, that's a 'singleton' in the same way that configuring your database hostname in Rails is a singleton. I get the impression that arguing this further is a dead end.
242.
▲
by
nupark2
15y ago
So the object referred to by the variable myObject gets deleted from our servers. It was created whenever it was instantiated using a query. What global is it using? How does myObject acquire a reference of some kind to your servers, and
243.
▲
by
nupark2
15y ago
I was actually referring to the use of global variables (but I'll tackle the class method issue below). Take, for example, this instance (not class) method: -[PFObject delete]; Where is the object deleted from? Where was it created?
244.
▲
by
nupark2
15y ago
Parse's reliance on globals (singletons) grates on my quite a bit, and has largely prevented me from bothering to read further. [1] I think of global variables as a cardinal sin of OO API design. They create unnecessary dependencies, lock d
245.
▲
by
nupark2
15y ago
These posts remind me of the "put a bird on it" sketch. All you need to do is "put a 'web' on it" and suddenly it's amazing. Color me unconvinced, but we're looking at graphics that are roughly on par with what we saw desktops games in 1999
246.
▲
by
nupark2
15y ago
I'm not sure how that makes it not a replacement. Arguably 'externally hosted' is a single feature (or serious drawback) of github, not the defining attribute of their product. It's also a limitation you can get around by paying them more m
247.
▲
by
nupark2
15y ago
Actually, getting the backtrace sounds like a pretty difficult part: http://landonf.bikemonkey.org/code/objc/Reliable_Crash_Repor...
248.
▲
by
nupark2
15y ago
However, speed of execution does not matter when your development speed drags. When you are developing a product, you need to be able to move fast. However, the JVM doesn't necessarily mean 'Java'. If you get free performance and more e
249.
▲
by
nupark2
15y ago
This is the same argument made when claiming that JS will catch up with native app development. It's a flawed argument: any solution that relies on 'hardware will get faster' will only ever be able to catch up to yesterday's state of the ar
250.
▲
by
nupark2
15y ago
The downside to packages (in users' minds) is that you have no idea where the pkg is going to install things, and also no idea how to clean it up later. It's assumed that an .app, however, will remain self-contained.
251.
▲
by
nupark2
15y ago
Additionally, as per RFC1378, non-standard schemes should either be registered with IANA, or should start with x-. If Facebook was being a good citizen, they'd register 'fb' (they haven't), or better yet, use 'facebook' or 'x-facebook'. Als
252.
▲
by
nupark2
15y ago
As one of those former engineers at Apple, I can say definitively that Steve deserves it. Without him, we'd never have had the canvas on which to paint. He made our contributions possible.
253.
▲
by
nupark2
15y ago
I have to agree. Would anyone be impressed if I did this in ObjC / CoreAnimation? It would be simple enough. Posts like this remind me of the old "year of the Linux desktop" crowd: People demonstrating how Linux can (often poorly) do the ba
254.
▲
by
nupark2
15y ago
I'm really tired of these disingenuous justifications and arguments to 'just use processes!' A GIL is an unnecessary limitation that precludes a huge swath of architecture optimizations. It's there because it's difficult to remove once you'
255.
▲
by
nupark2
15y ago
It wasn't until your comment that I understood what he was talking about. I just couldn't fathom the usage scenario he's describing -- I've never seen anyone use menus that way.
256.
▲
by
nupark2
15y ago
Yes, and that's stupid, and I'm explaining how we made accounts work fine for multiple users (in production, across 100+ servers).
257.
▲
by
nupark2
15y ago
Unless I've misunderstood something about that. It happens. You just maintain a local/serial-only root account for that eventuality. [Edit] And make sure internet-facing production services don't rely on administrative LDAP.
258.
▲
by
nupark2
15y ago
And can you imagine doing that for hundreds of hosts? This is why you: - Always provide redundant, network-local LDAP servers so that LDAP doesn't go down. - Wire up remotely accessible serial consoles that provide emergency-level local
259.
▲
by
nupark2
15y ago
This is a surprisingly often ignored limitation of the browsers. You need threads to achieve decent performance given any significant complexity, and mobile CPUs are going multi-core.
260.
▲
by
nupark2
15y ago
Yes, it lags ever so slightly, but faster CPU in iPhone 5 should take care of that. This is always the reply of web developers -- even on the desktop! "Yes, it's slow now, but it'll be faster with new hardware!". Meanwhile, the native a
261.
▲
by
nupark2
15y ago
If you have two people in front of you with equally good talent and good attitude ... Outside of people that are equally mediocre, this literally never happens.
262.
▲
by
nupark2
15y ago
[edit] I just realized that he was debugging a third-party application. The narrative is a bit hard to follow. I can't quite figure out why someone so smart was doing something so stupid. The way to solve crashes is not to crash, unless y
263.
▲
by
nupark2
15y ago
Doesn't this already exist? Google has the information from toolbar data. ... and if instead, Google built reporting of visited sites and all their contents, cookies, and your personal information into Chrome?
264.
▲
by
nupark2
15y ago
Opera Mini is likely not causing any uproar because they're a 2nd or 3rd tier browser. They're not a 1st tier browser, and they're certainly not the default browser on a 1st tier platform. Amazon, however, is making a play to be a 1st tier
265.
▲
by
nupark2
15y ago
To a point; for the vast majority of users, the increase in hardware requirements for modern desktop tasks plateaued quite some time ago. The exception to this is video games; they've continued to drive hardware advancement on the desktop.
266.
▲
by
nupark2
15y ago
Same. Switching to Spotify from Pandora was on my list of things to try. Now, I guess not. I would have paid them, too. This is absolutely ridiculously stupid of them to do. They alienate potential customers, but more importantly, they do
267.
▲
by
nupark2
15y ago
This has always seemed so "burger without the meat" to me. Unless your friends are conveying intellectual stimulation that stands on its own, you're just reminiscing and should probably just some make new friends and call your mom now and t
268.
▲
by
nupark2
15y ago
Exactly what kind of applications are you building that require lower level languages in order to be performant? All of them. You don't necessarily need C, you simply need to not waste CPU cycles on things that neither improve the user ex
269.
▲
by
nupark2
15y ago
As someone involved with products that sell a lot of in-app purchases, I can state that it happens with Android all the time .
270.
▲
by
nupark2
15y ago
Hello, why do you think most of those sites are geo-restricted? Because of copyright laws. Circumventing those blocks in most cases means you're breaking those laws -- at the very minimum, you're breaking contractual obligations that you a
More ›