code Practices - Code Experience * When a problem occurs varying data structures is easier than varying logic workflow structures. * Data Transfer Objects should be coarse grained and contain no logic. * Immutable data objects promote isolation, predictability, and readability. * Logic structures should avoid inheritance as much as possible and use a composition workflow logic structure. The
code Systemd - Configuration # Place in /etc/systemd/system/ghost.service [Unit] Description=Ghost blog siliconheaven.info After=network.target [Service] Type=simple PIDFile=/run/ghost-siliconheaven.info.pid # This is the directory you installed Ghost to WorkingDirectory=/var/www/ghost/ User=ghost Group=ghost ExecStart=/usr/bin/npm start --production ExecStop=/usr/bin/npm
code Code for humans, data for computers Guiding principle. The opposite approach started the XML wars from the turn of the century.
code No respect for data Column orient a database view because customers do not understand row data and their processes are brittle and change resistant Garbage specification that is allowed to continue because of inertia. You must actively fight against technical debt and technical apathy or be confined to the limits of others abilities and
code ServiceStack Static files handler Attach raw HTTP handler at the AppHost level to serve static files from a folder or folders RawHttpHandlers.Add(req => { if (!allowedPaths.Any(z => req.PathInfo.ToLowerInvariant().StartsWith(z.ToLowerInvariant()))) { return null; } if (!req.HttpMethod.EqualsIgnoreCase("GET")) { return null; } // Send back static file handler return new
personal Reacting instead of Planning Currently protestors are making their voices heard over the situation of immigrants defined entry to the USA. Fortress USA has started coming together and most likely will continue to degrade even if political actions are taken the environment of global warming will continue and bring climate refugees to the mostly
code Docker 2016 Tech Field Day http://techfieldday.com/appearance/docker-presents-at-tech-field-day-extra-at-vmworld-us-2016/ Applications that exist in a Docker container are * Isolated * Scaleable * Complete in configuration and setup * Automated * Docker swarms are * Scaleable * Load balanced * Clustered * Fault tolerant All of the tasks, work, and architecture that previously was manually managed by disparate groups and individuals is automated in
code Code Proposal Code is difficult to write, easy to break, and constantly changing. To help developers concentrate on the code tasks at hand we should strive for the following goals * Code is readable and verifiable with an emphasis on maintenance and clarity for other developers. * Developers reduce technical debt whenever possible * Make
conference DotNetFringe 2016 - Recap Point 1: Open Source projects are the default case for organizations. Explicit reasons are required not to make an application open source. This is for all participating organizations and attendees from large corporate entities, Microsoft, to one person consultant organizations. This is a monumental change with respect to .NET organizations