$connection = New-Object System.Net.Sockets.TcpClient("google.com", 80)Write-Host $connection.Connected
If the server is accessible via the provided IP and port, the 2nd line will return the status = Connected
$connection = New-Object System.Net.Sockets.TcpClient("google.com", 80)Write-Host $connection.Connected
There’s
been quite a bit of talk recently on the web about the new partnership with MapBox
to deliver new map capabilities to Cognos Analytics (and there isn’t much talk
about the discontinuation of support for ArcGIS in this new version). I decided
to spend a bit more time to learn about the map functionality in this new
Cognos version. The best way to get to know something is by doing it. So I
cooked up some “real” requirements and tried to build a few dashboards.
The first
one, I like to see whether a change in average temperature will affect the
number of calls to fix break/leak issues related to water supply piping system,
and whether a change in average rainfall will affect number of calls related to
sewage/drainage systems. The data should be broken down to suburb and post-code
level. Below is what I got:
For the second
one, I like to compare the average planned vs actual labour hours spent on maintenance work, and the amount of time field workers spent to get to work location vs the amount of time spent on doing actual maintenance work. The purpose is to see
whether there is a difference in remote
areas and if it affects planned vs actual ratio. Below is what I got:
Overall, I am impressed with the ease of use, the responsiveness, and the level of interactivity of this new Map control in Dashboard. However, through this exercise, I found there are quite a number of limitations to this new map control:
I tried to
create a new Framework Manager project to build a package which I will join
some big Maximo tables (Assets, Workorder etc.) with some general
geo/demographical data I pulled from the Web. Framework Manager kept crashing
with this annoying error. After some quick search on the web, I realized the
issue with FM crashing is not uncommon, and there can be a thousand reasons for
that. To be honest, from the perspective of a software developer, most of these
are simple and stupid exceptions which should be caught or fixed easily by the
Cognos R&D team. Good software should give the end-users useful error messages
about what they did wrong. But anyway, this is not another post to complain, just
a quick note on another crash scenario so you can avoid: