The Free Software Foundation takes aim at Gmail
April 4, 2011 by Katie Gatto
(PhysOrg.com) -- The Free Software Foundation is at it again, promoting their laudable, if potentially unrealistic, goal to have all software released under a free software license. Their latest target for information freebies is Gmail. For those of you not familiar with this service, Gmail is the free web mail that is provided by Google.
Why does the Free Software Foundation take issue with Gmail? One word: JavaScript. This isn't the organizations first exploration into the world of JavaScript. They commonly post tutorial and articles that explain how to use popular websites without having to run JavaScript, which often runs within your browser. Currently if you disable JavaScript you cannot use Gmail. The Free Software Foundation refers to this at the JavaScript Trap, since users may or may not be aware that the JavaScript is being run by the browser.
This is not a Google specific issue, it is the general stance of the Free Software Foundation that some of the most popular sites on the web, such as Gmail, Twitter and Facebook, rely on JavaScript more than they need to. They also believe that when JavaScript is used, the company providing the product should release it as free software. They also take the position, that when JavaScript is used to provide an optional enhancement to a website, the company should also release a version of a site that does not use JavaScript.
Pardon my editorializing at this point, while free software licenses are a good thing, and this reporter enjoys the wide world of Open Source, the idea that companies owe these modifications is a little presumptive. There has to be some consideration, not for the companies, but for their users. The public release of the code for these websites and creation of HTML-only versions of these sites could lead to serious security issues. Not everyone is ethical, and once data is released for the public it is impossible to control how it will be used. I for one, would be more than a little angry if my personal data got out, because of your pressure to release everything into the open.
The bottom line is this. If JavaScript bothers you that much, then don't use these sites. No one is forcing you Tweet. Gmail isn't the only game in town. Many people live full and rich lives without a Facebook account.
© 2010 PhysOrg.com
-
From lemons to lemonade: Reaction uses carbon dioxide to make carbon-based semiconductor,
32 comments
-
Thioridazine kills cancer stem cells in human while avoiding toxic side-effects of conventional cancer treatments,
3 comments
-
SpaceX private rocket blasts off for space station (Update),
42 comments
-
Climate scientists say they have solved riddle of rising sea,
30 comments
-
Research team claims to have found evidence Lake Cheko is impact crater for Tunguska Event,
18 comments
-
Need a rigid insulation material???
6 hours ago
-
magnets or EMF in car bumpers to protect from fender bender
23 hours ago
-
length of wire in a coil of known dimensions?
May 25, 2012
-
India Engineering Powerhouse
May 25, 2012
-
electromagnet core dereference between hard and soft iron
May 25, 2012
-
Measuring water pressure in an open tank
May 24, 2012
- More from Physics Forums - General Engineering
More news stories
SpotterRF debuts Radar Backpack Kit (w/ Video)
(Phys.org) -- SpotterRF has announced a special radar backpack kit designed to enhance situational awareness for soldiers on the ground. The company says its special radar is designed for warfighters as part ...
Probability of contamination from severe nuclear reactor accidents is higher than expected: study
Catastrophic nuclear accidents such as the core meltdowns in Chernobyl and Fukushima are more likely to happen than previously assumed. Based on the operating hours of all civil nuclear reactors and the number ...
Technology / Energy & Green Tech
May 22, 2012 |
3.6 / 5 (21) |
56
|
Delphi gasoline-injection engine technique rivals hybrid's edge
(Phys.org) -- Running a diesel like engine on gasoline is something Delphi is doing in notable fashion. They claim they are on to a promising way to enjoy an engine that gives the vehicle owner high efficiency ...
HyperSolar shows dirty water no barrier to power world
(Phys.org) -- The Santa Barbara, California, company, HyperSolar, is set to transparently share the ups and downs of its research experiences toward the companys ultimate vision, successfully producing ...
Tesla to launch electric sedan in US on June 22
Tesla Motors said Tuesday it would begin deliveries of "the world's first premium electric sedan" on June 22, slightly ahead of schedule.
Technology / Energy & Green Tech
May 22, 2012 |
4.5 / 5 (11) |
18
Scientist: Evolution debate will soon be history
(AP) -- Richard Leakey predicts skepticism over evolution will soon be history. Not that the avowed atheist has any doubts himself.
Dell tablet leak: 10.1-inch display, two-battery choice
(Phys.org) -- Headline after headline talks about vendors tablets in the wings as likely number-one contenders for the iPad. Such claims have justifiably been taken with a grain of salt, considering ...
SpaceX capsule has 'new car' smell, astronauts say (Update)
SpaceX's Dragon cargo vessel smells like a new car, said astronauts at the International Space Station after opening the hatches Saturday following the spacecraft's landmark mission to the orbiting lab.
Thousands of shellfish found dead in Peru
Thousands of crustaceans were found dead off the coast of Lima following the mystery mass death of dolphins and pelicans, the Peruvian Navy said Friday.
Astronomers seize last chance in lifetime for Venus Transit
Astronomers are gearing for one the rarest events in the Solar System: an alignment of Earth, Venus and the Sun that will not be seen for another 105 years.
Keep food safety in mind this memorial day weekend
(HealthDay) -- Picnics, parades and cookouts are as much a part of Memorial Day weekend as tributes to the United States' war veterans.
Apr 04, 2011
Rank: 3 / 5 (4)
The issue of whether or not to use GMail is also a bit of a naive approach, but perhaps your employer is more flexible than most. Mine regularly releases important documents only as Google Docs, and many orgs now depend on the Google Apps for Your Domain service; if someone sets themselves up to be core infrastructure, it just seems to me they have a social responsibility to be responsible about it, and that means being transparent about it. Most don't, probably the vast majority, but still ...
Apr 04, 2011
Rank: 4.8 / 5 (5)
1) Software coding practices are largely standardized, as are the languages themselves.
2) Anyone would want to optimize their code.
3) Optimized code for the same basic algorithm on the same language will be identical, with the exception of variation in variable names and commenting.
4) Optimized code for optimized algorithms compiled on identical compilers will have identical output.
If a patent clerk can reject an energy machine or the use of catalysts in said machine based on the claim that, "Anyone skilled in the art would think to do so...," then patenting software should be impossible based on the fact that, "eventually, anyone skilled in the art would come up with the same optimized code."
Patenting software is basically as absurd as patenting the quadratic formula or Pythagorean Theorem
Apr 04, 2011
Rank: 3.7 / 5 (6)
Dear Katie Gatto, If you are planning on being a journalist, you should drop out now and go work at McDonalds. Either that, or work for Fox News.
I don't know how much MORE biased you could have written this. If you're NOT a lawyer then you should not be so smug as to the assumption of legal contracts that are accepted by the use of a licensed piece of software - REGARDLESS of the license.
My company spents millions of dollars of software and lots of time (and the use of special software) to manage and track software licenses. You better believe its big time and a serious situation. It will be worked out based on contract law - NOT your "childish feelings" of what should and should not be free.
Apr 04, 2011
Rank: 5 / 5 (2)
Apr 04, 2011
Rank: 3 / 5 (3)
Keep in mind that patents have a limited shelf life (e.g. in US, they expire after 20 years), so if I somehow manage to discover the absolute best most efficient possible algorithm, it will still be free to use by anyone within just a couple of decades.
Apr 04, 2011
Rank: 5 / 5 (1)
I'm also not a fan of opinions on news articles, or I'd be reading a blog. However, there was some separation between the "news" part and the "opinion" part. If the opinion was in a box or linked to, as opposed to being part of the main news body, I think it would be ok. As long as it's clearly labeled.
About software patents: patenting new algorithms has been done for decades; patenting the exact sequence of holes in a punch card to do it (source-code) seems highly suspicious.
Apr 04, 2011
Rank: 5 / 5 (1)
Apr 05, 2011
Rank: 5 / 5 (2)
Apr 05, 2011
Rank: 3.3 / 5 (4)
She has written for several technology sites and writes for a wide range of technology users. From showing Mac users helpful freeware on MacApper, to helping people be more productive through web-ware on AppMag, talking about open source technology on the Alternate Systems blog, she has covered all of the major operating systems."
Shee appears to be a shill
Apr 05, 2011
Rank: not rated yet
Apr 05, 2011
Rank: not rated yet
Apr 05, 2011
Rank: 5 / 5 (1)
I use JS on pretty much 100% of the web apps I write... You pretty much have to. It's usually pretty simple stuff like setting the focus to an edit field, responding to a button click to display an alert box before posting back, etc... sometimes some calculations and rendering new UI controls, client side, or calling a web service. If anyone wants to snip my JavaScript code, there's nothing stopping them. There's never anything worthy of licensing out, nor even reusing, for that matter... It's little snippets that are super-specific to that page to provide a wee bit of UI enhancement on the client side.
No way am I wasting time to write TWO of everything!
Things worthy of reuse are full js libs and Google DOES give away (some?) their js libs.
code.google.com/webtoolkit
code.google.com/p/js-cor
Apr 05, 2011
Rank: 4.3 / 5 (4)
http://www.gnu.or...rap.html
Apr 06, 2011
Rank: not rated yet
Thanks!
Apr 06, 2011
Rank: 5 / 5 (2)
Apr 06, 2011
Rank: 5 / 5 (2)
You do not seem to be clear on how open source works, as well as the benefits to security it provides.
Apr 06, 2011
Rank: 5 / 5 (4)
Apr 06, 2011
Rank: 5 / 5 (3)
Apr 06, 2011
Rank: 3.7 / 5 (3)
Katie, previous commenters were right when they said that it isn't for security by obscurity, since you can see any javascript you want. It is just the fact that Stallman is a "purist" and he should keep using lynx which wouldn't let him get onto GMail or Facebook.
Apr 06, 2011
Rank: 2.7 / 5 (3)
Stallman's other big problem with Javascript in general is that Javascript embedded into apps like gmail can't be customized by any third party (including the user); FOSS principles aspire to give any user the flexibility to modify any software or app they're using (or in fact, explicitly reject any software that isn't FOSS.) Javascript has a way of "sneaking in" under the radar along with the HTML content.
Apr 06, 2011
Rank: 4 / 5 (1)
Yes. But I think part of what they're objecting to is the /optimized/ javascript that's trimmed down to reduce download time, makes it unreadable. But, most, if not all, of Google's js libraries are publicly available in their un-optimized (debug) form.
Apr 06, 2011
Rank: 3.3 / 5 (3)
That is a joke of an excuse. People writing in c have obfuscated their code by using cute tricks for years making it impossible to read it and I've seen quite a bit of that released as FOSS. If limited white space and single-letter variable names is what he is whining about, then don't let him near any of the ancient legacy F77 or F66 code that somehow still gets used in physics and engineering. He will have to cry himself to sleep after seeing that.
Apr 06, 2011
Rank: 4 / 5 (1)
Yes. But I think part of what they're objecting to is the /optimized/ javascript that's trimmed down to reduce download time, makes it unreadable. But, most, if not all, of Google's js libraries are publicly available in their un-optimized (debug/human readable) form.
Apr 07, 2011
Rank: not rated yet
And IF you wonder why "somehow" fortran "still" gets used THEN begin to wonder why "somewhere" they are "still" using supercomputers instead of Windows-decorated PCs.
Apr 07, 2011
Rank: 5 / 5 (1)
Really?! Is that necessary? It's one thing to disagree with someone's opinion, but to demonize them for sharing that opinion is uncalled for. If you can't provide a reasoned response for why thier position is incorrect, please don't respond...
Apr 08, 2011
Rank: 5 / 5 (1)
It is possible to de-obfuscate optimised js, and it is possible to extend it.
Nothing to see here.
Apr 09, 2011
Rank: 5 / 5 (1)
Apr 09, 2011
Rank: 1 / 5 (1)
I don't provide reasoned response to an article that is so clearly yellow journalism.
I also would flame Glenn Beck - as oppose to wasting my time trying to "reason" with him.
Apr 10, 2011
Rank: 2 / 5 (1)
Apr 10, 2011
Rank: 3.5 / 5 (2)
Because most people who look at the code are amateurs who couldn't find a hole from their own behinds. In the worst case, nobody is being paid to do a proper audit, so most of the more obscure problems are never discovered.
Meanwhile, all criminals can look at the code, and they don't have to tell anybody about what they find. They have much more motivation to gain expertise and find the security problems than the unpaid amateur coder that puts his trust on the software because "someone's probably looked at it".
In fact, a rational person would estimate that since the source is available to all, there will be both good and bad people who know about the security holes, and the bad guys aren't telling, so there will be exploits in the software known only to the criminals and thus Open Source won't be secure.
Apr 10, 2011
Rank: 4 / 5 (1)
On the one hand, it can be difficult to make money from totally free software, depending on what the software does and how it does it, and as a general rule I've found that even software developers and their families like to eat.
On the other hand, there appear to be some serious flaws with Stallman's approach and suggestions to the use of JavaScript (or, if you read the linked article on "The JavaScript Trap", other languages that work similarly). The suggestion that, "...a JavaScript program [be considered] nontrivial if it makes an AJAX request, and ... if it defines methods and either loads an external script or is loaded as one" looks fraught with problems.
To start with, even Stallman's suggestion that the source be provided through an '// @source:' link in a header would invoke this rule. (The link downloads an external script.)
Apr 10, 2011
Rank: not rated yet
Thirdly, the JS programming is itself (by definition) loaded as an external "application" (yes, I know, it's arguable what constitutes an "application", hence I've quoted it).
Much more serious though, IMHO is the suggestion that a browser be able to run some modified version (up to a complete replacement set of scripts) of the downloaded JavaScript programming. This seems to offer an open invitation to anybody to hack the code for malicious intent at the server (and if you've never had to deal with a JS-invoked SQL injection attack, go find out about it; and that's an almost trivial attack vector).
Yes, good server-side coding will stop most attacks but it's difficult to be able to guarantee to stop every possible thing. Can any coder claim to know all possible hack modes? Including those yet to be invented?
Apr 10, 2011
Rank: not rated yet
A major criticism seems to be that browsers "silently load and run..." such programs. Well, quite frankly most users wouldn't want to "ok" every script to run but it's already possible to set the browser to do so if you want (and personally, my FF4 browser includes the "NoScript" add-on which prevents scripts from running silently - including itself at installation - and asks what I want to do with them). So what's the big deal?
And as many others here have noted, the JS is easy enough to grab (view source). Even if it's obfuscated by the minimisation process, this won't stop savvy-enough users looking at it.
Apr 10, 2011
Rank: not rated yet
The source code in this downloaded-app context is what gets compiled, whether it's obfuscated/compacted code or not is irrelevant. (Not considering the vexed issue of pcode or bytecode-style downloads.)
What he's arguing is (human) readability. That's not germane to his argument - free software doesn't imply that it also must be human-readable. (Open source does imply this but open source isn't his argument in that article - it is clearly & specifically about free vs not-free and humanly-readable.)
I'm not against either free or open source software - I use and like a lot of it. But this is a bad and unnecessary idea he's promoting.
Apr 11, 2011
Rank: not rated yet
That's irrelevant as long as some knowledgeable person looks at it. This worst case doesn't seem to happen in real life as there are always very ambitious unpaid people to detect and remedy zero day exploits. Pragmatism rules, not theory.
A rational person knows that one good guy is enough to tell the truth for all to know.