Saturday, July 16, 2011
What Can Companies Do to Stop a DDoS Attack?
Tuesday, July 12, 2011
BootMed Teaches You How to Save Ailing PCs
- See more like this:
- downloads,
- freeware,
- utilities,
- hard drives
Wednesday, June 29, 2011
Four More Tips for Android Users
There are so many things you can do by tapping the screen of an Android phone — or by holding your fingertip down for two seconds in what Google calls a "long press" — that most owners haven't found them yet. I published a list of 12 tips for Android last week. Here are four more.
3D Maps — Get the latest release of Google Maps, a free download via Android Market. While looking at a map, you can tilt it by sliding two fingers vertically up or down the screen, and rotate it by placing two fingers on the map — one at the top and one at the bottom, or one on each side — and making a circular motion.
Bigger browser font — Do you find yourself constantly stretching Web pages with your fingertips to read them? Change the default font size instead. While looking at the Browser app, press the menu button on your phone. Tap the More option, then choose Settings at the very bottom (you may have to scroll down.) Change the first option, Text Size, from Normal to Large.
Stop the screen from turning off — While your phone is plugged in, you can have it disable the battery-saving function that turns off the screen while you are reading, or using the phone as a bedside clock radio. Bring up the Settings app. Tap Applications, then Development. Turn on the "Stay awake" option. It was put there to help software developers. But we end users, in geek jargon, have plenty of uses for it.
Type contact names on the phone keypad — Unlike my other tips, this one works on an HTC Incredible but not on a Motorola Droid 2, so I suspect it's an HTC add-on. Still, it'll help a lot of HTC owners. Instead of finding address book contacts by bringing up your address book and then typing their names into the onscreen keyboard, bring up the phone's keypad dialer, which has much larger, easier-to-tap keys. Tap your contact's name on the keypad — e.g. 5-6-4 to spell J-O-H for John. The phone app will pop up a list of auto-complete options for the name from your address book. It's both faster and easier than going through the address book. Dear Google: Can you build this into all Android phones?
12 Tips for Using Your Android Phone
Mobile phones that run Google's Android operating system come in various shapes, sizes and features, unlike Apple's iPhones. And Android phones are available on a variety of carriers, including Boost Mobile, where a data plan can cost as little as $35 a month.
But despite the variety of Android phones, and of carriers, there are a lot of useful features common to all. Here are some tips on finding them:
THE LONG PRESS The key to many of these tips is the long press: Instead of tapping a button, word or icon on the screen, press and hold your finger on it for two seconds. Often, this will bring up a menu of options specific to the type of item, like one to bookmark a Web link. You can also long press the hardware keys on the phone, and the background of the home screen, to reveal various options.
In general, long-press functions are intended to save you from tapping through a series of menus to perform a common task. It's the equivalent of right-clicking your mouse on a PC screen.
So, for example, you can long press the home key on your phone's case — the one that looks like a little house — to bring up a menu of your eight most recently used apps. This lets you hop quickly between, say, an e-mail you are composing and your Web browser.
You can also long press the search key — it looks like a magnifying glass — to pop up a microphone icon labeled "Speak Now." Android's Voice Commands system understands at least 10 commands, like "Send text to Alison Wright, running late will see you at 6," "Navigate to the nearest pizza place," "Listen to Taylor Swift," and of course, "Note to self." If you don't begin with a special command, Android will assume you are speaking a Web search.
Within the browser app, long press the back key — the one labeled with an arrow U-turning left — to snap open a screen with your bookmarks, most visited pages and browsing history displayed in tabs.
Long press on your home screen's background to bring up a menu of options that includes Shortcuts. You can create a shortcut, which looks just like an app on your home screen, that links directly to a bookmarked Web page, a person in your contact list or a navigation destination. Android will label the shortcut with the Web site's logo, the person's face or an icon you choose for destinations.
Too many icons on your home screen? Long press on the screen to pop up a menu that includes a Folders option. You can create a folder icon and call it, say, Games, into which you can drag all your game apps.
Long press a link on a Web page to pop up a menu that lets you open the link in a new window. To switch windows, press the menu key — the one that's a grid of four squares — and tap Windows in the options that appear onscreen.
And long press can also be used for accent marks. To insert, say, an e with an accent grave into a message, long press the "e" on your keyboard. That pops up a menu of "e" characters with various accent marks.
FAST ACCESS TO PHONE, TEXT AND E-MAIL In your address book, don't tap the person's name. Tap their photo. That pops up a menu of icons to call, text or e-mail. There are also options to send messages through Twitter and Facebook.
TAKE PHOTOS OF YOURSELF Android cameras without a second camera for self-portraits have a Self Portrait mode in the camera app. Tap it, and the camera will begin searching for faces in its viewfinder using facial-recognition software. The phone will shoot a new photo of you every few seconds, adding the pictures to your camera roll. It's more hit or miss than taking your photo in a mirror, but it's more fun, like mugging in an old-fashioned photo booth.
FASTER SENTENCES Android picked up a trick from old-school BlackBerry phones: When typing a text or e-mail message, you don't need to fumble for the period key at the end of a sentence. Just press the spacebar twice. Android will insert one period and one space much faster than you could type them yourself.
E-MAIL SHORTCUTS If you use Gmail on your Android phone, you can create separate shortcut icons, as described above, to specific accounts, folders and Gmail labels. This lets you have separate icons for work e-mail and personal e-mail, rather than opening whatever you last read when you tap the Gmail icon. Once you're in the e-mail app, you can also switch folders by tapping the name of the current folder at the top of the screen.
SILENCING A CALL Most users figure out they can get rid of a phone call by sliding the red arrow that appears onscreen when the phone is ringing. But not everyone realizes you can stop the phone from ringing by pressing the power button on top of the phone or either of the volume buttons on the right.
FIND ON PAGE To search for words within a Web page, press the menu key, tap More, and then tap "Find on page." A search box and keyboard will appear to let you type in search terms.
SHARE A PAGE ON FACEBOOK Another option on the browser's More menu is the Share page. One of the options to share is Facebook. Tapping it will open Facebook in the browser (rather than using Facebook's Android app) and set up the link to be shared, complete with a thumbnail image and a space to type your comments.
SEE TODAY'S DATE Android shows the time but not the date on your home screen. If you drag down the notification tray at the top of the screen, today's date appears in the upper left corner.
FOREIGN LANGUAGE KEYBOARDS Most domestic Android phones come with only English and Spanish keyboards installed for the touch screen. To add, say, a German keyboard, go to Android Market and search for "German keyboard." Expect to pay around $3 for most keyboard apps.
GET RID OF PESKY CALLERS Do you have a frequent caller whom you never want to answer? Add them to your address book if they're not already there. Then edit their entry, and scroll to the bottom for the option "Additional info." It's tricky to open the option; you have to tap the arrow key at the right, which will pop open more options, possibly out of sight below the bottom edge of your screen. But if you scroll all the way to the bottom of the extra options, you'll find a welcome surprise: "Send straight to voice mail?" Click once for peace of mind.
Monday, June 27, 2011
The Web is the biggest open source success of all
The open source movement is a popular one, and it's certainly made its mark on the software landscape. But where has it made its biggest mark? What is the most successful open source endeavor of all time?
Actually, when you see it as a whole, isn't the Web the biggest open source success of them all?
Perhaps the most famous example is the LAMP stack that lies behind so many websites, i.e. Linux, Apache, MySQL and PHP. But there's so much more when you think about it.
Here are some of the open source projects that make the Web tick.
Web browsers
While Microsoft's closed source Internet Explorer still has a big share of the web browser market, open source alternatives are just as common these days, and they are growing. We have Mozilla'sFirefox, which is open source, and then there's the rapid rise of Webkit-based browsers such as Safari, but most notably Chrome.
Add to this the mobile Web, where Webkit powers the browsers on iPhone, Android and Blackberry.
Web server software
The most-used web server software by far is Apache, which is open source, and a lightweight alternative called nginx has become quite popular in recent years. In fact, two out of the three top web servers are open source (the exception being Microsoft's IIS at a distant number two).
Then there's plenty of other server-side plumbing that is open source. For example, many high-traffic websites use Varnish as a caching layer towards website visitors, and Memcached as a caching layer against the website's database. And these are just two examples of many.
Scripting languages and web frameworks
Most of the programming and scripting languages used on the Web, like PHP, Perl, Python, Ruby, are open source projects.
But few sites start completely from scratch. There are literally hundreds of open source content management systems and web frameworks out there to help developers, for example WordPress,Drupal, Ruby on Rails, Django, Joomla! and more.
Databases
The open source software MySQL is by far the most popular database choice for websites. There are also other open source alternatives, for example PostgreSQL, not to mention a host of open source "NoSQL" options that are cropping up lately.
Oh, and while we're talking about plumbing, we must not forget one of the very basics we rely on every single time we use anything on the Web or the Internet:
DNS
The Web (and the whole Internet for that matter) would be pretty useless without the Domain Name System. You know, that thing that makes it possible for you to use names like example.com instead of IP addresses. BIND is pretty much the de facto standard software for DNS servers (a.k.a. name servers), and is, as you might guess by now, open source.
Server operating systems
All those websites have to run on servers, and open source dominates here as well. While Windows dominates on the desktop, the servers our websites run on mostly use Linux, which is open source. Other popular options are freeBSD and OpenBSD.
The open source appeal
It's not so strange that open source software has become so popular when in many cases it can provide quality alternatives to commercial, closed source software, but for free. Free is a hard price to beat.
The Web would most likely have had a much harder time becoming widely accepted without all this freely available software to run it all on.
Please note that we're not saying that there isn't any closed source on the Web. There obviously is. But the only real exception from the open source domination of the Web, statistically speaking, is Microsoft's stack of Windows-based alternatives.
Other than that, you usually need to go really deep to get into more proprietary closed source technology, like the operating systems on routers and such. But that's the Internet, not the Web.
Final words
Thanks to the rise of the Internet in the 80s, facilitating communication, collaboration and sharing, the open source movement blossomed. When the Web was born on top of the infrastructure of the Internet in the 90s, the open source movement was already in place to help.
No one can deny that open source powers the majority of the Web. Open source and the Web live in a symbiotic relationship, feeding off each other, nurturing each other.
That's why we think that the Web is arguably the greatest open source success to date. (Not to take anything away from Tim Berners-Lee.)
Friday, June 24, 2011
Obama drives Ned the robot at CMU lab
Pittsburgh Business Times - by Paul J. Gough
Date: Friday, June 24, 2011, 1:10pm EDT When President Obama toured the National Robotics Engineering Center at Carnegie Mellon University on Friday, he did more than just watch and learn. He got to run a small, 15-inch robot named "Ned."
The robot, created by local company and CMU spinoff RedZone Robotics, is designed to inspect sewers and water pipes. But it reported for duty Friday morning for the commander-in-chief, who pool reports said took the controls behind an LED touch screen at the Lawrenceville center. Advising Obama were three RedZone executives, Sam Cancilla, Ken Wolf and Sub Vallapuzha.
"Let's see how Ned does," the president said, according to pool reports.
As Ned, which pool reports say looked a little like a torpedo, moved through a pipe, the president said he was fascinated.
"He's sending back data as he's going through," Obama asked.
Ned wasn't the only robot that Obama saw. He saw the DARPA, the Defense Advance Research Project Agency, car, a combat-support vehicle that was built by Chandler, Ariz.-based Local Motors. Local Motors "crowd-sourced" the design, seeking upward of 150 design ideas before settling upon one. It's being held up as a model of what can be done in advanced manufacturing in such a short time.
"That's really cool," Obama said, according to pool reports.
Executives from consumer-goods giant Procter & Gamble (NYSE: PG) were also on hand to show Obama how Los Alamos Labs software helped P&G retool its diaper manufacturing and save $500 million. The digital design tool could help small and midsized manufacturers.
The tour was led by Pradeep Khosla, dean of CMU's College of Engineering.
"Carnegie Mellon is a great example of what it means to move forward," Obama told an invite-only audience following the tour.
Wednesday, June 22, 2011
Web应用程序的开发步骤
如今已进入了web2.0高速发展的互联网时代,各种互联网的Web应用程序如雨后春笋般出现。那么作为一名Web开发人员,怎样去开发一款优秀的Web应用程序呢?这个问题没有一个简单的答案,甚至那些教育机构都未必能清楚的知道。所以,像大多数在这个领域里的web开发人员一样,我们只是通过去做,去实验才学会了这些。没有人告诉我们如何去做,我们从给自己做点什么东西开始,学会如何开发web应用程序是在这个过程中的一个副产品。这是学习任何语言的一个非常有效的方法。
Web应用程序与网站之间的区别
首先,我要说明,开发一个web应用程序跟开发一个网站是不一样的。虽然在总体上有很大相似之处,但开发它们所需要的时间有巨大的差别。那究竟web应用程序和网站有什么不同呢?通常,维基百科能帮助我们解释这个问题,让我们来看看维基百科是如何定义应用软件的:
应用软件,通常也被称作应用,指的是专门为帮助用户去执行一个或多个相关特定任务而设计的计算机软件。企业软件,会计软件,办公套件,绘图软件,媒体播放器等都属于这种软件。
跟应用软件相对照的是系统软件和中间件,它们管理计算机效能,管理如何跟计算机集成,但通常这些工作并不会直接反映到使用户受益的任务执行上。举个例子,一个不是很恰当的实体类比,应用软件跟系统软件之间的关系就好比一个电灯泡和一个发电厂之间的关系,发电厂(系统软件)只是产生电能,它自己没有任何真正的用途,除非利用一个电灯泡这样的应用工具才能为用户提供服务。
Web应用程序的开发过程
现在特征已经弄清楚了,我们就可以开始定义开发一个web应用程序的整个过程了。当然,这依赖于工程的大小,过程中的某些步骤可能很小,在你的脑海里就能完成这种工作,但把事情整个的了解一下总是有好处的。同时还有一点很重要的你要明白,这篇文章并不会对每个步骤进行深层次的描述。
步骤一:分析
开发一个web应用的第一步是分析你的需求。你此时应该定义出一个尽量周全的你的应用应该提供的功能清单。如果是你为一个客户做这些工作,你需要明白他们想要什么(要确保你们对方都知道对方在说些什么)。从你们的讨论中,你能总结出需求和软件规格。你即使是为自己开发,我也建议你把希望这个web应用能够做的功能写下来。
步骤二:设计
一旦你弄清楚了这个web应用需要做哪些事情,你就可以开始设计了。这个步骤通常会反反复复进行很多次,每一次都把设计细化一些。你第一要做的是画出页面流程图(画在纸上,或使用软件工具,凭各自所好吧。我喜欢用纸,这样我可以做更快速的改变)。页面流程图通常是很抽象的黑白绘画,画出你将要实现的web应用的样子(你可以加一些色彩,但尽量保持简单)。
这个步骤能够让你知道你的应用最终会是个什么样子。跟37signals倡导的相反,我建议使用一些词语描述,适度细化。当我想到一个很好的想法时,或想到事情该如何做时,我会把它标注到纸上(例如,当点击这个按钮时应该使另外一个元素改变或隐藏,我会把这写在流程图上)。
当你对做出的草图满意后,你可以开始制作实体模型了。
实体模型仍然是些图案,但有色彩和细节。最终的实体模型看起来应该像你将要实现的web应用的一个截屏图。如果你为一个客户开发,他会看看这些东西,并给你他的认可。然而,很多人都喜欢跳过这一步(大多数都是非设计人员),他们喜欢直接奔向网页原型。
原型是用HTML开发出来,使用CSS渲染(有时也是有Javascript)。页面布局要做出来,链接能够点,颜色,字体,字体大小要设定好(如果你做了实体模型,这个会很容易)。这一步非常的重要,因为这里所有的东西都能用于你最终的应用中。如果允许的话,在你的原型上做一些可用性测试,从长期的效果来看,这能使你避免大量的失误。
在这个步骤的最后,你基本上就知道了你的web应用是如何组织到一起的了。登录页面有些什么,用户如何从主页转向到各个页面。
步骤三:实现 选择一个框架
现在我们已经知道了要去开发什么东西,那就要把它做出来。这一部分的工作很多,你大部分的时间都要花在这个上面。你第一个要做的决定是如何着手,采用什么样的技术,什么框架。你有很多选择的余地,你需要选出一个适合你的。下面是一个最常用的框架的列表:
- ASP.NET
- PHP 上的任何一个流程的框架
- Python with Django
- Ruby on Rails
没有一个明确的标准说哪个框架最好。它们都各有不同,每个都有自己的长处。最重要的是你要知道它们任何一个都能让你开发出好用的web应用。
开发
一旦你知道了如何去开发,那就要甩开臂膀开干了。这个开发工作可以看作有很多块,但说到底,这都是标准的编程活动了。在后台,你要创建类,对象,服务,过程,以及持久层来把这些对象保存到数据库中。后台是整个应用的核心,对任何应用来说,它跟普通的编程没有什么区别。接着是前台的开发,你现在编写的代码才是真正给用户使用的操作界面。你把后台的程序和原型界面集成到一起,把系统各部分集成到一起。你还可以把你在开发过程中想到的一些很炫的小功能用JavaScript实现。
再说一次,有很多种途径可以实现后台程序。建议你去读一读跟你选择的框架相关的资料,弄清楚如何实现这一部分的工作。通常,这些知识会跟面向对象编程有关,但有些框架正在慢慢的向领域驱动设计发展。
步骤四:打磨抛光
现在应用程序已经开发出来,各个独立的模块也集成到了一起。你需要通过测试来确保你在步骤一中定义的需求和软件规格是否被实现(这个问题在你开发的整个过程中都要记在脑中)。你要确保那些愚蠢的用户不能通过试图做一些你还没有实现的操作而把你的应用弄坏(参考白盒和黑盒测试)。你同时还要确保你的程序能够在各种浏览器里(希望不是IE6)都能正确的运行。
现在也是你做一些小的调整,改进你的应用程序给人的感觉的时候,让它趋于完美。
步骤五:发布和后续工作
这最后一步(但不是就此完结)是发布你的应用,让用户能够真正使用它(如果这个应用是个公众开发的应用,别忘了做新闻宣传)。如果你愿意,先发布一个Beta版,这样只有一小部分用户能够发现你的应用里的大问题(因为你的程序里肯定会有bug),他们会帮助你改进程序的质量。不要忙着增加功能,要专注于把你目前的程序变的稳固。
当经过了beta阶段,你的程序已经变得十分的稳固,听取用户反馈的意见,自己试用一下自己的应用,你可以开始思考如何使应用变的更好。找出不和谐的地方,消除掉。以后每次的迭代都要经过上面所说的五个步骤,但就像我最初说的,你现在已经有了一个可以运行的应用程序,你很容易直接在心里完成这些步骤,直接奔向在代码里测试你的功能。
恭喜,你已经自豪的成为一个web应用程序的作者了。
Featured Post
Windows和Ubuntu双系统完全独立的安装方法
http://www.ubuntuhome.com/windows-and-ubuntu-install.html | Ubuntu Home Posted by Snow on 2012/06/25 安装Windows和Ubuntu双系统时,很多人喜欢先安装windows,然...
-
http://www.williamlong.info/archives/3125.html -月光博客 互联网精准广告定向技术,指的是依托于搜索引擎庞大的网民行为数据库,对网民几乎所有上网行为进行个性化的深度分析,按广告主需求锁定目标受众,进行一对一传播,提供多通道投放,按照效...
-
VOA News A wine-tasting near Beijing, China Finally, a listener in Taiwan wrote to ask why his face turns red when he drinks alcohol. Th...
-
Companion Website for: Word Frequencies in Written and Spoken English Word Frequencies in Written and Spoken English: based on the British N...
