Static First: Pre-Generated JAMstack Sites with Serverless Rendering as a Fallback

You might be seeing the term JAMstack popping up more and more frequently. I’ve been a fan of it as an approach for some time. One of the principles of JAMstack is that of pre-rendering. In other words, it generates your site into a collection of static … more

Why are static web sites winning in popularity? Speed and more speed.  Don’t depend on a database to help keep your dynamic site current or easy to maintain.  Use the database to help manage and generate static pages in the background.  Then when they are sent o the server they are ready to be screaming fast like a Tesla S.

Learned about a new NoSQL database that seems to be very affordable called  Fauna which initially appears to be a simpler approach to NoSQL over Mongo.

via Static First: Pre-Generated JAMstack Sites with Serverless Rendering as a Fallback — JSFeeds

The Top Programming Languages 2019 – Python tops the charts with a CircuitPython nod!

The Top Programming Languages 2019 – Python tops the charts with a CircuitPython nod! – IEEE Spectrum: … Python is having an impact that could not have been anticipated when the language was first released in 1991. The dramatic increase in computing power found in microcontrollers means that embedded versions of Python, such as CircuitPython and MicroPython, are becoming increasingly…

If you haven’t figured it yet Pyhton is new God level programming language that is fracking everywhere.

tenor.gif

 

via The Top Programming Languages 2019 – Python tops the charts with a CircuitPython nod! @circuitpython @micropython @IEEESpectrum #python — Adafruit Industries – Makers, hackers, artists, designers and engineers!

How to Make Good Code Reviews Better

1_INwRDJ_vspfJKkyFpv5jww.png

I have been doing day-to-day code reviews for over a decade now. The benefits of code reviews are plenty: someone spot checks your work for errors, they get to learn from your solution, and the collaboration helps to improve the organization’s overall approach to tooling and automation. If you’re not currently doing code reviews in your organization, start now. It’ll make everyone a better engineer.

Plenty of people and organizations have shared their code review best practices and what the definition of good code reviews mean to them. Guides  from Google,  the SmartBear team, and engineer Philipp Hauer are all excellent reads. Below is my personal take on what good code reviews look like and how to make them even better at the team and organizational level. This is in the context of the tech environment I have been working at – currently at Uber, and before that at Skype/Microsoft and Skyscanner.

Code reviews are difficult because of the nature of developers and managers.  Developers while they don’t say it compete with each other all the time.  Sometimes that competition can become verbal in a code review.  Managers spend lots of time trying to save time so looking at code and treating issues with respect is difficult.  I was a code review for an equipment rental company where the code review led to an employee getting fired and a guard at the front door for a month.  This is not the outcome that makes for better products and systems.

via: https://stackoverflow.blog/2019/09/30/how-to-make-good-code-reviews-better/

Web Development is About to Change in a Big Way

blazor-architecture.jpg

By: Joe Kunk

I love writing software. It is absolutely thrilling to create something from scratch that provides a new capability, solves a difficult problem, or revises an existing process for the better. Each new project represents a personal challenge to leverage new tools and recently learned techniques to code better or faster than last time. After decades of software development, coding is still very exciting and rewarding to me.

But I have a confession: I do not like writing web pages, specifically JavaScript. I avoid it. Even with tools like Typescript and advanced frameworks like React, Angular 2, Vue, or Backbone, JavaScript development is frustrating, and the learning curve is high. This has left a hole in my software development skillset that I desperately want to fill. Finally, there is a solution!

Blazor a Microsoft C# for .NET generator which requires WebAssembly on Windows to use.  This might be very useful for developers who need quick web app’s for a .NET environment and don’t want to jump into the Javascript or heaven forbid Angular or Vue.  Blazor is now in preview and might deserve a look-see.

via: https://rmcagency.com/news?utm_source=October+2019+-+IT+Career+%26+Industry+Update&utm_campaign=October+2019+Newsletter

 

6 Ways to Make HTTP Requests with Node.js

2019-09-23_16-15-07.png

Making HTTP requests is one of the core skills in software development. And Node.js provides many easy and efficient ways to achieve this.

In this article, we will go over 6 different ways to make a HTTP request in Node.js. And we will use test data from JSON Placeholder to test the HTTP requests.

There are always multiple solutions to a problem, some simple, some complex.  This problem is one faced by any developer on getting information from a web link.

* HTTP – Node.js Standard Library Module
* Axios
* Node-Fetch
* Request-Promise
* Got
* Simple-Get

via: https://coderrocketfuel.com/article/6-ways-to-make-http-requests-with-node-js

This Week in Security: Zeroconf Strikes Again, Lastpass Leaks your Last Password, And All Your Data is Belong to Us

VoIP cameras, DVRs, and other devices running the Web Services Dynamic Discovery (WSDD) protocol are being used in a new type of DDoS attack. This isn’t the first time a zeroconf service has been hijacked as part of a DDoS, as UPnP has also been abused … more

Being a fan and daily user of LastPass this freaked me out, however, Lastpass fixed the problem in release 4.33.0.  What is scarier in the same article is  First is the more than 100 medical databases being served on the internet without proper security. HIPPA fines can be big, really big.  Me wonders where all the fine money goes?

via This Week in Security: Zeroconf Strikes Again, Lastpass Leaks your Last Password, And All Your Data is Belong to Us — JSFeeds

Meeting GraphQL at a Cocktail Mixer — JSFeeds

GraphQL and REST are two specifications used when building APIs for websites to use. REST defines a series of unique identifiers (URLs) that applications use to request and send data. GraphQL defines a query language that allows client applications to … more

Nice article on the basic differences between REST and GraphQL, a cocktail party was a good metaphor. Nice reference to using some outside services to make life easier your first go-around with Graph QL.  Self-Hosted BaaS Graphcool or a paid server for $8/month called 8Base.

via Meeting GraphQL at a Cocktail Mixer — JSFeeds

15 Must-Have Vue Directives That Will Significantly Maximize Your Productivity

15 Must-Have Vue Directives That Will Significantly Maximize Your Productivity Inspired by AngularJS, Vue comes with built-in directives (like v-html or v-once ) that you will find useful, as each has its own use case. You can find the full list of built-in … more

v-blur to create demo websites that don’t display PHI or PII. v-clipboard to copy the value in a component are ones I love.  Many others listed here.

via 15 Must-Have Vue Directives That Will Significantly Maximize Your Productivity — JSFeeds

How to Create a Random Meal Generator

random-meal-generator-1.png

For the first project in the #100Days100Projects I thought about working with a public API in order to get some data that would be displayed in a webpage – an usual thing to do with an API.

For that I chose to use TheMealDB‘s public API in order to get some random meals by pressing a button. Something straightforward!

Nice simple Javascript project using an API with the fetch command and promises.   A very simple CSS style sheet.  Vanilla Javascript, no jQuery, frameworks or major CSS library.  This back to basics approach is what most students should learn first.

via: https://www.freecodecamp.org/news/creating-a-random-meal-generator/

English – Build a JAMstack-Powered Website in 4 Steps

March 21st 2017 TWEET THIS According to jamstack.org, when talking about JAMstack, we no longer talk about operating systems, specific web servers, backend programming languages, or databases. The JAMstack is not about specific technologies. It’s a new way of building websites and apps that delivers better performance, higher security, lower cost of scaling, and a better developer […]

Javascript, API’s and Markdown are the (JAM) behind static web sites that are generated quickly and perform even quicker.  JAM is becoming more and more prevalent in static web sites including blogs, product catalogues and documentation.

via English – Build a JAMstack-Powered Website in 4 Steps — Acordo Coletivo: Cidadania