Archive for August, 2007

What is New in WordPress 2.3 (Beta 1/2)?

0

[UPDATE 2: Mark Gosh has posted a nice summary of popular blog posts talking about what's new in WordPress 2.3. Must Read.
TWP website has a new podcast that previews WordPress 2.3 at the end of it.]

[UPDATE 1: WordPress 2.3 Beta 2 was released a couple of days ago. Importers are added for Jerome’s Keywords and Simple Tagging Plugins(importer for UTW was already there; read the post). Ryan Boren talks about how the plugin developers can use the new actions added to WordPress 2.3 related to status changes of the posts(Draft -> Pending, Pending -> Published etc).]

The first beta of a new version of WordPress blogging engine, 2.3, was released a few hours ago. WordPress aficionados might already know the new major and minor features that were being planned(and some of them later shelved ;) ) for this release through mailing lists and other sources but for the others, below is a summary of a few changes that can be found in the new WordPress 2.3 interface. Go through them and if you later decide to dig deeper into these new features, you only have to download WordPress 2.3 Beta 1 Beta 2(~1MB) and give it a try in XAMPP!

What’s new in WordPress 2.3 Beta 1?

  1. The most important improvement in WordPress 2.3 version is the built-in support for tagging of blog posts with relevant keywords in technorati style. There is no need to install a separate plugin like Ultimate Tag Warrior now. The text box shown below allows as many tags to be associated with a given post as is needed.

    New Features in WordPress 2.3

    The tables used to manage the categories are now replaced by new tables to manage the tags i.e. wp_categories, wp_post2cat and wp_link2cat are replaced by the tables wp_terms, wp_term_taxonomy, wp_term_relationships. Lot of information on tag support is available on the Internet(especially email archives), so treat Google as your friend. More on database schema changes

  2. A new state in which the draft posts can now be saved under is “Pending Review.” It is useful when not all the authors are supposed to be allowed to publish their posts to the weblog before first being reviewed by an editor or an administrator.

    New Features in WordPress 2.3

    Which means that drafts can be of two types now: posts still under editing(Draft) and posts that are ready to be published(Pending Review); there was no good way to differentiate like this earlier. An efficient way to immediately inform the contributor that the Pending Review post has been pushed back to Draft state by the editor, perhaps with a custom message attached explaining the reason for it, is however absent. EMail/IM etc are the alternate options for now; someone can write a plugin in the future that fills this need. (More info)

    Also, Manage -> Posts now contains a drop-down box from which one can filter posts belonging to different states: Draft, Pending Review, Published and Private. So it can be used as a convenient place to access all the draft posts together. Similar filtering can be done based on Categories too. To search posts based on tags or other keywords, the same old search box can be used.

  3. A new button on the WYSIWYG editor toolbar can be used to show (and hide) a second (new) toolbar which has got additional editing buttons. These buttons allow operations such as underlining of text, font colour selection, inserting <H> tags, undo-ing, pasting directly from MS Word document etc.

    New Features in WordPress 2.3

    I always use the plain text editor so it doesn’t matter to me how many additional buttons are added to the WYSIWYG editor! Doesn’t matter to those too who use their own favourite WYSIWYG editor in WordPress.

  4. For those blogs that use the popular plugin Ultimate Tag Warrior to manage the tags, WordPress 2.3 Beta 1 has an importing tool to import those tags to its own native tag format(importing Simple Tagging Plugin tags and Jerome’s Keywords likely in the 2.3 final version it’s there in Beta 2). POC(Plain Old Categories) can also be converted to tags using the provided converter tool. These two options can also be accessed from the Manage -> Import page.

    New Features in WordPress 2.3

  5. One of the first things I ever do after installing WordPress is hide all the links from the default blogroll. The links now point to various resources related to WordPress project instead of blogs of important WordPress developers, but I still think I will have to hide them when upgrading to 2.3 version. Or make it visible only to the blog administrator.

    New Features in WordPress 2.3

  6. There are many other differences too, like file sizes in Manage -> Uploads section, Categories Widgets, Plugin (and core) Update Notifier etc.

Download it and try it out by yourself. Or check-out the source directly from the subversion repository to keep updated with the latest changes. WordPress Planet website should keep us posted on the latest information on WordPress 2.3′s journey towards the final release(more detailed than WordPress development blog anyway).

Setting Up C++ Development Environment on Windows with EasyEclipse and MinGW

14

Many people complain that configuring Eclipse+CDT/EasyEclipse IDE to work with MinGW C/C++ compiler tools on Windows doesn’t always go on expected lines. I hope the following howto would go some distance in addressing this issue. I use EasyEclipse IDE(what is EasyEclipse?) in this howto but the same procedure applies to Eclipse + CDT combination too.

To set up a C++ development environment using Eclipse+CDT/EasyEclipse and MinGW on a Windows operating system, the following steps need to be completed:

  1. Download and Install MinGW for Windows.
  2. Set MinGW in system PATH.
  3. Download and Install EasyEclipse for C++ and configure it to use MinGW tools.
  • Download and Install MinGW for Windows

    1. First download the Automated MinGW Installer from the sourceforge.net website.

      Download MinGW C/C++ From Sourceforge

    2. From whatever location you run the downloaded MinGW installer, it creates a few settings file there. So I recommend moving it to its own directory before running it. Move the installer file to a location like C:\mingw\ and run it from there.

      You will see a welcome dialog; click Next to continue. Select “Download and Install” option from the next dialog box and click Next.

      Installing MinGW C/C++ on Windows

    3. Read the license and click Next if you agree to it. Select “Current” option from the next dialog box and click Next.

      Installing MinGW C/C++ on Windows

    4. Select at least “g++ compiler” and “MinGW make” from the shown components and click Next.

      Installing MinGW C/C++ on Windows

    5. Accept the default install location or enter a new location(should not contain any spaces in the path name) in “Destination Folder” text box and click Next.

      Installing MinGW C/C++ on Windows

    6. Accept the suggested Start Menu shortcut and click Install to begin the installation procedure. Depending on the number of selected components in Step 4 and the Internet speed, the download may take some time. When the installation is finished, click Close to dismiss the installer. MinGW is now installed on the system.
  • Set MinGW in system PATH

    The second step is to add the MinGW bin directory path to the system/user PATH variable.

    1. Right-click on “My Computer,” go to “Advanced” tab and click the “Environment Variables…” button.

      Setting PATH variable for MinGW C/C++ on Windows

    2. Select the entry of PATH field, click the “Edit” button, hit the END key on the keyboard, add a semicolon and then type/paste the MinGW bin directory path. Click OK to dismiss all the dialog boxes.

      Setting PATH variable for MinGW C/C++ on Windows

    3. To verify that the PATH variable is set correctly, select to Start -> Run command and enter cmd in the text box. In the command window, type:
      C:\> g++ -v

      You should see the version information displayed.

      Checking GCC version of MinGW on Windows

      If you get an error that g++ command is not found, then you have not set the PATH properly. Repeat the above instructions carefully or search through the Internet to learn how to change PATH variable in Windows.

  • Configure EasyEclipse for C++ to use MinGW tools

    The third step is to download EasyEclipse for C++ package for the Windows OS and unpack it to a directory(say, C:\easyeclipse).

    Go to the unpacked directory and click on the startup.jar file to run the EasyEclipse for C++ IDE. (You can right-click on this file and send a shortcut to the desktop or pin it to the start menu or add it to quick launch panel for easier access in the future.)

    1. To create a new C++ project, select File -> New -> Managed Make C++ project(File->New -> New Project to see all the options), enter a name and click Finish.

      Developing C/C++ Applications in EasyEclipse with CDT

    2. Once the project is created, change the default ‘Build Command’ from ‘make -k’ to ‘mingw32-make -k’(to use MinGW’s make tool). This setting can be changed from Project -> Properties -> C/C++ Build -> Build Settings tab:

      Developing C/C++ Applications in EasyEclipse with CDT
      You can also access project settings by right-clicking on the project name and selecting ‘Properties’.

    3. To add a new file to the project, select File -> New -> Source File, enter a name(say, hello.cpp) in the ‘Source File:’ text box and click Finish.

      Type the following program in the editor:
      [cpp]
      #include
      #include

      int main()
      {
      std::string name = “world”;
      std::cout << "Hello, " << name << ".";
      std::cout << std::endl;
      }
      [/cpp]

      As soon as the file is saved, it is built automatically. The errors, if any, are highlighted by underlining them with red lines.

      Developing C/C++ Applications in EasyEclipse with CDT

      If you want to build the project manually, then uncheck the “Build Automatically” option from the Project menu.

      Developing C/C++ Applications in EasyEclipse with CDT

    4. You are all set to add additional source (and header) files to the project now and expand the C++ application. Remember that Step 2 has to be repeated for every new C++ application created.

      Developing C/C++ Applications in EasyEclipse with CDT

Good luck!

Installing C++ Boost on Microsoft Windows for Visual Studio .NET 2003/2005/Orcas

5

Boost Consultancy has created a wizard based installer for downloading and installing the correct version of Boost components on a Windows machine for Visual Studio .NET IDEs. The Installer simplifies the process of installation by getting rid of the time-consuming, and on rare occasions error-prone, process of compilation from the sources. But if you use any IDE other than Visual Studio .NET(even the old Visual Studio 6.0 IDE) then you need to use the typical Boost installation method(). Below is the procedure to install Boost for Visual Studio .NET IDEs using the Boost Installer for Windows.

  1. Download Boost Installer for Windows(~180K in size) from Boost Consultancy website. Run the installer. You will see the following license agreement displayed(Installer license).

    Installing Boost on Windows

    Read it and press “I Agree” if you agree to the terms. Another license agreement will be displayed next(Boost Libraries license).

    Installing Boost on Windows

    Read it too and press “I Agree” again if you agree to the terms.

  2. Based on your geographical location, you can select one of the nearest location from the provided list of mirror locations. Select one or leave the default selection to select a location randomly. Press “Next”.

    Installing Boost on Windows

  3. The following dialog box allows one or more variants of Boost libraries to be selected for downloading and installing on your system. First select the complier to download Boost libraries for. If you have both Visual Studio .NET 2003 and 2005 versions installed, and so prefer to use Boost with both of them, then you can select both the compilers in the left pane(“Compilers”).

    Then select which variant(s) of Boost library binaries you want to install. If you have absolutely no idea what to select here, then go with “Multithread Debug, static runtime” among any others you want to select. Press “Next” after making your selection(s).

    Installing Boost on Windows

  4. The next dialog box prompts the user to select the components of Boost to be installed. You may consider including “Source and Documentation” if the download size is not a big concern for you. The same (but updated) documentation is always available at Boost Documentation page anyway.

    Installing Boost on Windows

  5. I prefer to select a destination folder path that doesn’t contain any spaces or special characters in it. Accept the default path as shown below to use Boost with Microsoft products or get into the habit of always installing programming or Unix like tools in paths that don’t contain any spaces in them, like: C:\boost\boost_1_34_1 or C:\programs\boost\boost_1_34_1. (MinGW, Eclipse etc will be very happy with paths like these.)

    Installing Boost on Windows

  6. Time to take a coffee break. Depending upon the download size and the speed of the Internet connection, the download and install process may take some time to finish. (To give you an idea, it downloaded ~90MB in around 30 minutes of time on my machine.)

    Installing Boost on Windows

  7. Installation is finished.

    Installing Boost on Windows

    Time to start testing the installation.

Testing Boost Installation in Visual Studio .NET 2003/2005/Orcas

Boost has two type of libraries : header-only(which are compiler independent) and compiled binary libraries.

  • Testing Boost Header-only libraries:
    1. Start the Microsoft Visual Studio .NET IDE and create a new C++ project in it(File -> New Project). select Visual C++ -> Win32 in the left pane and Win32 Console Application/Win32 Console Project in the right pane. Enter a name(BoostDemo) for the project and click OK.

      Testing Boost Installation in Visual Studio .NET

    2. Right-click on the project name and select Properties(or select Project->BoostDemo Properties). Select Configuration Properties -> C/C++ -> General in the left pane and type/select Boost installation root directory(C:\boost\boost_1_34_1) in “Additional Include Directories” field in the right pane.

      Testing Boost Installation in Visual Studio .NET

    3. Add the following code just above the _tmain() function(in the generated file – BoostDemo.cpp).
      [cpp]
      #include
      #include
      [/cpp]

      Add the following code with in the _tmain() function:

      [cpp]
      boost::any a(5);
      a = 7.67;
      std::cout<(a)< [/cpp]

      Testing Boost Installation in Visual Studio .NET

    4. Select Build -> Build Solution to build the project and, assuming the build completes successfully without any errors, select Debug->Start Debugging to run the program.
  • Testing Boost Compiled Binary Libraries
    1. First complete the Header-only test as described above. In the same project, right-click on the project name and select “Properties”. Select Configuration Properties -> Linker in the left pane and type/select the Boost lib directory path(C:\boost\boost_1_34_1\lib) in “Additional Library Directories” field in the right pane.

      Testing Boost Installation in Visual Studio .NET

    2. Add the following code just above the _tmain() function
      [cpp]
      #include
      namespace bfs=boost::filesystem;
      [/cpp]

      Add the following code with in the _tmain() function:
      [cpp]
      bfs::path p(“BoostDemo.cpp”);
      if(bfs::exists(p))
      std::cout< [/cpp]

    3. Build and run the program as before.

I have tested the above procedure with the latest release of Visual Studio Orcas Beta too.

A NOTE:

If you have not selected static runtime libraries to be installed in Step 3 in the installation procedure above, you need to configure Visual Studio to link dynamically with the Boost dll files. Alternatively, add the following code at the top of the file:
[cpp]
#define BOOST_ALL_DYN_LINK
#define BOOST_LIB_DIAGNOSTIC
[/cpp]

Also you need to add the path to the dlls(C:\boost\boost_1_34_1\lib) to the system PATH variable(Control Panel -> System -> Advanced System Settings -> Environment Variables) before running the programs. This has to be done only once.

Also see:
Getting Started on Windows with Boost
Building Boost Libraries for Visual Studio
Building Boost for Other Compilers and Other Platforms
More EFB Posts on C++ Boost

Akismet Kills 100,001th Spam Comment on My Blog

0

A couple of days ago, Akismet killed 100,001th comment of this blog.
Akismet Catches Blog Comments

If not for Akismet, I would’ve had to either lock-down the comment section or pass every comment through the tiresome moderation process. Lately I have come across many other tools that further help in countering the spam menace (each of them in a different way) but Akismet alone is fine for me for now. The latest statistics of this blog are like this:

Every Flavour Beans Blog Statistics

A job well done, Akismet.

Asia Catches Up with GNU/Linux Distributions – A Distrowatch Report

0

Distrowatch Weekly Newsletter notes in its 13th August 2007 issue that Asia is fast catching up with the readership of Distrowatch.com website, which roughly translates to a keen interest in keeping in touch with, and downloading, various GNU/Linux and BSD distributions. The following table should shed some light on this development:

Rank Country/Territory 2006 2007 %
Change
1 Japan
(JP)
328,336 347,879 +6.0%
2 China
(CN)
151,915 209,203 +37.7%
3 India
(IN)
80,889 137,702 +70.2%
4 Indonesia
(ID)
72,668 112,998 +55.5%
5 Turkey
(TR)
67,465 101,789 +50.9%

Number of visits from Japan were very high even in 2006 but the increase in visits from India over just seven months since then is remarkable. The above four countries(other than Japan) have registered around 50% increase in the same period, India leading the table by a big margin. This is what Distrowatch has to say about it:

While Japan has been maintaining the top position since the beginning of this web site, it’s interesting to note the dramatic growth of readership in the two most populous countries in the world – China and India. With a handful of exceptions, the number of readers visiting DistroWatch has been on the increase and a total number of Asian-based readers have grown by more than 20% since a year ago.

Source: Distrowatch

buy prednisone medication COD purchase prednisone without prescription needed purchase prednisone prescription online prednisone no prior script prednisone no rx needed order prednisone usa cod buy prednisone without rx from us pharmacy buy prednisone online without rx purchase prednisone without prescription order prednisone saturday delivery buy prednisone amex online without prescription ordering prednisone over the counter buy prednisone amex online without rx where can i buy Prednisone ordering Paxil over the counter order Paxil without rx needed order Paxil pharmacy Paxil overnight delivery fed ex ordering Paxil without a script order Paxil order amex order Paxil amex online without prescription buy Paxil pay pal without prescription order rx free Paxil cheapest Paxil available online purchase Paxil without purchase Paxil without prescription how to order Paxil online without a prescription purchase Paxil cod next day delivery buy discount Paxil online buy Paxil no visa online without rx where to buy accutane buy frontpage software cheap mortgage application software buy autocad software best price for final draft 7 software iphone software download plagiarism software to buy for parents Crestor side effects buy masterwriter software discount bmi sesac microsoft software downloads wm5 software download treo software download cheap discount software xxasdf discount trellian software best antivirus software download cheap microsoft word software buy software for mac software discounts for educators microsoft office purchase Prednisone online no membership buy windows xp oem software buy flash cs3 software photoshop cs 5 full fashion conference italy buy Orlistat with amex ordering Lasix over the counter purchase online prescription Lasix without windows 7 product key purchase online cheapest xenical available online prescription xenical online online Maxalt achat Maxalt Valtrex with repronex where to buy Valtrex by cod where to purchase generic valtrex online without a prescription quality generic valtrex cheap valtrex usa (no prescriptions needed for Buspar|buy Buspar with no prescription|online pharmacies Buspar|Buspar cheap|buy Buspar without rx|purchase rx Buspar without|Buspar purchase online|purchase Buspar online without rx|purchase Buspar free consultation|buy Buspar Online|buy Buspar american express|buy Buspar Online|buy cheap Buspar with dr. prescription|Buspar side effects|fedex Buspar without priscription|overnight Buspar without a rx|order cheap overnight Buspar|Buspar toronto|uk order Buspar|Buspar no doctors prescription|Buspar mexico|Buspar order|no prescription Buspar with fedex|order generic Buspar|buy Buspar without rx from us pharmacy|prezzo Buspar|Buspar 10mg|Buspar from canada|purchasing Buspar without a script|buy Buspar australia|purchase Buspar visa without prescription|online purchase Buspar|buy Buspar no perscription cod|buy Buspar drugs|buy Buspar with visa|buy Buspar without rx needed|buy Buspar without prescription|buy Buspar no prescription low cost|purchase purchase Buspar no prescription cheap buy cheap Nolvadex cod buy Nolvadex infertility in internet visa at Wisconsin Ontario omicrosoft office 2003 megaupload online purchase Lasix Buy genuine accutane online buy nolvadex amex online where to buy synthroid in germany where to buy synthroid pills cheap discount Nolvadex overnight Accutane 20mg mexico order Lasix usa Lasix overnight delivery fed ex buy zithromax overnight purchase online prescription zithromax without buy Nolvadex cheap cheapest Nolvadex available online buy Nolvadex without rx from us pharmacy buy Nolvadex without a prescription overnight delivery buy 20mg Nolvadex free shipping buy Nolvadex no prescription order zithromax overnight delivery buy zithromax 100 mg visa Valtrex without doctor prescription buying zithromax over the counter order zithromax with no prescription order zithromax 250mg mastercard order zithromax 250 mg visa order zithromax 500mg amex buy mail order Orlistat buy Valtrex online now Orlistat tablets purchase cheap Maxalt onlinebuy generic Maxalt pills free fedex delivery Buspar buy cheap Finpecia under without rx purchase online finpecia without rx finpecia fedex no prescription buy line finpecia fedex Valtrex overnight without a rx Buspar u.p.s shipping cod order cheap overnight Buspar free fedex delivery prednisone prednisone no script fedex buy valtrex cheap without prescription generic Valtrex fedex Online overnight shipping Valtrex purchase Zithromax without purchase Zithromax no scams Arimidex delivered overnight order cheap overnight Arimidex purchase Cytotec over the counter fedex buy Cytotec online overnight adobe financial results microsoft office professional 2007 upgrade download microsoft office professional 2007 cheap Buspar by money order how to buy Valtrex without a prescription cheap valtrex uk buy Flomax in the uk purchase Proscar usa cod adobe lm service adobe after effects simple creativity latest adobe flash download buy Crestor amex measurement software Photoshop For Sale buy discount Tamsulosin line Autocad 2010 Review download adobe premiere complete removal of office 2003 adobe indesign cs2 photoshop lightroom 3 cheap where can i buy herbal Crestor where to buy Crestor buy Crestor online cod Buy Fincar online 5 mg mastercard cheapest price for microsoft office vio software discount coupon purchase Orlistat amex online without prescription buy maxalt online without a prescription adobe photoshop 6 cd key Cheap Software Buy Downloads For Photoshop flash catalyst sql ms office 2010 enterprise windows 7 upgrade oem Windows Server 2003 Standard Edition Downloads For Windows 7 Ultimate buy Valtrex no prescriptions application free download office microcoft2007 buy Crestor drugs Valtrex no prescription purchase Valtrex amex online without prescription Xenical Orlistat Flomax buy on line boilsoft viseo create new instrument logic studio 9 cheap purchase finpecia Flomax best buy buy cheap oem software formica countertop cyberlink power dvd 9 download buy Prednisone no prescriptions cheap indesign cs android acdsee buy Flomax australia generic Valtrex online lightroom license .txt download de driver para corel windvd buy microsoft office online cheap generic Valtrex online buy Flomax online no prescription buy pharmacy Flomax waterview cheap Valtrex by money order ifinance price price of valtrex buy valtrex doctor prescription buy generic Crestor order generic Tamsulosin imtoo dvd ripper serial look like buy Buspar without a rx cheap digital video buy Prednisone amex want to buy Buspar in malaysia Bupropion buy Bupropion buy no perscription Amitriptyline buy discount Zithromax cheapest Zithromax available online how to order Buspar online without a rx purchase prednisone cod next day delivery where can i purchase prednisone online prednisone online cash on delivery microsoft office 2010 3 user license cheap mac desktops no prescription Orlistat cod delivery Work Order Tracking System Acrobat 6.0 Professional Oem Version Windows 7 buy Valtrex where order Orlistat no rx cheap proffes Microsoft Windows Xp Purchase buy Valtrex legally Windows Xp Server buy cheap online pharmacy Buspar buy Prednisone online now generic Zithromax usa accutane 40 mg delivered overnight buy accutane 40 mg with no prescription media 8 oline cheap cs software Discount Microsoft WindowsLightroom 2 Windows 7Ms Office StandardPhotoshop Cs5 UpgradeComputer Monitors For SaleWindows Xp InstallSuite Microsoft OfficeAutocad Version 2007Adobe Acrobat 9.0 Standard DownloadIe8 Download For Windows 7Adobe Paint ShopMicrosoft Service Pack 2Free Download Adobe AcrobatStudent And Teacher EditionManage ImageAdobe Acrobat 7 Pro DownloadVista Home Premium To Windows 7 UltimateWindows 7 Home Premium Upgrade OemAdobe Creative Suite 5 Master Collection Student And Teacher EditionBuy Adobe Photoshop Lightroom 3Ms Office 2010 Home And StudentCompare Photo SoftwareMicrosoft Office Word Viewer 2010Windows 7 Upgrade Student Discount ProfessionalWindows 7 Updates DownloadCreative Suite WebAdobe Reader VistaMicrosoft Windows 7 Home Premium Upgrade 64 BitPhotoshop 2Ie8 Download For Windows 7Photoshop 2009Suite Microsoft OfficeMicrosoft Office 2007 VersionUpgrade Windows Vista To 7Autocad Lt 2010Autocad 2010 Best PriceDownload Acrobat Reader 8 buy Flomax online us pharmacy cheapest Buspar available online where can i purchase Buspar without a prescription sony oem software Valtrex from india Prednisone prescription order Buspar shipped by cash on delivery buy Valtrex with no prescription prezzo Valtrex buy Valtrex shipped cod Proscar no prescription overnight Proscar overnight no consult where to purchase cheap Cytotec no rx Cytotec to buy is it legal to buy Cytotec online in australia buy Cytotec cheapest buy finpecia without prescription finpecia buy cod want to buy finpecia in malaysia buy finpecia with mastercard Buy Finpecia 1 mg online microsoft onenote and educator discount window mirror film charset windows 1252 reinstal windows finpecia overdose excel new window windows for loop microsoft office 2008 for mac home student cheap collection software virtual dj software web design software mac cheap or discount photoshop software load windows xp buy Orlistat legally Rosuvastatin generic order buspar pharmacy buy Flomax in mo dreamweaver cs4 windows mobile opera adobe photoshop price epson creativity suite
Go to Top