このブログエントリは Node-RED Advent Calendar 2016 への寄稿となります。 はじめに 「参加します!」って言ったときは、ノリだけでクリスマスイブだって意識全くなくて、ワクワクが足りない内容だったらごめんなさい。 と、ハードルをさげておいて。勉強会でもお話しした内容なのでご存知の方は既出となります。本家のマニュアルが英文のみなので、GUI 含めた解説があったらもっと入門が楽になるかなと思い立って書くことにしました。 Node-RED とは Node.js をつかった GUI からソースコードを生成するオープンソースのツールで、Input Output 処理をつなぐだけでコーディングをほとんど行わずに様々な処理を行うことができます。 Input Output という概念から IoT 用途での利用例が比較的多く、クラウドサービスとの親和性も高く、もちろん Azure でも利用可能なツールです。 このブログエントリでは Azure 上で利用する方法について説明していきます。事前に Azure を利用するための手続きを行ってください。動作確認程度の利用であれば、Dev Essential の特典がよいと思います。 Azure には Web Apps という PaaS のサービスがあるのですが、Node-RED で利用可能なポートが 443/80 以外のポートとなる(デフォルトでは 1880 )ため、IaaS のサービスを利用します。 Azure の IaaS で Node.js サービスを立てる まず、Azure のポータルにログインします。 左上の新規をクリックします。…
Using REST API to pause Azure SQL Data Warehouse – “Bearer authorization error=’invalid_token’, error_description=’The authentication scheme of not supported”
A customer of mine recently approached me for assistance to help in resolving an Authorization error he was receiving when he was running a custom prepared automation script in C# that would pause and restart the SQL data warehouse. To save costs, you can pause and resume compute resources on-demand. He had tried the…
Automatically Monitor and Change the service tier and performance level (pricing tier) of an Azure SQL database based on the DTU alert using Webhooks, Alerts, Runbooks
We all know how easy it is to change the service tier of an Azure SQL database as the needs of your application change using the Azure Portal/PowerShell. But what if you want to automate the upgrade and the downgrade of your database? And, what if you have many databases and don’t want to…
Would a DMARC reject record have prevented Donald Trump from getting elected?
One of the reasons I just wrote that four part series on where email authentication is helpful against phishing, and where it is not-so-helpful, is because I wanted to examine the John Podesta email hacks. In case you’re not aware, John Podesta was the Chair of the Democratic Campaign to elect Hillary Clinton for President…
Get started writing games for Windows 10 – Part 2
Happy Holidays! Way back in Part 1, we looked at how to set up a Windows 10 UWP app that would use MonoGame to draw some sprites on the screen. If you are wondering how to move things around the screen in a non-XAML kind of way, MonoGame is perhaps one of the simplest ways…
Premier Support Helps Keep Santa Flying
Each year, NORAD Tracks Santa across the globe in an event that captures the heart of children and adults worldwide. Families can take part using a range of applications and devices to watch Santa’s progress in real time. Premier ADMs, Chris Mason, Bernard Apolinario, and developer consultant Geoff Gray share a glimpse of what goes…
Poslední Hovory tohoto roku, číslo 11
Vítejte u posledních Hovorů tohoto roku! Doufáme, že byl pro vás rok 2016 úspěšný, že jste poznali nové technologie a že jste díky nim úspěšní. Přejeme příjemné prožití svátků a konce roku a těšíme se na vás v tom dvoutisícím sedmnáctém. Martin a DX tým Odkazy: Azure SQL retence na 10 let Azure Functions GA…
Data Management Import Performance Issue with Cursor Fetch
I recently have a data import slowness issue reported taking days to process without finishing even in batch run in parallel. This issue could occur with any entity import especially for new company go-living or with no data in the target entity. The impact is exponentially worse when more data is imported, so I would like to share…
My Take on an Azure Open Source Cross-Platform DevOps Toolkit–Part 7–To be continued
Stopping the previously running container and running the freshly built one As we enter step 5 we will now begin to think about testing the running container. But before we can do that we have to make sure that firstly stop all running containers. Once we’re sure that all containers are stopped, we can run…
Convert WAV files to FLAC
The easiest way that I’ve found to convert your WAV audio files to FLAC format so they’re compressed without losing any audio quality is to do the following: Make sure you have Chocolatey installed (which should be on every machine already. 🙂 ). Open an elevated PowerShell prompt and run the following command: choco install -y…