Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment It already exists (Score 1) 584

It's called a Java applet: every applet either runs within a very strict sandbox (even stricter than Javascript itself by the way), or the application manifest must declare and request any further access. Even better, this is only allowed if the application has been digitally signed by the software vendor.
In practice it never worked, because:
  1. 1) The default rights could be modified by the user, which meant that the vendor never got quite sure what was going to happen practically at run-time;
  2. 2) As a consequence, application vendors never bothered to use individual permissions: they requested "full access right" and damnit. Even Sun (I mean Oracle) demo's do exactly that;
  3. 3) Anyway, users got not idea what "accessing local files" meant, and just blindly clicked on "agree" as usual;
  4. 4) And even if vendors really tried hard to play it nice, what was actually allowed by default, how to practically request additional privileges, and how to provide the signature: all these got modified through each major version of Java during the early days, and therefore everybody just gave up (even though it is very stable by now, nobody cares anymore).

Comment Re:Time to move on (Score 1) 292

You're right, but reality is never fully black or white. I'm interested into cross-platform compatibility let's say 95% of the time. But I'm perfectly ready to give up the last 5% to please the user and deliver the extra mile in term of platform integration and usesability. This is why we didn't use C# in one of my projects: we wanted cross-platform, but we then selected SWT as we knew (and it turned out the be the right decision) that at some point integration and platform-specific features would be needed.

This is the problem with Java and Swing in particular: to refuse any pragmatism and to sacrifice the end-user experience to the "purity" of the framework. "100% pure Java" is considered to be an ultimate goal within the Java community. This is weird: I've never seen such as thing as "100% pure C# code" or "100% pure C++ code" or whatever. In SWT if I want to use ActiveX on Windows I'm able to do so. Sure this will only work on Windows, but then I'm able to if-then-else my code to offer an alternative implementation on other platforms. I'm able to use application-wide menus on MacOSX. Sure this makes no sense on other platforms but again who cares? Swing prohibits this kind of pragmatism and this is one of the reason, IMHO, why Java never actually took off on the desktop.

Comment Re:Time to move on (Score 1) 292

This is the whole issue with Swing: this a wonderful piece of software, the best GUI framework I ever worked on. Really. SWT, on the other hand, is inconsistent and difficult to use, brittle at times and indeed full of dirty hacks when you look at the code. And still I'm using SWT because at the end of the day the end-user doesn't care whether the toolkit is nice and neat.

What matters is platform integration: SWT supports Windows 7 jumplists, non-rectangular windows for ages, uses the native file selector (gosh how I hate Swing as a user for this), has a decent native drag&drop, is low on resource consumption, supports other OS plugins such as Windows speech recognition etc... Most importantly, it allows you to get out of the sandbox by directly exposing the underlying platform's APIs. Want to use some Windows-specific effects such as transparency or whatever? Just call OS.sendWindowMessage and you're done. Sure this will cause platform incompatibility but the end-user doesn't care (hint: users don't care whether the application they're using looks the same on their neighbour's computer, what matters in how it looks on theirs).

Pluggable look&feel and cross-platform consistency is almost never part of any requirement, and I'll trade cross-platform compatibility for a Java P-Invoke instead of JNI anytime.

Comment There is no reason to fly through a thunderstorm (Score 1) 449

Not quite. The root cause here is the thunderstorm. Famous sentence here: “There is no reason to fly through a thunderstorm in peacetime". Any pilot knows that entering a Cb cloud (thunderstorm) is basically comitting suicide. Now, if on top on that you're losing your speed indicator, then you're really fucked up, but you called for it. Losing the pitots in clear air is just annoying. Entering a Cb is suicide. Losing the pitots in a Cb is just going to kill you quicker...

Comment Re:Tablets (Score 2) 155

Except that most applications don't care about the kind of GPU being installed. However they care a lot about input devices, screen layout, look-and-feel, available system APIs, network connectivity and so on. All things that have been normalized and didn't change between XP, Vista or Seven making the "fragmentation" of the Windows platform totally irrelevant for >99% of developers.
Games

Submission + - The 5-year Console Cycle is Dead 1

Pickens writes: "The Xbox 360 turns five this week and with no known successor on the horizon for the Xbox, PlayStation or Wii, Cnet reports on the the death of the 5 year console cycle — one of the video game industry's most longstanding truisms. For example, the Nintendo Entertainment System (NES) came out in 1985, followed by the Super NES in 1991, the Nintendo 64 in 1996, the GameCube in 2001, and the Wii in 2006. But now why should console makers upgrade their offerings? Consumers are still buying their machines by the hundreds of thousands each month, and ramped-up online initiatives are breathing new life into the systems. "I've been saying since 2002," says analyst Michael Pachter, "that the generation [started] in 2005 might be our last one." To observers like Pachter, a lot of it has to do with the fact that with the current generation of consoles, each company found a way to maximize either the technology behind the devices, or the utility to a wide range of new gamers. For example, while Nintendo's Wii didn't break new ground in its graphics capabilities, its innovative and intuitive Wii controller made it possible to design games that appealed to millions of people who had never considered themselves gamers in the past. By the time that Wii’s juice finally runs out and a more powerful piece of hardware becomes necessary, Pachter sees Nintendo releasing what he calls “Wii Plus” — a Wii with graphics more on par with 360 and PS3, to make it easier for game publishers to port games between all three consoles. Finally the ability to put high-quality games in the cloud--via services like OnLive or Trion Worlds could mean that the basic concept of requiring gamers to buy sophisticated hardware goes by the wayside. "If the content [is in the cloud]," Pachter concludes, "why would I buy another box? So we really might not see another console.""
United States

Submission + - The War on WikiLeaks: What Next for the USA? (thinq.co.uk) 1

Stoobalou writes: With 'Cablegate', the leak of some 251,287 diplomatic wires between the US State Department and American embassies and consulates around the world, WikiLeaks has pulled off its biggest coup to date.

At 261,276,536 words — seven times the size of WikiLeaks' previous outing of military secrets about US operations in Iraq — the haul represents the largest leak of government data in history.

The question is: what can the US government do to stop WikiLeaks — or sites like it — from publishing such information? And what can the whistle-blowing site do to outwit them?

The distributed nature both of WikiLeaks' network, and of the internet as a whole, swiftly brought US authorities to the realisation it couldn't simply 'gag' the site.

Submission + - The Year 2016 No One Suspected (smh.com.au) 3

An anonymous reader writes: Seems like some systems are suffering from Y2K16 bug. When 2009 ticked over to 2010, some Australian EFTPOS machines skipped to the year 2016. Coincidentally, some Windows Mobile users are also having similar issue with their new year SMSes coming from 2016. What function could cause this kind of error?

Submission + - EVE Online Battle Breaks Records (And Servers) (kugutsumen.com) 2

captainktainer writes: "In one of the largest tests of Eve Online's new player sovereignty system in the Dominion expansion pack, a fleet of ships attempting to retake a lost star system was effectively annihilated amidst controversy. Defenders IT Alliance, a coalition succeeding the infamous Band of Brothers alliance (whose disbanding was covered in a previous story), effectively annihilated the enemy fleet, destroying thousands of dollars' worth of in-game assets. A representative of the alliance claimed to have destroyed a minimum of four, possibly five or more of the game's most expensive and powerful ship class, known as Titans. Both official and unofficial forums are filled with debate about whether the one-sided battle was due to difference in player skill or the well-known network failures after the release of the expansion. One of the attackers, a member of the GoonSwarm alliance, claims that because of bad coding, "Only 5% of [the attackers] loaded," meaning that lag prevented the attackers from using their ships, even as the defenders were able to destroy those ships unopposed. Even members of the victorious IT Alliance disappointment at the outcome of the battle. CCP, Eve Online's publisher, has recently acknowledged poor network performance, especially in the advertised "large fleet battles" that Dominion was supposed to encourage, and has asked players to help them stress test their code on Tuesday. Despite the admitted network failure, leaders of the attacking force do not expect CCP to replace lost ships, claiming that it was their own fault for not accounting for server failures. The incident raises questions about CCP's ability to cope with the increased network use associated with their rapid growth in subscriptions"
Oracle

Submission + - Oracle killing Sun already? 1

An anonymous reader writes: Whilst must attention has been paid to how Oracle's bid for Sun has affected MySQL, there's a lot more to the story than that. How many competitors does Oracle have in the lucrative middleware business, a la OSGi, for example? Anyone who has downloaded the latest version of Netbeans (6.8) has surely noticed the absence of SOA support, e.g. their first class BPEL designer. The semi-official stance, via Sun's blogs is "...it’s unfortunate that we don’t have the resources to support every feature we want to.. SOA, UML and Visual Web development are no longer supported...". Whether by design, or as a side effect, this is bad news for the SOA marketplace. How has Oracle's potential acquisition affected Sun technologies that you use?

Comment Re:Sweden rocks (Score 1) 140

Here in Belgium you'll typically need to feed the calculator with two numbers: the first one is the bank's reference, while the second one is composed of the target bank account number and the amount of money you're willing to transfer. The way this second number is calculated is emphasized on the website's display. That way, even if a Trojan intercepts the traffic either way, there is nothing it can do except transfering that specific amount of money to that specific account. This only works if you spend the 3 seconds that are required to check that the second code indeed matches your order, but I didn't spot any major flaws with that system.
Government

DTV Transition Mostly Smooth, Windows Media Center Problems 223

dritan writes "While most of the transition to digital seems to have gone smoothly, those who use Windows Media Center saw their screens go dark. Users are complaining that Media Center did not pick up changes to channel assignments that took place on Friday. Someone forgot to update the static channel lists distributed with the program guide. Users either have to wait for Microsoft to fix the problem, or manually edit the configuration files." Reports indicate that the FCC received upwards of 300,000 calls on Friday from consumers seeking late help with the transition, but they were prepared, with over 4,000 operators available to handle problems. The FCC's DTV website also had over 3 million hits on Friday. Both phone and Internet traffic have now tapered off, and supplies of converter boxes appear to have held out just fine.
Privacy

"Privacy Baseline" For European EID Cards 24

giles hogben writes "This paper from the European Network and Information Security Agency looks at the roll-out of privacy features in electronic identity card technology (PDF) over Europe. It includes numerous tables for easy comparison but doesn't make too much comment on the relative privacy-merits of different cards. Readers can draw their own conclusions though ..."

Slashdot Top Deals

If all else fails, lower your standards.

Working...