Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Tuesday, 20 September 2011

Solr gem and xml ruby gem How it matters


If you use solr-ruby gem, you should be well aware that Solr attempts to create an XML doc from the provided doc-hash. It first attempts to use 'xml/libxml', which if not available, falls back to REXML. It is recommended to use libxml.

All you need to do is

gem install libxml-ruby
If you are lucky enough, that's all for you. However, many a times we face issues like
Building native extensions.  This could take a while...
ERROR:  Error installing libxml-ruby:
	ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb
checking for socket() in -lsocket... no
checking for gethostbyname() in -lnsl... yes
checking for atan() in -lm... no
checking for atan() in -lm... yes
checking for inflate() in -lz... no
checking for inflate() in -lzlib... no
checking for inflate() in -lzlib1... no
checking for inflate() in -llibz... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.
If this is the case, you should install zlib-devel and libxml2-devel packages.
yum -y install zlib-devel
yum -y install libxml2-devel
gem install libxml-ruby

That sorts it all. You are good to go


Saturday, 14 August 2010

Google Talk Invisible in Kopete


About three years back, Siddharth Upmanyu found a way of getting invisible in Pidgin, which is demonstrated in my earlier blog post about Invisible Mode for Google Talk. The method is raw and simple, but looks geeky. Couple of days back, Nilesh Govindrajan looked upon the idea and came up with a way to get this done, right inside Kopete instant messenger. He has demonstrated the method at this blog post on iTech7. This method looks great to me, although i haven't tried it myself.
If you people find any bugs or suggestions, do respond here. Also, i would like to see more people coming up with new ways of tweaking other popular messengers like Google Talk, Pidgin, Telepathy to provide a reliable and better invisible mechanism in Google Talk (XMPP) protocol.

Sunday, 11 July 2010

Fedora 13 local service hangs while startup


Things go real funny at times. I downloaded the Fedora 13 i386 the day it was released. I purchased a DVD so that i can burn it and install and experience the few Fedora. I haven't upgraded it since Fedora 10. So, i was under the illusion that i had burned the DVD (which i ddn
t) and while trying to install, it did nothing. So, i underwent this perception that my DVD-RW is bad and i must get it replaced. Today evening i found out that what i was trying was to install Fedora 13 from a blank DVD. LoL :-) Anyways, so i burned it down and tried installing.

Unfortunately the DVD had some scratches so i decided to go to online repos for the RPMs and other things. I installed Fedora from the online repo at http://ftp.jaist.ac.jp/pub/Linux/Fedora/releases/13/Fedora/i386/os/ and i did a minimal installation with LXDE as desktop environment. After the installation, i found out that the service "local" could not be initiated, and the system just seems to hang at that moment. A quick google did not yield any significant result. So i did a bit of R&D on it.

As per my online research, the "local" service in Fedora 13 is a service which kicks off your X-server. So, if the "local" service is not initiating, it means there is an issue with your X-server. In my case, the possible reason could be a conflict in LXDE Environment or something. The immediate workaround is to get into terminal by CTRL+ALT+F2. CTRL+ALT+F1 is to return to X-server. This key combination did some help in my case, by allowing me to get into the terminal, but nevertheless that did not solved my actual problem.

So, i had to reinstall Fedora 13 using the online repo i mentioned earlier, and as i am writing this blog, the installation is going on. Hopefully, it will get over in next ten minutes and i can see my favorite GNOME environment again. Just in case, something weird happens, i will update this post. The installation went great and right now i am on Fedora 13, GNOME desktop.

Also there are some interesting things you can do while Fedora 13 is being installed. Like reading XKCD :-)


Also, if you have more information about the "local" service in Fedora 13, kindly inform me using the comment form below. I will update the post accordingly.

Monday, 7 September 2009

Mere dost bhi hacker

Was sitting idle and then thought of this song for one of my hac0r friend

---------------

kabhie hum hacker nikle
kabhie doosre hacker


kya kare zindagi isko hum jo mile.. isko hack kartey gaye.... meri zindagi "life of a procastinator"... mere dost bhi hacker......


kabhie zindagi se maanga HDD mei google ka database le aao
kabhie USB de ke kaha... sabka CC and CVV number isme daalo
hacking ke sab kareene ... hai hamesha se kamine
kya kare.. zindagi.. isko hum jo mile...
isko hack kartey gaye...

jiska bhi database choda.... ander se aur nikla...
Microsoft waale to hadd hai, Linux ka server nikla

Kabhie hum hacker nikle... kabhie doosre attacker
attacker..... attacker
mere dost bhi hacker
meri zindagi hacker
ek PP se dosti thi.... ye huzoor bhi hacker

Wednesday, 15 April 2009

OpenSource alternate to Dreamweaver

Of lately, i was thinking of switching to open source alternative for DreamWeaver, and i found out Aptana. Aptana is an eclipse based IDE that provides a lot of benefits which but obviously includes being the powers of opensource and freeware. Aptana comes in two flavors - a stand alone IDE and an Eclipse Plugin. You can install either of the two depending on your needs. Personally i dont like Ecipse, so i decided to go for stand alone IDE. You might want to check out the download page for Aptana

After installing Aptana, you need to install CFEclipse plugin for providing ColdFusion support in Aptana.

Installing CFEclipse in Aptana


  1. Download the latest version from the archived software update site: http://www.cfeclipse.org/update/
  2. Unzip the archive file. You should get a folder called "org.cfeclipse.cfml.update.release".
  3. In Aptana, go through the usual procedure to add an update site (Help -> Software Updates -> Find and Install -> Search for new features to install).
  4. Click on New Local Site...
  5. Choose the folder that you extracted from the zip file (e.g. the location of "org.cfeclipse.cfml.update.release").
  6. Click Select.
  7. Change the name to something more reasonable such as CFEclipse Local Install.
  8. Click OK and then click Finish.
  9. Follow the installation procedure and prompts... (I am sure you can handle it from now on).


Pretty Simple. That's it. And now we have an open source alternative for DreamWeaver that is much better than the original one.

Sunday, 13 January 2008

KDE 4.0

Every cloud has silver lining, but i think this one has something more than just linings, it seems to have silver spots in it. Well, i am talking about the much awaited KDE 4.0 which was released just two days back. It is a free sunday here in India, and i decided to have a peep into what it looks like.


The Installation
The installtion of KDE 4.0 on my OpenSUSE 10.3 was not a big trouble, with the One Click Install for openSUSE 10.3. However of all the packages selected, the digiKam was not installed successfully.

The actual Experience
I logged in again and switched to the KDE 4.0 session, and it was just amazing. With the new applications like Plasma, KickOff, Widgets and KRunner, it seemed to be fun and a completely new UI for me.


This is the dashboard view of Plasma. So, instead of the old, "Show Desktop", you can just switch to dashboard by pressing CTRL+F12 and manage your desktop while letting other applications function.


The screen grid utility is among the other utilities that make the UI very calm and comfortable.

The issues
However there are several issues regarding the use of KDE 4.0. Just like every other Linux application, in its first release, it is quite buggy. It seemed like on every click that i made, the KDE 4.0 crashed. Sometimes, while switched to the dashboard view, the system seems to be not responding. You can see the videos being played in the background, but you can't revert back to the main UI. The Compiz-Fusion that i had installed, seemed to be non functional, and many more. The support documentation is also not enough to explain these issues pretty well.

I think there is still a lot of time, when it will be issue less, and as successful as KDE 3.5.

Friday, 26 October 2007

Linux still has miles to go ...

Linux, the open source Operating system, still has lot to cover, in the race with Windows and Mac. I use Fedora 7 for all my daily use, but there are instances when i need to switch to Windows. Few of them i would like to discuss here.
  • Video Editor
    Linux does lack a very efficient video editors. Although Cinelerra, Avidemux, Kinodv and many more are available (you can get the entire listing on Sourceforge.net, but still Windows and Mac, have better, efficient and user friendly applications like the Windows Movie Maker, MP3 Cutter, iLife and many more.
  • Photo Editing toolsThere are tools like Digikam, The Gimp but still they are far behind when compared to adobe photoshop, which is in my views, the world leader in photo editing tool.

Monday, 23 July 2007

Vista Vs. Linux ... The search battle

Hello people, at this blog, i am just giving some search results that are reflected back by Google and yahoo on some nice keywords regarding Vista and Linux...

Jet Set... Go...
  • Who is Greater
    "Vista is great"
    137,000,000 results from Google
    51,400,000 results from Yahoo

    "Linux is great"
    165,000,000 results from Google
    48,500,000 results from Yahoo

  • Which has more bugs
    "Vista has bugs"
    18,200,000 results from Google
    4,920,000 results from Yahoo

    "Linux has bugs"
    69,700,000 results from Google
    9,710,000 results from Yahoo

  • Who suck more ??
    "Vista sucks"
    2,340,000 results from Google
    6,530,000 results from Yahoo

    "Linux sucks"
    2,290,000 results from Google
    5,180,000 results from Yahoo

  • Stability
    "Vista is Unstable"
    1,720,000 results from Google
    2,020,000 results from Yahoo

    "Linux is unstable"
    2,100,000 results from Google
    2,430,000 results from Yahoo

  • Who use what
    "I use Vista"
    461,000,000 results from Google
    118,000,000 results from yahoo

    "I use Linux"
    450,000,000 results from Google
    146,000,000 results from Yahoo

  • Which is secure
    "Vista is secure"
    62,000,000 results from Google
    21,700,000 results from Yahoo

    "Linux is secure"
    119,000,000 results from Google
    30,600,000 results from yahoo


Amazingly, according to Google, there are more Vista users, while according to Yahoo, there are more Linux users.
One thins is clear, no doubt that Linux has much more bugs than Vista, but still people think that Linux is great than Vista.

Sunday, 22 July 2007

Microsoft says openSource violates 235 patents

Microsoft claims that free and open-source software violates 235 of its patents, according to a magazine report published Sunday.

In an interview with Fortune, Microsoft top lawyer Brad Smith alleges that the Linux kernel violates 42 Microsoft patents, while its user interface and other design elements infringe on a further 65. OpenOffice.org is accused of infringing 45, along with 83 more in other free and open-source programs, according to Fortune.

It is not entirely clear how Microsoft might proceed in enforcing these patents, but the company has been encouraging large tech companies that depend on Linux to ink patent deals, starting with its controversial pact with Novell last November. Microsoft has also cited Linux protection playing a role in recent patent swap deals with Samsung and Fuji Xerox. Microsoft has also had discussions but not reached a deal with Red Hat, as noted in the Fortune article.

Microsoft CEO Steve Ballmer is also quoted in the article as saying Microsoft's open-source competitors need to "play by the same rules as the rest of the business."

"What's fair is fair," Ballmer told Fortune. "We live in a world where we honor, and support the honoring of, intellectual property."

The story notes that some big tech proponents of open source have been stockpiling intellectual property as part of the Open Invention Network, set up in 2005 by folks like Sony, Red Hat, IBM, NEC and Philips. The article surmises that if Microsoft were to go after open source, these companies' combined know-how might give it some patent weapons to go after Windows.

A Microsoft representative did not immediately respond to an e-mail seeking comment.

Given how deeply entrenched open-source software has become in the computing industry, taking direct legal action against the open-source realm would be a complicated, hackle-raising undertaking for Microsoft. Customers use open-source software widely, and many major computing companies--IBM, Dell, Sun Microsystems, Hewlett-Packard, Motorola and Oracle, for example--support Linux work directly.

It's not the first time that open-source patent concerns have arisen. A 2004 study by a Open Source Risk Management, a company selling insurance against risks of using open-source software, concluded that Linux could violate at least 283 patents, 27 of them Microsoft patents.

Patents and the open-source movement get along awkwardly at best. Patent law gives proprietary, exclusive rights to patent holders, but open-source programming is built on the idea of free sharing. Newer open-source licenses sometimes address the issue by requiring contributors to open-source projects to grant users and developers of the software a perpetual, royalty-free license to any patents that relate to the contribution.

Different companies have dealt in different ways with the open-source patent conundrum. For example, HP has taken a pro-patent stance, while IBM, Nokia, Sun and others have granted some rights to use some of their patents in open-source software.

The Open Invention Network remains a relatively young effort, but it has attracted participation this year from proprietary software giant Oracle and from Linux support seller Canonical. A company may license the network's patents for free as long as they promise not to assert any patent claims against those involved in the "Linux environment."

The Free Software Foundation is working on a new draft of the General Public License, one element of which will ban partnerships such as the one struck by Novell and Microsoft.

External Links: