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

 



Forgot your password?
typodupeerror
×

Comment Re:Why should I drop glibc? (Score 1) 134

You get your binaries from distributions anyway

No, I get binaries from wherever I want and it works.

and with musl your closed source bits can just statically link safely libc and live happy and isolated.

I can't live happily without shared libraries. They were invented for good reasons tens of years ago and have been used extensively ever since. Think about the "bloat" of statically linked executables and the fact that they don't get updates of the linked-in library code (including security fixes).

Comment Re:Why should I drop glibc? (Score 2) 134

The libc is not a library like all the others. Proposing a binary- and source- incompatible replacement for glibc, as is being done here, means to partition the Linux userspace, both binaries and source code, into two isolated subsystems. Something that we are already suffering with Android. This is not a benefit, this is a damage for the Linux community as a whole, and it will hurt me even if I don't want to switch. Casual PC users already run into enough problems when switching to Linux; asking them to check which libc is required before installing a program is the kind of nuisance that makes them run away. I don't contest musl developers' freedom to code whatever they want, and I welcome their efforts. I do contest the stance to replace glibc with an incompatible library, whomever it comes from.
Space

Earth Barely Dodged Solar Blast In 2012 202

Rambo Tribble (1273454) writes "Coronal mass ejections, with severity comparable to the 1859 Carrington event, missed Earth by only 9 days in 2012, according to researchers. The Carrington event caused widespread damage to the telegraph system in the U.S., and a similar occurrence would be devastating to modern electronics, it is thought. From the Reuters article, 'Had it hit Earth, it probably would have been like the big one in 1859, but the effect today, with our modern technologies, would have been tremendous.' The potential global cost for such damage is pegged at $2.6 trillion."
Wikipedia

Russian Civil Law Changed By Wikimedia 88

An anonymous reader writes "Changes to the Russian Civil Code, which include the recognition of open licenses, the right for libraries to generate digital copies of certain works, were now signed by the Russian President and come into force on October 1st. According to Wikimedia-RU member Linar Khalitov, 'these changes are a result of a lot of hard work on behalf of Wikimedia-RU ... proposing, discussing and defending amendments to the Code.'" The changes are pretty major: licenses no longer require a written contract to be enforced, and published works can no longer be retracted. The two combine to give Wikipedia RU authors stronger author rights. Pictures of architectural objects can be used freely without the permission of the architect, which will allow many images that were pulled from the Wikimedia Commons to return, and new projects to add pictures of monuments to go forward.

Comment Re:Modularity (Score 1) 302

That's not really a problem on modern systems.....at least OSX

Linux is a modern system, yet that's a problem in Linux. I just had to recompile dozens of libraries because one of them had littered the namespace with its own unprefixed symbols, one of which clashed with another's library's -init function, which didn't get called - so I got a segfault on exit of any application that was using that library. Fortunately the library in question was open source and its binary wasn't stripped, so the problem was easy to spot.

You can use versioned symbols on Linux, but that's not a design requirement, and not a majority of the developers do that.

Of course, if you want to call a function that has the same name in both libraries, then you're in trouble, but that's a problem in Java, too.

Not in Java, because all symbols are namespaced by design. It would be a problem if you had two versions of the same library and wanted to use both of them at once.

Comment Re:Modularity (Score 2) 302

Meh, I wrote my own replacement for freeglut3 in a weekend. It's not hard to have a platform abstraction layer, and many already exist (I just needed my own lightweight one for my games). Since I started out with cross platform toolchain, I have no issue writing code that runs on multiple platforms.

Writing your code is only part of the problem. Things become funny when you have to use code that has already been written by other people. For example, you're using a shared library which exports a symbol which clashes with another library used by another library that is dynamically loaded by another library that you use. Without you knowing.

I get a native application without Java's huge runtime dependencies

What are Java's huge runtime dependencies? For instance the Linux version only requires the X11 libraries if you want to display graphics. It will run on a Pentium 1 machine with 16 MB of RAM.

Providing binaries for every current modern chipset including ARM and MIPS takes me about 30 minutes total to build with my cross compilers.

This is assuming that you write code that doesn't interface with any existing software on the target, which is a rare occurence. Do you talk directly to the hardware? Your cross compiler won't spare you from having to write hardware-dependent code for each of the flavours of your target.

However, saying that cross platform C/C++ is more of a headache than Java is ridiculous. They're all "write once, debug everywhere" options.

With C and C++, you get in the best case to fix up your application to port it into a new operating environment, which is what Java requires you to do in the worst case. And we're not even considering the case of mutually incompatible runtime dependencies.

Comment Re:Mexico City tried this... (Score 4, Informative) 405

This measure is not experimental, it has been used in Europe since the 80s. People won't buy another car to bypass the restriction because owning a car is very expensive (insurance, taxes, ...) and if you can afford that then probably you could as well pay the fines for ignoring the law. Less environment-friendly vehicles often can't enter the city centres at all, because there it's common to put restriction on car access depending on their "euro rating".
Google

1GB of Google Drive Storage Now Costs Only $0.02 Per Month 335

SmartAboutThings writes "Up until today, I always had the impression that cloud storage was pretty expensive and I'm sure that many will agree with me. It's a good thing that some bright minds over at Google have the same impressions as they now have drastically discounted the monthly storage plans on Google Drive. The new monthly storage plans and their previous prices are as follows: $1.99 for 100GB (previously $4.99), $9.99 for 1TB (previously $49.99), and $99.99 for 10TB.The 2 dollar plan per month means that the price for a gigabyte gets down to an incredibly low price of only two cents per month."

Comment Users' rights? (Score 1) 80

Sir, by accepting to partition the Web into a subset for the customers of Google, Adobe, Apple and Microsoft and another subset for everyone else, you have lost any credibility to my eyes when you're talking about my rights online.

Government surveillance? The technology you have supported can be the best means to bring more surveillance to the web - for instance, by allowing you to view certain subsets of the web only if you're using a proprietary browser with spyware built-in.

Comment Re:Someone please explain (Score 2) 240

When we're running apps, we inevitably end up with using at least one QT app, at least one GTK app and probably in future at least one Aura app. These libraries have a huge level of duplication (e.g. each one will have a completely separately implemented file dialog). Add to this that each library will be used in several incompatible versions and you end up with serious bloat.

That's true, but how much can that bloat amount to? 20 MB? 100 MB? It won't be much relevant for today's standards. Code duplication is what happens regularly in the closed source world, where applications ship with a private version of all the libraries they use, and not only for the UI - with few people complaining.

Ive gotten the impression that the GTK3 folks werent terribly interested in hearing other people's thoughts.

This sounds like a serious problem; do we have any proper evidence?

https://mail.gnome.org/archive... - don't know if things have changed in the last two years.

Slashdot Top Deals

"One lawyer can steal more than a hundred men with guns." -- The Godfather

Working...