In other news
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Blog Articles

Belly of the Beast: It's Complementary!

There are times when it's very handy to understand exactly how numbers are represented inside a computer. I'm sure you know that numbers (at least integers) are represented in binary (base 2) form. Bu...

Tips and Tricks: The Wrong Sort...

Have you ever had trouble sorting stuff into the "right" order? JavaScript (and most other languages), by default, sorts numbers into numeric order and everything else into lexicographical (i.e., alph...

Tips and Tricks: Deeply Weird...

Consider this little piece of code:var x = 0.1;var y = 0.2;var z = 0.3;if(z == x + y) gs.log('Of course 0.3 equals 0.3!');else gs.log('What a moronic computer!');What do you think it will print out?Ap...

Tips and Tricks: Analyzing Tabular Text...

It's a fairly common challenge when writing Discovery probes or Runbook activities: you've executed some command on a computer, it returns some text in a tabular format, and now you need to analyze it...

Round 'Em Up!

Sometimes you'd rather show "265" on the screen instead of "265.39128376465" — perhaps because it's just easier to understand, or perhaps because the calculation that yielded that very precise looking...

Tips and Tricks: Sets in JavaScript...

Not long ago I came across a piece of code whose purpose was to eliminate the duplicates from a comma-separated list of email addresses. The approach taken was to put the email addresses in an array, ...

Tips and Tricks: Double or Nothing...

Not long ago I helped someone troubleshoot their script, which had the same problem as the sample script below. I'm more than old enough to have a glass of wine, but the script below says I'm to get a...

Phoenix is Hot!

Earlier this month I visited a customer in Phoenix, Arizona. I rented a little red car with a black interior, and made the mistake of leaving the windows rolled up tightly. During the day the temperat...

Help Wanted...

Service-now.com is growing, including our team of Discovery, Runbook Automation, and CMDB developers. If you (or someone you know) are an insanely great Java and JavaScript developer, know your way ar...

A Useful Trick...

Sometimes when you're writing a script, you need to query one table but get results based on fields in another, related table. For example, you might want to query for NICs on Windows servers. The NIC...

Service-now Management Reporting

I'm curious how many customers are at a stage with their implementation where they are able to create dashboards that summarize the health of their business services and infrastructure. Essentially th...

Scriptomatic and WMI classes

If you are a Discovery customer interested in writing your own custom Windows probes and sensors, the first step you want to do is often identify the information you're going after. As powerful as the...

Updated Documentation: Content Management

Hi everyone,In conjunction with Mark O'Donnell, our Content Management guru, we've rewritten the Content Management documentation to make the plugin easier to use. Particularly, we focused on writing ...

Documentation Wiki News: Main Page Redesign

Hi everyone,As always, we're looking to improve our documentation not only in terms of its content, but in terms of the Wiki itself and the structure of the documentation. Today we're rolling out a ne...

New Documentation: Spring 2010 Release

Hi everyone,A couple weeks ago we got the Spring 2010 release notes out the door. It was a pretty big release: four big new applications (Field Service, Service Portfolio, Project, and Cost management...

Documentation Updates

Hi everyone,I've started this blog to help keep everyone informed about new articles and topics in documentation, so that you'll know when more information is available for topics. I may also use this...