August, 2016

article thumbnail

Build A Time-Based One-Time Password Manager With Ionic 2

The Polyglot Developer

A few years back I created an Android and iOS application called OTP Safe that managed time-based one-time passwords. This application was made with the first version of Ionic Framework and at the time was great because it accomplished more than the Google Authenticator application. Now that Ionic 2 is approaching stable release, it seemed like a cool idea to take this one-time password application and build it with the latest and greatest including Angular.

Google 59
article thumbnail

What is Negative Testing?

Testlodge

Software testing is often thought of as simply making sure the application’s features work as expected. If I do this then that should happen. Sure, this is obviously a big part of what testing involves, but if that’s all we as testers did, we’d be failing our users. Proper test coverage involves both positive and negative testing.

Testing 44
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Create Table – Disk vs In-Memory Optimized

SQL Server According to Bob

I had an interesting e-mail discussion related to the performance of create table. The test being executed was a tight loop of create table statements. The assumption put forth was in-memory optimized table creation was slower and they expected it to be faster. We are not talking about the performance of inserts, updates, deletes and selects but instead looking at the time it takes to perform create table.

C++ 40
article thumbnail

Introducing LoadView: Real Browser Based Load Testing Software

Dotcom-Montior

LoadView is a new load and stress testing product capable of performing load tests that scale to thousands of simultaneous users. The complete details of the new LoadView product are currently featured on www.loadview-testing.com. LoadView is a powerful cloud-based load testing tool that can run in real browsers as well as headless http tasks to… The post Introducing LoadView: Real Browser Based Load Testing Software appeared first on Dotcom-Monitor Web Performance Blog.

article thumbnail

Object Files and Symbols

O'Reilly Software

What was supposed to be one blog post about memory segmentation turned into what will be a series of posts. As the first in the series, we cover the extreme basics of object files and symbols. In follow up posts, I plan to talk about static libraries, dynamic libraries, dynamic linkage, memory segments, and finally memory usage accounting. I also cover command line tools for working with these notions, both in Linux and OSX.

40
article thumbnail

Object Files and Symbols

Nick Desaulniers

What was supposed to be one blog post about memory segmentation turned into what will be a series of posts. As the first in the series, we cover the extreme basics of object files and symbols. In follow up posts, I plan to talk about static libraries, dynamic libraries, dynamic linkage, memory segments, and finally memory usage accounting. I also cover command line tools for working with these notions, both in Linux and OSX.

C++ 57
article thumbnail

Use Mozilla’s LocalForage For Key-Value Storage In Ionic Framework

The Polyglot Developer

A few years ago I wrote an article called Use ngStorage for all Your AngularJS Local Storage Needs , which was intended to be for AngularJS in general. However, I understand many readers were using it in their hybrid Apache Cordova or Ionic Framework applications. There is nothing wrong with this. However, ngStorage is a wrapper for HTML5 local storage which is known to have compatibility issues under certain circumstances.

Storage 52

More Trending

article thumbnail

COLD, WARM, HOT … CLEAN, DIRTY, FREE … What Does All This Mean?

SQL Server According to Bob

I was asked about these terms from a blog reader. As I thought about these terms and how to blog about them I became concerned that I might just be as clear as mud, but I will do my best. Each of the terms means something within a specific context. For example, when your teenager says something is “BAD” they really mean is it GOOD. You have to understand the context in which the term is being used to fully understand the meaning.

Cache 40
article thumbnail

Introducing LoadView: Real Browser Based Load Testing Software

Dotcom-Montior

LoadView is a new load and stress testing product capable of performing load tests that scale to thousands of simultaneous users. The complete details of the new LoadView product are currently featured on www.loadview-testing.com. LoadView is a powerful cloud-based load testing tool that can run in real browsers as well as headless http tasks to load test your website or web application.

Testing 40
article thumbnail

Three Simple Ways To Get Online With A Raspberry Pi Zero IoT Device

The Polyglot Developer

As you know from the guides that I put out, I’m a Raspberry Pi collector. I collect the full size units as well as the Pi Zero units. In a previous post I explained how to emulate ethernet over a USB as a way to connect to a Pi Zero that is not using WiFi or ethernet. However, what happens when you decide you’re at a point where you’d like to bring your Pi Zero online?

IoT 52
article thumbnail

Unit Testing A NativeScript Angular Android And iOS Mobile Application

The Polyglot Developer

Writing tests is a very important part of mobile application development, but not everyone does it. It could be laziness, it could be because you don’t know how. I fall into the category that I’m often too lazy to write tests. I don’t have time to write tests, I just want my application done. That is probably not a good answer. Unit testing will lead to overall better applications with less problems down the road.

Mobile 52
article thumbnail

Create An Amazon Alexa Skill Using Node.js And AWS Lambda

The Polyglot Developer

Recently I published my first skill for Amazon’s Alexa voice service called, BART Control. This skill used a variety of technologies and public APIs to become useful. In specific, I developed the skill with Node.js and the AWS Lambda service. However, what I mentioned is only a high level of what was done to make the Amazon Alexa skill possible. What must be done to get a functional skill that works on Amazon Alexa powered devices?

Lambda 52
article thumbnail

Use Mozilla’s LocalForage For Key-Value Storage In Ionic 2

The Polyglot Developer

When it comes to saving data in an Ionic 2 mobile application, there are many ways to get the job done. You can use the classic HTML5 local storage, but run the risk of compatibility problems between all available devices. You can use SQLite , which is part of Ionic Native, but that will only work for Android and iOS and has more of a mobile API. You can also use SqlStorage , but that is a very proprietary solution.

Storage 52
article thumbnail

Using Couchbase Server In A Golang Web Application

The Polyglot Developer

Not too long ago I wrote an article regarding how to create a RESTful API using the Go programming language , but in it I only used mock data rather than an actual database. What happens if we want to use a database with Golang? What database, or more importantly, what kind of database should be used? Most APIs transfer data in JSON format, so it might make sense to store data in the same format.

Servers 52
article thumbnail

Test Amazon Alexa Skills Offline With Mocha And Chai For Node.js

The Polyglot Developer

By now you’re probably aware that I’m all about Amazon Alexa skills since I’m a proud owner of an Amazon Echo. I had released a Alexa skill called BART Control and published a guide on creating a simple skill with Node.js and Lambda. If you went through my Node.js and Lambda guide you probably found it pretty painful to test the skill you were working on.

Lambda 40
article thumbnail

TPDP Episode #8: Asynchronous and Event-Based Programming with RxJS

The Polyglot Developer

When it comes to modern JavaScript development, there are a few different ways to handle asynchronous events or data. You could use promises and callbacks, but as great as they are, present certain limitations. This is where RxJS comes into play with its reactive programming model. In this episode of The Polyglot Developer Podcast, guest speaker Ben Lesh and I discuss RxJS and where it fits in modern JavaScript development, whether it be server-side or front-end.

article thumbnail

Converting Your Ionic Framework 1 Application To Ionic 2

The Polyglot Developer

Ionic Framework has been around for a few years now and has completely changed the way people develop hybrid mobile applications. With Angular out and Ionic 2 nearing stable release, the Ionic 1 and AngularJS predecessor will be a thing of the past and forgotten. What if you’ve gone all in with the first version of Ionic Framework , how do you convert to the latest and greatest?

Mobile 40
article thumbnail

How It Works: Session/SPID (–2) for DTC Transactions

SQL Server According to Bob

I have written on this subject before but it seems to come up from time to time, as it did again this week. The Session (SPID) = –2 is just a place holder used by SQL Server to indicate that the DTC transaction is still active but there are no sessions enlisted/propagated into the transaction. Here is how to reproduce the scenario. Client creates and owns a DTC Transaction Client connects to SQL Server, and enlists in the DTC transaction.

Servers 40
article thumbnail

Using SqlStorage Instead Of SQLite In An Ionic 2 App

The Polyglot Developer

When it comes to Ionic 2 there are many ways that you can store your data. For example you could use HTML5 local storage, Mozilla’s localForage library, or Ionic’s SQLite extension that is part of Ionic Native. With these options available, I get a lot of requests for information on Ionic’s less advertised SqlStorage option. We’re going to take a look at using SqlStorage in an Android and iOS application rather than the SQLite alternative.

Storage 40
article thumbnail

Connect To Multiple Wireless Networks With A Raspberry Pi

The Polyglot Developer

So I recently picked up some more Raspberry Pi 3 units. You’re probably thinking I’m building my own T1000 (Terminator reference) with these things. No, actually I got these units for work to play around with some IoT projects around the office at Couchbase. I have a few offices that I visit at Couchbase which brought up my need to have multiple possible wireless networks to connect to as I travel.

article thumbnail

How It Works: Sync IOs in nonpreemptive mode longer than 1000 ms

SQL Server According to Bob

Have you encountered the following in your SQL Server error log? Long Sync IO: Scheduler 95 had 1 Sync IOs in nonpreemptive mode longer than 1000 ms. There are two general types of I/O performed by SQL Server. Async – Vast majority of SQL Server I/Os, as outlined in the provided link: [link]. Sync. The message I am blogging on today is of the Sync variety.