Feb
27
2009
1

Installing Apache Thrift on Ubuntu 8.04

In a recent post, I explained how to install the Thrift RPC framework on OS X 10.5. Another scenario that doesn’t install as advertised out of the box is building Thrift on Ubuntu server. Again, an issue with pkg.m4 is to blame – follow the steps below to get Thrift built on your Ubuntu system:

As in the previous guide start by getting the latest revision of the Thrift library, and extract the archive.

Install the necessary prerequisites, which is much easier than on OS X thanks to apt. Fire up a terminal, and use apt-get to pull everything. Substitute java5 with your favorite jdk, if you’re not a fan of the Sun implementation.

apt-get install libboost-dev libevent-dev build-essential
python-dev automake pkg-config libtool flex bison sun-java5-jdk

Now, for the pkg.m4 workaround!

cd [thrift root]
cp /usr/share/aclocal/pkg.m4 aclocal/

At this point, all that remains is to build Thrift. (If you want Ruby support, add ruby-dev to the apt-get list above, and get rid of the ruby flag below.)

./bootstrap.sh
./configure --with-ruby=no
make
sudo make install

Enjoy!

Feb
23
2009
12

Installing Apache Thrift on Mac OS X 10.5 Leopard

Thrift is a efficient framework for cross-language serialization and RPC that recently became an Apache Incubator project. It’s definately a cool project to check out if you are building a high traffic web application or are writing distributed computing code. Installing the framework on OS X isn’t currently totally straightforward, provided below is a guide to get Thrift built on OS X Leopard.

First, gather required sources – Thrift depends on the Boost and libevent libraries, grab the latest revisions of each and then download the latest Thrift snapshot.

Build Boost first:

cd [boost root]
./configure
sudo make install

This takes a while, go make a cup of coffee – and when it finishes build libevent, which takes much less time:

cd [libevent root]
./configure
make
sudo make install

At this point is where most Thrift builds will run into trouble, as the pkg.m4 file required by autoconf in upcoming steps does not get correctly found.The following error will be encountered when trying to configure the package:

./configure: line 21183: syntax error near
unexpected token `MONO,'
./configure: line 21183: `  PKG_CHECK_MODULES(MONO, mono >= 1.2.6,
have_mono=yes, have_mono=no)'

The official faq says that in order to get this file, one should install macports, and then use it to install pkg-config – but as macports is a colossal pain in the ass, we’ll do something else.  The pkg.m4 file is also installed when X11 is installed off the OS install disc, and since X11 is something you can’t live without if you’re working on or with mainstream open source software, that is the route we will take. After installing X11 (not shown here, because it just consists of running the installer package on the OS X disc), do the following to get pkg.m4 where it needs to be:

cd [thrift root]
cp /usr/X11/share/aclocal/pkg.m4 aclocal/

After doing this, Thrift can build without issues, which will take some time, but not nearly as long as Boost did:

./bootstrap.sh
./configure
make
sudo make install

Hope this helps anyone trying to write Thrift code on OS X!

Aug
14
2008
1

Crack Overflow

StackOverflow logo

Jeff Atwood of the popular Coding Horror blog, has a new site in closed Beta right now called StackOverflow. It’s awesome and is addictive as hell. The site has a digg style interface for programmers to interact and ask each other questions, and hopefully this will be the nail in the coffin for that godforsaken hell hole known as Experts Exchange, and their ROT13 nonsense. I got fast tracked on the waiting list (apparently already in the thousands?) by transcribing a section of the project’s weekly podcast, and this will definitely be a site that I hit up 10 or more times a day.

 In my brief experience with StackOverflow so far, I’ve noticed a handful of innovative and interesting features that I think make this site stand out regardless of its content matter. I really like the fact that the site uses openID, because unless sites start using it – it’s not going to gain critical mass, and I don’t feel it was that inconvenient to signup for one. This site actually made me finally go take the 15 seconds to acquire one from verisign, and I’m glad that they finally made me get around to doing this.  The interaction model also seems much more solid than a regular forum, in its methods for the community to self-police and up/down mod posts via a reputation based system. What this boils down to, is that if you ask good questions, or provide good answers – other users will notice and boost your reputation, which increases your standing in the community and allows you to have more influence on the site. For example, until I hit 100 reputation, I lack the authority to down-mod anything which will be an effective measure against griefers and spammers.Looking at how StackOverflow is handling their beta, I will admit right now I intend to steal their process for managing signups and feedback because it is that solid, and imitation is the highest form of compliment. Signups for the beta are handled via a Google Spreadsheet form, which is quick and painless to set up – requiring maybe 15 minutes tops to get running, and that’s assuming you didn’t already have a Google account. Second, the developers are leveraging a new service called uservoice.com, which allows them to have a Dell Ideastorm feedback system at no cost, and no effort. This is huge. A public beta is useless if you can’t get effective feedback from your users, and I guarantee that my new venture pip.io will be using this webservice.

If you haven’t gotten your name on the waiting list yet, do it now. Even at closed beta, the community is vibrant and lively. At 8 AM CST I was able to ask a question regarding good workarounds for the fact that Java has no unsigned byte primitive and got 3 answers within 10 minutes. This is awesome, don’t wait, this site is going to become the defacto place to get programming answers online.

Written by in: Computing,Web Development |
Jul
09
2008
1

Who Hacked Homer Simpson?

In an old episode of the Simpsons, Homer reveals that his aol account is ‘Chunkylover53′. Someone has gained access to this account and has posted in the away message:

 ’CHECK OUT THE NEW SIMPSONS EPISODE THAT WE’RE ONLY RELEASING TO THE INTERNET AIM FANS! BE THE FIRST TO EXPERIENCE THE MAGIC BY CLICKING THE FOLLOWING LINK: http://d4.myfreefilehosting.com

SELECT RUN, (or RUN from current location) OR save to DESKTOP and DOUBLE CLICK!

ENJOY, AND SEND US YOUR FEEDBACK!

This link points towards a kimya.exe (hmm, why would a video file be a windows executable?) My virus scanner shows this to be the trojan Truko-431.

As I doubt Homer Simpson is the kind of guy looking to mess up my system with malware, I wonder what kind of jerk would want to hack him? As I would assume that Matt Groening or one of the other Simpsons cabal created this account, has someone compromised one of their systems?

UPDATE:

Whomever has access to this account is now posting the following away message, probably because the first one was too obvious.


The link is now fixed everyone.

CHECK OUT THE NEW SIMPSONS EPISODE THAT WE’RE ONLY RELEASING TO THE INTERNET AIM FANS! BE THE FIRST TO EXPERIENCE THE MAGIC BY CLICKING THE FOLLOWING LINK: http://66.197.197.101/~ydelcom/Episode439.exe

SELECT RUN, (or RUN from current location) OR save to DESKTOP and DOUBLE CLICK!

If the hyperlink is unavailable to you, you can copy and paste it into your browser.

ENJOY, AND SEND US YOUR FEEDBACK!

I carefully downloaded this file, and it has an identical md5 hash as the originally posted kimya.exe. Are people really this stupid? Doing a whois on the ip address provided the email address abuse@hostnoc.net, and I’ve informed them about their service being used to spam trojan horses. So far exploration on this server hasn’t provided much of interest, but it’s still early.

Written by in: Computing,Random |
May
30
2008
0

CNET Interview with Windows 7 Mismanager

It continues to elude the top brass at Microsoft that the world has changed and Windows 7 manager Steven Sinofsky is doing his best to ensure that the next offering of their desktop operating system will be just as big of a commercial flop as the version that preceded it. In an interview with Ina Fried of CNET’s Crave blog posted yesterday, Sinofsky was asked some very broad questions about the next version of Windows and basically refused to elaborate on anything other than the fact that it will be the successor to Vista. He then goes on to mention that a classic closed-doors development model is not outdated for the production of software.

In the age of Web 2.0 and agile software development this is quite possibly the stupidest thing someone could say, and further proof that Microsoft is on an express train to irrelevance. Rule #1 of business is “give the customer what they want”, and the gurus in Redmond haven’t learned yet that it might be beneficial to ask. Imagine all of the often complained about “features” present in Vista that might have been refined to a level of acceptability or removed if the Windows team had set up something like Dell’s Ideastorm? Windows users would be able to gripe about things that they don’t like, and ask for things that Microsoft committee groupthink hasn’t imagined – so that by the time the product actually ships… people might actually want to buy it! This is underscored by the philosophies of agile development where you are constantly in contact with your customer and making incremental refinements towards exactly what the customer wants.

Also one might wonder what point there is to all the secrecy, when Microsoft holds a defacto monopoly on desktop operating systems – it’s not like IBM is waiting in the wings to unleash OS/3 and steal their feature set, offering it on a line of PC’s that they don’t even make anymore. This point is underscored when the Linux and Mac developers have already branched off in entirely different directions and would probably rather die than admit imitating anything that came from Windows.

Amazon, Google, Dell and countless others have harnessed the wisdom of crowds to refine their business models and it seems that Microsoft thinks that their insulated community knows best, and would rather pretend that its still the 80’s where market will love anything that they send to production. Much of the techworld as of late has become defined by transparency, and one must wonder if the lack of discussion on Windows 7 specifics is because of the lack of innovation, or insecurity regarding their ability to deliver on anything they promise. (WinFS, anyone?) With a release date still years away, there’s still plenty of time for the development team to throw together a webapp that would take less than a day to write, and that will save millions of users all over the planet from Windows ME v2.0. I wouldn’t hold your breath though.

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com

  • Buy Cheap purchase generic viagra Now Best Prices. Cheap Meds Without Prescription.
  • Buy Cheap cialis online sale Online Top Online Pharmacy Supplier. Low Prices.
  • viagra soft tabs Online Without Prescription Best Drugstore. Best Prices.
  • Buy Cheap levitra side effect Now WorldWide Shipping. Buy Medications Online.
  • Buy Cheapest viagra half price pharmacy Online Best Online. Pharmacy At The Best Price!
  • Buy Cheap problems with viagra Now Low Prices. Drug Store Without A Prescription.
  • Buy pfizer drug viagra Online Without Prescription. Best Internet. Best Prices.
  • Buy Cheap viagra and blood pressure Online Best Drugstore. Special Prices For viagra and blood pressure!
  • Buy Cheapest viagra and high blood pressure Now Special Prices For viagra and high blood pressure! Pharmacy Store.
  • Buy Cheapest levitra vardenafil generic Online Online Medical Shop. Free Viagra Pills!
  • Buy Cheap cialis usage instructions Online Online Prices For cialis usage instructions! Best Drugstore.
  • Buy Cheap cialis drug impotence Online Low Prices. Safe And Secure Payment System.
  • Buy Cheapest buy levitra where Now Pharmacy Store. Pharmacy At The Best Price!
  • Buy Cheapest generic cialis prices Online Best Prices. Internet Prices For generic cialis prices!
  • Buy Cheap cialis dosing Online Discount Online Pharmacy. Pharmacy Store.
  • Buy Cheapest levitra prescription online Online Best Prices. No Prescription Needed.
  • Buy Cheap viagra free trial pack Now Buy Medications Online. Top Online Pharmacy.
  • Buy Cheap viagra real mail Online Best Online. The Largest Internet Pharmacy.
  • Buy Cheap generis cialis Now Guaranteed Shipping. Drugs, Health And Beauty.
  • Buy Cheap compare cialis prices Now Top Online Pharmacy. Drugs, Health And Beauty.
  • Buy Cheapest method levitra Online Buy Medications Online. Pharmacy Store.
  • Buy Cheap cialis for erection Now Best Prices. No Prescription Needed For Drugs.
  • Buy Cheapest mexico viagra Now No Prescription Needed. Best Drugstore.
  • cialis indian pharmacy Online Without Prescription Low Prices. Top Online Pharmacy.
  • Buy Cheap viagra cialis desire Now Pharmacy Store. Special Prices For viagra cialis desire!
  • Buy Cheap order 50mg viagra Online Online Prices For order 50mg viagra! Pharmacy Store.
  • Buy Cheap cialis discount Online Buy Medications Online. WorldWide Shipping.
  • Buy Cheap free sample of herbal cialis Online 24/Online Pharmacy. Top Online Pharmacy.
  • Buy Cheapest where to puchase cialis online usa Online No Prescription Needed. Best Online.
  • Buy Cheap cialis soft gel india Now Best Prices. Special Prices For cialis soft gel india!
  • Buy Cheap cialis lowest prices on the internet Now Top Online Pharmacy. Discount Online Pharmacy.
  • Buy Cheap levitra long intercourse Now Drugs, Health And Beauty. Best Internet.
  • Buy Cheap cheap viagra order online Now Top Online Pharmacy. Cheap Pharmacy Online.
  • Buy Cheap discounted cialis Now Best Prices. The Largest Internet Pharmacy.
  • Buy Cheap viagra vs levitra vs Online Best Prices. 100% Satisfaction Guaranteed.
  • Buy Cheap taking levitra Online Best Drugstore. Guaranteed Shipping.
  • Buy Cheap cialis interactions Online Pharmacy Store. Discount Pharmacy Online.
  • Buy Cheap viagra 50mg Now Best Internet. Safe And Secure Payment System.
  • drug cialis Online Without Prescription Best Online. WorldWide Shipping.
  • Buy Cheap cialis or levitra stronger Online Best Drugstore. Cheap Online Pharmacy.
  • Buy Cheapest levitra and sperm count Now Online Medical Shop. Free Viagra Pills!
  • Buy Cheapest order super viagra Online Free Viagra Pills! Guaranteed Shipping.
  • Buy Cheapest viagra cialis store Now Best Prices. Internet Prices For viagra cialis store!
  • Buy Cheap viagara cialis strips Now 24/Internet)(safe Pharmacy. Best Internet.
  • Buy Cheapest dosage levitra Now Guaranteed Shipping. Cheap Online Pharmacy.
  • Buy Cheap cialis rx Now Best Online. Cheap Meds Without Prescription.
  • Buy Cheapest cheapest uk supplier viagra Now Low Prices. 100% Satisfaction Guaranteed.
  • Buy Cheap viagra from india Online Low Prices. Pharmacy At The Best Price!
  • Buy order cheap viagra fas Without Prescription Doctor. Pharmacy At The Best Price!
  • Buy Cheapest female viagra uk Online Cheap Pharmacy Online. Pharmacy Store.
  • Buy Cheapest mail order for viagra tablets Online Top Online Pharmacy. Best Online.
  • Buy Cheapest cialis order online Online Drugs, Health And Beauty. Low Prices.
  • Buy Cheap cialis coupon Now 100% Satisfaction Guaranteed. Low Prices.
  • Buy Cheap ordering viagra Now Safe And Secure Payment System. Best Online.
  • Buy Cheap on line prescriptions for cialis Now Best Drugstore. Top Online Pharmacy Supplier.
  • Buy Cheapest cialis next day Now Pharmacy At The Best Price! Best Drugstore.
  • Buy Cheap order cheap cialis Now Best Drugstore. Top Online Pharmacy Supplier.
  • Buy Cheap tablet viagra Now Best Online. Safe And Secure Payment System.
  • Buy Cheap buy levitra line Now Best Drugstore. Drugs, Health And Beauty.
  • Buy Cheap approval cialis fda Online Online Medical Shop. Best Drugstore.
  • Buy Cheapest prices cialis Now Cheap Prescription Drugs. Best Internet.
  • Buy Cheapest cheapest generic price viagra Now Best Internet. Pharmacy At The Best Price!
  • Buy Cheap generic viagra sales Now Free Viagra Pills! Online Prices For generic viagra sales!
  • Buy Cheap effects levitra side Now Cheap Prescription Drugs. Online Medical Shop.
  • Buy Cheap levitra free samples Online Online Medical Shop. Cheap Pharmacy Online.
  • Buy Cheap buy cialis canada Now Online Medical Shop. 24/Online Pharmacy.
  • cialis advertising Online Without Prescription Best Prices. Free Viagra Pills!
  • Buy Cheap viagra cialis levitra Now Best Internet. Online Prices For viagra cialis levitra!
  • Buy Cheap free sample of viagra Now Pharmacy Store. Drugs, Health And Beauty.
  • Buy Cheapest blood pressure and viagra Now Pharmacy Store. Cheap Online Pharmacy.
  • Buy Cheap order viagra without prescription Now Free Viagra Pills! Internet Prices For order viagra without prescription!
  • Buy Cheap viagra erection Now No Prescription Needed For Drugs. Best Online.
  • Buy Cheap what is viagra super active Now Best Online. All Medications Are Certificated!
  • Buy Cheapest cialis in usa Online Discount Drugs At Best Online Drugstore.
  • Buy Cheapest buy generic levitra cheap Now Best Prices. Internet Prices For buy generic levitra cheap!
  • Buy Cheap buy cialis on line Now Guaranteed Shipping. Discount Online Pharmacy.
  • Buy Cheap buy cheap viagra online Now Best Prices. No Prescription Needed For Drugs.
  • Buy Cheap buy brand name cialis Online Cheap Online Pharmacy. WorldWide Shipping.
  • Buy Cheapest viagra erection duration Online Best Online. Online Prices For viagra erection duration!
  • Buy Cheap generic for cialis Online Discount Pharmacy Online. Best Internet.
  • Buy Cheap viagra rx Online WorldWide Shipping. Buy Medications Online.
  • Buy Cheap cialis 10 mg Now Cheap Meds Without Prescription. Best Online.
  • Buy Cheapest cost of levitra from canadian pharmacies Now Internet Prices For cost of levitra from canadian pharmacies! Best Drugstore.
  • Buy Cheap buy cheap generic viagra Now Cheap Online Pharmacy. Online Medical Shop.
  • Buy Cheap who makes levitra Now Guaranteed Shipping. Cheap Prescription Drugs.
  • Buy viagra order uk Without Prescription Doctor. Low Prices. Pharmacy Store.
  • Buy Cheap cialis use Now WorldWide Shipping. Cheap Online Pharmacy.
  • Buy Cheap generic cialis from canada Online Discount Pharmacy Online. Pharmacy Store.
  • Buy Cheapest viagra china Now Best Drugstore. Drugs, Health And Beauty.
  • Buy information on cialis Without Prescription Doctor. Best Prices. Best Internet.
  • Buy viagra mail order uk Online Without Prescription. Low Prices. Pharmacy Store.
  • Buy Cheap viagra super active sildenafil Online Best Online. Internet Prices For viagra super active sildenafil!
  • Buy Cheap viagra vs cialis vs levitra Online Top Online Pharmacy. Free Viagra Pills!
  • Buy Cheapest levitra on line from united states Now Best Online. Special Prices For levitra on line from united states!
  • Buy Cheapest viagra pills cod Now Pharmacy At The Best Price! Low Prices.
  • Buy Cheapest lowest price levitra Now Pharmacy At The Best Price! Low Prices.
  • Buy Cheapest viagra online store Online Free Viagra Pills! Best Drugstore.
  • Buy Cheapest viagra coverage california Online Free Viagra Pills! 24/Online Pharmacy.
  • Buy Cheapest order cheap cialis Now WorldWide Shipping. Cheap Online Pharmacy.
  • Buy Cheap viagra natural Now Pharmacy Store. Online Prices For viagra natural!