PrefaceThis tutorial assumes some background knowledge of programming, but no prior experience with Raspbian (or any Linux distribution), GPIO microprocessors (Pi, Arduino, etc), or Python. References may be made to previous tutorials.
This is the first article of a series on PIC32MM programming using C++ and assembly.Here, I show how to set up the minimal hardware and software environment required for a microcontroller Hello World! project, that is the ‘blink a LED’ application.
We have a long way to go, thus, in order to quickly set the stage, we consider following psuedo code we often encounter:
Note: Auto-pulled from my blog: http://raddev.us/arduino^I only recently bought an Arduino Uno knock-off board because they finally became inexpensive enough (less than $12 USD). I’m very cheap.
I’m excited that more and more of you are finding success fixing app quality issues using the Android vitals section in the Google Play Console. Since my first article about Android vitals, we’ve been making improvements to bring you new metrics and features. In this article, I’ll start with a look at what’s new, then take you through how to work with the stuck wake locks and crashes.
sp_depends have been one of the most used system stored procedures in SQL Server. In fact, many of us still use that even though Microsoft had annouced that it will be removed from the future releases.
It’s a bit tricky, since on-line non-MS code examples are incomplete.Step #3 will get you the Span<T> feature needed for using the ranges.cs code.
DevOps is a combination of software development and operation (Dev & Ops) which strongly advocate automation at all steps in software development process. This will enable faster delivery, more stable operating environment with minimum human errors, less maintain cost and many more advantages for software development team.
This is the 4th in a sequence of articles about DARL A language and online REST interface and SaaS service that enables you to build and employ fuzzy logic expert systems, and even create them using Machine Learning.
This article details a C# class that can be used to get elevation data from a Bing map.While developing a mapping project, we were looking for a way to get elevation information for a specified list of location(s). After exploring a few alternatives, we decided to get this information from Bing. However, the Bing map library does not seem to have a way to get elevation information for a specific location and an HTTP query is necessary.
Postman Collection and Environments zipPostman is one of the most popular REST API clients which provides a complete workflow for API development. In this article, we are going to discuss the Postman Environment and its benefits.
In this article, we will be hosting ASP.NET WEB API to Azure Service Fabric by the following three steps:
Recently, we had worked on a BizTalk project that had requirement of pipe delimited flat file (FF) generation. We had several learnings due to the various requirements that were expected from this task. I would like to share some of the learnings in this article which may help others during development.
Howdy! That’s what my Architect says, whenever he starts the daily scrum. I am saying the same as I am writing an article after a long time. That’s a shortcoming from my side as I haven’t learnt anything new or worth sharing for a long time now! All those years, I am shamelessly taking inspiration from others, without contributing much.
Technologies are constantly evolving and as developer we need to cope up with what’s the latest or at least popular nowadays. As a starter you might find yourself having a hard-time catching up with latest technologies because it will give you more confusion as to what sets of technologies to use and where to start. We know that there are tons of resources out there that you can use as a reference to learn but you still find it hard to connect the dots in the picture. Sometimes you might think of losing the interest to learn and give up. If you are confused and no idea how to start building a web app from scratch, then this series of article is for you. Here’s the current list of the series for this application:
Building RESTFul APIs has been very popular nowadays and most projects that we build today heavily rely on APIs/Services to communicate with data. As you may know, creating Web APIs is an easy task, but designing a good API isn’t as easy as you may think especially if you are working with a lot of projects or microservices that expose some public API end-points.
Note: This article was pulled from my blog at: http://www.raddev.us/Arduino/If you’ve spent any time at all with an Arduino, then you know how to write a program for it. I uploaded the program (shown below) to simply blink an LED on digital pin 5 on my Arduino Uno (knock-off) board (Amazon link).
Getting started with Arduino programming can seem like a daunting task. In addition to learning the ins and outs of writing Arduino code in C, you usually also have to assemble electronic parts using a breadboard. This can feeel overwhelming to an experienced programmer who’s trying to take his or her first step into the Arduino world.
In this article, we are going to learn how to log each request and response of an API such that it helps to maintain logs, next we are going to handle all API exception such that if an error occurs, we can store errors and fix it as soon as possible, and last part is versioning of the API.
This article is the continuation of a StackOverflow question asked by SimpleVar: “Generating permutations of a set (most efficiently)”. It shows many fast implementation of permutation algorithm. There is also a contribution by providing a unique way to index permutation allowing to get a specific permutation based on lexicographical order.
First, let’s describe the problem we want to solve. I have an ASP.NET MVC Web service. The service accepts POST-requests containing JSON descriptions. After analyzing such description, the service constructs and executes several SQL queries to a database. Then it combines results and returns them to the client.
This article shows Wiegand protocol implementation on the Arduino Nano.The Wiegand protocol, albeit elementary, is still widely used by keyboards (and keycard readers) in access control systems. A brief description follows.
This article explains how to create fully functional .DLL and .LIB modules for Windows using pure assembly language. While much of the discussion for the article is centered on working off of Visual Studio, the .DLL and .LIB modules you create can be integrated into any language that allows their use. What’s generated are standard .DLLs, with nothing to distinguish the final product from .DLL modules created any other way.
The world (and software development) can be chaotic, so we have conventions and rules to bring about order. This enables progress, but we must also recognise the cost.
As a software engineer, I was always interested in how a computer can be taught to behave intelligently, at least on some simple tasks that we can easily solve within frames of seconds. One of them applies to audio recognition, which in recent years has been analyzed thoroughly. For this reason, in this article, you will be introduced to one of the complex tasks which arose in the field of computer science: the efficient comparison and recognition of analog signals in digital format. As an example, consider an audio signal Ψ1, which you would like to compare to another Ψ2 in order to see if they both are coming from the same song or audio object. Any person could cope with this assignment with no problem at all, but computers unfortunately are not that intuitively “smart”. The difficulty lies in the fact that each of the signals might have distinct digitized formats, thus making their binary signatures totally opposite (resulting in an obsolete byte-by-byte comparison). The dissimilarity may also result because of the combination of variant internal characteristics of the same audio format (bit rate, sampling rate, number of channels (mono, stereo, etc.)). Even if you proceed with the conversion of the files to some predefined specifications (e.g., 44100 Hz, stereo, WAVE PCM format), you still might bump into the problem of having different binary representations because of the possible time misalignment, noise, distortion, or “loudness levels” for the same song (“loudness” technically defined as amplitude level).
Authentication and Authorization have been integral parts of every system I worked on, as far as I can remember. Things have changed over time, though. Once there was only a table with usernames and passwords, and the stand alone application would have a login screen displayed at the begin of a session. The application was responsible for checking if the password was correct for the username, and for restricting access to resources based on who the user was. There was a session in place and a logged in user was so granted we did not have to worry about it. The user data was always available.
From the moment I became a professional developer, I started creating code to handle authentication and authorization in applications. Life was so simple at that time! Usernames and passwords were restricted to five alphabetic characters, the colors on the display were only amber and black, and the number of computers on the network was one: the mainframe. Access to the data center was restricted and there was no such a thing as the Internet available.
This is an open-source document; for an updated version, see the source code or its rendering on GitHub. You can send comments on this document either on CodeProject or on the GitHub issues page.
The QR Code library allows your program to create (encode) QR Code image and to read (decode) an image containing one or more QR Codes. QRCodeEncoderDecoderLibrary is a .NET framework class library. The source code is written in C#. It is an open source code. The downloads attached to this article include the .NET library and three demo/test applications.