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

 



Forgot your password?
typodupeerror
Compare cell phone plans using Wirefly's innovative plan comparison tool ×

Comment Bottle of wine to Lapland analogy is wrong (Score 1, Insightful) 64

At least if we are talking Swedish Lapland, customs will intercept the shipment of wine, an hold it for weeks, and tax it so it is more expensive than locally bought (very expensive) wine, and also force you to pay for the joy of being taxed, a taxation fee of around €13 last time I got taxed.

Comment Java, a horrible horrible language. (Score 1) 286

I'm sitting right now and coding an interface between Java and Erlang using JInterface, and the actual JInterface part is pretty good. It makes Java act as an Erlang node. But Java is just a horrible, horrible language.

Everything on the Java side gets so bloated it is just silly. What would take one line on the Erlang side can easily take 20 lines on the Java side.

I know you are just trolling, but...

Swing is the most horrible toolkit I've ever tried to use. Even monkeys can make a better one.

Eclipse is never needed for a real language, if you need an IDE, there is something wrong with your language.

Java does the opposite of trying to help you shoot yourself in the foot, by making the code bloated and spread out. More lines = more bugs, that is the simple fact.

Just-in-time does not make java "just as fast" automatically. I have 8 cores on my machine, and I can easily and safely make Erlang programs that max out all of them, and without any mutexes. The mutex model is just broken and as we move to more and more cores, you need languages that can easily and safely scale.

"Java unicode from the ground up", MY ASS! Why would you even make .toString() the default when converting from one type to the next. You always want .getBytes()!!!!

And stop smoking your crack for at least 5 seconds before lying to yourself about Fortune 500 companies not hiring anything but Java programmers. What do you think they coded Facebook chat in, for just one example? Not Java!

That should be enough fodder for the trolls.

Submission + - Fracking could ruin beer (telegraph.co.uk)

Taco Cowboy writes: Those of you who like free beer, watch out !

The practice of fracking for shale gas, may ruin the beer you drink

Under the "Reinheitsgebot", or German purity law, brewers have to produce beer using only malt, hops, yeast and water

"The water has to be pure and more than half Germany's brewers have their own wells which are situated outside areas that could be protected under the government's current planned legislation on fracking," said a Brauer-Bund spokesman

The Brauer-Bund beer association is worried that fracking for shale gas, which involves pumping water and chemicals at high pressure into the ground, could pollute water used for brewing and break a 500-year-old industry rule on water purity

Comment Re:Fairplay (Score 1) 587

Not really a good parallel, every car insurance plan I know (even in those "socialist paradises" in Europe) you pay more if your car insurance company has to pay constantly for accidents you cause.

Not true. In Sweden it is illegal to have sexist policies, so insurance companies can't make you pay more just because you are a guy for the same model car and same address.

So in Sweden this pricing policy would not fly.

Comment Re:Would it *kill* you to read the article? (Score 3, Insightful) 287

try resizing your /var or / LVM partitions while the system is running, let me know how that goes. This is because real enterprises have issues your linux server in mom's basement don't.

I have been doing exactly that for years, and it is only been getting easier. These are the commands you need to use if you have them stacked LVM->DMCRYPT->EXT4

fdisk
partprobe
pvresize
lvresize
cryptsetup resize
resize2fs

Use the tools in the stacking order that you have used to set up your system.

So I'm letting you know right now, if you actually know Linux system administration, it has worked fine for years and years. First online resize of a filesystem that was mounted over the network for a lot of users I did back in 2001.

Comment The Study's data is completely flawed (Score 1) 471

I have no idea where the authors found their data, but it is not from this earth that we live on for sure.

Why does Sweden and Norway have among the highest "Crime Index z-scores"?, whatever that means? I mean, does Sweden have a higher crime index than Tanzania, Brazil or the US for that matter??

I subject to you: https://en.wikipedia.org/wiki/List_of_countries_by_intentional_homicide_rate

Please find any study where Sweden and Norway have among the highest crime rates.

The authors are worse than "damned liars" I say.

Comment Re:Problems? Really? (Score 1) 663

We have every right irritated with Linus here. I've written software for Linux, Windows, and embedded RTOSes. Linux was by far the most painful. Boost was the only thing that made it tolerable. Berating a company that supports a user base which represents 1% or less of their market without any modern-day language tools at their disposal (STL, Boost, a decent IDE) is just counter-productive.

Seriously, if you write a device driver in Boost, you should be shot in front of your kids. And I know, I used to work for a company that wrote most of its software in Boost, luckily only in user space. They had all the usual problems with Boost, all the static and dynamic cast bullshit, 8 different kinds of smart pointers, all of them thread unsafe and of course, error messages the size of a small house. They had a bug for 2 years because they couldn't follow the code because of Boost and all Design Patterns they had used. There is a reason why Boost is not STL.

So no Boost or STL in the kernel is a good thing, only to keep coders like you out. Just read what Linus has to say about it:

http://article.gmane.org/gmane.comp.version-control.git/57918

(full dislosure: I now work for a company doing almost all coding in Erlang, and we rely on one peice of code written in Boost, and we hate it.
It is almost impossible to compile, lacks a good api, and if you change any configuration while it is running it drops all its connections. We really would like to replace it and probably will at some time.)

Comment To all Syrian Activists (Score 4, Informative) 139

In order for this not to happen again do the following:

Stop using Windows and MacOSX.
Download and install Fedora F16.
When installing, encrypt the harddrive with a really hard to break password.
Install pidgin and off the record like this: 'yum install pidgin pidgin-otr'
Generate keys and verify them before communicating.
Be _very_ careful if who you usually talks to changes their key, they might have been arrested.
Never ever communicate in the clear.

Using this strategy you will not be immune, rubber-hose-cryptanalysis with still defeat this. Also you can be tracked so your oppresive government can see that you communicate, they will just not be able to read what you are saying. And not using major OSes will keep you away from the most common exploits and trojans.

Also, try to use TOR, HTTPS-everywhere and other good tools.

References:
https://fedoraproject.org/
http://fr2.rpmfind.net//linux/RPM/fedora/16/x86_64/pidgin-otr-3.2.0-4.fc15.x86_64.html
http://www.cypherpunks.ca/otr/

Good luck.

Slashdot Top Deals

It is masked but always present. I don't know who built to it. It came before the first kernel.

Working...