bUgS oF a DEeBugGEr

Saturday, March 01, 2008

Goodbye for Netscape Navigator

A web browser that gave many people their first experience of the web is set to disappear.

Netscape Navigator, now owned by AOL, will no longer be supported after 1 March 2008. The company recommends that users upgrade their browser to either Firefox or Flock, which are both built on the same underlying technologies as Navigator. Netscape was created by Marc Andreessen who as a student had co-authored Mosaic, the first popular web browser.His company Netscape Communications Corporation released the first version in 1994.

Labels: , ,

Wednesday, February 27, 2008

File extension validation Javascript

You can use this function to validate the extension of a file.

// function to validate the extension of a file

// You can specify the file type in the code "valid_extensions = /(.doc|.pdf)$/i;" . If you want to add .docx supprt simply add |.docx (ex:(.doc|.pdf |.docx| .your-extension) )

var valid_extensions = /(.doc|.pdf)$/i; function CheckExtension(fld) { if(fld.value) { if (valid_extensions.test(fld.value)){ return true; } else { return false; } } else return true; }

Labels: , , ,

Tuesday, February 26, 2008

Ubuntu Mobile

Introducing Ubuntu Mobile - full Internet, no compromise

Ubuntu Mobile is an Ubuntu edition that targets an exciting new class of computers called Mobile Internet Devices.
Ubuntu Mobile, based on the world's most popular Linux distribution, and MID hardware from OEMs and ODMs, are redefining what can be done in mobile computing.

Ubuntu Mobile, a fully open source project, gives full Internet, with no compromise. Custom options may include licensed codecs and popular third-party applications.

  • Full Web 2.0/AJAX fidelity, with custom options of Adobe Flash®, Java, and more
  • Outstanding media playback so you can enjoy videos, music and photos with superior quality and easy navigation
  • A suite of applications that work seamlessly to meet every need of a digital parent, student or anyone who is on-the-go
  • Facebook®, MySpace®, YouTube®, Dailymotion®, 3D games, GPS, maps, in short, the full Web 2.0 experience delivered into your hands as a compact and powerful device that's easy and fun to use

The product of Canonical collaboration with Intel® and the open source community, Ubuntu Mobile is the software that makes it all possible.

Clutter User Interface

Clutter UI

Click here for more details

Labels: , , , ,

What is Struts?

What is Struts?

Struts is a free open-source framework for creating Java web applications.

Web applications differ from conventional websites in that web applications can create a dynamic response. Many websites deliver only static pages. A web application can interact with databases and business logic engines to customize a response.

Web applications based on JavaServer Pages sometimes commingle database code, page design code, and control flow code. In practice, we find that unless these concerns are separated, larger applications become difficult to maintain.

One way to separate concerns in a software application is to use a Model-View-Controller (MVC) architecture. The Model represents the business or database code, the View represents the page design code, and the Controller represents the navigational code. The Struts framework is designed to help developers create web applications that utilize a MVC architecture.

The framework provides three key components:

  • A "request" handler provided by the application developer that is mapped to a standard URI.
  • A "response" handler that transfers control to another resource which completes the response.
  • A tag library that helps developers create interactive form-based applications with server pages.

The framework's architecture and tags are buzzword compliant. Struts works well with conventional REST applications and with nouveau technologies like SOAP and AJAX.

What is Model-View-Controller (MVC) Architecture?

Model-View-Controller architecture is all about dividing application components into three different categories Model, View and the Controller. Components of the MVC architecture has unique responsibility and each component is independent of the other component. Changes in one component will have no or less impact on other component. Responsibilities of the components are:

Model: Model is responsible for providing the data from the database and saving the data into the data store. All the business logic are implemented in the Model. Data entered by the user through View are check in the model before saving into the database. Data access, Data validation and the data saving logic are part of Model.

View: View represents the user view of the application and is responsible for taking the input from the user, dispatching the request to the controller and then receiving response from the controller and displaying the result to the user. HTML, JSPs, Custom Tag Libraries and Resources files are the part of view component.

Controller: Controller is intermediary between Model and View. Controller is responsible for receiving the request from client. Once request is received from client it executes the appropriate business logic from the Model and then produce the output to the user using the View component. ActionServlet, Action, ActionForm and struts-config.xml are the part of Controller.

Labels: , , ,

Sunday, February 24, 2008

Ubuntu: Hardy Heron Alpha 5

The Ubuntu developers are moving very quickly to bring you the absolute latest and greatest software the Open Source Community has to offer. Hardy Heron Alpha 5 is the fifth alpha release of Ubuntu 8.04, and with this new alpha release comes a whole host of excellent new features.

The features are

1. Wubi 2. Xorg 7.3 3. Linux kernel 2.6.24 4. PulseAudio 5. PolicyKit 6. Firefox 3 Beta 3 7. Transmission 8. Vinagre 9. Brasero 10. World Clock Applet 11. GVFS 12. GNOME System Monitor 13. Virtualization 14. Firewall 15. umenu 16. Wubi

Checkout this official site for more details

Download Alpha 5

Get it while it's hot. ISOs and torrents are available at:

http://cdimage.ubuntu.com/releases/hardy/alpha-5/ (Ubuntu) http://cdimage.ubuntu.com/kubuntu/releases/hardy/alpha-5/ (Kubuntu) http://cdimage.ubuntu.com/edubuntu/releases/hardy/alpha-5/ (Edubuntu) http://cdimage.ubuntu.com/jeos/releases/hardy/alpha-5/ (Ubuntu JeOS) http://cdimage.ubuntu.com/xubuntu/releases/hardy/alpha-5/ (Xubuntu) http://cdimage.ubuntu.com/gobuntu/releases/hardy/alpha-5/ (Gobuntu) http://cdimage.ubuntu.com/ubuntustudio/releases/hardy/alpha-5/ (UbuntuStu

Labels: , , , , ,

Saturday, February 23, 2008

Wine 0.9.56 released

Wine is a translation layer (a program loader) capable of running Windows applications on Linux and other POSIX compatible operating systems. Windows programs running in Wine act as native programs would, running without the performance or memory usage penalties of an emulator, with a similar look and feel to other applications on your desktop.

The latest release is 0.9.56

What's new in this release:
- Proper handling of OpenGL/Direct3D windows with menu bars.
- Stubs for all the d3dx9_xx dlls.
- Several graphics optimizations.
- Many installer fixes.
- Improved MIME message support.
- Lots of bug fixes.

The sources will be available from the following locations:

http://ibiblio.org/pub/linux/system/emulators/wine/wine-0.9.56.tar.bz2
http://prdownloads.sourceforge.net/wine/wine-0.9.56.tar.bz2

Binary packages for various distributions will be available from:

http://www.winehq.org/site/download

 

Labels: , , ,

Monday, December 03, 2007

The history of 404 error message

In the 1980's a group of scientists at CERN (Switzerland) started working on what was to become the media revolution: the World Wide Web(WWW), or simply 'the Web'. Their aim was to create a database infrastructure that offered open access to data in various formats. They started developing their protocol called CERN's internal network.

In an office on the fourth floor (room 404), they placed the World Wide Web's central database.Any request for a file was routed to that office, where two or three people would manually locate the requested files and transfer them, over the network, to the person who made that request.When the database started to grow the number of requests grew and also the number of requests that could not be fulfilled, usually because the person who requested a file typed in the wrong name for that file.Soon these faulty requests were answered with a standard message: 'Room 404: file not found'.

Later, the manual processes were automated and people could directly query the database but the error message remained the same '404: file not found'. The room numbers remained in the error codes in the official release of HTTP (Hyper Text Transfer Protocol) and are still displayed when a browser makes a faulty request to a Web server.

Labels: , , ,

Wednesday, September 19, 2007

Extend Your Life With iMac

Your .Mac membership gives you 10 GB of online email and file storage, as well as instant access to everything you need to extend your Mac experience to the Internet:

  • Web Galley for sharing photos and movies (requires iLife '08)
  • Website hosting with iWeb (included with iLife '06 or later)
  • IMAP Mail and webmail
  • Groups
  • Sync
  • iDisk storage
  • Backup
You can share photos and movies online, send and receive email, publish your own website or blog, sync and back up important data, and more. Setting up your account on your Mac takes just a few seconds, so you can make full use of .Mac right away.
I signed up for a trial membership of 60days. Don't know whether i can try all those things because now i am working in Flip Media. If you have time don't wait.. Try your mac life :)

Labels: , , , , , , ,

Monday, September 17, 2007

iPOD TOUCH

iPod touch ambient light sensor
Steve Jobs introduced new Apple iPOD Touch. The new iPOD "the same size screen as the iPhone, but it is thinner (8mm), and it also touts the "same multi-touch interface" found on the iPhone. Additionally, it boasts a 3.5-inch widescreen display, the ability to "flick through your photos," and you even get the "slide to unlock" feature, too. Some features are Features
  • Music Music icon

    If a picture says a thousand words, think of what all the album art in your collection might say. With Cover Flow on iPod touch, you can flick through your music to find the album you want to hear. And when you do, a quick tap of the cover flips it over to display a track list. Another tap starts the music.

  • Video Video icon

    The 3.5-inch display gives you video like nothing you’ve seen before on a portable device. Watch your favorite movie. Catch up on television shows, anywhere. Enjoy video podcasts. Play music videos. All using multi-touch technology that lets you bring up onscreen controls and go widescreen (or back to full screen) with a tap.

  • Photos Photos icon

    iPod touch holds up to 20,000 photos you sync via iTunes. Flick to scroll through thumbnails. Tap to view full screen. Rotate for landscape format. Or perform some sleight of hand by opening two fingers to zoom in. You can even play slideshows, complete with music and transitions. Set any photo as your wallpaper to personalize your iPod touch...with a touch.

  • Wi-Fi Wb Browser
  • Safari icon

    Safari

    With Apple’s Safari browser built in, iPod touch is the only iPod that gives you wireless access to the web, everywhere you go. See websites the way they were designed to be seen. Sync your bookmarks or add a few as you go. Search the web using the touchscreen keyboard. Zoom in and out by tapping the multi-touch display.

  • YouTube YouTube icon

    Got a bit of a YouTube addiction? iPod touch feeds it from anywhere with a special YouTube player built right in. Watch featured videos, check out the most viewed, search for something specific, then bookmark your favorites for future reference. It’s all the fun of YouTube — pocket-size.

It is available in in models based on its memory.
  1. 8GB which will cost 299$
  2. 16GB which will cost 399$
Other Features Tech Specification

Labels: , , , , , , , , ,

Saturday, August 25, 2007

Orkut's New Design

Orkut is rolling out it's new design. They wil pubkish this design in next week but not to all the users. They will roll it out to a small group of users randomly selected, and will continue to do so until everyone is on the new site. This look is very cool. Nice colour.. simply awesome :)

Labels: , ,

Wednesday, July 18, 2007

Removing Heap41a / win32.USBworm Worm

If your system is affected by this worm then you will get a message when you vist orkut or youtube. This worm is spread through USB flash drives.

When you try orkut the message will be: ORKUT IS BANNED,Orkut is banned you fool`,The administrators didnt write this program guess who did??

And for youtube: youtube IS BANNED,youtube is banned you fool`,The administrators didnt write this program guess who did??

If you use firefox the message will be: USE INTERNET EXPLORER YOU DOPE,I DNT HATE MOZILLA BUT USE IE

Steps for removing Manually removing Heap41a / win32.USBworm Worm

  1. Restart the system in safe mode.
  2. Press CTRL+ALT+DEL and go to the processes tab
  3. Look for svchost.exe . There will be more than one process with that name. End that process but make sure that the username of that process should be your username.
  4. End all svchost.exe process with your username.
  5. Goto your "C:\" drive and delete the folder heap41a. That folder is an hidden folder. So you must enable the option for showing the hidden files( Seletct Tools from the menu bar and select Folder options. Then select view tab. there you can find the option for showing the hidden files).
  6. Search for entries named "heap41a" in the Registery as follows
  7. Go to Start --> Run and type Regedit. Press Enter
  8. Go to the menu Edit --> Find
  9. Type "heap41a" and press enter.
  10. Delete all those entires with the name "heap41a". It will be in HKEY_LOCAL_MACHINE,SOFTWARE\Microsoft\Windows\ CurrentVersion\policies\Explorer\Run
  11. Restart in normal mode.

Labels: , ,