code AWS EC2 Base Images When you need to find the appropriate Ubuntu base image for AWS EC2 machines https://cloud-images.ubuntu.com/locator/ec2/
code JetBrains Rider Excellent IDE, this link [https://stackify.com/visual-studio-rider/] goes over the major points, will point out that the big difference to me between Rider and Visual Studio is the debugger immediate window where you can evaluate code snippets while debugging. Â While Rider can evaluate expressions it is not as natural
code Postman Postman [https://www.getpostman.com/] has been an indispensable tool I have been using for doing one off testing on the SaaS API I have been developing side benefits it provides are conversion to cURL [https://curl.haxx.se/] statements and synchronization of saved requests when you create an account
code Debugging applications through logs If you have test code and it is not sufficient then improve it immediately. If you have monitoring and telemetry streams use those or improve them right now. If you have a legacy application with nothing, but logs then welcome to the special HELL of attempting to debug an issue
personal Letter - Promote Tester To Software Engineer I wrote this as an email to the owner arguing for a talented underappreciated person to be promoted from software test to software engineer (Joanna) because it was the right thing to do rather than hire a new person. Names have been changed to for anonymity -------------------------------------------------------------------------------- I was thinking
code GitHub Tips Currently this is the current process I am using for GitHub. * Fork the original repository from GitHub website. * Open the GitHub Desktop client. * Clone the newly forked repository with the GitHub Desktop client * Open the the folder with git shell Fetch all the changes on the main branch that have
code MS SQL Server - Full Text Search Index Wanted to be able to search across multiple text columns at first thought about difficult joins and views, but then remembered that almost every modern database system has this builtin as default functionality and since I am having to do MS SQL Server databases for the most part this is
code Sql Table Function - Memorable Alias Generator Wanted to create a User Defined Function in MS SQL server that would generate memorable aliases for users to use. First point is that a UDF function does not allow you to create temp tables within it or use side effecting functions like NEWID() which was not fun, but you
code ServiceStack: OrmLite SqlExpression Tip When creating complicated clauses for queries use the underlying IDBconnection with the template type of the underlying source, but make sure to use the db.From() and then append the Where clauses afterwards in a series to generate the appropriate parameterized and checked clause. Once the SqlExpression is built you
code Push notifications template Created this file using the Push.js to allow simple push notifications in JavaScript like this Notify.info({ title: this.title, message: "No changes to undo." }); with an import like this import * as Notify from "../utilities/notify"; That references this file with the following contents. import
personal TurfJS Presentation Gave this presentation to Seattle MapTime - Introduction to TurfJS on 6/14/2017 TurfJS [https://siliconrob.github.io/github-web/turfjs/intro_turfjs.pdf] - Simple, fast, modular geospatial library written in JavaScript.
conference DotNetFringe 2017 - Recap Point 1: "The Company" Technology systems and use is drastically behind and isolated Why is this? Â Fundamentally I think it is because we rely on active memories of project members to backfill things that other companies would do normally need to do because they are forced to when
code Working with react-refetch Solid project for simplifying the your react interactions with a server API data models react-refetch import React from "react"; import ReactDom from "react-dom"; import { connect, PromiseState } from "react-refetch"; import { globalStyles } from "../../styles"; import { Urls } from "../../redux/serviceurls"; import * as Notify
code Static and Functional Programming * Reduces cognitive load\n* Makes testing straightforward and clear* * Easier to build * Known resources can be versioned * Excellent post on this https://platform.sh/blog/containers-are-the-new-static-binaries * This part is so true and earned from many issues that come with experience. * Static typing is great because you really want the error
code Glitch API test tool Created a glitch remixable project for use in turfjs presentation to be given. TurfJS - Glitch [https://blue-basement.glitch.me/] Did some simple cleanup and a few modifications to the empty test API. Easy tool to learn NodeJS programming with many assumed features to help you get started smoothly and
code NodeJS - Hapi & Postgres Working through writing prototype of NodeJS Web API using Hapijs and Postgres as the backing store. Compared to Visual Studio the process of development is so much lighter and easier. Â Secondly as it is light and fluid the tests are being written quickly and validating cleanly. Choosing hapijs seems to
code Url Rewriting Apache/Nginx Had to learn about url rewrite engines for both **Apache **and **Nginx **to test a url rewrite for these servers Needed something like this http://server2:port/blah/zaps/#/pow?map=theMap By inputting something like this http://server/site/theMap Apache config that works <VirtualHost :80> ServerName
personal No estimates Estimation is so ingrained in software development that it is just assumed that you will provide estimates for everything you do. First point estimates are never treated as they should be i.e. guesses when provided. Â They are instead treated as promises and many times guarantees. Â This abuse of the
code TeamCity Docker Upgrade First download and setup docker on target server. Â My current setup is Ubuntu 17.04 virtual machine run through VMWare Setup docker to run automatically on startup docker run -it --restart=always --name teamcity-server-instance -v /opt/teamcity/data:/data/teamcity_server/datadir -v /opt/teamcity/logs:/opt/teamcity/logs -p
code Increase Oracle Tablespace This problem comes up when running Oracle XE Edition which is intentionally crippled to fuck with you. Hate Oracle databases so much. Find out the current tablespaces raw files. Â You will need rights, but since this is Oracle XE you should be able to grant or log in as system
code Bash prompt to running container docker exec -t -i container_name /bin/bash This is important and most likely any container you log into you will be running as root so can make local modifications to a running instance if needed. Note Changes are transient and will disappear on next startup.
code Background Threads & Cancellation Tokens Start a thread in the background as a fire and forget, but have it check for cancellation in its internal notification loop. ThreadPool use to queue up the delegate that starts the thread threadSource = new CancellationTokenSource(); // Use thead pool to start a background thread ThreadPool.QueueUserWorkItem(NotificationListener, threadSource.Token); Details
code Convention over Configuration https://mikehadlow.blogspot.se/2012/05/configuration-complexity-clock.html [https://mikehadlow.blogspot.se/2012/05/configuration-complexity-clock.html%5Cn%5CnThis] This [https://mikehadlow.blogspot.se/2012/05/configuration-complexity-clock.html%5Cn%5CnThis] happens every time. Â Stick to hardcoded values whenever you can and simple configurations as much as possible such as simple ini.
code Reading Async JSON as stream Knowing that the dataset coming back may be large and will take time to receive as well as decoding the each element as it is parsed from the stream to reduce cpu and memory load Helpful generic HttpClient extension class public static class HttpClientExtensions { private static IEnumerable<T>