News for hackers. Stuff that matters.

tomazmuraus

Re:Gophercloud: A Multi-cloud Software Development Kit for Go on Tuesday August 13, 2013 @02:27PM (#6207360)
(disclaimer: I'm one of the Libcloud developers)

I want to add some context to this.

Our current abstraction provides a relatively simple API which is guaranteed to work across multiple providers.

If you want to access provider specific functionality we offer so called extension methods and arguments. This is similar to how jclouds and other cross-provider libraries handle that as well.

We support over 30 providers and for the more popular ones this means you can usually access most of the native cloud functionality through the base API + extension methods.

Doing that will obviously make it harder and more work to switch between different providers so we always put up a disclaimer and make sure our users are aware of that.

We are trying to standardize as many APIs as possible and promote extension methods to the to top level API (proposals and patches are always very welcome and appreciated!), but sadly in a lot of cases this is not possible. Usually this is because the provider APIs are too different and the glue code needed to make it work would be to complex.

In the end it's a trade-off, pretty much like everything else in life and a lot of other things in CS (CAP anyone?).

If you want good portability and easily switch between providers you will stick to the base API. If you don't care so much about the portability you will also use the extension API.

Side note: Even though official provider client libraries exists, a lot of people still tend to use Libcloud with extension methods.

Usually the reason is that we support a variety of Python versions and we have a stricter testing policy which tends to result in less buggy code.

It shows how easy it easy to write your own function because all you need to do to send an email is perform a single HTTP request.
Re:Google launches Compute Engine on Thursday June 28, 2012 @04:17PM (#4173698)
Project Awesome is an HTTP proxy which means it's even a higher abstraction than a Ruby library :)

In any case, you should have a look at Libcloud (http://libcloud.apache.org/), jclouds (http://jclouds.org), deltacloud (http://deltacloud.apache.org/) and other libraries. Deltacloud exposes a similar functionality through an HTTP interface. We have recently also started working on "Libcloud REST" which will expose all the Libcloud functionality through an HTTP interface which means you will be able to talk to it through an arbitrary language which can speak HTTP.

Re:Whiskey - A new node.js test framework from Rackspace on Wednesday March 14, 2012 @04:03PM (#3705091)
Disclaimer: I'm author of the blog post.

The title might be a bit misleading, but a first commit to Whiskey was actually made about a year ago (https://github.com/cloudkick/whiskey/commits/master?page=12), before Mocha existed.

Re:Introducing Mantrid (runtime-configurable, Python load balancer) on Wednesday November 02, 2011 @03:15PM (#3188453)
Just FYI, apache mod_proxy_balancer also supports HTTP 1.1 and you can configure it during run-time if you have mod_status enabled.
Any special reason why you haven't used something like libcloud (deploy_node ...) - http://libcloud.apache.org/?

Then the script would work with multiple providers, not just Amazon.

Re:Cast Project - The Open Deployment Platform on Tuesday April 26, 2011 @07:13PM (#2487638)
We actually do have an install script. It is not the best one, but you should be good to go in a few simple steps:

1. downloading a tarball 2. unpacking it 3. running "scons install"

Scons (our built tool of choice) is an extra dependency, but this shouldn't be a problem since it's a prerequisite for Node.js itself (platform on which Cast is built).

Re:Cast Project - The Open Deployment Platform on Tuesday April 26, 2011 @06:42PM (#2487532)
Service management part is also abstracted away pretty well, so it should be fairly easy to write a new backend for your favorite service manager (supervisor, upstart, etc.).
Re:Cast Project - The Open Deployment Platform on Tuesday April 26, 2011 @05:48PM (#2487361)
Here is a link to the original news on the project website http://cast-project.org/news/2011/announcing-cast-preview-re... and a blog post on the Cloudkick website https://www.cloudkick.com/blog/2011/apr/26/cast-the-open-dep...
Re:Comparing clojure and node.js for speed on Thursday April 07, 2011 @06:39PM (#2421512)
Nothing new here.

Node wasn't ever really meant to be used for CPU intensive tasks - especially the ones like this which you can fairly easy parallelize.

Re:Learn You a Haskell is now in print on Tuesday March 29, 2011 @04:07PM (#2384176)
Awesome book (+ pretty pictures).

I have read it online about a year ago, but I still ordered my copy from Amazon.

Re:Dropbox: The hottest startup you've never heard of on Wednesday March 16, 2011 @02:49PM (#2333337)
It "kinda" supports LAN sync.

Files still first need to be transfered to the cloud first before you can sync them over LAN.

At least it was like this the last time I have looked at it (a few months ago).

Re:Fabric hits 1.0 on Saturday March 05, 2011 @03:12PM (#2292251)
Nice to see a new release, but there is still no official support for a parallel execution :(

There are some forks with a parallel support, but all of the ones which I have tried are pretty buggy / incomplete.

I have signed up for a Fabric PyCon sprint, hopefully I can help with adding / finishing the parallel support.

Re:Two Factor SSH with Google Authenticator on Friday February 18, 2011 @06:38PM (#2237759)
Yeah, YubiKeys are great.

I have been using mine for about a year now and I also use a YubiKey PAM module to log in into my Ubuntu workstation.

If you search google a bit I am pretty sure you will find a discount code to get it even cheaper :)

Re:Continuous Deployment on Saturday February 12, 2011 @01:17PM (#2210640)
Yeah, I was thinking about doing a similar thing here at Cloudkick.

Currently, our test suite is not that large and it takes around 6-8 minutes to complete, but with testing every minute counts (testing is generally not that fun and a slow test suite just makes it more painful).

We have a two types of tests:

- Twisted tests - this tests runs asynchronously and finish pretty fast so they are generally not that problematic - Django tests - Django tests don't run in parallel so they are pretty slow. Recently, I was playing around with the Django test runner and I have made some modification to it to run the tests in parallel. Now the Django tests finish around 50% faster.

The only problem with this solution is that it is a "hack" and it requires some modifications to the Django core (I guess I should play more with the nose parallel test runner).

We also use some other "tricks" which make tests run faster - for example, MySQL data directory on a test server is stored on a ram disk.

Re:Rackspace Buys Server Management Platform Cloudkick (YC W09) on Thursday December 16, 2010 @10:44AM (#2012369)
If you have a developer plan and use "refer a friend" option, you can earn up to three extra "premium" nodes for free by inviting your friends - https://www.cloudkick.com/blog/2010/nov/24/invite_a_friend/.
Re:Turkey + USB Thermometer + Cloudkick = SMS Delicious on Wednesday November 24, 2010 @03:07PM (#1938390)
If you feel creative, you could try to build your own temperature probe using Arduino + LM35 sensor + stainless steel tube + some solder.

The datata sheet claims, it can read temperature between -55°C - 150°C, but I never tested its limit so I have now idea how far you can actually push it :)

In any case, like HeyLaughingBoy have said, if you want something which goes higher, check thermocouples.

No matter how much I love the service, I hate it when a service wants access to "update your data".
Re:Browse github fast with GithubFinder on Friday November 19, 2010 @06:04PM (#1923190)
Yeah, same here.

I will still need to clone a repo if I need to quickly find or grep for something, but it's definitely way more useful for reading through the code then the default github file browser.

Re:Diet hacker data point on Monday November 08, 2010 @03:25PM (#1883837)
It is no magic, in the simplest explanation it all comes down to the law of thermodynamics and calorie balance.

If you are interested in this kind of stuff, check Lyle's website[1]. He has many good articles about this kind of stuff.

[1]: http://www.bodyrecomposition.com/fat-loss/the-energy-balance...

Older »