Forgot your password?
typodupeerror

Comment: Re:Take THAT (Score 1) 68

by debiansid (#42409937) Attached to: GNU C Library 2.17 Announced, Includes Support For 64-bit ARM

I fail to see the impressive part. Impressive would have been fixing GCC to optimize simple functions on its own.

memcmp (and the other functions like it) is something that gets repeated in slight variations in code A LOT, and is trivial to implement. This is almost a textbook optimizer target if I've ever seen one.

The optimizations talked about here are specific to processor models (e.g. AVX and SSE for intel) and not just architectures. Compiling them into programs is a bad idea^^, so improving gcc is not an option. The glibc mem* functions have implementations for each of those processor features and the right function to use gets implemented via the STT_GNU_IFUNC mechanism based on the features the current processor has.

^^ If you don't know why it's a bad idea, it's because you don't want to compile your program for every machine you want to run it on. You want to compile for the general architecture so that it can be distributed widely.

Comment: Re:Why the Linux kernel limitation (Score 1) 68

by debiansid (#42409911) Attached to: GNU C Library 2.17 Announced, Includes Support For 64-bit ARM

The Hurd project isn't mentioned anywhere in the mailing list post.

It's my understanding that the Hurd project uses a customized version of glibc.

That should be read as: "If you're compiling on Linux, we're assuming that you have 2.6.16 or later". This is because we assume presence of some features in some of the Linux-specific code. Hurd is not mentioned anywhere because there weren't any noteworthy changes to hurd-specific requirements.

Comment: Re:Just what India needs (Score 1) 102

by debiansid (#33980792) Attached to: India To Build Neutrino Observatory

The power outages last an hour everyday during summer, not more than that. If it's more or even erratic, you need to register a complaint and it should get fixed. These outages can be bought out from MSEB in exchange for higher electricity bills that are more in line with other power suppliers (Reliance, Tata). For example, MSEB supplies power to the navi mumbai region of maharashtra and there too they used to have similar power cuts for the same reasons. Through a petition, they got rid of the power cuts in the Kharghar node of Navi Mumbai at the cost of paying higher bill rates.

Mumbai city (or any area that is not provided for by the MSEB) does not have load shedding, mainly due to the fact that it is a major financial hub of the country.

What I implied by regular is that electricity is definitely not intermittent; I agree that what I said was not accurate to the word, but my intention was to refute the 'intermittent' word. You have regular power in Pune most of the time, with load shedding during summers for an hour or less every day or for 6 hours in one day of the week depending on the region (I have lived in at least 2 regions of Pune for some time to know this). This too is planned and practically every resident knows the timings for the cut in their area.

I clarified in a later post that I am not claiming that things are perfect, but simply throwing money at them is not the solution. The electricity issue involves hundreds of factors, the primary one being acquiring land of farmers, re-routing rivers and potentially destroying some aspect of the ecosystem of the said river. Wind and solar power projects are way too expensive to even be an option right now. Despite that, India is 5th worldwide in wind power generation.

It is extremely annoying when practically every major achievement or goal set by India is welcome with cynical nonsense like the OP without any real knowledge of the ground situation.

Comment: Re:Just what India needs (Score 1) 102

by debiansid (#33978158) Attached to: India To Build Neutrino Observatory

I never denied in my post that there is a lot of scope for improvement of infrastructure and a lot of need for it too.

At the same time things are not as simple as what the OP suggested or you concluded through your observations over 2 years. There are certain standards that are very important to us and you will recognize them too, but there are other standards that we don't really care about. For example, a lot of people in the west are paranoid about cleanliness of water and food hygiene. While we in India are very particular about hygiene, we do not go so far as to avoid street food or drink out of a tap or even from a nearby stream/pond. Oh, and we eat with our hands! Ok, it is not as simple as I state here either, but I cannot think of a way to put all of it in a single post. You really need to tour the entire country to understand how things are, observe our politics, read our history. You will realize that things are not necessarily better or worse; they're just very very different and highly complicated.

Also, reforms are not as simple as throwing money in because the social structure and culture of India is much more complex than that. The sheer size of the population brings about major challenges that merely throwing money does not solve. We have done really well in just 60+ years of independence; probably better than any country given the size of our population and political issues with our neighbours.

Just out of the top of my head, here are some things the neutrino lab will help with:

  1. Generation of employment for construction of the facility
  2. Generation of employment for maintenance of the facility
  3. Revenue from leasing these facilities to institutions/organizations/governments outside India

All of this revenue loops back into the budget for further reforms and the process itself enriches so many people. I'd say this is much better than the money we're spending in building all those temples or mosques or churches.

Comment: Re:Just what India needs (Score 4, Informative) 102

by debiansid (#33971876) Attached to: India To Build Neutrino Observatory

I do not see how this type of project is sanctioned by the Indian government.

With money that is bookmarked for such projects. Believe it or not, third world countries have finance ministers who plan and reserve portions of funds for different causes and do not simply dole out cash to whoever asks for it.

Half the population is living in slums

Nonsense, unless you call the huts that a lot of tribes live in or cabins built in the mountains as slums too. People are fairly self-sufficient and are generally healthier than the average city yuppie. A very small number of people are actually in such a dire situation that they're dying from starvation.

Most parts of the country have only intermittant electricty

Rural areas do have this problem, but every place from small towns and cities have regular power supply. It is definitely not a problem in "most" of the country.

There is almost no safe water (by Western European standards)

There are almost no people with weak immune systems (by Western European standards)

The majority of the population is functionally illiterate.

Now where did you get that from? And what do you mean by that?

The roads are amongst the most dangerous in the world

They're definitely not as safe as the ones in the more developed countries.

Pollution (air, water, and waste) is a HUGE problem

in the entire world, not just in India.

Comment: Re:But what created the law of gravity? (Score 1) 1328

by debiansid (#33451480) Attached to: Hawking Picks Physics Over God For Big Bang

Umm, ok. My comment was not meant to be an informative piece; I was actually expecting my comment to be modded flamebait or funny if anything. I was attempting to show that for the sake of argument anyone can make up stuff and have it sound very interesting and knowledgeable but it probably did not come off very well.

Comment: Re:Chance of actually happening = Zero (Score 1) 366

by debiansid (#33450004) Attached to: India Now Wants Access To Google and Skype

Given the amount of money flowing in and out of India that is a result of VPN's, skype and google I seriously doubt this will happen.

RIM is one thing. Skype and Google quite another. You might as well pass a law requiring that everybody in India stop using Windows. Not gunna happen.

VPN, true. Skype and Google? Seriously? How does Indian get any revenue from Skype and Google? If you're suggesting that they are the only email/VOIP providers in India then you're totally wrong. Most serious email users will use either their ISP accounts or buy a professional service along with hosting. Others don't really care if it is hotmail, yahoo, gmail, rediffmail, sifymail, indiatimes mail, etc. VOIP has not caught on enough for anyone to be affected badly enough by the lack of skype.

Now Windows is a valid point. But hell, how many people in India do you think use a legal copy of Windows? And what's so bad about banning Windows anyway ;)

Comment: Re:Going too far, BUT... (Score 1) 366

by debiansid (#33449750) Attached to: India Now Wants Access To Google and Skype

That is the fundamental difference between Indian and US politics. If Google, Microsoft and IBM pull out of India, they have much more to lose than India. Contrary to popular belief, India does not directly depend on these companies (or any foreign companies for that matter) for their development. In the IT industry, the biggest contributors to the Indian economy are the big outsourcing shops like TCS, Infosys, Tech Mahindra, etc. They will be adversely affected only if outsourcing shuts down completely.

But if outsourcing shuts down, even the US will have a hard time recovering from it. It is a long story to explain how that will happen but to put it in a nutshell, no American company can maintain the same margins that it currently does with outsourced businesses. This either means big revenue losses or a significant rise in prices for everything.

A friend had once quipped that corruption in India is better than the corruption in the US. In the US only the politicians and big businesses get the fruits of corruption. In India, corruption benefits everyone, right down to The Common Man.

Comment: Re:India already does that and more (Score 1) 187

by debiansid (#33448182) Attached to: China Demands Real Names From Mobile Phone Users

GP is talking about prepaid (or "pay as you go") phones - how does submitting your info have anything to do with paying your bills for a device you can only use up to a prepaid credit limit?

Ouch, I missed the 'prepaid' aspect. But even for prepaid cards, the requirement of an ID and address proof has always been there; nothing to do with the terrorist attacks. What has changed due to the terrorist attacks is that a lot of the vendors have become obsessive about this, mainly due to the fact that practically everyone knew someone who died in one of the 2 major terrorist attacks in Mumbai. Earlier the same people had a cavalier attitude towards this and would simply ship in fake documents for every sale. In fact, you can still get sim cards, internet connections, etc. without any documents in smaller cities where people have not encountered terrorism first hand.

Comment: Re:India already does that and more (Score 1) 187

by debiansid (#33445974) Attached to: China Demands Real Names From Mobile Phone Users

Last year, when I visited India, the world's largest democracy, I tried to buy a pre-paid SIM card. They asked me for a photo, proof of address (like my hotel's address) and a photocopy of my passport. It seems it's standard in India since the Mumbai attack.

Nonsense FUD. This has nothing to do with the Mumbai terror attacks. We have always had to submit ID and address proof for any kind of telecom connection (telephone, mobile or internet). It has more to do with non-payment of bills than with terrorism.

"They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." -- Benjamin Franklin

There are communities in this world that do not consider "proving who they are" as an oppressive thing. Get out of your hole and you will notice that liberty is all about perception.

Thus spake the master programmer: "After three days without programming, life becomes meaningless." -- Geoffrey James, "The Tao of Programming"

Working...