HNHacker News
TopNewBestAskShowJobs

glassx

372 karma · joined April 28, 2011

submissionscomments
glassx··on While Apple Is Criticized for Foxconn, Other Companies Are Silent
To be fair, the correct analogy would be that someone (Apple) who makes a third person (contractors) stop beating the wife is more laudable than someone (Nokia) who never had to do it in the first place.
glassx··on Why did Objective-C never catch on? (Ask Slashdot, Aug 2000)
Well, yes, it is popular, and yes, it is popular today because Apple uses it, but still, people are using it in projects that don't have much to do with iOS/OS X, such as Web Frameworks (Frothkit, Bombax) and client-side MVC (Cappuccino).

In this aspect it's similar to C#, and Mono, I think, but in a much smaller scale.

glassx··on Monorail.js - Ultra lightweight MVC Framework for Node.js
There's Express: http://expressjs.com/ or https://github.com/visionmedia/express
glassx··on The Zen of Python (by example)
SQLAlchemy is "complex" in both #3 and #4, so it wins in #4.
glassx··on There is no point to distributing music in 24-bit/192kHz format.
> I'm no sound engineer, but as far as I can tell, the main point of that paper is that some instruments produce harmonics at frequencies greater than 20kHz, not that these frequencies matter to humans. However, section X references other papers that apparently make this claim.

Yes, you're right.

In fact, some of the section X references don't even mention hearing, they talk about "alpha-EEG rhytms" (in this case "listeners explicitly denied that the reproduced sound was affected by the ultra-tweeter") and "bone-conducted ultrasonic hearing" trough the "saccule" ("organ that responds to acceleration and gravity and may be responsible for transduction of sound after destruction of the cochlea").

--

In fact, most of the claims of the article are around the fact that there is energy over 20khz and how it can affect recording process.

This is a well known fact, and this is exactly why engineers filter out sub-sonic and super-sonic frequencies, especially today: stuff that you can't hear (or feel) will just suck your headroom and make you lose the loudness war.

glassx··on There is no point to distributing music in 24-bit/192kHz format.
> And when your oscillator is no longer one-dimensional, most harmonics aren't even close to integer multiples. The harmonics of bells, cymbals and drums are all over the place. That's what gives them their percussive sound.

But those aren't harmonics, they're inharmonic partials.

glassx··on There is no point to distributing music in 24-bit/192kHz format.
> Harmonics are never exactly double, triple the fundamental. Those would be mostly inaudible. But you get the idea.

Actually, they are: https://en.wikipedia.org/wiki/Harmonics

glassx··on There is no point to distributing music in 24-bit/192kHz format.
> Having said all that, I'd guess that the speakers will be the limiting factor in most sound systems, not the recording format.

Yes. And DACs, which normally have filters too.

glassx··on Apple: We're responsible for 514,000 American jobs
> They don't want to talk about their "China problem"

What else do you want Apple to say?

It is common knowledge that they outsource manufacturing overseas, and it's common knowledge that they do it simply to maximize profits, however, it's not something to be publicly proud or ashamed of, it's just business.

Making lots of jobs in America, OTOH, is very positive.

glassx··on The Sun is Setting on Rails-style MVC Frameworks
You comment is correct, despite the downvotes. The hypermedia isn't there so AI or spiders can navigate, it is there to reduce coupling.

--

A Rant follows. Disclaimer: I'm not an expert on the subject so feel free to correct me or anything.

The WWW itself is "RESTful". Even Hacker News is RESTful. You don't care about the URLs that show in your address bar. You don't construct them based on an ID-number on the side of each post. You just click around and submit forms.

With hypermedia, your consumer doesn't need to know about those specifics of URL construction. URLs are transparent. You just query for Resources and follow links.

YES, absolutely ZERO coupling is MUCH easier with boring CRUD-like stuff, such as Microsoft's OData, GData or AtomPub.

Maybe when you're writing a good consumer tuned for usability (like a Twitter client) you, app builder, will need to know some details on the service beforehand, but even then, having hypermedia would be cool. With a nice and pretty RESTful API, Twitter could just roll out new features, such as 'people who recently retweeted you' and you'd have a new section show up on your app instantly, since it discovers resources. Maybe you could even, like, load icons for new sections via links on the API itself...

Another example: I used to work on an App that used hypermedia: an Enterprise Content Manager with an OData API. Enterprise people used an decoupled enterprise client called Excel to connect to our Enterprise server and build random reports themselves.

glassx··on Mountain Lion: John Gruber's personal briefing
...or UAC on Windows Vista/Seven.
glassx··on Startup dudes: Cut the sexist crap
Sorry, but you're being extremely biased here. Mistaking assertiveness for arrogance can happen with any outsider in a certain field. It's not related to gender at all, and your example doesn't even argue for it. The project leader could perfectly be a man. What you describe is a problem with people in general, not a problem with women at all...
glassx··on How Not to write a "REST" API
Maybe AtomPub? It respects HTTP methods, uses URIs to represent resources correctly, uses <links> to be discoverable (hypermedia), is self-descriptive, is stateful... It uses Atom/XML instead of JSON, but still...

(but please correct me if it isn't a good example)

glassx··on Ruby Frameworks? Which one? Bye bye Rails.
Same here. I really like Sinatra's gem ecosystem, and with unobtrusive Javascript I don't have much framework-dependent code on the views, nor helpers like his link_to confirm example, in the presentation...

I admit that sometimes I miss generators, but Sinatra's boilerplate code is so minimal that I just don't care much anymore.

glassx··on A Happy, Flourishing City With No Advertising
This one is an extreme case, but I agree with you.

I live in Belo Horizonte, another large brazilian metropolis 580 kilometers away from Sao Paulo, and all the cabling is underground in the whole downtown area.

And it's not just the looks, in the five years I lived in this area I never had a blackout caused by storms. Had to buy several UPS units after moving to a suburb.

glassx··on Apple using patents to undermine open standards again
I don't know... Charging royalties would be a PR disaster that would cost much more than the licensing in the long term, and if the incentive for charging isn't financial, then it means don't really want other browsers to have Safari-compatible touch events... that, or they're just trying to delay their adoption as much as they can.
glassx··on Copycats
You missed the point and should have kept reading.

The author is arguing that even though there's prior art for most of those things, and some of those are just too archetipal today, the SII would be radically different without the iPhone, given that the chances of this likeness being by pure chance are astronomically small. Whether you believe this is true or not is up to you.

glassx··on Linus Torvalds: Locked Down Technologies Lose in the End
In an article [1] from a brazilian website, the "classification director" of the brazilian Ministry of Justice said in the video that "Apple sent representatives but backed off", due to "technical problems when embedding the [classification] seal on their AppStore".

The explanation was quite vague, but below the video it says that every video game must be approved by the Ministry of Justice itself, and about 2100 are analyzed per year. I haven't checked the law here, but I believe this is the problem Apple encountered.

Also, there was some uproar about that classification a few years ago, before the AppStore, I believe.

And if I recall correctly, South Africa has the same problem.

[1] http://macmagazine.com.br/2011/03/30/ausencia-de-jogos-na-ap...

glassx··on Why Is Payroll Hard - Ron Jeffries
Your reply reminds me of Zed Shaw's presentation 'The ACL is dead'. Basically he said that if the law rules that you have to handle are turing complete, you're probably better off with a turing complete language:

http://news.ycombinator.com/item?id=420650

Of course, procedural code becomes spaghetti code quite easily, but one probably needs the same discipline when doing object oriented/relational modeling...

glassx··on Steve Jobs and Apple's Influence on Gaming Massively Overstated
The Apple II was released in 1977, and it was popular until it was killed in the eighties. Same with Amiga, Commodore, Atari, etc.

And why was the company ignored by major titles later? Well, the company was a mess, and I could argue that Apple was virtually ignored by everyone except graphic designers and musicians after Jobs left...

glassx··on How Not to Design a Home Page
Here's what I see when I tell my browser to pretend it's an iPhone:

http://imgur.com/QVpwz

glassx··on Why the Mac App Sandbox makes me sad
"Witness the disaster of Final Cut Pro X"

But they responded to that by putting Final Cut Pro 7 back on the market. Sounds like they care a lot...

Hanlon Razor makes sense here.

glassx··on Why the Mac App Sandbox makes me sad
Yeah, they also use it to sell OS X now...
glassx··on Mac App Store apps must implement sandboxing as of March 2012
You and the other reply missed the part where even the iOS AppStore doesn't make as much money to warrant them running a whole ecosystem and shutting off musicians/producers/video editors/developers/hackers/enterprise users/people using Java stuff.

Apple has backed off on harsh decisions for much less than that. Remember Final Cut X? I bet the video editing community is much smaller than the developer community. Google, as an example, uses a lot of Apple laptops. They'd instantly stop buying them if that happened.

Until there's any sign of Apple wanting to close OS X, this is purely FUD.

glassx··on Mac App Store apps must implement sandboxing as of March 2012
Except they repeatedly said they're just above cut-even on the iOS AppStore. It's strongly doubtful that they'd do something like that purely for financial reasons.

I don't think they are that dumb, of course they know they would lose customers like us.

glassx··on Mac App Store apps must implement sandboxing as of March 2012
Actually, the real question is: what would Apple gain from killing 90% of the app ecosystem?

There are some apps that can't be really sandboxed (Little Snitch, virtualization tools), some apps you can't sell on the AppStore (video/audio/photoshop plugins) and there's even Apple apps that aren't available there yet (Logic, Filemaker, ).

Also, Macs are the only way to write OS X and iOS apps, it would make the barrier to entry way too high for most people, shutting off potential developers. How would you write, say, your Rails backend to your iOS app, on your Mac, if it was locked down?

But yeah, I would jump ship to Linux immediately as well.

glassx··on Amazon's Profit Plunges 73%
By selling Kindles, Amazon can secure their place in the ebook market. Without it they'd be just another player. And they probably get better margins on ebooks, since distribution (bandwidth) is cheap.
glassx··on "Patent trolls could be the end of Silicon Valley" says Tim O'Reilly
It sounds a lot like how the Mafia operates...
glassx··on Serving at the Pleasure of the King
> And this is why I never understand why so many Apple users want Android & Windows to fail.

Huh? I thought it was the other way around, no? (i.e.: it's not fee, must die, etc)

And really, webapps aren't going anywhere. The App Store was created because of user demand (not because Steve Jobs was a genius), and with Webkit and newer mobile IE it's probably the best time ever to write an web app. It's up to developers to choose.

glassx··on Serving at the Pleasure of the King
> The complaints from Apple developers have been around forever.

I have a theory. Apple developers and users are as angry and outraged when things break or their freedom is restricted, and they do complain (just look at the support boards for Logic, Final Cut, Lion), but they're not as loud to outsiders, because EVERY problem with Apple's ecosystem gets amplified 10x.

I still feel that after 10 years Apple still feels like an underdog to lots of users and developers, and, despite occasional problems, people still love it and want to protect it. Actually, I think the word is 'believe', and that's crucial to Apple success. I mean, who else has such a huge community with so many common goals today?

Funnily, I get the same vibes from the GNU/Linux community (oh, in both cases in a very positive way, btw).

← PreviousPage 3 of 7Next →