HTML, XML, XHTML, SMIL, MathML… Validator

http://validator.w3.org by W3C

W3C validator checks the markup validity of Web documents in HTML, XML,  XHTML, SMIL, MathML, etc. If you wish to validate specific content such as RSS/Atom feeds or CSS stylesheetsMobileOK content, or to find broken links, there are other validators and tools available.

Premature optimization is the root of all evil. D.E. Knuth

Premature optimization is the root of all evil.

D.E. Knuth
Professor Emeritus of
The Art of Computer Programming at Stanford University

How to Create UTF-8 Encoded HTML Pages

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

</head>

The best disk encryption software for Windows, Mac and Linux

http://www.truecrypt.org/ It’s open source!
http://www.truecrypt.org/downloads

Encryption algorithms: AES-256Serpent, and Twofish. Mode of operation: XTS.

Not even FBI was able to decrypt it.

How Google search works

How Google works

Subversion + apache 2 (linux | debian)

#sudo aptitude install subversion libapache2-svn
The install should automatically enable the module.T
o check it:
#sudo a2enmod dav_svn
You need to configure Apache:
#sudo nano /etc/apache2/mods-enabled/dav_svn.conf
Edit the file:
<Location /svn>

  DAV svn
  SVNPath /home/svn

  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /etc/apache2/dav_svn.passwd
  Require valid-user
</Location>
Change /home/svn to the location of your repository.
Create the location if you haven't:
#sudo mkdir /home/svn
#sudo svnadmin create /home/svn
Make Apache the owner of the repository: 
#sudo chown -R www-data /home/svn
To secure Subversion, do the following to create a password file:
#sudo htpasswd -cm /etc/apache2/dav_svn.passwd fred
Replace fred with username you want to use, and then when prompted enter a password.
Restart Apache:#sudo /etc/init.d/apache2 restart
It's done!
Try to access: http://yourserver/svn
 

Goodbye Windows, Hello Linux and Mac, says Google

From Computerworld by Steven

As everyone knows by now who follows technology news, the Financial Times reported that Google “is phasing out the internal use of Microsoft’s ubiquitous Windows operating system because of security concerns.” Some doubt this story, because they say that’s its vague about sources. Well, I asked, and the story is ‘mostly’ right. Google is switching away from Windows to Linux and Macs, but it’s not just because security.

I e-mailed Google and, according to a Google official, while “We’re always working to improve the efficiency of our business, but we don’t comment on specific operational matters.” That’s not much of a statement, but did you notice the key word there? It’s ‘efficiency.’

I then got on the phone, IM and e-mail with my friends at Google and they told me off-the-record pretty much what the Google employees told the Financial Times that “Many people have been moved away from [Windows] PCs, mostly towards Mac OS, following the China hacking attacks.” But, following that efficiency word around, I was also told that Linux was far cheaper than Windows and that many Google users preferred it, in any case, to Windows. While many others found Macs to just be more useful than Windows PCs.

Google’s internal users have eclectic tastes when it comes to Linux. Ubuntu was quite popular, but so was-surprise!–Google’s own AndroidFedoraopenSUSE; and the newly released MeeGo. As for the Mac users, I got the impression there may be more MacBook Pro users at Google than there are at Apple.

The Linux users preferred it for all the usual reasons: It was faster, more secure, and more stable than Windows. In addition, it did everything they needed. As you might guess, Chrome is the Web browser of choice for Google Linux users, and many of them use Google’s SaaS (Software as a Service) applications like Google Docs. As one of them told me, “Why should I waste my time with Windows and all its pain in the ass junk when I can do everything I need to do with Chrome on Ubuntu?” The Mac users, in turn, sounded like most people who like Macs. They preferred its interface and applications to those of either Linux or Windows.

Now, some analysts claim that Google’s move away from Windows isn’t about security at all. Instead, they would have it that it’s all about Google positioning itself to do battle with Microsoft and Windows. I’m sure that’s part of it too, but for their claims that Windows is secure is just utter and total nonsense.Windows is insecure by design. Always has been, always will be. To pretend that Windows’ security costs and failures aren’t important to Fortune 500 companies is total balderdash.

Have these fools forgotten that China attacked Google and many other major companies only a few months ago? Do you think sticking with an operating system that’s has as many holes in as a fisherman’s net make sense? I don’t think so! As one staffer told me, “I am not going to be the next guy to hose the company because of Windows.”

Sure, Mac OS X has its security problems as well, but, in practice, it’s still more secure than Windows. As for Linux, it’s more secure than either one, and it’s always been much tougher to attack than the others.

There’s also been some silly talk about how Google can’t really mean that they’re switching away from Windows because so many of their users depend on Windows. Uh… what makes you think that just because the rank and file is moving to other operating systems means that the developers aren’t going to be using Windows machines? Heck, I’m about as pro-Linux desktop a person on the planet, and I use Windows PCs all the time for reviews. Of course, Google will still use Windows system for development and testing.

I’m also sure that there are some special applications that don’t exist on Linux and Macs that will still be running on Windows PCs. But, seriously, what work-a-day jobs can’t you do on a Linux PC or Mac these days? Are there any? I can go days without ‘needing’ to touch my Windows PCs.

My buddy Jason Perlow, who also runs multiple operating systems, has found that he can meet 80% of his computing needs without Windows and for the rest he uses virtualized Windows on Linux. That works for me, and it probably does for Google as well.

The bottom line is that Google wants to be both more secure and more efficient. To do that, it makes perfect sense for them to abandon Windows for Linux and Mac OS X. Come to think of it, it makes perfect sense for most companies as well.

Next Generation Disaster Communications Technology Now a Reality With LifeNet

Georgia Tech’s College of Computing today announced that a group of its students and their professor have been awarded a Sustainable Vision Grant from the National Collegiate Inventors and Innovators Alliance (NCIIA) to move LifeNet, a flexible ad hoc communications network, from the classroom into the marketplace. LifeNet allows one person to share network connectivity with others via their computer and is especially important for providing instant communications connectivity in post-disaster situations or in rural and developing areas. NCIIA Sustainable Vision Grant funds are awarded to education programs where breakthrough technologies are created and then commercialized for those people living in poverty in the US and abroad.

A lack of communication infrastructure is one of the major hurdles in responding to a disaster. LifeNet is a far-reaching, infrastructure-less wireless network that is formed out of consumer electronic devices such as laptops or smartphones. Each device acts as a host and a router, making a centralized governing body unnecessary. LifeNet offers a network that can grow incrementally by allowing any user to connect and disconnect from the network. The computers will stay connected as long as they are connected to at least one other device in the ad hoc network, thus creating a continuous flow of communication.

“Imagine the hours immediately following a disaster like the Haiti earthquake or even 9/11. Communication is the key to getting timely help which can ultimately save lives,” said Hrushikesh Mehendale, team leader for the student-led class project. “Connectivity requires infrastructure; but when it breaks down, we need an easy, affordable solution. We are grateful the NCIIA saw the potential implications for LifeNet in these situations and in developing countries.”

LifeNet is based on a new routing idea for highly transient networks first formulated by former student Ashwin Paranjpe and Professor Santosh Vempala two years ago, and developed into a usable solution by students in the College of Computing’s Computing for Good (C4G) class during fall 2009. The course is an educational movement that combines technology with activism. C4G centers on the concept of applying computing ideas to important societal problems via projects to improve quality of life where it is most needed. Many of today’s societal problems stem from a lack of information or a lack of resources, and LifeNet is one project that is starting to come to fruition.

The NCIIA, focused on taking university projects out of the classroom and into the market, awarded the team a $44,000 Sustainable Vision Grant, which is granted to social progress technologies with impact on people in poverty. Academics, venture capitalists and international development leaders choose the grant recipients. The NCIIA also requires winners to attend workshops to help make each project more marketable. At the workshop, teams learn how to build a business plan, financials, marketing and the art of the 30-second pitch. LifeNet was one of the projects chosen out of ten award winners to receive continued support and consultation from NCIIA.

“I was inspired by the team’s technology skills, but more so by their impactful, innovative ideas,” said Jennifer Jackson, NCIIA grants manager. “The team addressed this huge need with an entrepreneurial spirit. We are excited to see their progress and help make this technology a reality in the marketplace.”

Next for LifeNet is thorough testing and deployment. The NCIIA will help the team develop and create a nonprofit company to deliver the technology. Part of the team will travel to India to pilot the program and others are currently in talks with government agencies for the usefulness of the network in other areas. They will also attend a second conference later this month to further explore the science, business and technology opportunities of the project. A fully mature, reliable product is planned for June availability.

LifeNet Specifications

LifeNet, a flexible ad-hoc communications network, creates connectivity in remote, developing or disaster locations where communications is often unreliable or non-existent. It is an infrastructure-less, wireless network that can cover areas from a few hundred meters to a few kilometers in diameter and is formed out of consumer devices or nodes. Every node in the LifeNet network acts as a host and a router at the same time, making a centralized governing body unnecessary for operation. The network created by LifeNet can grow or decrease incrementally as users can connect or disconnect at their own will. Moreover, all devices across a LifeNet network can access the Internet if one device has connectivity. LifeNet is open source software using the free Wi-Fi spectrum and commodity Wi-Fi protocol for link layer communication and is a self-configuring Linux kernel module.

Experiments indicate that the system functions despite changes in topology and traffic, performance improves as the network scales up, and is easy to configure and maintain. Tests have been successful within a half-mile radius, even in urban settings with buildings, trees and other obstructions.
From Georgia Tech