Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Microsoft

Submission + - Microsoft loses EU appeal

rcasha2 writes: Microsoft has lost its appeal against the EU fine of almost 500m / $700m. Microsoft could still appeal again at the European Court of Justice. More important than the fine, however, is the confirmation of the ruling that Microsoft must share with competitors information needed for interoperability. This ruling could have an effect on such products as Samba, email clients etc.
Handhelds

Submission + - Study:iPhone touch keyboard "better than expec

thefickler writes: In the weeks leading up to the launch of the iPhone commentators such as John Dvorak and Business Week's Peter Burrows had speculated that the touch keyboard could be the iPhone's downfall.

However a study by Chicago-based User Centric has shown that the touch keyboard actually performs "better than expected" for text messaging tasks

"We conduct studies on different text input systems and we were surprised to find that these iPhone users were more efficient with the touch keyboard when composing text messages than they were when using the phones they owned just a week earlier," said Gavin Lew, Managing Director of User Centric.
United States

Submission + - US goes begging to China for more money

Don92126 writes: With the housing market crash threatening financial markets a desperate U.S. government has dispatched Housing and Urban Development Secretary Alphonso Jackson to Beijing to beg the Chinese to use some of their $1.3 trillion in foreign reserves to buy more U.S. mortgage backed securities. Full story here.
Windows

Submission + - As a Windows user, where is the WOW factor?

LM741N writes: "OK, I've had Vista on my new Sony ViAO for a couple of months, but i'm mystified. Where is the WOW factor? I bought a copy of Vista Ultimate and expected all sorts of innovations and eye candy. Where is it? As far as I can tell Vista is just an incremental upgrade from XP with some extras thrown in. I have tried to go into the screen personalization section and didn't find much there. The icons look pretty much like XP icons. The only thing I noticed is the edges of windows being transparent. What am I missing here? Please tell me how to satisfy myself after spending all that money."
XBox (Games)

Submission + - HD-DVD to be dead 'in months' sez Sony exec. (gamasutra.com)

EWAdams writes: Gamasutra is running a brief interview with Peter Dille, senior VP of marketing for Playstation. He pulls no punches in his comments on the viability of the Xbox and HD-DVD:

With the Xbox 360 you've got an inconsistent design, some have a hard drive, some don't, and none of them have Blu-Ray, and the HD-DVD will be out of business in a matter of months. Is this a 10 year product? And by the way, it doesn't even work. Do they want to be selling it for 10 years and refurbishing them all for 10 more years? I don't think that's a 10 year product. You could disagree with me, or they could disagree with me, but I'd put that up against the PS3 any day.
A longer version of the interview will be published later.

PHP

Submission + - PHP In A Nutshell (infatex.com)

Mikhail Tuknov writes: "If you have spent the better part of the last few years on the Internet, you may have already chanced upon the term PHP. You may have even encountered the definition: "a server-side scripting language". But what exactly does it mean? And more importantly, what use can it be to you as an aspiring Web developer or Web designer?

Going back to the definition for a little while, PHP is indeed a server-side scripting language that is typically used in the creation of dynamic Web pages. It is a relatively easy to learn programming language that enables you to feature more dynamic content on your web sites.

PHP is different from other types of programming languages in that it is designed to work in conjunction with HTML. This compatibility is a distinct advantage of PHP and allows you to easily integrate it into web pages that have already been extensively rendered with HTML. This integration is in fact so seamless that you can quite readily switch between the two languages even within the same web document.

How this while thing works is basically like this: web sites are typically designed with a combination of PHP and HTML in varying proportions depending on the designer's intended purpose. When a visitor points his browser to the web page in question, the server will "read" and subsequently process the PHP instructions and later send the results of the process to the browser of the visitor. This is pretty much similar to how other languages such as ASP or ColdFusion work. The main difference however is that PHP, unlike the aforementioned ASP or ColdFusion, PHP is both an Open Source and a cross-platform application. What this means is that PHP can be run under the Windows NT platform as well as many versions of the UNIX platform. In addition, PHP can be designed to function as an Apache module and even as a binary that can be run as a CGI.

PHP by its very nature is exceptionally light and fast to run but when designed to run as an Apache module it is even more so. The absence of any process creation overhead allows PHP to return results quickly compared with other programming languages plus it has the added benefit of not requiring the tuning of mod_perl in order to limit your server's memory image to a manageably small size.

Beyond its usage as a means to control and alter the contents of your web pages, PHP can also serve to function as an HTTP header sender. It is typically used in this function to set cookies in web browsers, manage the site authentication processes, and to redirect users to other sites. PHP also works well with other programs and applications, enabling unparalleled connectivity with many different databases as well as ODBC, as well as offering seamless integration with many different external libraries; libraries that allow you to accomplish tasks such as publishing PDF documents and even parsing XML.

The way PHP fits within your web pages is extremely elegant in its simplicity; so simple in fact you will not need a special development environment or IDE at all. You merely have to place a at the end. PHP can also be configured to utilize ASP type tags as well as .). The PHP engine is charged with the task of processing everything that is contained within those tags.

If you have had an extensive or even only a little background in programming languages, you may have already noticed that PHP has a lot in common with the languages C and Perl, especially in its language syntax. Just like in C and Perl, you do not have to declare variables prior to you using them, and it is also quite easy to create arrays and hashes (associative arrays).

So much for its characteristics; now how can you use PHP?

One of the most often mentioned and widely used applications of PHP is for server side scripting. This has traditionally been the area in which PHP has been focused. The three components of PHP in this particular application are: a PHP parser (which can take the form of a CGI or server module), a web browser and a web server. The web server is run with a PHP installation connected and the program output of the PHP program is accessed with a web browser. The PHP page can then be viewed through the web server.

Command line scripting is another area where PHP is utilized and for this application you only need a PHP parser. Typical uses include rudimentary text processing and running scripts such as Cron or Task Scheduler.

Finally, although not the ideal solution for this particular scenario, PHP is also used in writing desktop applications that feature a graphical user interface.

Clearly the uses for PHP are both varied and endless and you should explore it in depth to find out how it can be of service to you.

About the Author:

Mikhail Tuknov is a search engine optimization specialist providing web site search engine optimization (SEO), pay per click (PPC) management and web analytics services."

Spam

Submission + - Fight Image Spam With FuzzyOCR And SpamAssassin

hausmasta writes: "This tutorial describes how to scan emails for image spam with FuzzyOCR. FuzzyOCR is a plugin for SpamAssassin which is aimed at unsolicited bulk mail containing images as the main content carrier. Using different methods, it analyzes the content and properties of images to distinguish between normal mails (ham) and spam mails. FuzzyOCR tries to keep the system load low by scanning only mails that have not already been categorized as spam by SpamAssassin, thus avoiding unnecessary work.

http://www.howtoforge.com/fight_image_spam_with_fu zzyocr_spamassassin"
X

Submission + - Showing off the power of Beryl

ErrorBase writes: "Someone has posted a video on YouTube showing off the power of Beryl. Some features are undeniably cool *and* helpful (i.e. making the box transparent). Others are fun, like scattering top tray icons over the desktop. Also the 'old' window dragging is shown in detail. For me it has a higher WOW factor than the 'window deck' of Vista, but just see that for yourself."
It's funny.  Laugh.

Submission + - Amazing Cancer Drug Found; Scientist Annoyed.

sporkme writes: "A scientist was frustrated when the compound she was working with destroyed her sample of cancer cells. Further research revealed that the substance was surprisingly well suited as a cancer treatment. From the article:

"I made a calculation error and used a lot more than I should have. And my cells died," Schaefer said. A colleague overheard her complaining. "The co-author on my paper said,' Did I hear you say you killed some cancer?' I said 'Oh', and took a closer look." They ran several tests and found the compound killed "pretty much every epithelial tumor cell lines we have seen."
Lab test results on hapless mice have resulted in the destruction of colon tumors without making the mice sick. The PPAR-gamma compound is expected to be especially useful in combating treatment-resistant types of cancer."

Slashdot Top Deals

FORTRAN is not a flower but a weed -- it is hardy, occasionally blooms, and grows in every computer. -- A.J. Perlis

Working...