Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


Comment: Re:.NET applications on Linux? (Score 4, Informative) 253

The problem is not WinForms, but WPF. An increasing amount of applications use WPF because WinForms is considered 'deprecated' by Microsoft and people are encouraged to use WPF instead, which is the new 'hot stuff'.

Comment: Re:Blast from the past (Score 1) 98

by HyperQuantum (#48384001) Attached to: US Gov't Issues Alert About iOS "Masque Attack" Threat

There is a bug in the e-mail. It should be 'We therefore ask you to send this email to all your friends and then delete all your files on your harddisk manually'.

You still need some of those files on your harddisk in order to send an e-mail. Friends with less than average intelligence might not realize that.

Comment: Real cross-platform is HARD (Score 4, Informative) 525

To make it cross-platform for real is hard. Lots of programmers don't try to avoid platform-specific and write code such as:

string fullname = directoryname + "\" + filename;

...instead of:

fullname = Path.Combine(directoryname, filename);

Another mistake is using explicitly hardcoded paths that only exist in Windows. And another challenge would be case-sensitivity of the filesystem on Linux; this can break programs that were developed and tested on Windows only.

The framework must provide for platform-independent ways to do things so that it is easier/shorter to do it the right way than using a naive but non-portable approach. Or programmers not really thinking things through will simply keep writing non-portable code anyway. The example above illustrates that; it is way more conventient to combine pathnames with such a non-portable string concatenation than it is with the right approach.

Comment: Re:As has been posted before (Score 2) 158

by HyperQuantum (#48241463) Attached to: The Problem With Positive Thinking

That was exactly my point. The 'negative thinkers/pessimists' worked very hard to solve all Y2K problems, then January 1st, 2000 passed by and all the 'positive thinkers' said "see, there was nothing to worry about" without taking into account all the work that had been done to fix the problems.

In Nature there are neither rewards nor punishments, there are consequences. -- R.G. Ingersoll