Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Still in sad condition (Score 1) 176

I think it’s the same reason why often the children of successful entrepreneurs fail to keep their fathers’ empires running. When you no longer need to practice some kind of culture, you don’t, and when a culture isn’t practiced, you lose it for good, and finally competition (from other companies, from the Barbarians, from the Chinese) does the rest. Also known as “resting on your laurels”.

Comment Re:Still in sad condition (Score 1) 176

To be fair, the colosseum has just been restored (not rebuilt), this year, with contribution from private sponsors. There's an approved plan from the government to rebuild the inner arena to make it walkable again in five years, for 20 mln €. Piig or not, that's not much for the fourth economy of the EU; for comparison, it's 1/6 the cost of a single F-35 fighter and Italy is going to buy 90 of them from the US. However you are right, Italians just can't be bothered to spend money for the preservation of their historic heritage, and will happily watch it crumble to nothingless (see what's happening to the houses of Pompeii) while they build campy villas around and over the ruins.

Comment Re:Due to stupid security warnings, security (Score 1) 208

What I’d like to express is that when I use dynamically typed languages, whatever they are called, I get, depending on the particular kind of dynamically typed language, little to no introspection, function prototypes and data structures that are not self-describing, and a tendence to eat my typos and turn them into insidious bugs that are a nightmare to find and only trigger at runtime, and often not by raising a proper exception, but instead causing behaviours that appear inexplicable until you hunt the bug down.

Designing a language is a matter of trade-offs; certain languages are designed to make you code quickly (VBScript), which doesn’t mean that you can’t write robust code with them, and others are designed to make you write robust code (Java), which doesn’t mean that you can’t write buggy code with them.

Comment Re:Really, USB floppy? (Score 1) 468

Oh, I had the same experience and I thought that it was the quality of the drives to be declining.

However, to be honest, I recall having problems with failing floppies all the way back to the 80s. On the C64, the drive would begin making a LOUD rattling sound as if its head had fallen off the disk and it was banging against the end of the rail; given my age at that time, this usually happened while a game was loading the last level that I had been playing for half a day to reach (no savegames back then). On the PC, I still remember how many times I found myself torturing the R key at the "Abort, Retry, Ignore, Fail" prompt, usually to no avail. A friend of mine recommended me to put the failing floppies inside the fridge and try reading them again while they were fresh.

Comment Re:Labour laws (Score 1) 422

A personal rant, not related to this particular situation of which I know nothing.

The banks won't allow any flexibility about my working conditions when I ask for a mortgage to buy my house; doctors expect to be paid with no flexibility when I have to maintain the health of my family; bills needs to be paid inflexibly at the end of the month. So I have to confess that this concept of "flexibility" that we are importing from the US is starting to piss me off, because basically it means that workers, the weaker part of economy and the one that actually does the job, have to take on their shoulders the risk of entrepreneurship, which historically was the moral justification for investors to make money without working.

And hearing that this is necessity from politicians who sit on mountains of public money, and on behalf of CEOs who can earn one hundred times as much as their employees, and can take the citizenship of Monte Carlo to even avoid paying taxes on that much, is unbearable. Again, I'm not talking about the CEO of Mandriva, it's just a generic rant.

Comment Re:Easier to learn != easier to use (Score 1) 382

To me, the pragmatic way to add generics to Java while ensuring backwards compatibility would have been to write a new collections library using reified generics, leaving the old collections library ungenerified for source and binary compatibility with old code. That's what MS did with .NET. It's certainly much less elegant because you can't retrofit the whole API with generics as Sun was able to do, but I don't hear many complaints from .NET programmers about this problem nowadays.

Instead, they chose the more sophisticated approach of type erasure - which added a lot of complexity, limitations, and even introduced the concept of compile-time warnings in the Java language - not because of backwards compatibility (adding new kinds of bytecode to the JVM is OK and it happens occasionally), but because they wanted indefinite interoperability between old code (which would see the collection objects “raw”) and new code (which would see the very same objects “generified”).

Now academics universally despise type erasure, but back then at least half of them thought that it was a good idea and you can still see it today if you search the web for their blog posts of the time, where they explained the tricks that they used to overcome the limitations of type erasure and why type erasure wasn't so bad after all.

Comment Re:Windows 3.0 (Score 1) 387

DOS was kept around for compatibility reasons, because people WANTED to continue running DOS programs both under Windows and besides Windows. And that's mostly the reason why you might have had to fiddle with AUTOEXEC.BAT and CONFIG.SYS, that is, if you wanted to run DOS programs and therefore you needed to squeeze each KB out of conventional memory, install DOS device drivers for your sound card (which were not required under Windows), install SMARTDrive and so on. Windows applications ran happily in Extended Memory and didn't need all that theatre.

The fact that you could go back do DOS isn't relevant to the definition of what is an operating system and what isn't. You could go back to DOS in Win9x, too. And you can shut down the OS and go back to the boot loader shell in many computer architectures, including the earlier models of IBM PC where you could go back to ROM BASIC.

Comment Re:Easier to learn != easier to use (Score 1) 382

You don't need to inspect upstream definitions for the second line when there's no operator overloading involved, it can only be an addition between two numbers or a string concatenation.

Also consider the following example. What does this do?
c = a * b;
Is it a vector product? Is it a scalar product? Is it a scalar multiplication? I need to look at the types of a, b and c to figure out. A method name in place of a single character could tell me more.

Comment Re:Windows 3.0 (Score 1) 387

To be honest, at startup Windows replaced DOS' services to the point that it ran on its own, with no knowledge by the undelying DOS, program loading, process management, memory management, task scheduling, and most device drivers. This included even disk access in the later releases of Windows 3.x. It's not correct to say that Windows 3 wasn't an operating system, as it implemented almost all of the services that define an operating system, if not booting from the bare metal.

Comment Re:I don't know why people still say Java is slow. (Score 1) 382

On my laptop, a Sandy Bridge i7, on a cold start, Netbeans 8 takes 57 seconds to launch before it's clickable, Visual Studio 2013 takes 68 seconds. Netbeans is also more responsive while it's busy, with Visual Studio displaying the full hourglass cursor and triggering the "application not responding" behaviour if its window is clicked before it's ready.

Comment Re:Easier to learn != easier to use (Score 5, Informative) 382

The basic idea is that in Java programs, you can understand what's going on by looking at a fragment of code. Therefore the code is easy to read and to maintain. With syntactic sugar such as properties, operator overload and closures, you can't know which statements will cause side effects without inspecting upstream definitions.

Type erasure, on the other hand, is pure evil - to me, it's the representation of what happens when a pragmatic language ends up into the hands of computer scientists.

By the way, in Java all lists have the get() method with no exceptions (this includes Lists, HashMaps, Vectors) and all collections have the iterator() method with no exceptions. The At() method doesn't exist.

Slashdot Top Deals

A morsel of genuine history is a thing so rare as to be always valuable. -- Thomas Jefferson

Working...