Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment Re:If there are patent issues (Score 1) 355 355

Same thing, really. You can still run some DOS binaries from the 80s in latest windows, even if that's anecdotal. Nowadays, I wouldn't know which platform I could trust (= not just OS) to stay unchanged / compatible for years. Linux isn't a good example for that. BTW, I'm not on MS stack. Just wanted to be fair.

Comment Re: Ummmm.... (Score 1) 319 319

Java in the browser (applets) is a problem, as any untrusted code with that level of access. Java-generated pages isn't (JSP, JSF...), and can even be more secure out of the box. When we speak of Java web applications, most people mean java-generated pages on the browser. Applets are mostly gone, as they should.

Comment Re:Ummmm.... (Score 1) 319 319

> Since each supposed "security update" actually deprecates features and adds new ones, Not true. It's been backwards compatible since the beginning. Some very low-level tools can break on major jvm versions (mainly byte-code manipulation tools, which are common for example in servers), but it's mainly a question of upgrading them at the same time. Your code from 15 year ago will still work in 99% of cases, the remaining 1% being basically your fault.

Comment Re:Java in the server, in the client, in the brows (Score 1) 223 223

Since a few years (java 6u10), it's quite easy to have native look-and-feel for everything. No need for SWT, which is an outdated hack. All java apps that I've been used for years (IDE's, various clients) have a native look-and-feel, you can't tell it's not native.

Comment Just steal the damn drive (Score 1) 547 547

I just had the same problem a couple of months ago. I had planned to copy my data and wipe the disk before leaving. Unfortunately, as I was still working with a colleague 5 minutes before my finally leave, there was no time for that. I just took the hard disk with me. I just didn't want anyone to read occasionnal personal emails or such. There was no backup of my personal stuff, as all important things where under centrally backuped version control anyway. I heard from my ex-colleague that the project manager and the boss (with which I had some bad last days), came multiple times to try to start the (diskless) pc. They were clueless at the fact that it didn't boot. Just the fact that the pc didn't return to the dedicated it team comforted me in picking the damn drive. Management isn't supposed to bypass privacy policies. As it was a big public institution, they had them in place but I suspected they would be circumvented. Had they said anything, I'd have returned the 20$ (then wiped) drive without any problem. It's been in a drawer since then.

Comment Re:Java EE 6 (Score 1) 519 519

I fully agree with that. I do lot of projects with just about the same technologies. The learning curve is there, but it's worth it. Java EE has one killer thing that I never saw in other platforms: standards, with multiple implementations. JSF might have a bad reputation due to it's past, JSF 2 manages to provide a cool, efficient tool for quick development. Same for EJB, JPA, etc. Plus, they all have multiple implementations. Nowadays, you can switch application server or JSF implementation quite easily, without having to touch the code. This makes things better than with any random framework: you will have years of backwards compatibility, you can evolve your application without rewriting everything if some implementation disappears, bugs aren't marked as "not a bug" (if it's a deviation from the JSR, it's a bug), etc. To answer the OP's question: if you need something simple to see how programming works, pick anything and try, the only thing you can lose is time. If you want something strong, strict, robust etc., pick up Java or .net. In my opinion, .net is technically better, but lacks the standardization and the multi-platform aspects.
Space

Collision of Two Asteroids Spotted For the First Time 31 31

sciencehabit writes "Astronomers report that a small asteroid located in the inner asteroid belt between Mars and Jupiter took a major hit early last year. Previously rendered only in artists' conceptions, the first asteroid collision known in modern times revealed itself in a tail of debris streaming from what astronomers at first assumed was a comet. Instead of a steady stream of dust, however, they found boulders near the object with dust moving away from them."

Comment Re:Work related vs Private (Score 1) 450 450

Right, maybe it's even more private ;-) From my understanding, ISPs can do a lot for technical reason (network health, ...). It would be difficult for them to justify data rentation as a technical need. Here is the most comprehensive legal document I found on the subject (in french) : http://www.belgium.be/fr/emploi/contrats_de_travail/protection_de_la_vie_privee/controle_des_donnees_electroniques/index.jsp

Comment Re:Work related vs Private (Score 3, Insightful) 450 450

I think there is some big cultural difference here between the US and Europe. I worked as a sysadmin for a few years. As far as I know, monitoring employees is completely illegal here (Belgium). You can't read emails or try to see which web sites have been visited by an employee. At most, you can make anonymous statistics, and I think you have to warn employees before. I don't think it would be legal to physically watch an employee all day, neither. Having employees sign some kind of agreement would be illegal, too. Saying that it's your computer so you can monitor them if you want has no legal value. It's your air, but you can't decide how much an employee can breathe ;-) I remember asking legal advice before signing my first contract. The conclusion was there was an illegal clause, which I could sign without any problem, as it was illegal and in fact had no value.

Comment Re:Been living under a rock? (Score 1) 253 253

So you get all the OOP stuff from java, but in a scripting language.

I don't see that as an advantage. Some people do.

Function calls have a huge overhead even if they are in the same class.

Calling getters/setters hasn't any performance impact on modern jdk's. I remember benchmarking just that on various sun jvm versions. Can't find the article I wrote on Google Knol, but the result was that there was few performance impact on 1.4, almost none on 1.5 and none at all on 1.6. Anyway, it was barely noticeable on millions of method calls. So, this hasn't been an acceptable excuse for years ;-)

Submission + - Sock sorting algorithm?

melmut writes: A lot has been written about sorting algorithms. But in years of personal laundry, I'm still quite bad at one of the basic tasks: sorting my socks. Lacking a sock comparison technique, I don't know how to do it efficiently. I mean, it should take seconds, but I always end up taking 15 minutes at least. I tried ordering them by color, size, ... In the end, I always find myself with 10 (or worse, 11) similar looking socks, which I each have to manually compare to each other. Does any other programmer have an efficient way of handling this task?

Comment Re:Been living under a rock? (Score 1) 253 253

Is this a troll? In 2010, Java is still state of the art. Rails and Django are not universal, certainly aren't standardized, have their weak points. I'm still a Java Developper, and won't switch to the new overhyped framework, even if I used and know Ruby quite well (and aborted any use of it). And yes, I like strong typing.

Do not underestimate the value of print statements for debugging.

Working...