Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


Comment: Re:Not being a metric ton of bit rot (Score 1) 289

by Shompol (#49363481) Attached to: Ask Slashdot: What Makes Some Code Particularly Good?

why are you making those errors?

...because it "integrates with a pretty scary existing system". Something written from scratch would have much much fewer. I guess it does speak of quality of the code but also depends on the quality of data it has to work with, external interfaces, changing user requirements, etc.

Comment: Re:Damage has been done (Score 1) 309

Well, the article is shit, so I will have to go with the sparce details I have so far:

The jury deliberated for 2 days, so there were some serious arguments to deliberate about, and thus this was not a frivolous lawsuit.

Lawsuites like this impose a cost of litigation but in the long run they give us something more important, something other places like Korea or China lack. This advantage is the prime reason the Silicone Valley exists in the Valley as opposed to some shithole where laws are questionable and judges go to the highest bidder.

In this example, the lawsuit tries to establish equal treatment of men and women in the workforce. Women comprise over 50% of population and any country that can tap that talent (and most countries cannot) suddenly has access to 2x the number of capable candidates, a tremendous advantage. Most of these lawsuites are impossible for lack of proof, but if something is so obvious that it is provable in court it would be a waste not to persue.

Now imagine a society where all the respectable and compensated positions are given to communist party member's cousin's son-in-laws. All their talent rots in slums. This is the current situation at some 75% of the world. Good luck starting any successful ventures there.

Comment: Re:Not being a metric ton of bit rot (Score 1) 289

by Shompol (#49359281) Attached to: Ask Slashdot: What Makes Some Code Particularly Good?
I understand the CPU and other resource hogs are undesirable, but for simple things there is a trade off between keeping them simple or squeezing every drop of performance out, and for most practical tasks keeping things simple is more important.

Imagine something that takes 0.001 ms on a cheap CPU and is used once a day. Is it worth making it faster for a day of work and a man-week of maintenance increase due to complexity?

Comment: Re:Not being a metric ton of bit rot (Score 1) 289

by Shompol (#49358477) Attached to: Ask Slashdot: What Makes Some Code Particularly Good?
Pardon me, but your targets are off target:
Depends program objectives. Most of my code does not need to be fast, and some even works better if it is slow so it does not pig some resource
Usually the case, then again, see "Fast"
not bloated
not buggy
BS. I just completed a complex project that integrates with pretty scary existing system. It is 95% bugs at this point, yet does not make it bad code. Most bugs will get weeded out over a few weeks, as long as code is easy to read and maintain.
respectful of the user's privacy
hardened with regard to hacking
not encumbered by dependencies
adequately featured
well supported
It is if someone pays for it?
well documented for the end user
Users of a very complex iPhone never read a single page of documentation. I prefer things that just work as expected

So IMHO it boils down to maintenability and security.

Comment: Re:The religion of peace (Score 0) 490

by Shompol (#48776781) Attached to: In Paris, Terrorists Kill 2 More, Take At Least 7 Hostages
This is not a pissing contest of "which religion is the best". We (as a society) need to look into what caused the massacre and how to prevent similar events in the future. Here's a short list for you:

Norway in 2011:
Try to detect certain mental disorders early and restrict their access to firearms. Tighten control over who has access to firearms.

Paris last Wednesday, Sydney last month, etc.:
Figure out why perfectly sane and capable muslims have frequent urges to execute random civilians. Find and fix the root of the problem.

While #1 is difficult to accomplish, many jurisdictions try their best to restrict access to firearms.

#2 is easy to fix but political pressures tie our hands under "freedom of religion" umbrella. My personal opinion is that we should be keeping zealot followers of Sharia Law in countries where Sharia is the official law of the land, rendering them harmless. I would also like to see the the enablers of the assassins called to justice. I am sure they had lots of help -- moral, financial and operational to carry out this massacre.

Comment: Re: Waste of money (Score 1) 341

by Shompol (#48762433) Attached to: Intel Pledges $300 Million To Improve Diversity In Tech

Oh, what, there's no politically correct way to say things that are sexist

Challenge accepted:

You probably noticed that there is a difference in physical appearance between men and women. This is probably because men and women carry out different roles in society. Isn't it right to assume that the differences are not limited to physical appearance but also physiological, mental state, goals and interests? Believe it or not, men and women are different.

Comment: Re:France will stand for freedom of speech! (Score 1) 1350

by Shompol (#48762335) Attached to: Gunmen Kill 12, Wound 7 At French Magazine HQ
Russian TV is a giant propaganda machine. They make Fox News look good. Russia takes 3rd place in the world in journalist murder rate, while the first two places are taken by countries torn by ongoing war. Calling Russian TV "free speech" is a good joke. They will like you in Kremlin.

Comment: Re:Let's ban all guns! (Score 1) 1350

by Shompol (#48762219) Attached to: Gunmen Kill 12, Wound 7 At French Magazine HQ
A few issues with your observation:

- They don't have handguns so they butchered 1000s of people with a knife, how about you include that in your comparison, not just "deaths from handguns"?

- Ethnic composition of the two countries is not the same. UK is in Europe while US has peoples from all over the world, and trust me it is not the former Europeans who drive murder statistics here. In fact, looking at charts that consider more than ffffffffffwhole two points of data you can observe that US is clearly an outlier:

oh look there is a negative correlation between guns and murders


Comment: Re:In the name of Allah ! (Score 1) 1350

by Shompol (#48762069) Attached to: Gunmen Kill 12, Wound 7 At French Magazine HQ
Kill Nonbelievers

They entered into a covenant to seek the Lord, the God of their fathers, with all their heart and soul; and everyone who would not seek the Lord, the God of Israel, was to be put to death, whether small or great, whether man or woman.

I am sorry, this reads like a fairy tale, not a call to arms. Compare to these:

Quran 2:193

Fight them until there is no [more] fitnah and [until] worship is [acknowledged to be] for Allah . But if they cease, then there is to be no aggression except against the oppressors.


Quran 8:39

And fight them until there is no fitnah and [until] the religion, all of it, is for Allah . And if they cease - then indeed, Allah is Seeing of what they do.

Comment: Re:Surge pricing london style (Score 1) 190

by Shompol (#48657725) Attached to: Uber Pushing For Patent On Surge Pricing
They were unwilling to pick you up until surge pricing kicked in. Don't see nothing wrong with that. Waiting for 10 minutes for an Uber car that is 2 minutes away is unfortunately normal too. Until they have taken away ability to track driver you can cancel as soon as you see driver doing something funny. I recently got a warning from Uber that for cancelling after 5 mins I will get charged, despite driver going in circles around my location. Cancel before 5 mins is up :)

What good is a ticket to the good life, if you can't find the entrance?