January, 2015

article thumbnail

The Fibonacci Sequence Printed With JavaScript

The Polyglot Developer

If you’re familiar with the material I write on my blog, you’ll probably be confused at why I’m making such a post. Anyone who has been a part of a Computer Science program at a university will probably have dabbled with Fibonacci in their first semester of school. However, many Computer Science graduates don’t realize that this is a common job interview question regardless of the company or job level that you’re applying for.

article thumbnail

Writing my first technical book chapter

Nick Desaulniers

It’s a feeling of immense satisfaction when we complete a major achievement. Being able to say “it’s done” is such a great stress relief. Recently, I completed work on my first publication, a chapter about Emscripten for the upcoming book WebGL Insights. to be published by CRC Press in time for SIGGRAPH 2015. One of the life goals I’ve had for a while is writing a book.

C++ 43
Insiders

Sign Up for our Newsletter

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

article thumbnail

Matrix IT Organizations, Part I: Turtles all the way Down

The Agile Manager

Multiple layers of authority overlap both horizontally (different people and committees engage with the same issue) and vertically (many decisions are liable to review by some other body). The lack of focus in decision making results in an absence of executive authority; while professional management is subject to random amateur interference. In consequence, able people are not easily attracted to management roles; and so the amateurs view the professionals with often justified and frequently re

article thumbnail

Writing My First Technical Book Chapter

O'Reilly Software

It’s a feeling of immense satisfaction when we complete a major achievement. Being able to say “it’s done” is such a great stress relief. Recently, I completed work on my first publication, a chapter about Emscripten for the upcoming book WebGL Insights to be published by CRC Press in time for SIGGRAPH 2015. One of the life goals I’ve had for a while is writing a book.

40
article thumbnail

Session Management In Your Express.js Web Application

The Polyglot Developer

I’ve still been doing a lot of fiddling with Express web framework for Node.js. I recently ran into an issue with saving data to sessions because much of the documentation online is outdated and no longer functional. However, I did get it working, and am going to discuss it in this guide. If you’re not familiar with Express, you may want to take a moment and read my other article regarding installation.

article thumbnail

Use Native Device Dialogs In Ionic Framework Mobile Apps

The Polyglot Developer

So you’ve been playing around with Ionic Framework for a while now and have decided that maybe $ionicPopup dialogs are not meeting your needs because they don’t look native enough. As we’ve come to expect, Apache Cordova has a plugin for us to correct this, giving us native device popup dialogs in our hybrid application. This guide will show you how to use the Apache Cordova Dialogs plugin in your Ionic Framework Android and iOS mobile application.

Mobile 52
article thumbnail

Deploy Ionic Framework App With Pre-Filled SQLite DB

The Polyglot Developer

Recently I did an article regarding SQLite as an alternative to local storage in an Ionic Framework application. The article was a guide for using the Apache Cordova SQLite plugin for data management. Since writing that post, a few of my readers asked me how to ship an application with a pre-populated SQLite database. A scenario where this might be useful is if you created a lookup directory for all the employees at your company.

Storage 52

More Trending

article thumbnail

Access The Native Device Clipboard In Ionic Framework

The Polyglot Developer

There are often times where you would need to copy information from your mobile application to your devices native clipboard. Maybe you are making an address book application and you want to copy a phone number to the clipboard when you click on a contact. Doing this with native code can become a challenge. Lucky for us, we are using Apache Cordova, and there is a plugin by Verso Solutions called CordovaClipboard.

Mobile 52
article thumbnail

Using Postman To Troubleshoot RESTful API Requests

The Polyglot Developer

A follower of my blog recently came to me asking for help with their Magento API service. If you’re unfamiliar with Magento, it is an Ecommerce solution by eBay that uses Oauth 1.0a to handle API requests. If you’ve been keeping up with my blog you’ll notice I had done a previous post on Oauth 1.0a, and it was everything, but fun. So how does a newbie go about making quick tests to Oauth providers or RESTful APIs without a lot of stress?

article thumbnail

OTP Safe for Chrome Released

The Polyglot Developer

If you’ve been keeping up with my work, you’ll remember in 2014 I released an app called OTP Safe for Android and iOS. This was a hybrid application created with Ionic Framework , that manages time-based one-time passwords (TOTP) commonly used for two-factor authentication (2FA). I’m starting 2015 off with a bang by releasing my first ever Google Chrome extension.

Google 52
article thumbnail

Upload Files To A Remote Server Using Ionic Framework

The Polyglot Developer

I was recently asked by one of my subscribers if I knew how to upload files from an Android or iOS device to a remote server using Ionic Framework. My initial response was no, but it didn’t stop me from taking a whack at it. Using the AngularJS extension set, ngCordova , with Ionic Framework and the Apache Cordova File Transfer plugin, you can easily upload files to a remote server.

Servers 52
article thumbnail

Monitor MySQL And Auto Recover From A Crash

The Polyglot Developer

Since starting this blog in July of 2014, I have had an unexpected amount of growth. So much, that a lot of strain has been placed on my virtual private server (VPS). A common issue that has plagued me and many other WordPress users is the awful MySQL crash due to exhausted resources. This is because the server has run out of resources due to traffic spikes or other anomalies.

article thumbnail

Embed Video In Your iOS And Android Ionic Framework App

The Polyglot Developer

I’ve received a few requests from my subscribers for an article regarding embedding videos in their Ionic Framework application. This could be a challenging task for a few reasons. There are known issues with the HTML5 tag for Android. One might also ask how to make the videos responsive for multiple screen resolutions. In this guide, I’m going to show how to do responsive embeds of YouTube videos into an Ionic Framework list of cards.

article thumbnail

Find All Tables In An Oracle Database By Column Name

The Polyglot Developer

I work with very large Oracle enterprise databases all the time. Consistently, I find myself trying to sift through schemas in the database to find relationships between tables. When tables aren’t named appropriately and you have a lot of them, this can be a long and painful process if you do it manually. Lucky for us, there is a convenient way to search for the tables you’re looking for based on column information.

article thumbnail

Run A Node.js Application On A LAMP Stack Server

The Polyglot Developer

If you’ve been keeping up with some of my previous posts, you’ll know that I’ve been making an effort to move away from PHP ZendFramework (or PHP in general) to Node.js. Up until mid December 2014, my personal profile website www.nraboy.com has been using PHP ZendFramework 2, and for whatever reason it would crash my Apache instance constantly. Since mid December 2014, I’ve made the switch to Express.js framework on top of Node.js.

Servers 40
article thumbnail

Parse An XML Response With Node.js

The Polyglot Developer

A while back I wrote an article on how to parse XML using PHP. Since then I’ve slowly been transitioning away from PHP, yet XML continues to be a burden that I can’t get rid of. Not all APIs return JSON so it is the application developers responsibility to handle the XML. Lucky for us there is a convenient package for Node.js called xml2js that will handle all the parsing for us.

article thumbnail

Hooks With Apache Cordova Mobile Applications

The Polyglot Developer

If you develop Apache Cordova applications long enough, you’re eventually going to notice little things that you feel you can improve in the development / deployment lifecycle. Making use of hooks in your Apache Cordova project can yield many great things for your project. The post Hooks With Apache Cordova Mobile Applications appeared first on The Polyglot Developer.

Mobile 40