Archive for the ‘ Technology ’ Category

Amazon makes clever private cloud play

In a savvy bid to make its cloud a de facto standard, Amazon Web Services has given its blessing to an open-source version of its APIs produced by Eucalyptus Systems. In a clear signal that it will not challenge Eucalyptus for infringing on its property, Amazon is in fact partnering with the company. Eucalyptus supplies on-premises cloud-launching software that can mobilize APIs that are a match for Amazon’s major services.

Amazon could back away from the move at a later date, but it’s unlikely. On the contrary, Amazon appears to have decided that small and midsize companies and large enterprises building out private clouds should be its natural ally.

That means an enterprise that develops its private cloud using Eucalyptus will have built-in compatibility across several Amazon Elastic Compute Cloud services, including EC2 compute and S3 storage. Such compatibility would be an advantage to companies that want to use the public cloud for websites and some types of customer service and other public-facing processing while maintaining a more guarded and managed set of cloud services in their own data center.

Doubters wondered whether Eucalyptus hadn’t jumped the gun in being early to market with Amazon-compatible APIs. The risk was service giant Amazon would dismiss Eucalyptus as an interloper and find a way to make its APIs incompatible, or worse, take it to court for infringement. The Eucalyptus APIs sprang out of an open-source project at the University of California at Santa Barbara, led by Professor Rich Wolski, now CTO of the firm. But the APIs have stood both the test of time and of Amazon’s patience.

“This agreement is going to accelerate our roadmap and help us maintain our compatibility with AWS,” said Eucalyptus CEO Marten Mickos in a prepared statement on the announcement.

Instead of viewing them as potential competitors, Amazon has come to view Eucalyptus as an ally in consolidating its hold on the public infrastructure as a service market. With Eucalyptus installed inside enterprise data centers, its customers have a way to build their private clouds without disrupting their Amazon Web Services relationship.

Whether Amazon’s blessing was given in a timely manner may be another question. Amazon has shown little interest in joining open-source projects or sharing the benefits of its dominant position by opening up its own APIs for use by corporate developers. And it was outside its business plan to package up its own software and sell it for installation inside the enterprise.

With no action on that front, another open-source effort has gained traction as an alternative: Rackspace, a would-be Amazon competitor coming out of the hosted services field, launched its own infrastructure-as-a-service, then teamed up with NASA to form the Open Stack project.

Open Stack attracted more support than Eucalyptus did because it was conceived on a scale that allows its backers to become public cloud services suppliers themselves should they choose to. Cisco Systems, Citrix Systems, Oracle, Intel, AMD, Dell, Brocade, HP, NTT, and NetApp are among its members. The project claims 155 company participants to date, many of them code contributors.

At the recent Cloud Connect event in Santa Clara, the question was repeatedly raised in sessions: how close were Open Stack APIs to Amazon’s? There was no simple, succinct answer. But several parties, including Cisco’s CTO for cloud Lew Tucker, observed that the Open Stack technologists were broadly patterning their APIs on Amazon’s. They weren’t compatible and they’d never be accused of infringement; on the other hand, it wouldn’t that hard to translate between the two.

Such is Amazon’s dominance in the public cloud market. Those who might want to compete with it don’t stray too far from its example. Amazon in turn understands that it has so successfully established–with Google, Microsoft, Facebook, and others–the model of a cloud data center model that thousands of companies want to emulate it.

The conflict for Amazon, according to Adam Selipsky, VP of business development, was that they didn’t want to encourage private cloud consumption; they wanted businesses to get cloud services from EC2. In fact, Amazon officials have repeatedly said that the only real form of cloud computing is the public cloud, juggling thousands of different workloads across a massive infrastructure.

Now that Amazon has partnered with Eucalyptus, it’s got a different story. There is such a thing as the private cloud–and it’s a good thing, especially when it operates in conjunction with EC2.

We’ll find out next month how many other private cloud backers feel the same way. The Open Stack Summit will convene April 16-18 in San Francisco, with additions expected to be announced to its code base. Rackspace, HP, NTT Communications, Nebula, ServiceMesh, HyperStratus, Piston, CloudScaling, and Softlayer will take notice and be unlikely to abandon their Open Stack-based strategies in favor of Amazon’s APIs. Open Stack is gaining not only traction but a head of steam.

But Amazon has just given thousands of budding private cloud builders pause to reconsider. If they can get an Amazon-compatible cloud the first time they try–and still avoid lock-in; it’s now open-source code–why not do it? Open Stack is progressing fast, but it’s still a work in progress. By endorsing Eucalyptus, Amazon has given a tacit promise of assistance on continued compatibility. It’s ready for more long-term relationships with Eucalyptus customers if they want Amazon cloud services as an option. Amazon has just closed a circuit that had been left dangling. Amazon APIs are proprietary and not a du jure standard; they may never be. But they just took a step closer to becoming a de facto standard inside the corporate data center as well as out.

Amazon’s S3 offers the fastest storage cloud

A series of tests were conducted by storage vendor Nasuni. What they found is quite shocking. The results of the tests indicate that both rival cloud services, MS Azure and Rackspace, are slow to accept data. Whether this is a limitation of the network or a limitation of the hardware, we can not be sure.

Nasuni conducted five series of tests. The results are, again, quite shocking. Since all of these systems are cloud storage, you would expect similar performance, but you would be wrong. For example, moving 12TB from Amazon to Azure takes 40 hours, whereas moving the same data back took only four. 12TB from Rackspace to Amazon took five hours, yet Amazon to Rackspace took almost an entire week! Amazon “bucket” to Amazon “bucket” took only four hours.

Once again, it’s not clear if this is just a limitation of the network, or if there is a massive difference in technology that is leading to these poor write speeds. Nasuni said the cloud providers were not “forthcoming about why their performance would vary so greatly.” However, “Nasuni did not experience the same behavior with Amazon S3, and this measurement probably further indicates limitations in Azure’s architecture or bandwidth, as other customers using the system appear to be affecting our results to a large degree.”

Multiple Domains with Single WordPress

This day i did a good work with wordpress multi domain with single wordpress site. I think most of the beginners developers and programmers dont know about  this. But now all guys will know how to do the multi site with single hosting( wordpress ). I would like to show you how to do that.

Ex. if you have two domains. You want to control the all contents with single  back-end for both sites, its possible with wordpress.

First install the wordpress in your primary domain hosting server.

Then Both sites nameserver should be point the primary domain server. Both sites must be point primary site folder(Already you installed wordpress in this location).

Now go to root of the site. Here you can see the wp-config.php. Open the file via ftp or file manager.

Open the file wp-config.php, add the following code :

$_asdfasdf_myurl = ‘http://’.$_SERVER['HTTP_HOST'];
define(‘WP_HOME’, $_asdfasdf_myurl);
define(‘WP_SITEURL’, $_asdfasdf_myurl);
unset($_asdfasdf_myurl);

We know,  PHP $ SERVER [ HTTP_HOST ]  for obtaining source domain. So,  according to WP_HOME and WP_SITEURL from variable assignment, realize Multiple Domains with Single WordPress.

In order to prevent the picture is not available  caused by the domain name change , you must set ” Options-media-Store uploads in this folder “  to “  wp-content / uploads”  ( as ” the default upload path” the same parameters ).

Now primary domain and secondary loads with single wordpress. You can do multiple domain like this way.

If you have any questions let me know. I can help you.

Moving WordPress To A New Domain

Every time I move a WordPress website to a new domain name or url (eg: moving it from a testing site to a live site) I can always count on one thing: my ability to forget the SQL statements to update the urls.

My problem isn’t so much forgetting that I have to do it, but actually forgetting the code itself. Even worse, I haven’t actually documented the code anywhere so I can’t just copy and paste it from somewhere else.

The 3 lines of code really aren’t much to remember, I mean, they are simple and very logical. It’s virtually a find and replace of the old urls to the new urls but for some reason everytime I need it my head just goes blank. Sure I could probably do a find and replace in the SQL dump of the database before the import, but in the past I have faced issues doing it this way for some reason.

For future reference, here is the code:

UPDATE wp_options SET option_value = replace(option_value, ‘THEOLDURL’, ‘THENEWURL’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’; UPDATE wp_posts SET guid = replace(guid, ‘THEOLDURL’,'THENEWURL’); UPDATE wp_posts SET post_content = replace(post_content, ‘THEOLDURL’, ‘THENEWURL’);

It happened again the other day and I’m tired of it, so I decided to do something about it. No, I didn’t memorise the code because well, lets face it, I really should know it already but for some reason it won’t stick. Instead I created a little website which will do it for me. Besides, I figured I can’t be the only person who makes this mistake, so why not help other people out too?

Welcome, Here you simply enter your current WordPress site url (eg: http://localhost) followed by the destination url (eg: http://wjd.in) and click the generate button. It then spits out the SQL code you need to run. Easy as pie.

Also, I figured I might as well provide some general instructions on how to manually move, backup or restore a WordPress website, so I added that too. It is all text right now, but I’ll hopefully clean it up, throw in some images and just make it nicer to read overall.

So that’s it, the next time you are migrating a WordPress website, head on over to Moving WordPress and shave that whole 5-10 minutes off your workload. I know I’ll be using it.

iPad 3 battery pointing to thinner, lighter tablet?

The battery in the iPad 3 will reportedly be thinner and lighter than the one in the iPad 2, according to a report in Taiwan Economic News, suggesting that the new tablet may also see a thinner, lighter design or other improvements.

Citing “institutional investors” as its sources, the Taiwanese news site reported yesterday that the new battery will not only be thinner and lighter but offer a longer life than the iPad 2′s battery. The new battery will also need to meet higher standards for quality and reliability, which means that Apple’s cost for it could shoot up by 20 to 30 percent.

Suppliers Simplo Technology and Dynapack International Technology will start to deliver the new battery pack to Apple during the fourth quarter and ramp up into full production in the first quarter of 2012, the news site said.

How might the new battery affect the overall design of the iPad 3?

Boy Genius Report suggests that a thinner, lighter battery could mean Apple will make the iPad 3 even thinner than its predecessor, which has a depth of just .34 inches.

Or the new battery could give Apple the room it needs to add a Retina Display, BGR suggests further. Based on images found in the Software Development Kit for iOS 5 in June, some sources believe the next iPad will sport a 2,048×1,536 resolution Retina Display.

But analysts expecting a Retina Display on the next iPad say that Apple’s suppliers are having a tough time due to manufacturing challenges and supply constraints. IHS iSuppli analyst Rhoda Alexander told CNET last month that a 9.7-inch tablet with 2,048×1,536 resolution “has been under development for some time,” but that such a tablet is unlikely to debut before next year’s first quarter as a result of the issues faced by suppliers.

Can BitCoin, the First Open Source Currency, Threaten the Dollar?

It’s been called “the most dangerous technological project since the internet itself.”  Can the BitCoin give power back to the people?

In the book “Mythmakers & Lawbreakers” edited by Magpie Kiljoy, Alan Moore is interviewed and makes a very profound point.  The writer was paraphrasing a professor at the London School of Economics, and stated the following:

“[The lecturer] was saying that the only reason that governments are governments is that they control the currency; they don’t actually do anything for us that we don’t pay for, other than expose us to the threat of foreign wars by their reckless actions. They don’t actually really even govern us; all they do is control the currency and rake off the proceeds.”

Now, I’d certainly been aware of our government’s currency power creating problems for people in a system which they had never had a hand in creating or to which they had willingly agreed in the first place, quite contrary to Thomas Jefferson’s vision of a government that would dissolve and reconstitute every few decades.  But, it wasn’t until reading the Moore interview that a crystallization occurred, and I began to wonder if currency was perhaps the best way to neutralize a government’s power.

The initial thought had been that this solution could be arrived at by encouraging people to engage in black markets, which many billions do worldwide already.  Not effective enough.  Then it occurred to me that someone must create an alternate currency through which individuals can disengage from their country’s currency, thereby bypassing violent insurrection.

This is essentially what the creators of BitCoin have done with the introduction of their open source digital currency, controlled by each user, kept on one’s computer and impervious to hacks and manipulation, including the inflation that occurs when governments flood countries with newly-minted currency.

Not only does the BitCoin already have practical value—for users are already exchanging them via the internet—but it has struck a symbolic blow against states everywhere, even in its very early stages.

What are the defining characteristics of a BitCoin?  They cannot be tracked or frozen, for one thing.  They cannot be taxed, which would remove yet another source of power the state has over individuals.  The power of the state essentially lies in its taxation powers, which allows it to wage war and allow for modern empire, as well as dispense that taxpayer money to other countries.  BitCoin exchanges can be done anywhere in the world and fees are extremely minimal compared to similar exchanges within and across banks.

BitCoins have already been used to purchase books, video games and other items.  Of course, since the BitCoins can’t be tracked, it opens up a wealth of exploitable opportunity for black markets such as drug dealing and prostitution.  This alone will alarm politicians, who one can imagine are already considering making the new currency illegal.  The same thing could be said of CraigsList, however, and yet it is still legal.

How does one generate BitCoins?  This is where things get interesting and slightly confusing to the not-so-tech savvy.  Each computer can act as a BitCoin miner.  The computer “mines” BitCoins at a predictable rate, which requires time and energy (processing power, electricity and anywhere from 5 to 10 years), and then the fully mined BitCoins are stored locally on the computer.  The risk being that computer theft or computer crashes will erase BitCoin files, leaving users BitCoin-less.  It seems likely, however, that there will be ways of backing up BitCoin accounts.

One of the most fantastic aspects of BitCoin is that it is open source software, which means that one wouldn’t have to buy the software, but simply download it.  Open source has long been a dream of many hackers going back to the creation of home computers and the internet, and has taken on renewed vigor as corporations and governments have gradually consolidated power over computer software and the internet.

The catch with BitCoin is that there will be a limit to the number of BitCoins ultimately generated.  According to a Launch Conference article, only 21 million can be generated by 2140, “but at this point the electricity and time it would take to produce a BitCoin is larger than the actual value of a BitCoin (your laptop might take five years to make one batch of 50, and they currently trade at $6.70 per BitCoin).”

This built-in limitation would seem to restrict the BitCoin to the fringes, unless more and more people download the software, and the value of the BitCoin skyrockets.  And since it has limitations, it’s clear that not all human transactions could be done by way of the BitCoin, which would certainly limit its mission to put power back in the hands of people.  Question: would the tech savvy have an advantage in generating BitCoins?  This seems to be what BitCoin Tech Lead Gavin Andreson is intimating when he told Jason Calacanis on “This Week in Start-Ups” that generating BitCoins has become a specialized business.

In the interview, Calacanis gives BitCoin 24 months before it is dismantled by the US government.  And my good friend noted yesterday that it probably won’t take long before it’s somehow infiltrated and subverted by the US government.  Gavin Andresen, in fact, has already been asked to speak about the software to the CIA’s investment arm In-Q-Tel.  Also interesting is the possibility that open source currencies could revolutionize work: power relationships, work days, etc., freeing up humans to enjoy life instead of being tethered to jobs they hate.

Whatever happens, the invention of the BitCoin is a rather seismic event, and might point to the way of the future, in which the people might finally wrest the power that the state and corporations have held over individuals for far too long.