Every Flavour Beans

“The time has come…to talk of many [technologies].” –Lewis Carroll(’The Walrus and the Carpenter’)
Development Tools. Web Frameworks. GNU/Linux. Nokia N800. Video Encoding.

August 28, 2007

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

Filed under: General, Web, Wordpress — tabrez @ 8:45 pm

[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).


If you want to receive future posts by email, enter your email address here:

Related Posts:

  • Movable Type 3.3 Beta To Be Released On May 31
  • Wordpress Upgrading Experience With Automatic Upgrade Plugin
  • My First Wordpress 2.3 Update Notification and Subversion Upgrade
  • How Wordpress 2.6 ‘Post Revisions’ Retrieved My Unsaved Post Updates
  • Upgrading to Wordpress 2.3 with Zero Downtime!
  • PC World’s Humorous Piece On Microsoft, Google, Yahoo’s Beta Services
  • OS2008 For Nokia N800 Released - Links to Reviews, Resources and First Impressions

  • Readers who viewed this page, also viewed:


    August 25, 2007

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

    Filed under: C++, Eclipse — tabrez @ 11:19 pm

    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:

        C++:
        1. #include<iostream>
        2. #include<string>
        3.  
        4. int main()
        5. {
        6.     std::string name = "world";
        7.     std::cout <<"Hello, " <<name <<".";
        8.     std::cout <<std::endl;
        9. }

        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!


    If you want to receive future posts by email, enter your email address here:

    Related Posts:

  • C++ Development Environment on Windows using Eclipse Ganymede and Nuwen MinGW
  • Wascana is Eclipse Based Standalone C++ IDE for MS Windows
  • EasyEclipse is the Best Packaged Distribution of Eclipse Platform
  • Build C++ Programs With SCons in Eclipse Using SConsBuilder Plugin(MS Windows)
  • Six Popular IDEs For Developing Software in C/C++ on Windows Platform
  • Unit Testing C++ Programs using CppUnit in Eclipse IDE on Windows
  • Setting Up Rails Development Environment on Fedora GNU/Linux

  • Readers who viewed this page, also viewed:


    August 20, 2007

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

    Filed under: C++ Boost — tabrez @ 5:07 pm

    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).
        C++:
        1. #include<iostream>
        2. #include<boost/any.hpp>

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

        C++:
        1. boost::any a(5);
        2. a = 7.67;
        3. std::cout<<boost::any_cast<double>(a)<<std::endl;

        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
        C++:
        1. #include<boost/filesystem/operations.hpp>
        2. namespace bfs=boost::filesystem;

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

        C++:
        1. bfs::path p("BoostDemo.cpp");
        2. if(bfs::exists(p))
        3.     std::cout<<p.leaf()<<std::endl;

      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:

    C++:
    1. #define BOOST_ALL_DYN_LINK
    2. #define BOOST_LIB_DIAGNOSTIC

    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


    If you want to receive future posts by email, enter your email address here:

    Related Posts:

  • Six Popular IDEs For Developing Software in C/C++ on Windows Platform
  • Installing C++ Boost on SuSE and Fedora
  • Installing C++ Boost on Slackware/Zenwalk
  • Setting Up Rails Development Environment using Aptana Studio
  • Installing C++ Boost 1.34.1 on Slackware/Zenwalk
  • How to Test C++ Boost Installation
  • “Hello, World” Web Application in Ruby on Rails using Aptana Studio

  • Readers who viewed this page, also viewed:


    August 18, 2007

    Akismet Kills 100,001th Spam Comment on My Blog

    Filed under: General — tabrez @ 12:31 pm

    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.


    If you want to receive future posts by email, enter your email address here:

    Related Posts:

  • Features I Would Like to See Added to the GMail Service
  • Why I Moved My Blog From Wordpress.com
  • Upgrading to Wordpress 2.3 with Zero Downtime!
  • MH Shot Tool Can Now Take Delayed Screenshots of Nokia N800
  • Wordpress Upgrading Experience With Automatic Upgrade Plugin
  • Five More Desktop Blog Editors for GNU/Linux Users
  • I have a Few Jaiku Invites to Give Away

  • Readers who viewed this page, also viewed:

    • Coming soon. (Gathering data)

    August 17, 2007

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

    Filed under: GNU/Linux, General — tabrez @ 5:24 pm

    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


    If you want to receive future posts by email, enter your email address here:

    Related Posts:

  • Moving A GNU/Linux Installation To A Different Partition
  • Akismet Kills 100,001th Spam Comment on My Blog
  • Linux Bible 2007 Edition: Install/Run 10+ GNU/Linux Distributions(Ubuntu, Fedora, Gentoo etc)
  • Installing Grails in Ubuntu GNU/Linux Using Package Manager
  • EasyEclipse is the Best Packaged Distribution of Eclipse Platform
  • 7-Zip Compression Format Support on GNU/Linux Using p7zip
  • PC World’s Humorous Piece On Microsoft, Google, Yahoo’s Beta Services

  • Readers who viewed this page, also viewed:

    • Coming soon. (Gathering data)

    Next Page »

    Copyright (c) 2006, 2007 Tabrez Iqbal.
    Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. Verbatim copying and distribution of this entire article is permitted in any medium without royalty provided this notice is preserved. A copy of the license is included in the section entitled "GNU Free Documentation License".


    Powered by WordPress
    This website is hosted by Dreamhost