1Gig-Tech (#28) – Docker, MongoDB, SemanticUI, GPU .NET

March 26, 2016 1Gig Tech No comments

Welcome to 1Gig Tech update!

In today’s edition, there are 24 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • Google Nik Collection
    NVIDIA GeForce 8 Series, GeForce 9 Series, GeForce 100 Series, GeForce 200 Series, GeForce 300 Series, GeForce 400 Series, GeForce 500 Series, ATI Radeon HD2000 Series, Radeon HD3000 Series, Radeon HD4000 Series, Radeon HD5000 Series, Radeon HD6000 Series.
  • Less Tutorial for Beginner : Understanding Less
    You may have heard or tried before or you know basic and willing to grow your LESS knowledge. Here I am going to make a complete tutorial for less. As this is the starting point, let’s understand what is less and why do we need this awesome preprocessor instead of plain css.
  • The Ten (10) Best Node.js Productivity Tools, Plugins, and Libraries
    Every engineer worth his/her salt should have a set of awesome tools to help increase productivity. Livecoding.tv engineers are no exception. We would like to share one such set of tools, plugins, and libraries that Node.js streamers use on Livecoding.tv on a daily basis. IO.
  • Free Learning
    Register for an account and access leading-edge content on emerging technologies.
  • Brand new Docker Machine for Azure
    We are very excited to announce a new Azure driver for Docker Machine. Docker Machine is a tool that lets you create virtual machines with Docker on your laptop or on cloud providers and manage them.
  • MongoDB Data Master Bootcamp
    MongoDB has quickly become one of the most popular NoSQL database solutions available, and will quickly enhance your ability to handle data with ease. With a document-based approach, MongoDB lets professionals model data however they prefer.
  • Development With A Dot – Using MEF in .NET Core
    For those who don?t know, the Managed Extensibility Framework (MEF) is alive and well, and has been ported to .NET Core as Microsoft.Composition (source here). Not all of MEF has been ported, just …
  • GPU Computing on .NET at Speed of CUDA C++ (dani)
    In the last post we gave a sneak preview of the upcoming Alea GPU version 3. Alea GPU version 3 sets completely new standards for GPU development on .NET. The highlights of the new version are:
  • Top 7 terminal emulators for Linux
    Are you a system administrator, Linux power user, or just spend a lot of time at the command line? Then chances are, your choice of terminal emulator says something about you.
  • Simplify Your Applications with Asynchronous Processes (Peter Vogel)
    With the right tools, creating an asynchronous application can give you not only a more responsive application that makes better use of your multi-core computer, it can also make your application simpler. Really, asynchronous applications should be your default choice.
  • Keep Track of What Your Code Really Did (Peter Vogel)
    When it’s important to know what path your application took when processing data, a log of that path can be helpful. And, when you need to make a decision in your code based on an earlier decision, that internal path can make your code both simpler and easier to understand.
  • Improving Development with TypeScript (Long Le, MSDN Author)
    What does the world look like in TypeScript? What do you gain or lose by coding in TypeScript versus ES6? In case you’ve been pondering this question, today we’ll do a deep dive to help you sort the answer. The best way to illustrate this is with code, so let’s dive right into it.


You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

Session – Internet of Things – Devices and Azure Telemetry (Azure Florida Association)

March 24, 2016 Azure, IoT, Sessions No comments , ,

I am really excited to share my upcoming session on Internet of Things – Devices and Azure Telemetry organized by Azure Florida Association.

The session will be online on GotoWebinar and in one hour I will cover range of topics on Internet of Things.

Date: 30 March 2016 9:00 PM SST (UTC+8)
Duration: 1 hour

What’s on the plate?

The topic of “Internet of Things” pops up in almost every geek world and yet it’s the term that has been misinterpreted the most. This session will cover what’s Internet of Things and the various IoT devices in the market, their inter-communication and how these devices can send telemetry to the Azure world to generate real time analytics and business insights

Register yourself for this free session at Register : Internet of Things – Devices and Azure Telemetry

Watch online at: https://attendee.gotowebinar.com/register/5288930578994944258

The event page is available on Azure Florida Association portal

Raspberry PI to Detect Network Bandwidth (using NodeJS)

March 21, 2016 IoT, NodeJS, Raspberry PI No comments , ,

Couple of weeks ago I did an experiment on my Raspberry PI 2 to detect the speed of my ISP using a lot of Shell scripts. The end result was quite satisfying as I could post a tweet like the one below to let my ISP know that the Internet speed at my home wasn’t good enough. I had few follow-ups with my ISP’s support team and now the Internet speed is quite good

I thought over it to automate this and I had two options – cron jobs or move this to more managed code like NodeJS. I tried multiple libraries and finally nailed on npm library speedtest-net.

var speedTest = require('speedtest-net');
var test = speedTest({ maxTime: 5000 });
test.on('testserver', function (server) {
        pingTime = server.bestPing;
});

test.on('data', function (data) {
         var downloadSpeed = data.speeds.download + ' Mbps';
         var uploadSpeed = data.speeds.upload + ' mbps';

         console.log("Download speed", downloadSpeed);
         console.log("Upload speed", uploadSpeed);
});

test.on('error', function (error) {
         console.error(error);
});

The next step was to send a tweet to Twitter. I had two options to this – use Twitter API or adopt IFTTT platform. I preferred IFTTT as it gives me options to trigger an event and associate any action for the event. So I could, today choose, to tweet the speed and could tomorrow also have it emailed or routed to another channel.

I created an API key on IFTTT Maker Channel and created a Recipe with Trigger Channel as Maker. Event Name (as shown in below screenshot) defines the event that your code will invoke

 

 

 

 

 

 

 

As part of “THAT” action, I selected my Twitter Channel to Tweet the event data. Maker Channel allows us to send 3 values “Value1”, “Value2” and “Value3”

With this, I was ready to wire code to send my Network Speed to Twitter. I changed my NodeJS code to use NPM library node-ifttt-maker as below,

var IFTTT = require('node-ifttt-maker'),
         ifttt = new IFTTT('my-ifttt-maker-api-key');
var minDownloadSpeed = 50; // 50% of promised speed 100 Mbps?

// Send Alert only when speed is less than min download speed
        if (data.speeds.download < minDownloadSpeed){     
            ifttt.request({
                event: 'speedtest',
                method: 'POST',
                params: {
                    'value1': data.server.location,
                    'value2': downloadSpeed,
                    'value3': uploadSpeed
                }
            }, function (err) {
                if (err) {
                    console.log(err);
                } else {
                    console.log('OK');
                }
            });
        }

When the speed test completes (i.e. “data” function) it sends a POST request to IFTTT Maker Channel with relevant information and the Maker Channel routes it to the preferred channel (in this case Twitter). With no code change, you can change the output to Email, Facebook, GitHub, Google Drive, OneDrive, etc.

Now you can run this NodeJS code to monitor your network.

With this, running at regular intervals (not too often though) you can monitor your network speed and decide when to stream Netflix. That’s how I get a seamless streaming experience.

Caution: Ethernet Ports have a bandwidth defined. Raspberry Pi (as of 20 March 2016) does not support Gigabit Ethernet so before tweeting in public check the max bandwidth your IoT device supports and do not try this over WiFi as WiFi speeds may be slower.

1Gig-Tech (#27) – Roslyn, SQLServer, Linux, Xamarin, TFS

March 13, 2016 1Gig Tech No comments , , , ,

Welcome to 1Gig Tech update!

In today’s edition, there are 12 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • A Quick Primer on Microservices (Omed Habib)
    Martin Fowler’s “Microservices – a Definition of This New Architectural Term” is one of the seminal publications on microservices. He describes some of the key characteristics of microservices as: Componentization: Microservices are independent units that are easily replaced or upgraded.
  • Performance Tuning Apache Storm at Keen IO (Peter Nachbaur)
    Hi, I’m Manu Mahajan and I’m a software engineer with Keen IO’s Platform team. Over the past year I’ve focused on improving our query performance and scalability. I wanted to share some things we’ve learned from this experience in a series of posts.
  • How We Build Code at Netflix (Mike McGarr)
    How does Netflix build code before it’s deployed to the cloud? While pieces of this story have been told in the past, we decided it was time we shared more details.
  • Experimental .NET Core Debugging in VS Code (Andrew B Hall)
    Today we are releasing our first experimental preview of debugging for the new ASP.NET Core CLI toolset in Visual Studio Code. Before I continue it’s important to note a few things: With this first release you get breakpoints, stepping, variable inspection, and call stacks.
  • Microsoft/team-explorer-everywhere
    This project contains the Team Explorer Everywhere Plug-in for Eclipse, the cross-platform Command-line Client for Team Foundation Server, and the Team Foundation Server SDK for Java. Team Explorer Everywhere is the official TFS plug-in for Eclipse from Microsoft.
  • Announcing SQL Server on Linux (Scott Guthrie)
    It’s been an incredible year for the data business at Microsoft and an incredible year for data across the industry. This Thursday at our Data Driven event in New York, we will kick off a wave of launch activities for SQL Server 2016 with general availability later this year.
  • AllAboutXamarin.com
    The latest tips, tutorials, news, and resources for Xamarin app developers. Powered by Dan Rigby and the Xamarin developer community.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

1Gig-Tech (#26) – Azure IoT, Xamarin, PowerShell, RaspberryPi

March 5, 2016 1Gig Tech No comments

Welcome to 1Gig Tech update!

In today’s edition, there are 10 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • .NET Framework Compatibility Diagnostics (Immo Landwerth)
    This post was written by Taylor Southwick, a software engineer on the .NET team. Updates to the .NET Framework 4 are delivered as highly-compatible in-place updates, which helps keep users’ applications running on the latest and most secure versions of the .NET Framework.
  • Easy IoT for Raspberry Pi
    Quickly connect your Raspberry Pi with our mobile app and manage your IoT projects with our online dashboard. Start Cayenne projects from your mobile phone.
  • VS Product Survey
    The information you provide is entirely voluntary. By filling out and returning this application, you agree that we can use, disclose, reproduce, or otherwise distribute your feedback at the aggregated level. Your personal information will remain confidential.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

1Gig-Tech (#25) – Live Coding, Books, StackOverflow, Azure, NuGet

February 22, 2016 1Gig Tech No comments , , ,

Welcome to 1Gig Tech update!

In today’s edition, there are 17 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • vhf/free-programming-books (and others)
    Original Contribution by George Stocker on Stack Overflow Original Source: List of freely available programming books Index Ada Agda Alef Android APL Arduino ASP.
  • Azure for Developers, Free O’Reilly Media eBook (O’Reilly Media)
    What programmers need to know about Microsoft Cloud Platform. Microsoft’s Azure platform has a vast array of features: cloud hosting, web hosting, data analytics, data storage, machine learning, and more—all integrated with Visual Studio, the tool that .NET developers already know.
  • Explore Pens on CodePen
    We’re all for progressive enhancement, but CodePen is a bit unique in that it’s all about writing and showing front end code, including JavaScript. It’s required to use most of the features of CodePen. Need to know how to enable it? Go here.
  • Stack Overflow: The Architecture – 2016 Edition
    This is #1 in a very long series of posts on Stack Overflow’s architecture. Welcome. To get an idea of what all of this stuff “does,” let me start off with an update on the average day at Stack Overflow.
  • Configuring the PowerShell Console (Jeff Hicks)
    If you are going to spend your days inside the PowerShell console, then you should make sure the console is configured to make life easier for you. Before we get started, let me make two distinctions.
  • GitHub Activity Guilt and the Coder’s FitBit (Scott Hanselman)
    I’m curious, how you feel about GitHub’s activity graph? I’ve found myself getting increased levels of guilt/stress over that graph. So much so I’m considering not using GitHub for personal projects (only use it for contributing pull requests, reporting issues, etc.).
  • How To Stop Worrying About ASP.NET Startup Conventions
    There are 2 kinds of developers. Those who love conventions and those who loathe conventions. The former group sees conventions as a means to remove boilerplate code and expose the essence of software by avoiding ceremony. The later group tends to view conventions as dangerous magic.
  • Visual Studio 2015 Update 2 CTP (Visual Studio Blog)
    Today we released Visual Studio 2015 Update 2 CTP. Our focus for this release has been stability and performance, along with responding to feedback you’ve given us on Visual Studio 2015 RTM and Update 1.
  • Azure Storage Latency Test
    Azure Storage Latency Test Test network latency to Azure Storage in worldwide data centers, determine the best region for your application and users. A closer data center will provide less latency and fast throughput.
  • DevOps Road Show : Mountain View
    Microsoft Office – Mountain View 1065 La Avenida Building 1- EBS 2036 Mountain View, CA 94043See map and/or driving directions Well known to millions of developers, the novel The Phoenix Project brilliantly captures the intricacies and challenges of modern DevOps and IT management.
  • Porting to .NET Core (Immo Landwerth)
    .NET Core is getting closer and closer to an RTM release. Only two months ago, we announced the RC release of .NET Core and ASP.NET Core. As part of our validation, we’re working with internal as well as external customers to port their code to .NET Core.
  • Project.json all the things
    One of the less known features of Visual Studio 2015 is that it is possible to use project.json with any project type, not just “modern PCL’s,” UWP projects, or xproj projects. Read on to learn why you want to switch and how you can update your existing solution.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

1Gig-Tech (#24) – XSockets, ChatOps, VSCode, AWS, Azure, Lucybot, Architecture

February 9, 2016 1Gig Tech No comments , , , , , ,

Welcome to 1Gig Tech 24th edition!

In today’s edition, there are 23 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • VS Code 0.10.8
    We are back from the holidays and are rolling again, looking forward to the Build 2016 conference. For //build, we’re focused on making VS Code accessible, available in additional languages, and stabilizing on a 1.0 API.
  • Windows 10 TH2 (v1511) Console Host Enhancements (oising)
    Yay! Console host enhancements! Wait… what is the console host? Is that cmd.exe? Or do you mean powershell.exe? It’s neither of these things and it’s both of these things, and more. Ok, I’m just making it more confusing. PowerShell runs in a cmd window, right? Nope.
  • Making a streamed layer in Bing Maps and XSockets (Perf)
    In many cases we want information in real time specially in these IoT days. Socket solutions are not just for real time. It is also a question about scaling. Instead of the clients asking the server for information on interval, the server pushes information to the clients that are interested.
  • A Guided Tour of the 2mb Fork
    Increasing the block size limit from 1 million bytes to 2 million bytes sounds so simple: just change the “1” to a “2” in the source code and we’re done, right? If we didn’t care about a smooth upgrade, then it could be that simple.
  • Google Makes Learning Neural Networks Free (DJ Pangburn)
    Like many other tech companies and researchers—and a growing number of digital artists—Google is very interested in machine learning, a vital component in creating artificially intelligent neural networks that would allow future machines to “think.
  • A better date and time API for .NET
    Find out more about Noda Time on our group mailing list or our blog. For more specific “How do I solve problem X?” questions, please ask on Stack Overflow using the nodatime tag.
  • Is your code ready for the leap year?
    As we enter February, it’s a good time to remember that 2016 is a leap year. For most people, this may just be an interesting oddity; an extra day to work or play. But for software developers, the leap year can cause significant pain.
  • LLBLGen Pro v5.0 Beta has been released!
    Since the first commit into the v5.0 fork back in the Fall 2014, we’ve been hard at work to make LLBLGen Pro v5.0 a worthy successor of the highly successful v4.x version. Today, we’ve released our hard work in beta, feature complete form: LLBLGen Pro v5.0 beta is now available.
  • About optimization and metrics · GitHub
    About optimisation and benchmarks; bottlenecks and what difference optimisation will make. 1) Wow! That’s incredible. What an achievement, that’s going to get people’s attention! How is that done? 2) Wait .. that is literally incredible.
  • Smart bulbs or how to be lazier (part 1) (Sergiy Baydachnyy)
    Probably, AllJoyn is the only topic that I have never covered in my posts. I simply don’t have any AllJoyn device. Once Microsoft introduced AllJoyn support I discovered that the cheapest LED costs around fifty American dollars and my positive attitude to AllJoyn decreased to minimum.
  • Timeline Profiling inside Visual Studio (Alexey Totin)
    With each new release, dotTrace deepens its integration with ReSharper and Visual Studio. In doing this, we aim to lower the entry barrier and make profiling easier to use on a daily basis, by moving profiling closer to code.
  • Don’t tell me what my browser can’t do!
    Chances are, your guess is wrong! There is nothing more frustrating than being capable of something and not getting a chance to do it. The same goes for being blocked out from something although you are capable of consuming it.
  • Feature Toggles – Architecture (Pete Hodgson)
    Feature toggles are a powerful technique, allowing teams to modify system behavior without changing code. They fall into various usage categories, and it’s important to take that categorization into account when implementing and managing toggles. Toggles introduce complexity.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

1Gig-Tech (#23) – Performance, DSC, PowerShell

January 31, 2016 1Gig Tech No comments , ,

Welcome to 1Gig Tech update!

Happy New Year! The New Year edition has 16 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • How to compute the Hash value of a file using #CSharp? (Kunal Chowdhury)
    When downloading from a remote location, many time we need to know whether the file downloaded properly or not. There are many techniques to know about it but among them, one of the approach is to check the hash value of the file. The Cryptography APIs of .NET can help you to calculate the same.
  • To base() or not to base(), that is the question (jonskeet)
    Today I’ve been reviewing the ECMA-334 C# specification, and in particular the section about class instance constructors. If a class contains no instance constructor declarations, a default instance constructor is automatically provided.
  • Performance Doesn’t Matter (Unless You Can Prove That It Does)
    The interesting thing about all of these questions is that they each have a defined, measurable answer. Almost certainly, .Any() will be faster than .Count() (for an IEnumerable, as we’ll see below). Almost certainly, in simple cases, Redis will be faster for reads than SQL Server.
  • VerbalExpressions/CSharpVerbalExpressions
    VerbalExpressions is a CSharp library that helps to construct difficult regular expressions. When first building the solution there will be external libraries that are missing since GitHub doesn’t include DLLs. The best way to get these libraries into your solution is to use NuGet.
  • Machine Learning
    Less than a year ago we decided to acquire Revolution Analytics, the leading commercial provider of software and services for R, the world’s most widely used programming language for statistical computing and predictive analytics.
  • Fixing Spaghetti: How to Work With Legacy Code
    What is Legacy Code? Legacy code is software that generates value for a business but is difficult for developers to change. The terms “code rot” and “spaghetti code” refer to legacy code that is tangled up in poor quality.
  • Gone Mobile 29: Push Notifications
    This episode covers pretty much everything there is to know about Push Notifications. From Apple’s APNS to Google’s C2DM and GCM, learn about what they are and how they work.
  • hack.summit() 2016
    You are now registered to hack.summit(). Please find your unique ticket number below. You will need it to watch the live conference. Don’t worry, we are also sending this to your e-mail right now, along with an automated reminder email 30 minutes before the event.
  • PowerShell Classes for Developers (Punit Ganshani)
    The DevOps Zone is brought to you in partnership with New Relic. Learn more about the common barriers to DevOps adoption so that you can come up with ways to win over the skeptics and kickstart DevOps.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

Global Azure Bootcamp 2016 Website Template

January 27, 2016 ASP.NET vNext, Azure No comments

Last year I had designed the website for Global Azure Bootcamp 2015, Singapore. The website contained information like Agenda, Speakers, Location, Contact, Sponsors, etc. With the help of Global Organizers around 10 countries were able to customize the template to host their own website for their local event.

This year again I’ve designed the template for Global Azure Bootcamp 2016, Singapore. However, unlike last year, the template needs absolutely NO development effort and NO knowledge of HTML5/CSS3/jQuery, etc.

You just need to provide your event information in a JSON file on GitHub repo and host your website as Azure WebApp (where else?). This process takes less than 10 minutes. You can host it on Linux / Windows as it is built using new ASP.NET Core 1.0

Here are some important links, to get you started

Wiki: https://github.com/punitganshani/azurebootcamp/wiki
Demo Site: http://demo-azurebootcamp.azurewebsites.net/
Singapore Site: http://singapore.azurebootcamp.net

One of my friends is also planning to use this information to create a Mobile Application so as far as you have the JSON file, your location will be automatically added to the Mobile App too. Stay Tuned for updates!

1Gig-Tech (#22) – TrackJS, Microservices, PowerShell, .NET CLI

December 27, 2015 1Gig Tech No comments , , ,

In the last edition for 2015, there are 11 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

Happy holidays!

  • Exploring the new .NET (Scott Hanselman)
    I’ve never much like the whole “dnvm” and “dnu” and “dnx” command line stuff in the new ASP.NET 5 beta bits. There’s reasons for each to exist and they were and they have been important steps, both organizationally and as aids to the learning process.
  • PowerShell Classes for Developers
    Classes in PowerShell have been a feature since long and creating objects of these classes isn’t new. From the classic way of creating objects of .NET classes (like the MailMessage in Example 1 below) or to defining a custom .NET class (in the Example 2 below), we have seen PowerShell extend .
  • Azure WebJobs are awesome and you should start using them right now!
    These real world experiences with Azure are now available in the Pluralsight course “Modernizing Your Websites with Azure Platform as a Service” No really, they’re totally awesome! I used Azure WebJobs in the very early days and whilst they served a purpose, I wasn’t blown away with them at the
  • Create a database, as easily as a spreadsheet
    A query UI anyone can use Filter, sort, group and report with ease. Even non-technical teammates can use our query UI. Save any query as a view to get back to anytime or to share with the team. A query UI anyone can use Filter, sort, group and report with ease.
  • What you need to know about Bootstrap 4 (Ezequiel Bruni)
    Bootstrap is beloved by many. Well, if not “beloved”, then it is at least appreciated for what it is: a giant framework with almost everything you could need for building a site or web app interface. Bootstrap is changing, though. That’s right, version four is in alpha release.
  • Data Science and Machine Learning Essentials
    Learn key concepts of data science and machine learning with examples on how to build a cloud data science solution with R, Python and Azure Machine Learning from the Cortana Analytics Suite.
  • A Review of JavaScript Error Monitoring Services (Raymond Camden)
    If you’re like me, then you’ve been diligent about writing the best JavaScript code you can. You lint. You write tests (both for the code and the UI). You check out your site in multiple different browsers, locales, time zones, and dimensions. You do a good job. Rock on, you.
  • Data Sketches – Yahoo! (YAHOO)
    In the analysis of big data there are often problem queries that don’t scale because they require huge compute resources to generate exact results, or don’t parallelize well. Examples include count distinct, quantiles, most frequent items, joins, matrix computations, and graph analysis.
  • TrackJS
    Minified JavaScript code is hard to debug. With Trackjs, simply drag-and-drop your sourcemap on to a stacktrace and we’ll automatically un-minify source code.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

We will resume again in Feb 2016 (yes, not in Jan due to some other commitments).

Thanks

Follow on Feedly