HNHacker News
TopNewBestAskShowJobs

batista

4,147 karma · joined January 17, 2012

submissionscomments
batista··on Node.js is taking over the Enterprise - Like it or Not
>The question is no longer if Node is enterprise ready. The question now is the following: what major digital enterprises will end up being the last hold-outs?

This is not the question.

The question is:

1) is Node.js type tech good for my particular project (enterprise project or not).

2) is Node.js a well designed example of it's kind of technology?

IMHO the answer question 1 is: rarely (most web apps don't need such tech or only need it for a small part of what they do) and the answer to question 2 is no.

Go is better designed for the same kind of work (evented, million user app with no callback spaghetti and good memory/performance characteristics). Erlang too, and is also more mature. Ditto for Tornado, Play/Scala/Netty, et al.

The cries of triumph for Node being used in the enterprise are meaningless.

For one, it is not. It's only used in the more adventurous part of the enterprise, the one that also adopts lots of other things. In the main, the enterprise goes for .Net/JVM business as usual.

But more importantly, the enterprise has also adopted extremely BS technologies. From CORBA, to ActiveX, to JavaEE, to SOAP, to XML-for-everything. Didn't do the enterprise any good, and the technologies languished eventually any way.

>But what makes Node special is the Node community, which is not only incredibly vibrant but also, more important, the only developer community that was built from day one around asynchronous, event-driven application logic as a core principle.

That's BS too. You don't need a "community that was built from day one around asynchronous, event-driven application logic as a core principle" if you can run things out in a different thread/goroutine etc.

Only Node needs that because it's a one trick pony and single threaded at that, so a blocking operation kills everything.

Which is bad, because there are tons of useful libs and services that you could use and STILL be asynchronous and event driven, even though they are not.

batista··on The Apple Reaper
"Apple: “If your app is cross-platform, then 11.2 does not apply and this problem goes away" Me: "Really, so if I build an Android version and launch it, I’m good?" Apple: "Yes”

Is the above right? Doesn't seem to hold. If it is so, why does the Kindle app still seem to obey the 11.2, despite being cross-platform?

batista··on Rackspace accused of patent infringement for hosting Github
>Without patents, how is a pharma company expected to pay the enormous cost of research, development, and FDA approval of new drugs?

How about taxes? Drugs that are useful for millions of people can be subsidized --internationally even.

It will make the system even less commercialized (i.e prone to go for quick bucks and BS drugs instead of proper medicine).

Most of the more expensive drugs are of marginal utility anyway. Basic sanitation, running water, staple vaccination and such have much more to do with the general health and long living than even much touted breakthroughs like "heart surgery".

Not to mention that billions have been spent for BS like Viagra and ADD (non)drugs, while 60% of the world's population doesn't even have basic food and vaccines.

batista··on Rackspace accused of patent infringement for hosting Github
>I don't see anything about starting thermonuclear wars against competitors. Can you help me out?

Do you see anything about pots calling the kettle black?

batista··on Everything's broken and nobody's upset
>batista, I often find myself nodding in agreement when reading your posts on HN -- especially when you take a contrarian position.

A, thanks. I mostly take a contrarian position when I comment, because at things I already agree with I don't feel the need to comment on (yeah, have the silly urge to correct "someone wrong on the internet" as my motivation).

>This is not helpful at all. Does nobody at Google ever get a calendar request to their phone? The only way for me to respond to such a request is either to get to my computer and open it in web mail, or call back and ask what time the meeting is.

Yes, that's a perfect example of what the article SHOULD BE talking about (far better than the examples in the article). With those kinds of things, I agree, you tend to see neglect like this in all apps.

I just disagree with the particular examples given in the original article, which are far more complex and bug-like, and most of all with the notion of the article that because of those bugs (syncing, FCP crashing, etc) "everything is broken".

Some of the "layers of shit" (e.g, a pet peeve of mine, the traditional UNIX application installation directories and standards such as /usr/bin etc instead of self-contained, versioned, app directories) have historical reasons, and not necessarily incompetence, and it's very difficult to remove them without major financial and time investment.

batista··on Hey Yahoo, You’re Optimizing the Wrong Thing
>Please define 'real business'. What does a company need to have to be a 'real' business? Users? Revenue? Profits? A product that at least some people are willing to pay money for?

Revenue and eventually profits. Even if "url shortening" is a "real business", it still is in the very far outskirts of "businesness". A very marginal value adding service, that exists solely because of some very marginal deficiencies of other services. Even Twitter has trouble monetizing, a "url shortening service" 100 times more so.

>even URL shortening stops being straightforward once you expand from n = 1 to n = 10,000,000.

I fail to see how. Even a simple setup can handle 10,000,000 shortened urls with aplomb. And url shortening is the most sharding friendly use case you can get, ie linear scaling is trivial in a url shortening service.

>You may not think Hilary's qualified to talk about the details of Yahoo's particular advertising model, but don't extend that into what's bordering on an ad-hominem attack against a very legitimate startup, as well as a key figure at said startup.

Well, she may or may not be qualified. I just pointed out that the page the parent pointed to as proof of her competence on the matter doesn't _prove_ her qualifications at all.

batista··on Hey Yahoo, You’re Optimizing the Wrong Thing
Really? Because nothing in that bio points to that. Actually the whole thing is unbelievably vague and opaque.

And these kind of cutesy oneliner descriptions of one's skills make me cringe: "Simply: I make beautiful things with data".

OK, she works as a "chief scientist" (that's not even a job, for us, old time folks, but anyway) at bitly (a URL shortening service, i.e as far away from a real business as you can get, that aspires to be a "bookmarking service" also.

batista··on The world's most influential languages
No, downvoting won't change the future.

Arguing against my position might work better...

batista··on USA Today has an Amazing New Website
The magic of AJAX and history API?
batista··on Sorry state of dynamic libraries on Linux
How about: watch your language, or get off HN?

No, he doesn't have to measure. He wrote a post in his own blog. You are neither forced to read it, nor to take action on what it says.

If you are interested in the actual profiling to see the performance penalty, you can do it yourself. It is enough for him to start the discussion on the matter, which is far more than you did.

batista··on Everything's broken and nobody's upset
>The key point is who defines what "opportunity" is and, most importantly, why. There are opportunities to build new features, or opportunities to fix what's broken.

Who defines it? The business. Opportunity cost is a business notion (even if that business is making a non for profit OS software).

>The pride on creating a mighty fine piece of software should do it. I actually DO try to attack all the user facing (annoying) bugs on my projects, always. I may or may not be successful at that, but I'll never use "we are much better than 15 years ago" as an excuse.

So you "may not be successful at that". So why don't you stop 100% whatever else you're doing until you are successful 100% at that?

Because, obviously, you also need/want to do other things that you consider more important.

What I'm saying is: give the same courtesy to the makers of software you use.

>The bottom line is that I feel it's disrespectful to a user to tell him to put up with the annoying "life-wasting five minutes at a time" bugs, only because 60 years ago he would have been playing cards over candlelight instead of trying to sync his iTunes library.

Actually I find that the user throwing a fit is immature and disrespectful to what he is offered.

And you can see that sense of entitlement all too often in OS projects: "your software doesn't do X, or has the Y bug, it is crap, etc".

There are programmers that want to fix bugs, and programmers that just don't care. But it's not like the "just don't care" is somehow the prevalent attitude, or that bugs that are not fixed don't have a reason behind them not getting fixed (even if it is the simple: "didn't get to it, yet").

Neither are all those bugs "simple UX bugs" as you seem to imply, meaning that they have no backend or deep dependencies, or are trivial to fix. The bugs the article describes for example are syncing bugs, or bugs in working with video streams a non linear video editor. Those can be very complex and subtle, and may not even appear except in some very specific setups.

>It's like starting to pierce people with a pin and when they complain say "be grateful this is not the medieval times, because the pin would be a broadsword and you'd be already dead."

No it's not like that at all. For one, in this example you compare small pain now to bigger pain in the past. But what people get now is much more features (with some bugs), compared to less features in the past (with some bugs). So, if anything, it's exactly the opposite.

batista··on iPhone 5 web teardown: How Apple compresses video using JPEG, JSON, and canvas
Well, we're in the same boat then.
batista··on Ask HN: very qualified but can't find a decent job. What do I do wrong?
So you'd never hire someone like Paul Graham after he has worked for 10 years in Lisp projects, or some guy doing 10 years of embedded C work, etc...

Using "lots of" technologies is a meaningless metric, except if you want a code monkey to work with whatever for some startup where everyone has to wear 10 hats.

If I was building the Curiosity I would get a guy with 20+, not 10, years of experience in just embedded C (or Ada or whatever).

If I was planning a new JS heavy web app, I would get a 10+ years Javascript wizard. If he had the JS chops I could not care less if he also dabbled in Haskell or APL.

batista··on Everything's broken and nobody's upset
>Bingo! This is one perfect example of the problem he's referring to about people not being passionate enough to fix the problems: "Those bugs are not that important." That's a lame excuse. Who cares that we are better than 15 years ago, the point is that we have lots of (seemingly) low-hanging fruit that stays there for plenty of releases and that nobody cares enough to fix, because "bah, it's not that important."

Well, this is my other pet peeve, people not understanding the notion of "opportunity cost".

>the point is that we have lots of (seemingly) low-hanging fruit that stays there for plenty of releases

The key word here is "seemingly".

Do you really think that the guys as Apple/Google that pull all-nighters and work themselves to death to finish iOS/Android don't have "enough passion to fix problems"?

Or do you believe that if they took their sweet time they would have fixed every "low hanging fruit"? Even a low hanging fruit can add a couple of days to a month to a project, or delay other, more important features and/or fixes.

"Go attack all the low hanging fruits" is a meaningless proposition. Some projects you use are open source. Why don't YOU go attack them? Who is gonna make those "low hanging fruit" interesting for a volunteer to work? Who is gonna make them profitable for a for profit company, so that it doesn't die in the market while fixing them?

Mozilla tried to build a better browser. They addressed all the low and high hanging fruits.

What happened?

It took them 5 years to ship something that worked kinda OK, by which time the company had died, and the market share went to IE. And even those releases 5 years after the new code started had lots of problems. Eventually they betted on the more minimal Firefox instead of ever perfecting the full blown Mozilla browser/suite. And it's still not perfect.

Result? Besides the parent company dying, they haven't got that old high Netscape market share back even now.

>Who cares that we are better than 15 years ago

I, for one, do.

batista··on An experiment in static compilation of Ruby: FastRuby
In what possible way is CoffeeScript more similar to JRuby than FastRuby???

JRuby is an actual compiler to JVM bytecode. FastRuby is translating to Java. If anything, FastRuby is the SAME THING as CoffeeScript.

batista··on The world's most influential languages
>This is especially strange considering that virtually every other country does have an official language (or languages).

Yes, but then again virtually every other country also has a national history that spans more than 400 years, and one or two ethnicities living in it, i.e they are not a synthetic nation made from an influx of immigrants from all over the world.

batista··on The world's most influential languages
>Science, Tech, and Business is where it rules and it will never be displaced by any language currently on earth.

Never? The language of science, tech and business has already been displaced several times. It's far easier than you think. At some point it was Greek. Then Latin. Then French. Then English.

The Chinese, for one, could not care less about english content. They have their own "Google", their own forums, music, etc. One can imagine a near future where people from the west learn Chinese to communicate for trade and business and not the opposite. For example, language lessons from non existent and unimaginable in my (European) country, are all the vogue the last 3-4 years. And there is increased demand all over Europe and in the US too for Chinese language courses. From Wikipedia:

= = = = =

In 2010, 750,000 people (670,000 from overseas) took the Chinese Proficiency Test. For comparison, in 2005, 117,660 non-native speakers took the test, an increase of 26.52% from 2004. From 2000 to 2004, the number of students in England, Wales and Northern Ireland taking Advanced Level exams in Chinese increased by 57%. An independent school in the UK made Chinese one of their compulsory subjects for study in 2006. Chinese language study is also rising in the United States. The USC U.S.-China Institute cited a report that 51,582 students were studying the language in US colleges and universities. While far behind the more than 800,000 students who study Spanish, the number is more than three times higher than in 1986.

= = = = =

How will that play in 15-30 years?

batista··on The world's most influential languages
Less and less as their regional and peripheral economies take the lead.

The english are a byproduct of the American cultural dominance in the pop field that is slowly corroded.

batista··on Everything's broken and nobody's upset
>Stop. Re-read the post. Try to understand the point of the post. Understand what it is he's saying about process, craftsmanship and trying to fix things that are broken instead of making excuses. Understand it as a call to action to do better, to be better and to care more.

"Calls to action to do better" are a dime a dozen.

You can get them in $5 self-help books, motivational posters and bs marketing gurus. For all I know, they come free with Cheetos.

The problems he describes are not because of some "lack of craftmanship". They are inevitable in large scale, enormous complexity systems, that also have to SHIP some day. Things that CAN get fixed, ARE getting fixed.

>Time, money, education and understanding are required to implement a solution, and I believe that Scott is explicitly calling for the latter and implicitly calling for the rest.

Saying that "Time, money, education and understanding are required to implement a solution" means absolutely nothing. At best is a platitude that goes without saying.

Do you or Scott thinks that the major software players do not spend time, money, education and understanding on what they are making?

Microsoft, one of the software makers he complains about (and he knows internally), spends tons of money on testing and QA. And it has some of the top minds in software engineering. Ditto for Apple, ditto for Google.

batista··on Everything's broken and nobody's upset
I don't think so. Read his postscript:

"Is this a speed problem? Are we feeling we have to develop too fast and loose? Is it a quality issue? Have we forgotten the art and science of Software QA? Is it a people problem? Are folks just not passionate about their software enough to fix it? I think it's all of the above. We need to care and we need the collective will to fix it."

I.e, he attributes things to lack of: care, passionate people, the forgotten art and science of QA, etc. Which is BS. There will ALWAYS be many bugs and problems in systems that large in scope and complexity.

And it's not because "the guys that designed, say, GMail or FCP (that he complains about) do not care, or lack passion, or have forgotten the "art and science" of software QA.

Plus, the kind of bugs he describes are not that important compared to what we have actually achieved and DOES work.

FCP crashing when you "scroll too fast" while rendering?

Give me a break, these linear editing systems cost tens of millions of dollars, took half a room, and didn't operate in real time just 15 years ago. Oh, and had just as many bugs, and you needed support staff from Avid or whatever to come over to set them up. Now thousands of people all over the world edit their films and documentaries in their laptops.

batista··on Everything's broken and nobody's upset
>That might have been unimaginable 20 years ago, but somehow, things are about as unreliable as they were 10 years ago.

10-12 years ago:

1) Windows was Windows ME (not even in the same league as Windows 7)

2) OS X was 10.1 (or before that). Most people still used OS 9.

3) Linux was not quite ready for heavy enterprise use or home use, had worse memory management, filesystem, window managers, desktop environments, drivers and userland.

So, "about as unreliable"? I beg to differ...

batista··on iPhone 5 web teardown: How Apple compresses video using JPEG, JSON, and canvas
>What do you do when that happens on your laptop? You close the page and move on.

No, I proactively install apps such as "Click to flash" and the like to make sure this DOES NOT happen on my laptop.

>Why does it need to be any different on your mobile/tablet? I assume the battery cost of 2 seconds of video loading/playing once in a long time is negligible.

Because I could be anywhere surfing with my mobile/tablet, in the dentist's office or even in a meeting. I don't want pages to jump at me with video I have not requested. Ever.

And I don't want web marketers to assume anything about the battery life cost of their actions on MY devices.

batista··on iPhone 5 web teardown: How Apple compresses video using JPEG, JSON, and canvas
>Margin Auto w/ a fixed width Absolute 50% w/ negative margins Text-align center parent w/ inline-block display on children

Yes, totally intuitive and logical solutions all of them.

If you have w3c Stockholm syndrome, that is.

E.g "Just absolute 50% it with a negative margin" (oh, yes, and you would have to know the width beforehand).

>If it was sarcasm, disregard my stupidity.

It's not the stupidity, is the willingness to put up with BS convoluted inelegant workarounds for lack of basic, bread and butter, features.

If you value elegant APIs, KISS and DSLs, you should run screaming in the opposite direction in all those three, horrible, horrible, techniques.

W3C first came up with their (broken) model, and then they kludged solutions to use cases with it, instead of starting from the use cases first. That's why we have had the tables before and the need for the flexbox and grid layout now.

batista··on iPhone 5 web teardown: How Apple compresses video using JPEG, JSON, and canvas
>They've gone out of their way to ensure that you can't ever play an Audio/Video clip automatically on page load in iOS Safari

Which sounds very wise from a user perspective.

Imagine every crappy web advertiser auto playing videos on page load on Mobile Safari. Yuck.

I don't want videos to auto-play on my Laptop, why would I want them on my phone?

>Curse you iOS 4.3 for taking away our simulated clicks

Simulated clicks? I rest my case...

batista··on Everything's broken and nobody's upset
>Yes, the technology is incredibly complex and represents a huge transformation in the way we do things, but a customer doesn't and shouldn't need to understand that, and certainly shouldn't be offered the complexity as an excuse for it not working correctly.

In some ideal world, where you can have things with MILLIONS of moving parts and TRILLIONS of states, designed by mere mortals and still have them be faultless, yes.

In the real world, the customer will have to settle for things not being 100% perfect.

He can now do things unheard of even in science fiction 20-30 years ago, and takes for granted things only appearing like 6 years ago (e.g YouTube).

>Given the fact that most (all?) of the products mentioned in the post have some kind of price associated to using them, its not unreasonable to expect they work correctly.

I think that, yes, it is unreasonable. That you pay for something doesn't mean anything related to it's error margin. You cannot demand the impossible just because you paid for something. It's like saying: "hey, I paid for this car, why does it is disfigured when it crashes and can kill me?".

Consumer products (non digital) break all the time. You can even pay top dollar and yet have crap food served to you. And all those are far less complex than software.

batista··on Everything's broken and nobody's upset
>This is one of the things that really upsets me. I hate how nothing ever works.

And somehow you left a comment, using an OS and a browser, on a international network, that put it up so everybody in the world can read it, and I read it in a totally different country.

All totally unimaginable for the common folk just 20 years ago.

And all that with huge color flat monitors, optical mice, mp3s playing in the background, wireless networking, and tons of other stuff going on at the same time. Heck, you might just left the comment from your mobile phone, or I might just read it in mine.

How's that for "nothing ever working"?

batista··on Everything's broken and nobody's upset
>Every computer environment is layer upon layer of kludges. There is shit all the way down.

You missed the AMAZING INGENUITY and BRILLIANCE that is also all the way down.

batista··on Everything's broken and nobody's upset
So, your amazing feat of engineering phone, with a color retina display, audio-video capabillity, 700.000 apps, gyroscope, HD cameras, etc has some extra stuff taking 3GB drive space (of the 16GB device).

Your amazing, multi million lines of code Windows desktop, the work of some 1000 people or more, has a problem with indexing.

The protocol and apps that connect you via email to everyone you want, free, globally and instantly, sometimes loses a mail. Or the UI is slow to load your new messages.

A program with which you can do on your laptop what it took huge teams, million dollars of equipment, and professional expertise to do (FCP), has a crashing bug in some particular action.

The program that lets you talk to everybody on the planet, instantly, with video, and paying nothing, has a badly designed UI.

etc...

Yes, I can see how "everything is broken".

Because, when we didn't have any of these, when 30 years before you had a rotating dial to dial numbers on your phone that only called landlines and cost mega bucks to call internationally, when you had MS-DOS as the most prevalent desktop OS, when 20MB was a huge disk in a desktop system, and before something like video chat was only possible in huge organizations with special software, everything was perfect...

Wanting to improve things? Fine.

Not understanding the complexity and magnitude of the technical achievements you use everyday? Bad.

batista··on Why is Dart keeping certain cruft from other languages?
>Except they are "only" trying to replace perhaps the single most ingrained language of all time, that is, Javascript in browsers. And I'll warrant that the more ingrained a language is, the more it's contender needs to be exciting, and yes, even hyped, and catter to developer motivation and happiness.

True, they need "hype", but exciting in the way asked above just throws most developers off of it. No exciting language ever gained a stronghold in the market. Even Lisp in the AI/Lisp Machines era and Smalltalk in its heyday were marginal.

<b>Having said that, I think they could find some success in, say, making Chrome run Dart natively (as well as Javascript for the time being) and then getting other more hyped languages to compile to Dart.</b>

They do have Dart run natively in Dartium, a special Chrome version IIRC. But obviously I can't see Apple/Mozilla/MS playing along and adding Dart to their browsers.

One way they could gain ground would be to use the server side advantage (since they want Dart to work on the server too):

Make a better Node.js like environment with Dart, with no callback-spaghetti and single-thread issues, and add a top-notch web framework for it, suitable for both Rails and client-rendering style web development. Add MySQL/PostgreSQL and Mongo drivers.

I think something like that will catch on like wildfire.

batista··on The world's most influential languages
It's not the '60s - 90's anymore, when US had the stronghold on global cultural creation/consumption. There are many signs that this is starting to fade, and for huge masses of people it was never true in the first place. E.g Chinese people could not care less about english media and knowledge. But people wanting work in China/Asia might very well care about learning english.
← PreviousPage 5 of 34Next →