HNHacker News
TopNewBestAskShowJobs

nanairo

682 karma · joined August 6, 2010

PhD student, interested in technology + science + society.
submissionscomments
nanairo··on The future of R - pessimistic thoughts by R founder Ross Ihaka
I may be wrong but I think that:

list => are basically hash, or an array that can have mixed objects inside

vector, matrix, array => are all the same thing. They are what in most computer languages are called arrays, and can have only one type. The difference between those three is just the number of dimensions (vector:1, matrix:2, array:3+).

dataframe I will concede is a little more complex, and I still have some problem with it. But I basically think of it as a table, where a row represents a value (say temperature) and the column different measuremnts. So, for example:

rows=> temperature, humidity, hours of light, peak UV columns=> Day1, day2, day3, day4, ...

Hope that helps.

nanairo··on The future of R - pessimistic thoughts by R founder Ross Ihaka
How does Incanter work on HPC? R is pretty awful from that point of view, and if there ever will be room for a specialised statistical language it's got to be able to do massive number crunching.

I've heard bad things of JVM for tightly coupled jobs on HPC (though I know there's been some improvement: e.g. a lot of work done by EPCC in Edinburgh). Does Clojure manages to offer a good parallel implementation on top of the JVM or has no work been done in this area?

nanairo··on Get started right with RVM
Let's make a distinction: I found it a bit of an overkill and I still do. That's not a fact, it's my opinion, but if you read other people replying to my post, they agree (that is that it is an overkill for my situation).

I'm not sure what kind of broad all encompassing definition of fud you have, but in that sentence there is both a "Personally" and a "for me". If from that you can't get that it's an opinion and that I am not arguing with everyone then I am not sure what to tell you.

Oh, and btw I said that it was "only a doubt" because you were quoting a different sentence, this one: "I doubt that it plays nice with other package managers", and I think it's pretty obvious why that should sound like a doubt. Now you go and quote a different sentence... why did you change quote?

Anyway bottom line is that I don't think it was FUD at all, and I think most people here seem to have read it the way it was meant it. If suddenly suggesting that RVM may not be the tool for EVERYBODY upsets your sensitivity, that's your problem. Topic over from my pov.

===As for your actual contribution====

My ruby is installed in /opt by macport (my package manager). Hence both ruby and rubygems are inside there (and I think I had to redefine some environment variables for it to work fine). Macport and rubygems already don't play too nice with each other in the sense that if I install something with rubygem macport is not aware, and if a macport package requires some gems it will try to install them via macport. (I may be wrong about this, it's my understanding from a brief overview).

RVM would be a third layer as pointed out by philwelch. Now it may very well be very clever and work like a charm, but I think I was more than justified in feeling a doubt.

nanairo··on Mac OS X Public Beta
My pet theory about this is that 10.0's look was as much as about setting a clear distance between itself and the old Classic as it was about real innovation. (I'm talking only of the UI look).

When Aqua was presented people loved it people hated it but nobody could ignore it. The first time you installed Mac OS X made you feel like you were in a whole new world.

Of course it wasn't that practical and funnily most of it has reverted back... before they pinstripes got faded, then we got the metallic grey, and now just a nice subtle grey.

All that is left from those old days are the traffic light buttons, the gem-blue scroll bars, and the standard button look.

nanairo··on The future of R - pessimistic thoughts by R founder Ross Ihaka
Yes, please! It seems nowadays one of the most important feature in a name is to be unique from the point of view of Google. :)

(incidentally, if you are a mpaa operative, call your blockbusters with just one very generic name... a lot easier than suing half the world, and just as annoying ;) )

nanairo··on The future of R - pessimistic thoughts by R founder Ross Ihaka
To be honest I've been using R a bit lately for my work and while I like it I don't find it at all innovative. That's not a criticism of R: the libraries it has are amazing, as well as the mindshare among people who care of statistics.

But I wonder why R actually needs to exist as its own language. It seems it could be recast in Ruby for example or one of the latest functional languages.

So I am kind of pleased my this news... if there's gonna be a need for R to have its own language, speed seems to be the most important distinguishing feature. A bit like Fortran is still used in science.

(incidentally... don't let people tell you otherwise: Fortran(90+) is a very nice language... much more pleasurable than C to use and gives you better performance (unless you know a lot about compilers and compiling flags... but most scientist don't ^_^))

nanairo··on Get started right with RVM
Exactly. My fear actually started when I realised exactly that. Now, maybe it works beautifully... dunno, and if someone does please enlighten me. :)

I can see the appeal of something like RVM. But despite using Ruby a lot, it's mostly stuff for myself so I just use whatever it's the latest. The reason why I thought about RVM was that I wanted to try MacRuby (and rare cases when I need to move back to the system's ruby) and was suggested to use RVM.

nanairo··on Get started right with RVM
Geesh... you couldn't spent two secs to actually reply?

I wasn't trying to throw FUD: I very clearly stated where I was coming from, and that it was only a doubt.

I also asked for some information, from people who knew more. You seem to, but you felt better just to bash me without providing any helpful hint. Your choice.

Finally it wasn't a criticism as such: as I explained I don't need to have 4 different ruby versions installed and to swap between them. On the other hand, I fear that having macport > rvm > gem in order to install a gem may be a bit too much. Hence why I didn't install it.

shrugs suit yourself, though personally it seems you are the one contributing absolutely nothing.

nanairo··on Get started right with RVM
Personally I find it a bit of an overkill for me, and I doubt that it plays nice with other package managers... (if anyone knows more I'd like to hear more about it).

That said I understand people doing a lot of work on other people's computers (e.g. Ruby on Rail) may find it really useful.

Personally now it's 1.9.2 all the way! :D

nanairo··on "If you are not paying for it..."
But Apple cannot sell your credit card number to other people, they still need to get you to pay for it. Advertisement is different.

Advertisers pay the newspaper immediately in order to appear on the newspaper/magazine. And because they pay so much more than people buying the actual newspaper/magazine, it can be a great business for the later to attract more people... even going as far as giving the newspaper away for free.

Apple (pre iAds) was making money from you buying the phone: compared to that making money from apps sold is peanuts. So much so that it can be beneficial to let app developers in for free just to get more people buying the phone.

To summarise: Apple tries to attract customers with apps, newspapers try to attract advertisers with customers. Customers don't buy more newspapers because there are more ads, but advertisers buy more ads space if there are more customers.

nanairo··on "If you are not paying for it..."
Very true. As I've been studying this topic lately I can even provide you some hard data.

A financially stable newspaper gets around 75-80% of its gross revenue from advertisements. That's why advertisers have so much power over content, even news content. I don't know the exact figure for magazines, and it could very well be lower, but this should give you an idea.

In fact if you check the literature you'll see that a common idea is that newspapers are in the business of selling customers to advertisers, and they will try to attract a certain type of reader in order to get certain type of advertisers.

nanairo··on Interest: Senior engineer confirms Apple working on MacRuby for iOS
Laurent tends to work on new features on his own branch, often experimenting new ideas, and once it "stands on its own" it merges it for everyone to improve/change it together with him.
nanairo··on Interest: Senior engineer confirms Apple working on MacRuby for iOS
That is true. But Lauren Sansonetti has really done a lot of work: he is the main developer and every now and then he would merge his own branch which is full of the kind of features and improvement that take a while to develop and cannot be merged easily until a late stage.

So I would say that Apple is by far the main developer of MacRuby.

That said you are right that one full-time developer doesn't look like much of a commitment from Apple. And I think that was the case. My feelings (and of course these are very subjective) was that Apple supported MacRuby partially as a way to help Ruby on Mac and partially as a research experiment.

I hope at some point Apple decides to really put its fiches on Ruby: that would be awesome. But MacRuby on iOS is very much the kind of thing Samsonetti loves, so I wouldn't be surprised if it's all his doing, and nobody else's within Apple.

One last note: Apple also supports LLVM on top of which MacRuby is based... so not sure how many people that would correspond to in your: commitment ~ sponsored people equation. :)

nanairo··on Interest: Senior engineer confirms Apple working on MacRuby for iOS
I agree, and I think MacRuby is a great idea. Ruby in particular is very close to Objective-C in practice, and some of the latest Apple's changes to Objective-C have made it even more so.

But as much as I love Ruby, MacRuby is still not that much faster than Ruby and often it is slower [1]. But that said I am not bashing MacRuby: it is still a very young project and it has a lot of potential still untapped.

[1] http://programmingzen.com/2010/05/16/benchmarking-macruby-0-...

nanairo··on Adobe: Same code on five screens
I understand your point, but I think it's an exaggerate view. I am happy to admit that if there's a good reason a rule should be broken, then it's ok too: but you need to know what to do. Like all rules, once you understand them and know what you are doing, then it may make sense to break them.

But imagine a user that faces an interface that looks familiar but it's all different. Maybe the most external button in the title bar expand it. Or something that looks like a button has to be double clicked instead of clicked once. The point of having a consistent UI for the whole OS is that the user doesn't need to relearn a new interface for each product.

That said there are cases where the current UI is not good enough, maybe because the developer has a new, never done before idea. Then it's ok. Apple does it, for example, as do other mac developers.

The other exception is when it's a very specialised piece of software that is not for the masses but for a very specialised niche. I consider CAD applications, Photoshop and Aperture are like that. It's not _as_ useful to use the same look because they are software that has to be learnt anyway.

However... Firefox and Chrome do try as hard as possible to conform to the UI interface so I don't follow your examples there. And iTunes is loath by everyone as a awful piece of UI, so I wouldn't use it as an example either.

Similarly many people (at least on the Mac) hate the completely alien look Photoshop has, or Office. Microsoft did put a lot of effort with OS X to follow OS X conventions, and despite Photoshop not being a mass market product, Adobe has preferred to have a uniform cross-platform interface, and there's a lot of complaints for that.

So yes, if you have a novel interface requirement then you are more than welcome to break the OS standards. But otherwise if there's no need (from a user perspective) I don't think it's a good idea.

nanairo··on Android Will Be Number 2 Mobile Operating System Worldwide by Year-End
Well, they also had 3 bad CEO, they tried to sell too many computer models, were spread too thin, had terrible stock management, almost killed themselves with the cloning program, attempted a rewrite that got them stuck in an old OS for ages without a plan B, and there was no internet at the time.

On top of that add that Microsoft was making a lot of money from their OS and Google doesn't...

I don't see why you need to see the world in terms of easy patterns. I'd say that enough variables have changed since then that any prediction based on analogies is very uncertain.

nanairo··on Android Will Be Number 2 Mobile Operating System Worldwide by Year-End
How was this first-to-market advantage???
nanairo··on Adobe: Same code on five screens
But you see you are comparing oranges to apples. HTML 5 is open, and it is a standard... _because_ people want it to look the same everywhere.

Remember though what happened when Apple told developers that they could only use web app for the iPhone? There was an uproar because developers---good developers at least---want to be able to make use of all the features that make a platform unique.

That's why we live Cocoa + HTML5, or Android SDK + HTML5, etc... If you want a common cross platform target use HTML5, if you want to make an app that feels like a good citizen on the platform and makes use of the latest innovations in said platform, you use the native SDK.

It's all about the right tool for the right job.

And Flash is inefficient, controlled by one company while at the same time not being a good native framework. Basically you got the worst of native SDK and the worst of HTML5 and put them together... and you expect people to be impressed by that???

nanairo··on Android Will Be Number 2 Mobile Operating System Worldwide by Year-End
Lol... sorry, but that sounds desperation. :D

If that were the case then we already got the Year of Unix on the desktop and the Year of Unix on the smartphone. Yep, I am talking of OS X. Funnily enough Linux people (and others) laughed at the idea that OS X is Unix... it was too far from it.

I think we can agree that Android is not really Linux, at least not what we mean colloquially for it. So no, it won't be the year of the Linux.

But yes it will be the year of FOSS on your mobile. That, I think, is the big novelty. :)

nanairo··on Android Will Be Number 2 Mobile Operating System Worldwide by Year-End
Many differences here...

1) Apple had a large advantage over Microsoft too... they just wasted it. Those were the dark days of Apple: MacOS 7 was alright but less than brilliant and then they got stuck with the Copland project (the Mac version of project Longhorn). In the meantime Microsoft got Windows 95 out, and had several years to solidify its position.

2) Apple sold expensive computers back in the days. I don't mean the high end like today but actually expensive. The idea was that if there's so much demand we may as well milk the cow for all it's got. If I remember correctly Steve Jobs believed in lowering the price and going for marketshare, whereas Sculley thought better to get as much money as they could out of it. Eventually the latter one. This was another reason that made Apple lose marketshare

3) The customers for iPhones, Android phones or other smartphones are in reality the carriers. And they are very worried of losing their bargaining advantage (plenty of supply from different companies, but only few carriers to buy them). Hence I expect they'll try to avoid having anyone get a large marketshare. They may back Apple, Google, Microsoft, RIM and Nokia as it is to their advantage.

Finally a last difference is that Microsoft made a ton of money from their Windows product. Google is making little money from their Android. I am not sure what the implications of this will be, but it may matter a lot.

nanairo··on Adobe: Same code on five screens
Gosh, I can feel my perfectionist side in big pain right now.

Adobe could have tried to pull a more subtle way than: "Welcome to lazy town!". So much for all those thinking the UI is important, and that maintaining the look-and-feel of the OS should be very important. :(

I find Adobe's strategy a bit naive (or more accurately only looking at the short-term). If you become the paladin of the lazy developers, you will get plenty of money at first, but you'll get plenty of bad reputation, and that can be really hard to get rid off (just as Microsoft).

nanairo··on Nokia appoints Stephen Elop (President of Microsoft MBD) to President and CEO
I think the coherent plan is simply: Meego+Qt for the smartphone, Symbian+Qt for the lower end.

Transitions are hard though, so I am not surprised they are still in the middle of it. Such big changes take time.

But from all I've heard the Qt improvements they made and the IDE are very good and welcome. And the hardest choice---to drop Symbian for Meego to compete with other smartphones---has already been taken.

I don't think they'll be ready tomorrow, but I think with this plan they would have been ready in 2 years. Is that too much? Sure, but that's the panic talking: they've got a plan, they are in the middle of it, if they drop it and try something else... and maybe drop it again and try something yet again... and so on, they'll go nowhere.

As another example take Microsoft. They came up with Windows Phone 6.5, the two "trendy" phones that were discountinued in a couple of weeks, while they were working on Zune and Windows Phone 7. They kept moving from one to the other, always making great speeches of how they made this huge change and it will be great from here onwards. But it wasn't until recently that it felt like they had a coherent strategy.

Samsung is another company that seems to be running around like a headless chicken. (Though better than Motorola that seems to have thrown down the towel, and tried to squeeze as much value as they can from their brand until they become a anonymous Android clone, with nothing to make them unique.)

nanairo··on Apple products are a mutant virus... says Acer founder
You are changing your stance now. A lot of iPhones are kept in a case? Sure (and not even a huge amount: here (UK) I see around 20% with a cases and 80% without... maybe in the USA is the opposite).

Is the fact that they use a case evidence that the iPhone is fragile? This is where you are trolling. As I pointed out we use a lot of cases for a lot of situations.

I never understood why people get so angry when their car get scratched (isn't that what the car "shell" is for? Better a scratch on the wall than on on the engine!) but people do. So why could they not be keeping their phones in a protective case to avoid scratches? Or (just to give you another alternative) to clip it to the side? Or to personalise it (phones are very personal items, much more so than computers, for example).

So yeah: is it ironic that the iPhone is considered beautiful and yet people put it in a case? Sure. Is it an indication that it is fragile? Nope.

nanairo··on Nokia appoints Stephen Elop (President of Microsoft MBD) to President and CEO
NOOOOOooooo... I actually knew Olilla (we went to sister schools those a few decades apart, and listen to some presentation he gave).

And I thought that Nokia was on the right foot finally. They seemed to have a coherent plan and vision. From the mess they were in they've slowly tried to push themselves out: buying Qt was a great move, imho, and focusing on the Meego (for the smartphone market) and Symbian (for the cheap, non smartphone) seem pretty good. They just had to wait a bit and I think they would have pulled through. :(

Now I feel they are back on square one: running around like headless chicken looking for a solution. They should have given their current solution a real chance. Apple didn't turn into what it was today in a month or a year. It took a lot of pain, cutting products, focusing, developing a new OS... I'd say it took probably around 3--4 years before Apple was a healthy company again.

Changing your CEO now seems pure panic and not a logical/reasoned response. Especially getting someone from outside the company??? Are they basically asking for the guy to come and throw what all the progress they had made on their new Meego/Symbian path?

Argh... bad move... bad move... I am getting really worried for Nokia... and I liked them back in the days for their phones.

nanairo··on [dead]
I notice similar trends in other countries too: e.g. UK and recently Italy.

My pet theory is that people are becoming more and more selfish: countries are a lot more xenophobic than before, everyone bitches about the government one day while at the same time doing nothing to change it (a kind of resignation), the media fosters even more hatred and fights, people from high social classes don't want to give up anything to help those in lower classes (and I am not talking the excess money... I am talking things they'll actually have a utility for). And the list goes on.

So my pet theory is that this is the result of being 60+ years away from a major world war. For two reasons:

1- During a war, the hot headed people who are always looking for a fight, got a real fight they can go to. A lot of soldiers died in those wars so if the army has more hot headed people than average, more will die in proportion.

2- The memory of how much worse things can go is not live in anyone's mind anymore. Well, maybe old grannies. :) But say if you were 20 during the war, you are not going for 90! This raises the sense of entitlement and the sense that we are not in this "together", but that I only need to look after myself.

3- But most of all, during a war or in time of real crisis, humans show their good side. Once nobody has anything, people help each other: you help me rebuild my house, I help you rebuild yours, for example. This idea that you need to lose a little bit of your goods in order to get a lot more back is disappearing. Look at the whole: "Not in my backyard". One area doesn't want a nuclear reactor, another doesn't want a highway street too close, some don't want a high speed train, and others don't want the rubbish dumps... and the end result is a paralysed government where nothing can be done, and people complaining (without realising they are part of the problem).

4- We are living in a capitalistic society, and this increases people's sense that they need only to look after themselves, to look at everything as "what I pay, what I get". Of course this selfishness is what powers people to work more or harder: it's part of our nature and imho capitalist beat communism because it took it into account and tried to harness it. But still, this is the end result.

So basically I think this strong sense of entitlement and selfishness is the result of living in a capitalistic society without any major crisis, where people are told day in and day out that someone is taking away something from them and too look after themselves (immigrants and jobs, bankers and money, government and freedom, etc...).

And I doubt anything short of a disruption will make people wake up from this spiral. That could be a war (in your own soil, a far away war like Vietnam or Iraq is not quite the same). Basically you need to let it take its course, like a virus: people will get more and more selfish, more and more aggressive, until eventually we have a war/crisis and people finally understand with their own mind why shooting an immigrant (for example) is stupid and an abomination.

Than that generation and maybe the next will have been immunised against this happening again... until those people die and society is defenceless again and the story starts anew.

Sorry, a bit cynical. :(

nanairo··on Adobe reacts to Apple's about-face
But it so happen that Apple can do something about that, but can't do anything if Flash ruins the user experience.

Case in point on the Mac side Flash was (and is?) horrible but Adobe couldn't seem to give it a second thought.

nanairo··on Apple products are a mutant virus... says Acer founder
The processors are similar, true. Although even that is not completely right. I believe Apple managed to get Intel to produce a couple of CPUs spec they way they wanted... but a few months later Intel was free to sell it to others too. (I am thinking the original Macbook air, for example).

They also use pretty standard graphics cards, CD/DVD drivers (although not always), hard disks and so on.

But there are still a few differences.

First: they case is most definitely something that sets them apart, and they are not "off the shelf".

Second: they pick good combinations, which in a way it's easier for them since they are selling the computer as a whole and not for its specs. Hence if they think it's better value for money they may go with a camera that has lower megapixels despite having better images (e.g. more sensitive sensors). Or decide if it's better to invest in more RAM, faster GPU or faster CPU. And so on.

Many (though not all) PC manufacturer are in a much more cut-throat market, and in such hyper-competitive environment it's not surprising that easily quantifiable numbers (e.g. MHz, megapixels, contrast, resolution, etc...) becomes the key point.

Third: Apple has often thinks outside of the box, so to speak, and backs up new technologies much before others. Wifi was an example, floppy drive, USB, Firewire, multi-track, etc... They can do that because they control the whole stack, but it's still a hardware advantage in the end.

Forth and last: they innovate some small details such as the mag-safe power supply, or the way it closes, or some other small touches...

nanairo··on Apple products are a mutant virus... says Acer founder
I like the way he confuses the Android/Windows market with the manufacturer market. As the head of Acer I'd imagine he is looking after the company Acer and how much money they make, not about the whole Android/Windows market.

And does Apple or Acer make more money from selling computers? Talk of a pyrrhic victory. :D

It wouldn't feel so weird coming from someone who is not a computer manufacturer (maybe from Google, a carrier or someone completely outside). But basically he is saying: "Hey, we'll win in the end, together with everyone else... and get less money out of it than Apple 'losing'. So we are doing the right thing.". So much for his metaphor.

nanairo··on Apple products are a mutant virus... says Acer founder
This is trolling of the highest form.

Think of other goods, maybe even other goods that people really really like. Do they not protect them? What about computers? Do we not put them in protective cases? Cars and motorbike? Ever seen one of those guys who covers their car/bike when not in use?

Or what about pens, that some people like to keep inside their case. Heck: I've seen military grade equipment that was still handled and carried with the care you'd reserved for an egg shell or a soap bubble!

nanairo··on Apple Relaxes iOS Restrictions On Development Tools, Publishes Review Guidelines
raises small hand sheepishly :)

I didn't like the old system at all: I'm very happy that Apple has finally deemed a good idea to release the review policies.

However I would have much rather seen Apple giving users another way to install their apps, and turned the store into a nice, curated, deal.

In particular I am a bit worried about floods of badly designed apps, maybe because they used some cross-platform framework.

Sure, I can ignore those, but the point is that it will still increase the noise/signal ratio. Mmm... maybe Apple should have a tiered system in the App store. Hence why I thought that if they allowed anyone to install any app they want some other way (even though with big signs saying "DANGER DANGER") then they could keep curating the app store without risking anyone's anger.

But, oh well... shrugs

edit: actually as jdz2 said above, as long as they keep curating the new apps, I don't really care if they were built from CS5 or brainfuck... but the first point is important.

← PreviousPage 2 of 12Next →