Sometimes I have to put text on a path
Showing posts with label 3- Dimensional Analysis. Show all posts
Showing posts with label 3- Dimensional Analysis. Show all posts

Wednesday, February 6, 2013

Biophotonics: health and air quality (optics and chemistry) in China and in the mega-cities of Beijing, Shanghai, Chongqing and Tianjin, 27 provincial capitals, and three key industrial belts; levels of ozone and PM2.5 particles



China combats air pollution with tough monitoring rules

State media acknowledge role of online environmental activists in forcing government to act on poor air quality in cities

Smog down a main street of Linfen, in China's Shanxi province. 
Photograph: Peter Parks/AFP/Getty Images


Chinese authorities have set tougher rules to combat air pollution by ordering all major cities to monitor tiny particles that do serious damage to health. One of China's leading environmental activists, Ma Jun, greeted the change as a major step forward.

Surprisingly, given China's strict control of the internet, state media have acknowledged the change is partly in response to online environmental campaigners.

The national air quality rules were agreed at an executive meeting of the state council presided over by the premier, Wen Jiabao, on 1 March, a statement on its website said.

They order stricter air pollution monitoring standards this year in the mega-cities of Beijing, Shanghai, Chongqing and Tianjin, 27 provincial capitals, and three key industrial belts: the Yangtze and Pearl river deltas, and Beijing's hinterland. Another 113 cities must adopt new standards next year, and all but the smallest cities by 2015.

To "help allay public concern over official air quality readings", levels of ozone and PM2.5 particles must be included. PM2.5 particulate matter is below 2.5 micrometres in diameter, or 1/30th the width of an average human hair, and easily penetrates lung tissue.

"This is a major step forward in terms of China's process to combat urban air pollution," said Ma Jun, director of the Institute of Public and Environmental Affairs. "The prerequisite for mobilising our people is to let them know what is going on.

"It doesn't mean that the sky will turn blue automatically because at the end of the day we still need to cut off these emissions."

Following the announcement, more than a million – mostly positive – comments were posted on the Weibo micro-blogging service in under 24 hours. "Good news, applause," wrote Xu Xiaonian, a prominent economist. Others questioned whether the rules would be enforced.

In January, Beijing's environmental agency included PM2.5 particles in its calculations after months of postings from netizens mocking the discrepancy between officially clear days and the dense smog at their windows. Ma said social media had played an essential role in changing government policy last year.

State media also acknowledged the role of bloggers: "A stirring campaign on the country's social network websites since last autumn seemed to have gained a satisfying response from the country's policymakers," Xinhua news agency said.

-------------------------------------------------------





The heavy smog and haze that shrouded Beijing on the weekend — pushing the pollution index to a record high — has been dubbed the "Beijing Cough" by the city's expat community, becoming increasingly popular with local media and Chinese.

Meanwhile, many other cities also witnessed smoggy weather on the weekend. On Saturday, levels of PM2.5 passed 300 micrograms per cubic meter in 33 of the 74 cities with systems equipped to monitor the particles. Face mask sales surged and hospitals crowded with sick people in cities across the country.

Modern toxicology research has shown that exposure to PM2.5 can lead to significantly increased death rates due to cardiovascular, cerebrovascular and respiratory diseases, as well as increased cancer risk.

BEIJING - Beijing air pollution reaches dangerous levels.

not only in Beijung:

 

 http://www.chinadaily.com.cn/china/att/site1/20130115/f04da2db1484125f305819.pdf

Beijing's air pollution reached dangerous levels yet again on Sunday, marking the third consecutive day of severe smog, municipal environmental authorities said.
The municipal meteorological station issued the city's first orange fog warning Sunday morning due to decreased visibility caused by the heavy smog.
Monitoring data released on Sunday showed that air quality indexes in most regions of Beijing had hit 500, the indexes' highest level.
"Beijing implemented its emergency response plan for hazardous pollution for the first time on Sunday," said Yu Jianhua, director of the air quality department under the municipal environmental protection bureau.
The plan, issued last year, includes multiple measures to combat and respond to hazardous levels of air pollution.
The plan calls for construction sites to limit construction activity that creates large amounts of dust, as well as asks industrial enterprises to reduce emissions, during hazardous pollution days.
The plan also requires municipal traffic authorities to limit government vehicle usage during smoggy days, with the goal of reducing such usage by 30 percent compared to normal days.
The plan also calls for education authorities to instruct schools to limit or completely stop outdoor activity during periods of heavy air pollution.
The municipal environmental monitoring center said readings for PM2.5, or airborne particles measuring less than 2.5 micrometers in diameter, had reached more than 700 micrograms per square meter at several monitoring stations in Beijing, reaching as high as 993 Saturday evening.
"These figures represent extremely bad pollution. Pollutants have gradually accumulated over the course of recent windless days, making the air quality even worse," said Zhu Tong, a professor from the college of environmental sciences and engineering at Peking University.
The pollution is expected to engulf Beijing until Wednesday, when wind will arrive to blow the smog away, according to a weather report from the meteorological station.
Related stories:
China issues yellow fog alert
Dense fog shrouds Beijing
Smoggy weather engulfs large areas of China
China pledges $56 billion to cut air pollution
Experts explore Beijing's air pollution



Ref: http://www.guardian.co.uk/world/2012/mar/01/china-air-pollution-tough-rules
http://www.chinadaily.com.cn/china/2013-01/14/content_16115953.htm

Wednesday, December 7, 2011

Research and metrics: an ex-ample with "erotic content", "sexual interests", keywords as sex, youth, breasts, vaginas etc...

Bad Research: Popular Sex Search Terms

Researchers Ogi Ogas and Sai Gaddam recently published a book, A Billion Wicked Thoughts,
detailing their analysis of 400 million searches they collected from the Dogpile search engine.
Of those 400 million searches, 13 percent (55 million) were for erotic content.

Note that the terms below are the general category of search for that interest, which is inclusive of all sorts of permutations of the terms. These permutations (such as “tits” for breasts) are not listed below.

    Youth – 13.5 percent
    Gay – 4.7 percent
    MILFs (Mother’s I’d Like to F***) – 4.3 percent
    Breasts – 4.0 percent
    Cheating wives – 3.4 percent
    Vaginas – 2.8 percent
    Penises – 2.4 percent

There’s an old saying in computer programming — GIGO: Garbage In, Garbage Out. It applies equally well to any scientific endeavor, which is only as good as the data you choose to analyze. If you start out with a dataset of questionable generalizability or value, you may find yourself drawing conclusions which have little connection with reality.

In this instance, there’s a huge problem with the research data these researchers compiled. They don’t come from Google or even Bing. They come from a little-known search engine called “Dogpile” which isn’t even a search engine. What Dogpile is is simply an aggregation engine of search results from Google, Yahoo and Bing. Google and Bing (and Yahoo) don’t make the data it collects on searches readily available to researchers.

Context is, of course, everything when it comes to datasets, especially when those datasets are likely to be biased in ways you never bothered to investigate. In this instance, the dataset is biased by the use of the Dogpile search engine — a tiny, niche search engine that is more likely than not used by a certain subset of the population that differs from the rest of the population.

So who uses Dogpile? Who knows, but it certainly isn’t likely to be a mainstream Internet user. While over 150 million people use Google and 90 million use Bing.com, Dogpile’s measly 2-3 million people per month pales in comparison and is far less than 0.05 percent of the total search engine market.

For instance, Ogi Ogas and Sai Gaddam said they analyzed 400 million Internet searches. But compare this number to the 3 billion searches conducted each and every day, according to Hitwise, an online analytics company.

Ref. http://psychcentral.com/blog/archives/2011/05/31/bad-research-popular-sex-search-terms/

Sunday, November 13, 2011

worldometer and the Real Time Statistics Project

http://www.worldometers.info/

Worldometers is part of the Real Time Statistics Project, which is run by an international team of developers, researchers, and volunteers with the goal of making world statistics available in a thought-provoking and time relevant format to a wide audience around the world.

Sources
Sources are carefully selected to include only data published by the most reputable organizations and statistical offices in the world.
 
Algorithm
The counters that display the real-time numbers are based on Worldometers’ algorithm that processes the latest and most accurate statistical data available together with its estimated progression to compute the current millisecond number to be displayed on each counter based on the specific time set on each visitor’s computer clock. Please refer to the frequently asked questions to learn more about the mechanism.

Friday, July 8, 2011

All about "How to post mathematics?" mathML, LaTeX, MathJax with Chrome/Firefox and Best online/offline rich text editors (webmail, word processor); Comparison of off-line on-line HTML/text editors and browsers.

outline:
1-----free and multi-platform HTML editors
2-----Rich text/html editors inside blogger, Gmail, Knol, wordpress.com, webmail...
3-----Web-based word processor
4---- Two commercial applications & free equation editors
5-----Browsers and MATHML viewers
6-----Free javascript library for math on web pages: JavaScript display engine for mathematics that works in all browsers.
 

7-----Some interesting links 


8-----Inserting Characters (unicode, Math Font Styles)



How to post mathematics or web applications with mathematica and matlab, see :
http://ex-ample.blogspot.com/2011/06/web20-services-mathematica-and-matlab.html

How to post mathematics in wikipedia or in MediaWiki? , see:
http://ex-ample.blogspot.com/2011/07/mediawiki-api.html
An "ex-ample" : the online  NIST Digital Library of Mathematical Functions {Abramowitz and Stegun’s (1964) Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables}.
http://ex-ample.blogspot.com/2011/07/best-ex-ample-nist-digital-library-of.html

read this article (@1999, updated 2002) :
Approaches to WWW Mathematics Documents
http://hutchinson.belmont.ma.us/tth/webmath.html
------------------
preface:
ex-ample1 (mathML3): http://ex-ample.blogspot.com/2011/07/mathml3-sample.html
(this example comes from https://eyeasme.com/Joe/MathML/HTML5_MathML_browser_test.html
but this URL does not work with Chrome 14+STIX font+MathJax but works with firefox; MathML code without return must be included in HTML code of a post).

ex-ample2 (mathML2): http://www.w3.org/Math/testsuite/mml2-testsuite/TortureTests/Complexity/complex1.xml

ex-ample3: this blog (left sidebar and matML latex labels):
http://ex-ample.blogspot.com/2011/07/symbols-tex-1.html

Math ML(Mathematical Markup Language)  is an XML language designed to present complex equations:
http://en.wikipedia.org/wiki/MathML
http://www.w3.org/Math/
http://www.personal.psu.edu/ejp10/blogs/tlt/tutorials/mathml.html

Wikipedia uses LaTeX (and limited MathML).
 MS Office 2007 and OpenOffice.org (via OpenOffice.org Math: http://en.wikipedia.org/wiki/OpenOffice.org_Math), as well as mathematical software products such as Mathematica supports MathML.
Knol use LaTeX:
http://knol.google.com/k/stef42-ex-ample-blogger-com/mathematics-and-web-html5-latex-mathml/2fdyfc9mft4ir/1?hd=ns# 

MathML 3.0 was officially released as a W3C Recommendation (@Oct 2010). It is backward compatible with MathML 2.
MathML deals not only with the presentation but also the meaning of formula components (the latter part of MathML is known as “Content MathML”). Because the meaning of the equation is preserved separate from the presentation, how the content is communicated can be left up to the user.
If you work in science you probably know LaTeX. LaTeX is gorgeous; enabling scientific authoring in an unrivaled way. Nevertheless, LaTeX is somewhat outdated. It doesn't support the clear separation between content and style that modern standards imply. Editing complex equations can become a tedious job. An alternative might be the combination of DocBook with MathML.
DocBook is an XML language (http://en.wikipedia.org/wiki/DocBook). It's a semantic markup language for technical documentation (http://www.docbook.org/tdg/). It was originally intended for writing technical documents related to computer hardware and software but it can be used for any other sort of documentation.
As a semantic language, a DocBook document does not describe what their contents "look like," but rather the meaning of those contents. For example, rather than explaining how the abstract for an article might be visually formatted, DocBook simply says that a particular section is an abstract. It is up to an external processing tool or application to decide where on a page the abstract should go and what it should look like. And, indeed, to decide whether or not it should be included in the final output at all. It provides a vast number of semantic element tags. They are divided into three broad categories: structural, block-level, and inline. Because DocBook is an XML format, conforming to a well-defined schema, documents can be validated and processed using any tool or programming language which includes XML support.
The current version is DocBook, 5.0.DocBook 4.x documents are not compatible with DocBook 5, but they can be converted into DocBook 5 documents through the use of an XSLT stylesheet.
Source: http://sourceforge.net/projects/docbook/
A group of XSLT stylesheets for transforming DocBook into various viewable formats: http://en.wikipedia.org/wiki/DocBook_XSL

This post is focused on "how to publish mathematics" not on "document languages", beyond of the scope. And then we focused on these languages : 
  • "your screen image": browser rendering engine and javascript rendering engine (in this blog the javascript library MathJax), 
  • HTML, HTML5, CSS... (quality of the code source of the page)
  • MathML (quality of the code source of the page), 
  • laTeX (quality of the code source of the page).
------------------------------------------------------------------------------------
MathML is too verbose to edit using a text editor then we need a MathML editor.

Comparison of HTML editor (stand alone); 
http://en.wikipedia.org/wiki/List_of_HTML_editors
List of math editors:
http://www.w3.org/Math/Software/mathml_software_cat_editors.html

Comparison of open source and commercial WYSIWYG web-based editors (by replacing a textarea or by adding their own editable block): 
http://geniisoft.com/showcase.nsf/WebEditors). 



Some packages and Mathematics environments (also some corrections of bad rendering):
If your document requires only a few simple mathematical formulas,  LaTeX has most of the tools that you will need. If you are writing a scientific document that contains numerous complicated formulas, the amsmath package introduces several new commands that are more powerful and flexible than the ones provided by LaTeX. The mathtools package fixes some amsmath quirks and adds some useful settings, symbols, and environments to amsmath.


Tuesday, June 14, 2011

Internet Traffic Estimate for 2015: 1 ZB/year. What is ZettaByte?




Global Internet Traffic Estimate for 2015: 1 ZB/year. This Traffic Expected to Quadruple by 2015. Approximately 3 billion people will on the internet, which equates to approximately 40% of the global population. According to the annual survey of the global digital output by International Data Corporation, the total amount of global data was expected to pass 1.2 zettabytes sometime during 2010.
1 ZettaByte= 10^21 bytes = 1,000,000,000,000,000,000,000 bytes
This estimation is not new (january 2008):  http://www.fiercevoip.com/story/zettabyte-flood-predicted-2015/2008-01-31 a "zettaflood" of bytes in U.S. Internet traffic by 2015.
Read more (data@ feb 2011; University of Southern California): http://uscnews.usc.edu/science_technology/how_much_information_is_there_in_the_world.html
From 1986 to 2007, the period of time examined in the study, worldwide computing capacity grew 58% a year, 10 times faster than the United States’ gross domestic product. Telecommunications grew 28% annually and storage capacity grew 23% a year.
Mashable writes (dat @ june 2011):
Internet traffic is projected to approach 1 zettabyte per year in 2015 — that’s equivalent of all the digital data in existence in 2010. Regionally speaking, traffic is expected to more than double in the Middle East and Africa and  Latin America where there will be an average of 1-2 devices per person.
The rest of the world will experience more moderate growth in terms of traffic, but the number of devices per person is forecast to increase significantly. By 2015, there will be an average of 5.8 devices per person in North America and 4.4 in western Europe.
Somewhat surprisingly, it is neither mobile phones nor tablets that are expected to grow the most in the next four years. Rather, flat panel televisions will experience the greatest production increase globally, up 1000% (X10) from 2010, followed by tablets (750%), digital photo frames (600%) and e-readers (600%). The number of non-smartphones and smartphones is expected to increase by 17% and 200% worldwide, respectively.”
Graphic courtesy of:

Sunday, June 12, 2011

Github Has Surpassed, in Popularity? Comparison of open source software hosting facilities and web-based source code repository; comparaison des forges logicielles

It is evident that  it's not easy to compare the facilities that host open-source development services.
Il n'est pas si évident de comparer les forges logicielles (une forge logicielle est un site web hébergeant la gestion du développement de logiciels (souvent  libres)).

1/ This problem of popularity is an ill-posed problem, although the Redmonk analysis is quite interesting (an evaluation of the metrics from commits at four mainstream forges – CodePlex, GitHub, Google Code, and Sourceforge):
http://redmonk.com/sogrady/2011/06/02/blackduck-webinar/
voir la traduction en français:
http://www.blog-nouvelles-technologies.fr/archives/4294/github-a-depasse-sourceforge-et-google-code-en-terme-de-popularite/

Number of commits is the selected quantity. I think it is not a good measure. If a developer commits 100 changes/day, is he a better developer than somebody who commits every changes only once a day before he goes home?


2/ See the following article on RWW (published @ June 2, 2011):   http://www.readwriteweb.com/hack/2011/06/github-has-passed-sourceforge.php
"Github Has Surpassed Sourceforge(SF.net),  Google Code  and Microsoft's CodePlex in total number of commits for the period of January to May 2011, according to data released today by Black Duck Software. " 

3/ See  the following article on sourceforge.net (published @ June 3, 2011):  
 http://sourceforge.net/blog/github-collaboration-and-haters/
"Many people use us together; GitHub for collaboration, and SF.net for distribution, since our end-user interface is a little more friendly to the non-techies."
  
Here's how the langages broke down on a forge by forge basis:
Forge commits by language
Source: Black Duck Software

4/ A "classic" analysis of popularity with 10 quantities:


Website ranks:

  • Alexa rank
  • Compete rank
  • Quantcast rank
Pages indexed
  • google
  • Yahoo
  • bing
Website Backlinks
  • google
  • bing
  • yahoo
  • alexa

With my "ex-ample" philosophy and dimentional analysis, we need  "ample quantities" to compare. See below 16 snapshots showing the 10 ranks obtained by http://www.webrankstats.com/
(data @ June, 5, 2011).



GitHub. The following result is impressive because SF has been online since 1999, and Github, only since 2008. 

Google Code is a google.com sub-domain and needs a more precise analysis. 

             Where visitors go on Google. com sub-domain:
             The % of site traffic code.google.com = 0.43%

then: 0.43%*150M=0.35M of unique visitors
CodePlex (Microsoft)

Assembla

Launchpad

tigris.org

Bitbucket (It is similar to GitHub, which uses Git. )

BerliOS (German; BerliOS  for "Berlin Open Source" is a project founded by FOKUS, a Fraunhofer Society Institute located in Berlin, to coordinate the different interest groups in the field of open source software. BerliOS is funded by the German government.)

Gitorious (Gitorious uses the Git distributed revision control system)

TuxFamily (French; TuxFamily.org est une association loi de 1901.)

Savannah's website is split into two domain names: savannah.gnu.org for software that is officially part of the GNU Project, and savannah.nongnu.org for all other software.

Another point of view: SF.net and GitHub.com have many subdomains.
GitHub = 82% of the traffic
SF.net   = 66% of the traffic
gist.github=2.5%
      Gist is a simple way to share snippets and pastes with others.
      All gists are git repositories, so they are automatically versioned,
      forkable and usable as a git repository.
audacity.SF=2%
     Audacity is a free software, cross-platform digital audio editor
     and recording application.

-------------------
GitHub, Bitbucket and Gitorious are web-based hosting services for software development projects that use the Git revision control system.
Git, initially designed and developed by Linus Torvalds for Linux kernel development, is a distributed revision control system with an emphasis on speed.
The success of GitHub is linked to the power of Git.

Saturday, June 11, 2011

assurance and web 2.0 , e-insurance, Financial Services industry, and "social brain"




In 2008, global insurance premiums grew by 3.4%  to reach $4.3 trillion. The financial crisis (since sept. 2008; an highly improbable. event?) has shown that the insurance sector is sufficiently capitalised: the majority of insurance companies had enough capital to absorb this impact and only a very small number turned to government for support.
Modeling and analysis of financial markets and of risks are often based on the Gaussian distribution but 50 years ago, Benoît Mandelbrot discovered  that changes in prices do not follow this distribution: changes in prices are rather modeled better by Lévy alpha-stable distributions.

An increasing variety of outcomes are being identified to have heavy tail distributions, including income distributions, financial returns, insurance payouts, reference links on the web, etc... A particular subclass of heavy tail distributions are power-laws.
For example of a power-law, the scale of change (volatility), depends on the length of the time interval to a power a bit more than 1/2.

Power-law tail behavior and the summation scheme of Levy-stable distributions ( alpha- stable distribution) is the basis for their frequent use as models when fat tails above a Gaussian distribution are observed. However, recent studies suggest that financial asset returns exhibit tail exponents well above the Levy-stable regime (0 < alpha < = 2 ). A paper ( http://ideas.repec.org/p/wpa/wuwpem/0305003.htm) illustrates that widely used tail index estimates (log-log linear regression and Hill) can give exponents well above the asymptotic limit for alpha close to 2, resulting in overestimation of the tail exponent in finite samples. The reported value of the tail exponent alpha around 3 may very well indicate a Levy-stable distribution with alpha around 1.8.

One of the most important subclass of heavy tail distributions are power-laws, which means that the probability density function is a power. One of the most important properties of power-laws is its scale invariance. The universality of power laws (with a particular scaling exponent) has an origin in the dynamical processes (self-organized systems) that autogenerate the power-law relation. Risk is not only a tail distribution but also the consequences of "social brain" (i.e. Richardson's Law for the severity of violent social conflicts). 
For info on  "social brain", see the work of Robin I.M. Dunbar: 
http://ex-ample.blogspot.com/2011/06/robin-ian-macdonald-dunbar-cambridge.html




The terms long-range dependent, self-similar and heavy-tailed... cover a range of tools from different disciplines that may be used in the important science of determining the probability of rare events, which is the basis of insurance industry.

I think that e-insurance is not only online insurance. By  "integrating" of studies (econometrics, statistics, simulation on large corpus, social aspects...) and sharing of encrypted media (cloud computing; see: http://ex-ample.blogspot.com/2011/06/example-exemple-boxnet-html5-sharing.html),  insurance companies can leverage on Web 2.0 technology  to online evaluate financial informations and deliver insurance products to the people, and to the networks of social media platform who need protection against risks.

Rem: if statistics are too complex (as Churchill already said: "There are lies, damn lies - and statistics."), this problem is in fact simple. I try to explain this behavior with an example: if we consider the sizes of files transferred from a web-server, then the distribution is heavy-tailed, that is, there are a very large number of small files transferred but, crucially, the "small" number of very large files transferred remains a major component of the volume downloaded.