HNHacker News
TopNewBestAskShowJobs

nakkiel

784 karma · joined April 28, 2010

@amilkcarton
submissionscomments
nakkiel··on Just how bad are hard drive prices going to get?
Monsoon floods. Way too much and monsoon rainfall combined with poor governance. Officials got a warning last year but didn't listen. Over 500 death so far.
nakkiel··on Just how bad are hard drive prices going to get?
The op is making reference to the the Supply and Demand model that is supposed to apply on markets [1]:

"It concludes that in a competitive market, the unit price for a particular good will vary until it settles at a point where the quantity demanded by consumers (at current price) will equal the quantity supplied by producers (at current price), resulting in an economic equilibrium of price and quantity."

Note that the "comptetitive market" bit is important as it implies that the market is fully "free", which almost never happens IRL. Price fixing, strategies, stock market, governments, you name it. There are plenty of ways which make this model too basic in many cases. Worth knowing anyway.

That kind of things is best learnt with a grain of salt and some marketing knowledge as well. Read all the posts on "finding the right price" on HN to see how it does not necessarily apply -- but somehow does.

[1] http://en.wikipedia.org/wiki/Supply_and_demand

nakkiel··on I loved C. But it always fell short for me. Objective-C fixed that.
Fortunately the world is trying to keep up with them..

* Everything is a file (/proc, /net) * UTF-8 * WMII

I suppose that's enough for a research OS and its creators to be successful.

nakkiel··on Failing with MongoDB
It didn't came harsh.

I use no script whatsoever and the complication . For a dev environment, I go like this:

  $ sudo su - postgres
  $ createuser -s nakkiel
And again, no further operation is required until you install a new OS on your machine.

I really think we're missing the point anyway. The complicated things, and Mongo's advantage, only really come later when it's time to create a database and tables and columns and indexes..

nakkiel··on Failing with MongoDB
Exactly what I meant. In debian, there is no "initdb" step and the daemon is started when it's installed.

Anyway, people who call themselves ops or devs ought to be able to do that sort of 3 lines operations.

As I said before, it happens once in your product's dev/op lifetime.

nakkiel··on Failing with MongoDB
How about the freedom/need to experiment?

If MongoDB is popular, it's because it has some compelling features/arguments (I'm not sure of which ones exactly). But classical RDBMS seem to be trying to close the gap.

nakkiel··on Failing with MongoDB
Well, this is completely bogus. Setting up a new user on PostgreSQL takes me roughly 30 seconds. Now if you use the stock system-db user mapping for dev environment, it's something you do only when you install your system. Mine has been installed for 3 years now.
nakkiel··on Michael Arrington on Racism: The Game
Thank you for missing my point.
nakkiel··on Michael Arrington on Racism: The Game
Let's assume for a while that Arrington was really racist and that it was common in the whole tech industry.

As a journalist, would you approach him openly saying you intend to study racism in the tech industry or would you rather approach him under a general angle and gather what you can in the process?

The second approach has a lot of value because Arriginton talked without the "racism" topic in mind, which could underline latent racism quite well.

Now, it's easy to use the wrong word, etc..

I suggest people who have never experienced racism as a victim to go abroad for a while and get the chance to reflect on their own behaviours. I personally find that the small everyday words that nobody notices are the most difficult to deal with because loud words and fights are easy to discard as the products of some odd minds.

Now, racism in tech? Of course, just like anywhere else. No more no less. Arrington, a racist? He wouldn't be the first nor the last.

There are figures though backing the representation of blacks in the tech world. Those figures are that of education in the US [I'm sure you'll find them]. The correlation is so obvious that the journalist barely deserves her title.

Perhaps the whole US system is a bit racist. Not a delusional Nazi-style racism, just a little latent racism. The kind of racism that makes a part of the population a little less comfortable everyday.

But eh. So is the whole world.

PS: I'm sorry for the rather personal tone and the emotions out there.

nakkiel··on Michael Arrington on Racism: The Game
Interview 101: record the session too.

At the very least, you won't be fooling around with "What I think I said in the interview".

nakkiel··on Why AUR is part of the Arch Linux Success
> "barrier to entry"

Seriously? Arch is KISS. There's no magic involved so I don't see how it's more difficult to use it than Debian.

nakkiel··on Why AUR is part of the Arch Linux Success
I personally don't but I know a high-profile web-developper who does.

Now, how often do you guys actually perform upgrades on a production box (security aside)?

I go by this rule: If it ain't broke, don't fix it.

It should be noted that a lot of the important stuff is now off-loaded to language-specific package management. Python libraries are a good example with virtualenv and your-sensible-python-package-installer, the actual distro repository doesn't matter that much anymore.

nakkiel··on Computing file hashes with node.js
Well, in the real world people tend not to fork from within a webserver.
nakkiel··on Computing file hashes with node.js
I ran the code, which now displays number of calls to update(), and made another test with the following code:

   7 fs.readFile(filename, function (err, data) {
   8     shasum.update(data);
   9     console.log(shasum.digest('hex') + '  ' + filename);
  10 });
Here are the results:

  $ dd if=/dev/urandom of=xxx.data bs=1000 count=200000
  $ time sha256sum xxx.data
  e774e4c46ab832ec09dbfd1a944044651560c3fdc3c5e2e8b46c2ea7d54f6649  xxx.data
  
  real	0m2.087s
  user	0m2.000s
  sys	0m0.064s
  $ time node xxx-1.js xxx.data
  e774e4c46ab832ec09dbfd1a944044651560c3fdc3c5e2e8b46c2ea7d54f  6649  xxx.data
  4883
  
  real	0m13.972s
  user	0m13.885s
  sys	0m0.264s
  $ time node xxx-2.js xxx.data
  e774e4c46ab832ec09dbfd1a944044651560c3fdc3c5e2e8b46c2ea7d54f6649  xxx.data
  
  real	0m14.043s
  user	0m13.433s
  sys	0m0.732s
Personally I never make multiple calls to update() but it seems not to be linked here. Oh, and check the docs, readFile() is async.

PS: timings of xxx-1.js and xxx-2.js are equivalent on several runs.

nakkiel··on Wikileaks Is Running Out Of Cash
Wait, what? Mandela is not a murderer. It's kind of difficult to qualify Castro of being a murderer with so much certainty. You have got to be a troll.
nakkiel··on Microsoft Responds To Google’s Extortion Claim
Software patents are a terrible thing.
nakkiel··on OpenVim: Learn Vim in Your Browser
Years didn't do it but less than 40 minutes (since this was published) got you in. I'm either missing something or you haven't put your time to good use.

Try vimtutor in your terminal. It's supposed to take 30 minutes.

You'll miss a lot of things from the tutorial the first time but you can come back to it as often as needed. You also shouldn't go any further than the tutorial until everything in it makes sense. Once you're at that point, you'll be autonomous for finding new commands and a happy vim user.

I may sound mad but seriously, what's with the a-web-app-for-everything madness?

nakkiel··on OpenVim: Learn Vim in Your Browser
How is this supposed to help anyone exactly? Many commands simply don't work (^ or $ to name just two). People: skip this and use vim's :help.
nakkiel··on Why Facebook's 'Frictionless Sharing' violates HTTP
What do you propose then?

The author points to something that we're going to loose (or perhaps that we already lost). Now, ads are the only nasty thing that break the guaranty of side-effect-free GET requests. And this is the only thing that matters for geeks and non geeks.

A human-oriented rant would say: "When you visit a page, you don't have to worry about other parties knowing it because it's guaranteed that way. This is about to change. Act now." As far as I'm concerned, it means the same thing. This is HN, not TechCrunch..

nakkiel··on Why Facebook's 'Frictionless Sharing' violates HTTP
You're totally missing the point. The author points the fact that issuing "GET /interesting-article.html" should NOT have any side-effect. This is the GET that should not have any side-effect. The other GET or POST or whatever it is is the side-effect.

The author goes as far as criticizing other side-effects already in place; an example of which is ads. Because you see when you browse an article about Herpes, then you encounter ads about Herpes drugs on every website.

I got hit by this while looking for paid webmails. After a few searches on Google, I started to see ads for atmail on every single page.

There are people who believe it's a violation and I'm one of them.

EDIT: please don't point at Do Not Track or other work-arounds because that's all they are.

nakkiel··on Poll: Facebook usage
As far as I'm concerned, I check it every other day and spend little time on the website but I'm connected almost all the time to the chat (as I have set up my account in Pidgin).
nakkiel··on Xkcd Password Generator
Had you used brainfuck, I would have downvoted you.
nakkiel··on Xkcd Password Generator
It's like with any other program supposed to help you picking up a password; you run it a couple of times until you find something that ticks.

  Beirut ejecting sidings mourns
nakkiel··on Why you don't steal from a hacker.
A lot of bits wasted here about semantics but not a single one raising the multiple racist allusions on the linked blog post.
nakkiel··on Xkcd Password Generator
This might come in handy:

shuf -n4 /usr/share/dict/words | tr '\n' ' '

nakkiel··on 5000% Increase in the sale of baseball bats on Amazon.co.uk
If they are poor, without jobs and opportunities, I think they are, one way or another, protesting. We made the exact same mistake in France in 2005. If you prefer, these events are the manifestation of their condition which could be qualified of passive or unconscious protestation.
nakkiel··on Vim & Python: Making yourself at home
http://paste.pocoo.org/show/449029/

As mentioned in the paste:

Please note that this is hacked Python SimpleFold. I don't know how much of the original plugin the code share (as I hacked it loooong ago). Do remember that it doesn't always work (but always do with my company's coding conventiens; hear I have no intent to make it work for others). Also, there is probably some useless crap laying around.

Edit: Judging by my English, I'm really tired. I leave it as-is for posterity and because it's the way it is in the paste.

nakkiel··on Advice to young programmers
That's right but with some very basic rigour that kind of bug ever hardly bites. With high level languages this is less and less of a problem; Python for example let one write code without using i.
nakkiel··on Advice to young programmers
My only advice, to all programmers, is to print the following and stick it in a place where you can see it everyday:

“There are only two hard problems in Computer Science: cache invalidation and naming things.” – Phil Karlton

The variant mentioning off-by-one errors may be pleasant, and useful for beginners, but is hardly a problem.

When we'll have solved the naming thing we'll be safe.

The rest is just buzz-words and useless noise.

nakkiel··on Code.Google.com now supports git
Meh. The term 'Project' embodies much much more than just 'code'. A Project is made of its many components: team, community, bug trackers, documentation, resources, news feed and code (I've certainly omitted several other things).

Only after looking at these elements can you get a picture of the project which will tell you a lot about it. How is the support? Do developers even care? Are they serious at issues handling? Etc.

OSS suffers a lot from people who think they can just paste the code, change the implementation when they feel like it, etc.

← PreviousPage 8 of 12Next →