[Windows Azure] Just deployed first MongoDB Free Instance in the Cloud

Wednesday, January 18, 2012

 

Just hosted my first MongoDB instance in the cloud and called it from a Node program. It is incredible easy and free, go to:
 
 
It took be about 2 mins to setup. After setup I ran the following local Node program:
 
var mongoose = require('mongoose');
var db = mongoose.connect('mongodb://<user>:<password>@ds029257.mongolab.com:29257/mongo1');
 
Schema = mongoose.Schema;
 
Beer = new Schema({
    brand       : String,
    rating      : Number
});
 
var BeerModel = mongoose.model('Beer', Beer);
 
var first = new BeerModel({  brand:'second',  rating: 41});
 
first.save(function(err){
    if (err) { console.log(err); }
});
 
BeerModel.find({ rating: {$gt: 35} },
    function(err, beers) {
        beers.forEach(function(beer){
            console.log(beer);
        });
    });
 
Note: Now your homework is to make calls to mongolabs hosted MongoDB from an Node/Express application deployed on Heroku. 

_______________________________________________________________________________
Zia Khan: http://www.google.com/profiles/ziakhan
Become my friend on Facebook: http://www.facebook.com/ziakhan
Mobile: 92-300-826-3374 (Pakistan)
Microsoft's Windows Azure Discussion Group: 3,200+ Members
CFA, CPA, and CMA Exam Preparation Discussion Group: 3,900+ Members
_______________________________________________________________________________

__._,_.___
Recent Activity:
Cloud Computing Education: http://www.OperationBadar.net
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

[agile-testing] Re: Continuous Deployment

 

--- In agile-testing@yahoogroups.com, "seanalexaoife" <coyle.james@...> wrote:
>
> Hi,
>
> question for my esteemed colleagues:
>
> Continuous deployment / continuous delivery is a hot topic these days.
>And one area I'm particularly interested in is 'self-testing software' ...
>

Hello James -

I'm not sure exactly what you mean, but you might want to look into exploratory test automation (Kaner/Hoffman) or Model Based Testing (Harry Robinson) -- those are two techniques that create a model of how the software should operate, send random input into the system, into the model, and look to see what's different.

Here's one website on the topic:

http://www.geocities.com/model_based_testing/

Another question that occurs to me, that I probably should have said first, is something like "... and why do you ask?"

:-)

regards,

--
Matthew Heusser,
Consulting Software Tester/Writer
http://flavors.me/mheusser#150/linkedin

__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Re: [agile-testing] Continuous Deployment

 

Interesting Information.


Regards
Rohan Sarker
+917278539338
+913324288069


On Wed, Jan 18, 2012 at 5:33 AM, Markus Gaertner <mgaertne@googlemail.com> wrote:
 

Besides the remaining useful replies, you might find my write-up of
Kent Beck's talk on Software G-Forces inspiring. He speaks about what
teams do when they get from quarterly releaes down to several releases
per day. Here is a pointer:
http://www.shino.de/2010/11/04/software-g-forces-the-effects-of-acceleration/

Best
Markus



On Wed, Jan 18, 2012 at 10:58, seanalexaoife <coyle.james@gmail.com> wrote:
> Hi,
>
> question for my esteemed colleagues:
>
> Continuous deployment / continuous delivery is a hot topic these days. And one area I'm particularly interested in is 'self-testing software'.
>
> What are people's opinions on what is meant by 'self-testing software'? What does this look like? Is it unit testing by another name? Or is it deeper than that? Does it include the automation of black box tests? And is this now done by the developers? (I'm in a traditional developer / tester agile'ish team).
>
> Thanks
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

--
Dipl.-Inform. Markus Gärtner
http://www.shino.de/blog
http://www.mgaertne.de
http://www.it-agile.de
Twitter: @mgaertne





__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Re: [agile-testing] Continuous Deployment

 

Besides the remaining useful replies, you might find my write-up of
Kent Beck's talk on Software G-Forces inspiring. He speaks about what
teams do when they get from quarterly releaes down to several releases
per day. Here is a pointer:
http://www.shino.de/2010/11/04/software-g-forces-the-effects-of-acceleration/

Best
Markus

On Wed, Jan 18, 2012 at 10:58, seanalexaoife <coyle.james@gmail.com> wrote:
> Hi,
>
> question for my esteemed colleagues:
>
> Continuous deployment / continuous delivery is a hot topic these days. And one area I'm particularly interested in is 'self-testing software'.
>
> What are people's opinions on what is meant by 'self-testing software'? What does this look like? Is it unit testing by another name? Or is it deeper than that? Does it include the automation of black box tests? And is this now done by the developers? (I'm in a traditional developer / tester agile'ish team).
>
> Thanks
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

--
Dipl.-Inform. Markus Gärtner
http://www.shino.de/blog
http://www.mgaertne.de
http://www.it-agile.de
Twitter: @mgaertne

__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

[agile-testing] Re: Continuous Deployment

 

Here's one link ... http://martinfowler.com/articles/continuousIntegration.html
Mentioned self testing code (not software as I originally stated)

--- In agile-testing@yahoogroups.com, "gishu_pillai" <gishu.pillai@...> wrote:
>
> Where did you find this term? Links?
>
> AFAIK someone has to test software. I've heard of "self-checking" which is 'tests that can exercise a path and verify the result without manual assistance'. Self-testing seems to indicate some sort of AI :)
>
> --- In agile-testing@yahoogroups.com, "seanalexaoife" <coyle.james@> wrote:
> >
> > Hi,
> >
> > question for my esteemed colleagues:
> >
> > Continuous deployment / continuous delivery is a hot topic these days. And one area I'm particularly interested in is 'self-testing software'.
> >
> > What are people's opinions on what is meant by 'self-testing software'? What does this look like? Is it unit testing by another name? Or is it deeper than that? Does it include the automation of black box tests? And is this now done by the developers? (I'm in a traditional developer / tester agile'ish team).
> >
> > Thanks
> >
>

__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Re: [agile-testing] Re: Continuous Deployment

 

Hi,

I think he asked about 'self-testing software', not continuous delivery.

The term 'self-testing software' was also widely used in the context of Design by Contract (in a nutshell: explicitly defining and automatically checking preconditions, postconditions and invariants of calls); not sure if it's still the same thing.

regards,
H

__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Re: [flexcoders] Re: Flex alternatives

 



On 18 January 2012 02:05, Merrill, Jason <jason.merrill@bankofamerica.com> wrote:


The problem isn't even that large companies are in bed with Microsoft (that is a problem), but it's that they have many many existing legacy enterprise apps that only work or have only been tested to work in IE, and those systems need to be supported and in place for years to come.


It is also worth mentioning that if any of you have spent any time being a Windows desktop system administrator, you will appreciate the management features that only IE has in conjunction with group policy. Changing/enforcing proxy settings, certificate authorities, cache policies, homepages, look and feel settings and more can be done by just flicking a few settings in Group Policy.

To do the same with Firefox, you'll have to modify a bunch of files on installation, and on every change, push out a new prefs.js file. Sounds easy enough, but try doing that when you have different settings that apply depending on the site the user is at, the groups they're a part of, etc.

Unfortunately, none of the alternative browsers seem to pay much attention to the enterprise, so IE is pretty safe until there is a reasonable alternative.
 

Jason Merrill
Instructional Technology Architect II

Bank of America  Global Learning

 

 

 

 

 

_______________________

 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of valdhor
Sent: Monday, January 16, 2012 9:20 AM


To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex alternatives

 

 

Good luck on convincing IT departments in large corporations who are generally Microsoft shops.



--- In flexcoders@yahoogroups.com, Guy Morton <guy@...> wrote:
>
> A thought on cross-browser hell…
>
> If every web developer in the world today decided to drop support for IE, everyone would go get Chrome or Firefox.
>
> This would be a win-win, as they would get a better browser, and we would get a better development environment.
>
> Who's with me?
>
> Guy
>
>
> On 16/01/2012, at 6:31 AM, Ron G wrote:
>
> >
> >
> > Valdhor:
> >
> > You are right about that. That is precisely why we went with Flex originally (it insulated us from X-Browser issues). But, since we can't count on that lasting, and even Adobe is telling developers to plan on moving to HTML5, it seems like they're pushing us back into x-browser hell.
> >
> > I didn't want to go there, which is why we chose ZKoss. Yes, there is still going to be HTML/JS/CSS ultimately used, but it's how much. Even Flex SWFs are wrapped in HTML and JS when deployed. So, it's not that I'm against using any amount of HTML/JS; it's how little can I get away with to avoid these issues.
> >
> > Even with HTML5 libraries, such as the much touted jQuery, is, to a large degree, an insulator against x-browser issues. If you read the actual jQuery code, it deals with those issues for you.
> >
> > Now, ZK has a ZK Client JS library, which includes jQuery, that is designed to be a communicator mechanism between the client and the bulk of app logic that resides on the server. So, your normal editing and data manipulation that you might write in JS in a full blown HTML5 app is actually stored as Java on the server, and executed as needed per the EDA (event driven architecture). This type of JS is typically what breaks the page on different browsers and versions thereof. By limiting the amount of client-side JS, as does a jQuery type library, yes, you have some exposure to potential x-browser issues, but not as much as a HTML5 app that does everything on the client. And, when there are issues, they can be resolved in the ZK Client library as a patch/fix.
> >
> > So, now it seems to me that developers have several choices. Stick with Flex and you won't break the browser; you just won't be able to have your app viewed by millions on iOS products. If that seems like a better solution that minimal exposure to x-browser issues by using ZK or some other technology, well, that's certainly a choice each company has to make.
> >
> > Ron
> >
> > --- In flexcoders@yahoogroups.com, "valdhor" <valdhorlists@> wrote:
> > >
> > >
> > > On a side note, I like the look of ZKoss. I don't know if there are cross browser issues with it seeing as we use older versions of browsers. One of the great features of Flex is we don't have to bother coding for compatibility between different browsers and versions. When IT deployed IE7, Flex applications worked just as they had before.
> > >
> > > Anyway, just my 2c from the enterprise perspective.
> > >
> >
> >
>


This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law.
The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses.

References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link:
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing.



__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

[Windows Azure] Just deployed my frist Node.js app on Heroku for free

 

My first Node.js app on Heroku:
 
I followed the following tutorial:

_______________________________________________________________________________
Zia Khan: http://www.google.com/profiles/ziakhan
Become my friend on Facebook: http://www.facebook.com/ziakhan
Mobile: 92-300-826-3374 (Pakistan)
Microsoft's Windows Azure Discussion Group: 3,200+ Members
CFA, CPA, and CMA Exam Preparation Discussion Group: 3,900+ Members
_______________________________________________________________________________

__._,_.___
Recent Activity:
Cloud Computing Education: http://www.OperationBadar.net
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

[JobsAssist] Opportunity for Tech suport Associate(Voice) At IBM | Requirement for Executive Customer Care At Tech Mahindra - Latest Jobs

 

 

Jobs @ IndiaJobForum
  BPO/Call Center Jobs

                
        
 
  
     
    
 
 
For More JOB Related , Click Here...
 
jo

 

__._,_.___
Recent Activity:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
FREE JOB RESOURCES
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

http://www.vyoms.com/

EMPLOYERS SEARCH FROM OVER LAKHS OF FRESH QUALITY RESUMES FOR FREE
http://www.vyoms.com/employers/

Get Thousands Of Relevant Fresher Jobs FREE OF COST
http://www.vyoms.com/jobs/job-types/details/freshers-jobs-1.asp

Get Thousands Of Relevant Experienced Jobs FREE OF COST
http://www.vyoms.com/jobs/job-types/details/experienced-jobs-2.asp

Get Thousands Of Relevant Walk-Ins FREE OF COST
http://www.vyoms.com/jobs/job-types/details/walk-ins-4.asp

MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Re: [agile-testing] Re: Continuous Deployment

 

Here's a link to the book.
http://www.amazon.com/Continuous-Delivery-Deployment-Automation-Addison-Wesley/dp/0321601912

But here's the best link for what you are looking for.
http://lmgtfy.com/?q=continuous+delivery

MalcoLm

--

Malcolm Anderson
Scrum Coach & Agile Engineer
http://www.PragmaticAgility.com/blog





On Wed, Jan 18, 2012 at 3:36 AM, gishu_pillai <gishu.pillai@gmail.com> wrote:
 

Where did you find this term? Links?

AFAIK someone has to test software. I've heard of "self-checking" which is 'tests that can exercise a path and verify the result without manual assistance'. Self-testing seems to indicate some sort of AI :)



--- In agile-testing@yahoogroups.com, "seanalexaoife" <coyle.james@...> wrote:
>
> Hi,
>
> question for my esteemed colleagues:
>
> Continuous deployment / continuous delivery is a hot topic these days. And one area I'm particularly interested in is 'self-testing software'.
>
> What are people's opinions on what is meant by 'self-testing software'? What does this look like? Is it unit testing by another name? Or is it deeper than that? Does it include the automation of black box tests? And is this now done by the developers? (I'm in a traditional developer / tester agile'ish team).
>
> Thanks
>



__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___