Category Archives: Programming

Ubuntu 9.10 comes with the New Boot Loader | GRUB 2

If you are a Linux geek and an Ubuntu fan then you might feel the excitment of its every release.  Ubuntu Developer Summit (UDS) also known as UDS Karmic Koala, was a four-day massive gathering of Linux developers from Monday 25th through Friday 29th focused on next Ubuntu version, scheduled for release at the end of October.

Read more »

Inforids Tech Support Forums Launched!

We are proud to announce the launch of our very own Inforids forum. Be sure to click on over and take a look around, and be sure to bookmark the page if you intend to visit often.

We felt that support, discussion & problem solving are one of the important things that we are lacking here on Inforids.com, & we are very happy to start Inforids Tech Support forums for all of you.

The forum is powered by bbPress & we kept it simple & more easy to work on. So, it will be very easy for you to go through a simple 2 step process to join our forum & then starting discussions & stating your problems there. We & others techies will try our best to solve your problems as early as possible.

Register me now(Its Free)

We are taking Blogging, Search Engine Optimization,Monetization,Softwares, Internet & Web 3.0,Platforms,Programming,Gaming & more major categories in Inforids Tech Support.

The aim of this forum is to provide a resource hub for anyone to ask questions and receive answers for their technical woes. Our moderators will be there to provide the technical support. It also serves as a place for us to provide technical support to our tutorials that were published in the blog.

Also, we are always doing our best to improve the forums. If you have any constructive suggestion to improve the forums, feel free to contact me at inforids@gmail.com.

Have fun With learning!

Google says – Site Page Speed – May Become A Search Ranking Factor in 2010

How fast your page loads may have a direct effect on how your site ranks in Google? Don’t worry, it hasn’t had an impact…yet. But it could be in 2010. Google’s Matt Cutts discussed key ingredients in an interview with WebProNews out in Vegas – Says that Algorithm Change Would Make Slow Sites Rank Lower

We have seen Google’s New Code Project “Let’s make the web faster” few days before, it also shows that Google is very much concerned about the site speed.

Slowpokes to get penalized in Google search rankings 2010

Google pulls in a few hundred different factors in search rankings and pushes changes to the underlying algorithm at least once a day on average.

Matt Cutts said:

We’re starting to think more and more about — should speed be a factor in Google’s rankings? I mean, in AdWords, if your site is slow, that can be a factor in how much you have to pay in AdWords.

Historically we haven’t used it in our search rankings, but a lot of people within Google think the web should be fast.

It should be a good experience, so it’s sort of fair to say if you’re a fast site, maybe you should get a bit of a bonus. Or if you’re a really awfully slow site, maybe users don’t want that as much.

I think a lot of people in 2010 are going to be thinking more about ‘how do I have my site be fast,’ how do I have it be rich without writing a bunch of custom javascript?’

From the sound of it, speed is going to be a huge factor in SEO moving in to 2010. Making your site faster is going to benefit you in better serach rankings after an year if this is going to be true. So, Webmasters have to start optimizing it for speed anyway.

So, techniques like using WordPress cache plugins to staticize, speedup & increase responsiveness of webpages can be very effective.

What do you think about this? Share with us techniques, plugins in wordpress that would be very helpful making websites faster?

Using .htaccess to Prevent Images Hotlinking & Saving your Web Hosting Bandwidth

Did you ever noticed that your images are being hotlinked on someone else’s server and consuming your server bandwidth? This is actually is direct linking to a web site’s files (images, video, etc.).without your permission.

It is bad, as it not only stealing our images, it also take advantage of our bandwidths. Since web hosts charge based on the amount of data transferred, bandwidth is an issue.

Hotlinking should be stopped because others undesirable consequences like switcheroo can often occur.

Using control over.htaccess is one of the most efficient way to prevent image hotlinking. Go through the following steps:

Creating & Placing .htaccess in Root (main) directory

Simply open a notepad & save it as .htaccess without any extension behind. If already have the .htaccess uploaded to your server, simply edit it like in step 2.

Editing .htaccess File

Paste the following code in the .htaccess file:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yoursite.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yoursite2.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ http://yoursite.com/other_image.jpe[NC,R,L]

Note: In Last line of the above code the image other_image.jpg is not hotlink protected or your server can go into an endless loop.

In the above code yoursite2.com can used be stop hotlinking from specific outside domains only, such as myspace.com, blogger.com and livejournal.com

If you want to display 403 Forbidden error on hotlinking simply paste the following code instead of the code shown above.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yoursite.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yoursite2.com [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ - [F]

Remember, Hotlinked images can only be replaced by other images, not with an HTML page.

Using .htaccess to prevent hotlinking helps you block some legitimate traffic using these techniques.

What do you think about other ways to prevent images hotlinking on your blogs? Do you like this technique? Share with us your views.

How Java is Empowering Most of the Technologies Today

Java, its power & its applications are empowering      most of the technologies today.

How? Lets see that.

Yes, Java is Everwhere! This Quick Video nicely depicts the contributions of Java to most of the technologies today. So, Included in the Weekly Video Garbber Section of Inforids.com

Feel the taste of your Favorite Guest Operating System(OS) on Linux with VirtualBox 3.0.0

Running multiple OS on the system is the choice of various curious programmers who indulge themselves in working on different OS on the same PC  which is very helpful to get knowledge, understanding the technology behind them &  how they works. Although there a different methods like  installing dual Os on the same system etc. using Virtual machines has become quite popular one commonly known as VirtualBox.

VirtualBox is a family of powerful x86 virtualization products for enterprise as well as home use the popular, amazing, open-source, virtualization software from Sun Microsystems. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL).


Presently, VirtualBox runs on Windows, Linux, Macintosh and OpenSolaris hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista), DOS/Windows 3.x, Linux (2.4 and 2.6), Solaris and OpenSolaris, and OpenBSD.

Sun xVM VirtualBox allows users to create “virtual machines” in their host operating system so that they can install any guest OS, facilitating the development, cross-platform running and testing of multi-tier applications on a single computer. Being very space efficient, Sun xVM VirtualBox has around 40 megabytes and is ready for use after just a five-minute install.

Recently VirtualBox from Sun Microsystems, reached version 3.0.0 a day ago. So, a more powerful one thatis VirtualBox 3.0.0 ia available now with  lots of new features.

The big and breathtaking  implements in VirtualBox 3.0.0 are:

  • Users can now use Direct3D 8 and 9 games or applications.
  • The new SMP (Symmetrical Multiprocessing) guest support with no more than 32 virtual processors.

Other major improvements & additions in VirtualBox 3.0.0 for Linux are:

  • Support for Linux kernel 2.6.31
  • Support for Guest Additions in Novell SUSE Linux Enterprise Desktop 11
  • Fixed CentOS 64-bit support
  • Better performance for PAE guests on Linux kernel 2.6.29 or higher
  • Better network I/O
  • Revamped settings dialog
  • Lots of fixes for 3D support
  • Windows 7 Remote Desktop Protocol client support
  • Fixed TX checksum offloading for Linux kernel 2.16.8 or higher
  • Time synchronization handler provided by the new vboxadd-service module
  • Added guest properties, which offers information about logged in users, operating system or network;
  • Added USB high-speed isochronous endpoints support, with read-ahead buffering for input endpoints & many more.

Download Sun xVM VirtualBox 3.0.0

Web Designers Need Testing | How to Test your web page in multiple Browsers simultaneously?

What if your webpages are not properly visible in Safari Browser 3.8 or in IE 5.0, but you find them working nice in  Mozilla FireFox 3.0, it can certainly give the wrong impression to the non-mozilla users who are first time visitors to your website. While working on the design of your website theme or on webpages, it is necessory to check their compatibility accross different browsers.

Checking the website’s compatibility on different browsers one by one is really a time consuming job. So, Adobe is going to do that service for web professionals.

Adobe® BrowserLab provides web designers exact renderings of their web pages in multiple browsers and operating systems, on demand. BrowserLab is a powerful solution for cross-browser compatibility testing, featuring multiple viewing and comparison tools, as well as customizable preferences. Since BrowserLab is an online service, it can be accessed from virtually any computer connected to the web.

BrowserLab is ideal for professional web designers and web developers of all sizes, to help simplify and expedite browser compatibility testing.

Adobe BrowserLab How to Test your web page in multiple Browsers  simultaneously?

Difference between BrowserLab and other browser compatibility testing products

BrowserLab offers a unique combination of speed, ease of use, and powerful diagnostic tools, with customizable testing preferences. When used with Dreamweaver CS4® software, web professionals can also test local content and different states of interactive content.

Limited Free Preview

The BrowserLab free preview is available to a limited number of users, while they monitor its performance. The BrowserLab online service is available now as a limited free preview.

Currently BrowserLab service status is available.

Features

Supported Browsers and Operating Systems

  • Firefox 2.X and 3.X (Windows XP and Mac OS X)
  • Internet Explorer 6.X and 7.X (Windows XP)
  • Safari 3.X (Mac OS X)

Viewing and Diagnostics Tools

Screenshots can be viewed in a single view, side by side view, or as an overlay view with variable transparency. Each viewing option features a zoom function.

Browser Sets

Browser Sets allow designers to customize, edit, and save a combination of browsers to test.

Ruby Programming | Free E-Book for Download

Mr. Neighborly’s Humble Little Ruby Book – by Jeremy McAnally is a free E-book which is available for download(Soft- Copy only). The printed copy of this book wil cost you only $9.95.

It is written in very conventional manner thus it becomes easy to go with the base concepts & knowing the elements of the language.

This 144 pages book will teach you Ruby programming.  It covers the base syntax of the language, including working with values, flow control, and object oriented programming, into some of the library functionality of Ruby, such as databases, web services, and string manipulation.

Table of contents

1   Welcome to Ruby
Basic Concepts of Ruby
Types in Ruby
Collections
Variables and the Like

2   Break it down now!
Methods
Blocks and Proc Objects
Modules
Files

3   Hustle and flow (control)
Conditionals
Loops
Exceptions

4   The System Beneath
Filesystem Interaction
Threads and Forks and Processes
Environment variables, command line
Win32 and Beyond

5   Looking Beyond Home
Networking and the Web
It’s Like Distributed or Something…
Data my base, please!

6   It’s a Library!
String Manipulation
Date/Time
Hashing and Cryptography
Unit testing

Appendix A Links and the Like
Appendix B High Performance Ruby with C/C++

Are you a programmer? Planning to start with Ruby programming?

So, Start with this book. Earlier we have provided Free 20 E-Books about Social Media and Blogging

Site: Here
Download PDF: click here

Learning Scheme Programming Language Made Easy

Today modern programming languages have changed the the way how to design & solve problems more effectively & in a productive way. Although present day programming languages like Java, DotNet, C# etc have been evolved for the concepts & layout set previously by languages like Pascal, SIMULA, C, C++ but each programming language presents a particular world view in the features it allows, supports, and forbids.

Scheme is currently gaining favor as a first programming language in universities and is used in industry by such companies as DEC, TI, Tektronix, HP, and Sun. Scheme is a general-purpose computer programming language.

It is a high-level language(OOP), supporting operations on structured data such as strings, lists, and vectors, as well as operations on more traditional data such as numbers and characters.

Getting Started

Download Latest PLT Scheme Version This program will install like any other program in few clicks.

Running DrScheme & DrScheme Interface

After its install, It can be launched form the Start Menu or from the shortcut icon on the desktop.

Dr Scheme Interface is very simple, above part is the Definition window & just below it you can see the Interaction window.

Getting into Programming

According to Ken Dickey, Scheme is a small, exceptionally clean language which is, very importantly, fun to use. The language was designed to have very few, regular constructs which compose well to support a variety of programming styles including functional, object-oriented, and imperative.

The language standard is only about 50 pages, including a formal, denotational definition of its semantics. Scheme is prefix and C is infix:

In Scheme                                      In C

	(+ 2 3 4)			(2 + 3 + 4)

	(< low x high)			((low < x) && (x < high))

	(+ (* 2 3) (* 4 5))		((2 * 3) + (4 * 5))

	(f x y)				f(x, y)

        (define (sq x) (* x x))		int sq(int x) { return (x * x) }

In Scheme, unnamed functions are created with the key word lambda.

(lambda (x) (* x x))    	-> a function

(define sq (lambda (x) (* x x))

(sq 9)				-> 27

((lambda (x) (* x x)) 9)	-> 27

((if (foo? x) * +) 2 3 4)	-> if (foo? x) is true,

						 then (* 2 3 4)

						 else (+ 2 3 4)

(define (curried-add x) (lambda (y) (+ x y))

(define add3 (curried-add 3)) ;; add3 is a funciton

(add3 7)		-> 10

((curried-add 3) 7)	-> 10

There are seven kinds of expressions:

  Constant:			'foo #Z 3 "a string"

  Variable reference:	foo joe a-long-name-for-an-identifier +

  Procedure creation:	(lambda (z) (* z z z))

  Procedure application:	(cube 37)

  Conditional:			(if (< x 3) sqrt modulo)

  Assignment:			(set! x 5)

  Sequence:			(begin (write x) (write y) (newline))

Scheme has the usual assortment of data types:

  Characters: #a #A #b #B #space #newline

  Strings: "A little string"

  Arrays (called vectors): #(1 2 "string" #x 5)

  Lists: (a little (list of) (lists))

  Numbers: 47 1/3 2.3 4.3e14 1+3i

  Functions (also called procedures)

  Booleans: #t #f

  Ports (e.g. open files)

  Symbols: this-is-a-symbol foo a32 c$23*4&7+3-is-a-symbol-too!

- A vector’s contents can be any data objects.

- Symbols may include the characters + – . * / < = > ! ? : $ % _ & ~ and ^.

- Symbols are case insensitive.

- Symbols are used for identifiers, so identifiers (variable names) are case insensitive.

Useful Resources for Learning Scheme Online

1. R. Kent Dybvig. “The Scheme Programming Language, Second Edition” View

2. Chez Scheme User’s Guide View

3. PLT Scheme Guide by Matthew Flatt, Robert Bruce Findler View

4. Teach Yourself Scheme in Fixnum Days by Dorai Sitaram View

I think that those who want to start programming in Scheme, they can start with it more easily now. The resources that have been mentioned above are itself more then sufficient to learn Scheme.

Don’t forget to follow me on Twitter.

Any Questions? Liked the post? Post them below.

List of All 174 Run Commands for Windows

All 174 Run Commands for Windows

Following is a list of all commands that you can run off from the Run Command prompt. Just select programs that you use most and remember its command. It will make your PC life easier.

How to Run these Commands

Go to Start Menu – Run and type in the command to run the specific application. Command are in front of the Program, while program names are first in the list. So, It comes in handy if you have the list of all programs with you.

All 174 Run Commands for Windows

Run command increases you productivity and saves lot of time as you don’t require to access start menu to launch any application or system utility. 

Run Commands Listed below In Alphabetical Order

To search Press Ctrl +F & type the Action you need to do.

Program

Run Command

Accessibility Controls access.cpl
Accessibility Wizard accwiz
Add Hardware Wizard hdwwiz.cpl
Add/Remove Programs appwiz.cpl
Administrative Tools control admintools
Adobe Acrobat ( if installed ) acrobat
Adobe Distiller ( if installed ) acrodist
Adobe ImageReady ( if installed ) imageready
Adobe Photoshop ( if installed ) photoshop
Automatic Updates wuaucpl.cpl
Basic Media Player mplay32
Bluetooth Transfer Wizard fsquirt
Calculator calc
Ccleaner ( if installed ) ccleaner
C: Drive c:
Certificate Manager cdrtmgr.msc
Character Map charmap
Check Disk Utility chkdsk
Clipboard Viewer clipbrd
Command Prompt cmd
Command Prompt command
Component Services dcomcnfg
Computer Management compmgmt.msc
Compare Files comp
Control Panel control
Create a shared folder Wizard shrpubw
Date and Time Properties timedate.cpl
DDE Shares ddeshare
Device Manager devmgmt.msc
Direct X Control Panel ( if installed ) directx.cpl
Direct X Troubleshooter dxdiag
Disk Cleanup Utility cleanmgr
Disk Defragment dfrg.msc
Disk Partition Manager diskmgmt.msc
Display Properties control desktop
Display Properties desk.cpl
Display Properties (w/Appearance Tab Preselected ) control color
Dr. Watson System Troubleshooting Utility drwtsn32
Driver Verifier Utility verifier
Ethereal ( if installed ) ethereal
Event Viewer eventvwr.msc
Files and Settings Transfer Tool migwiz
File Signature Verification Tool sigverif
Findfast findfast.cpl
Firefox firefox
Folders Properties control folders
Fonts fonts
Fonts Folder fonts
Free Cell Card Game freecell
Game Controllers joy.cpl
Group Policy Editor ( xp pro ) gpedit.msc
Hearts Card Game mshearts
Help and Support helpctr
Hyperterminal hypertrm
Hotline Client hotlineclient
Iexpress Wizard iexpress
Indexing Service ciadv.msc
Internet Connection Wizard icwonn1
Internet Properties inetcpl.cpl
Internet Setup Wizard inetwiz
IP Configuration (Display Connection Configuration) ipconfig /all
IP Configuration (Display DNS Cache Contents) ipconfig /displaydns
IP Configuration (Delete DNS Cache Contents) ipconfig /flushdns
IP Configuration (Release All Connections) ipconfig /release
IP Configuration (Renew All Connections) ipconfig /renew
IP Configuration (Refreshes DHCP & Re-Registers DNS) ipconfig /registerdns
IP Configuration (Display DHCP Class ID) ipconfig /showclassid
IP Configuration (Modifies DHCP Class ID) ipconfig /setclassid
Java Control Panel ( if installed ) jpicpl32.cpl
Java Control Panel ( if installed ) javaws
Keyboard Properties control keyboard
Local Security Settings secpol.msc
Local Users and Groups lusrmgr.msc
Logs You Out of Windows logoff
Malicious Software Removal Tool mrt
Microsoft Access ( if installed ) access.cpl
Microsoft Chat winchat
Microsoft Excel ( if installed ) excel
Microsoft Diskpart diskpart
Microsoft Frontpage ( if installed ) frontpg
Microsoft Movie Maker moviemk
Microsoft Management Console mmc
Microsoft Narrator narrator
Microsoft Paint mspaint
Microsoft Powerpoint powerpnt
Microsoft Word ( if installed ) winword
Microsoft Syncronization Tool mobsync
Minesweeper Game winmine
Mouse Properties control mouse
Mouse Properties main.cpl
MS-Dos Editor edit
MS-Dos FTP ftp
Nero ( if installed ) nero
Netmeeting conf
Network Connections control netconnections
Network Connections ncpa.cpl
Network Setup Wizard netsetup.cpl
Notepad notepad
Nview Desktop Manager ( if installed ) nvtuicpl.cpl
Object Packager packager
ODBC Data Source Administrator odbccp32
ODBC Data Source Administrator odbccp32.cpl
On Screen Keyboard osk
Opens AC3 Filter ( if installed ) ac3filter.cpl
Outlook Express msimn
Paint pbrush
Password Properties password.cpl
Performance Monitor perfmon.msc
Performance Monitor perfmon
Phone and Modem Options telephon.cpl
Phone Dialer dialer
Pinball Game pinball
Power Configuration powercfg.cpl
Printers and Faxes control printers
Printers Folder printers
Private Characters Editor eudcedit
Quicktime ( if installed ) quicktime.cpl
Quicktime Player ( if installed ) quicktimeplayer
Real Player ( if installed ) realplay
Regional Settings intl.cpl
Registry Editor regedit
Registry Editor regedit32
Remote Access Phonebook rasphone
Remote Desktop mstsc
Removable Storage ntmsmgr.msc
Removable Storage Operator Requests ntmsoprq.msc
Resultant Set of Policy ( xp pro ) rsop.msc
Scanners and Cameras sticpl.cpl
Scheduled Tasks control schedtasks
Security Center wscui.cpl
Services services.msc
Shared Folders fsmgmt.msc
Sharing Session rtcshare
Shuts Down Windows shutdown
Sounds Recorder sndrec32
Sounds and Audio mmsys.cpl
Spider Solitare Card Game spider
SQL Client Configuration clicongf
System Configuration Editor sysedit
System Configuration Utility msconfig
System File Checker Utility ( Scan Immediately ) sfc /scannow
System File Checker Utility ( Scan Once At Next Boot ) sfc /scanonce
System File Checker Utility ( Scan On Every Boot ) sfc /scanboot
System File Checker Utility ( Return to Default Settings) sfc /revert
System File Checker Utility ( Purge File Cache ) sfc /purgecache
System File Checker Utility ( Set Cache Size to Size x ) sfc /cachesize=x
System Information msinfo32
System Properties sysdm.cpl
Task Manager taskmgr
TCP Tester tcptest
Telnet Client telnet
Tweak UI ( if installed ) tweakui
User Account Management nusrmgr.cpl
Utility Manager utilman
Volume Serial Number for C: label
Volume Control sndvol32
Windows Address Book wab
Windows Address Book Import Utility wabmig
Windows Backup Utility ( if installed ) ntbackup
Windows Explorer explorer
Windows Firewall firewall.cpl
Windows Installer Details msiexec
Windows Magnifier magnify
Windows Management Infrastructure wmimgmt.msc
Windows Media Player wmplayer
Windows Messenger msnsgs
Windows Picture Import Wizard (Need camera connected) wiaacmgr
Windows System Security Tool syskey
Windows Script host settings wscript
Widnows Update Launches wupdmgr
Windows Version ( shows your windows version ) winver
Windows XP Tour Wizard tourstart
Wordpad write
Zoom Utility igfxzoom

Any questions, queries, views??? Share them through your comments.

Related Posts with Thumbnails