Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?

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

by melmut (#49085289) Attached to: Java Vs. Node.js: Epic Battle For Dev Mindshare
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

by melmut (#49085259) Attached to: Java Vs. Node.js: Epic Battle For Dev Mindshare
> 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

by melmut (#45949333) Attached to: James Gosling Grades Oracle's Handling of Sun's Tech
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

by melmut (#40799555) Attached to: Ask Slashdot: How To Clean Up My Work Computer Before I Leave?
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

by melmut (#38583918) Attached to: Ask Slashdot: Which Web Platform Would You Use?
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.

Collision of Two Asteroids Spotted For the First Time 31

Posted by timothy
from the delicious-space-dust dept.
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

by melmut (#33338338) Attached to: Germany To Grant Privacy At the Workplace
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) :

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

by melmut (#33337754) Attached to: Germany To Grant Privacy At the Workplace
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

by melmut (#31907272) Attached to: Thoughts On the State of Web Development

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 ;-)

+ - Sock sorting algorithm?

Submitted by melmut
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

by melmut (#31893602) Attached to: Thoughts On the State of Web Development
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.

Comment: Re:idiocy? Incompetence? (Score 1) 269

by melmut (#30673028) Attached to: Y2.01K
Indeed, it seems it's been standardized by RFC 4180, from Oct. 2005. From a quick reading, I see that they should be comma-separated. Excel encodes csv-files with a semicolumn as field-separator for a french locale (a comma being the decimal separator in this locale). So, if I read the rfc correctly, Excel breaks the standard... However, the standards is far younger than this Excel 'feature'. Anyway, I don't see how they should do it, other than using english/american conventions.

Modeling paged and segmented memories is tricky business. -- P.J. Denning