Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

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

by Kjellander (#45592647) Attached to: The Challenge of Cross-Language Interoperability

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.

+ - Fracking could ruin beer->

Submitted by Taco Cowboy
Taco Cowboy (5327) 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"

Link to Original Source

Comment: Re:Fairplay (Score 1) 587

by Kjellander (#43348821) Attached to: Samoa Air Rolling Out "Pay As You Weigh" Fares

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

by Kjellander (#40407443) Attached to: Fedora Introduces Offline Updates

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

by Kjellander (#40356763) Attached to: Torvalds Slams NVIDIA's Linux Support

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

by Kjellander (#39892935) Attached to: Syrian Government Uses Skype To Push Malware To Activists

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.

+ - US Lawmaker Opens up ACTA to Online Comments->

Submitted by
WhyNotAskMe
WhyNotAskMe writes "Representative Darrell Issa, a California Republican, posted ACTA on his Keepthewebopen.com site Tuesday. Even though the U.S. and seven other countries signed the agreement in October, the public needs to be included in the debate as President Barack Obama's administration begins to implement ACTA, Issa said.

Issa criticized the agreement, saying most negotiations were in secret. The deal appears to violate Congress' authority to make policy affecting U.S. trade and intellectual property law, he added. "ACTA appears to be an unconstitutional power grab started by President George W. Bush and completed by President Barack Obama."

Gee — President Obama seemed to be such a nice guy. Then he sold out to the entertainment lobbies. "Yes we can — bypass Congress and impose a treaty developed by the MPAA on the whole world". Now that's optimism!"

Link to Original Source
Privacy

+ - $1B of TSA Nude Body Scanners Made Worthless ->

Submitted by
TheNextCorner
TheNextCorner writes "This video is here to demonstrate that the TSA’s insistence that the nude body scanner program is effective and necessary is nothing but a fraud, just like their claims that the program is safe (radiation what?) and non-invasive (nude pictures who?). The scanners are now effectively worthless, as anyone can beat them with virtually no effort."
Link to Original Source

To downgrade the human mind is bad theology. - C. K. Chesterton

Working...