Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment Re:Swastika's are a legal issue. (Score 1) 548

That is not why it was recalled. The law in question outlaws "use of symbols of unconstitutional organisations" and while it does ban the swastika in public, it also states:

Whoever domestically disseminates or produces, stocks, imports or exports or makes publicly accessible through data storage media for dissemination domestically or abroad, means of propaganda [...] shall be punished with imprisonment for not more than three years or a fine. [...]

Comment Re:Netbeans just isn't there (Score 2) 151

Given that nothing has caught up with Vim or Emacs in terms of the speed one can edit a text file, I think we should ditch all other programs than can edit text as there is obviously no need for them.

I think Oracle pushing Netbeans would be a good thing. More competition is good and I have no problem with having more choice.

Comment Maybe software prices are too high? (Score 4, Insightful) 569

Maybe they have never considered the fact that there is a correlation between the state of the economy and the amount of pirated software. Maybe they should consider that their prices are far too high to be able to afford. As for harming the economy, my money tends to go towards food rather than software. It isn't like I am saving the money and pirating software, I don't have any money to save.

Comment Useless in the UK (Score 1) 487

In the UK, the segway is only legal on private land. You are not allowed to use a motorized vehicle on the pavement, but the segway hasn't met the requirements to drive on the road, namely the safety standards (Source) In other words, it is totally useless.

If you want to get around a major city a folding bike is far better. You can take it on any means of transport and then ride when you get close to your destination. I guarentee that a folding bike and the tube will allow you to get round London far faster than a segway.

Comment Re:What's so hard? (Score 2, Interesting) 321

Data communication in a foolproof way. Writing a threaded program is easy if the program is simple. You can even get a bit more performance out of a program using multiple threads if you use locking. If you use locking, you end up with the possibility of race conditions, deadlock and other nightmares.

Extending this to something like a game engine is much harder. Say we split our physics and rendering into two threads. How does the physics thread update the render thread? We could just lock the whole scene graph, but then we don't get much of a performance increase, if at all. We then could use two buffers. The renderer renders the data from one, and the physics thread updates the other. When we are ready to update the frame, we just swap the buffers. Then we end up with some input lag. There are still complications. What happens if we add an AI thread. How does that add data to the buffer in a way that doesn't conflict with the physics thread?

We could use lock free lists, which are very hard to get right. Even some implementations that I have seen end up locking the heap, which we want to avoid. But even then we end up with some issues.
Don't get me started on debugging threaded applications. Finding that while it works fine on one and two cores. 0.1% of the time on a quad core there is a deadlock.

So to sum it up. Anyone can write a threaded application where it is easy to split the tasks. If you are designing it from the ground up, it is even easier. If you need to write performance critical maintainable code that involves a lot of communication, it suddenly gets much harder.

Comment Re:I don't think that's actually the industry's go (Score 4, Insightful) 241

he had no problems using Napster, and how he was finding songs on there from back when he was a kid, how he could find anything he wanted, and how simple it was to get whatever song he wanted...

I believe the industry is just trying to make sure my dentist doesn't start downloading songs again.

Then the solution is not to sue the dentist, but to give him options to get the music he wants cheaply and easily. By cheaply, I don't mean the current prices that they are ripping me off with. 12p a track sounds reasonable. 10p to the artist, 1p to the publisher, and 1p to the distributer.
When they try and sell me a digital album for £8 - £10, I just give up. Do they think I am made of money? Why should I pay a large amount of money for something that costs them nothing to reproduce?

One big issue the industry will hit is that when people my age (late teens) get to the point when we are the dentist, we won't have any problem pirating things. We won't have any problems with computer illiteracy. We will know where to find the programs that encrypt the traffic. If we don't, we just ask a friend who does.

Comment Re:Yet they won't even take simple measures (Score 4, Insightful) 132

If Western countries simply prohibited Saudi nationals from staying for any length longer than a vacation or business trip, it'd be easier to keep out suspected Islamic terrorists. If Western governments would also start shutting down Saudi-financed mosques and Islamic schools, that'd be even better.

We can't do that. Do you know how much oil comes from Saudi Arabia?

Idle

Submission + - Philosophies and programming languages (blogspot.com)

evariste.galois writes: In Wikipedia, in every article for a programming language, there is a special section "Language Philosophy", in which the motivation and the basic principles of the language design are being analyzed. The author is investigating much further than that, the deeper connections between philosophies and programming languages, by considering most influential thinkers of all time (e.g. Plato, Descartes, Kant) and trying to figure out which programming language fits best with most aspects of their own philosophy (Did you know that Kant was the first Python programmer?). The list is not exhaustive, but this is a funny and educative start.

Slashdot Top Deals

A good supervisor can step on your toes without messing up your shine.

Working...