Friday, July 30, 2021

Code as Infrastructure?

 Code as Infrastructure – O’Reilly

"If shortages of COBOL programmers are a problem because COBOL code is infrastructure, and if we don’t expect shortages of Fortran talent to be a problem because Fortran code isn’t infrastructure"

Next:

C, C++: OSs

Java, J2EE

PHP :)

GoLang (Docker, Kubernetes)

Rust



Thursday, July 29, 2021

Tesla Full Self-Driving Subscription: $199/month

 Breaking: Tesla Releases Full Self-Driving Subscription - Tesla Daily

Until now, Tesla has only offered access to the Full Self-Driving feature set as a purchase rather than a subscription. The price has risen over time and currently costs $10,000. At $199 per month, customers who decide to purchase in full would come out ahead after four years and two months.


Wednesday, July 28, 2021

AOP: Aspect-Oriented Programming in JavaScript

Aspect-Oriented Programming in JavaScript | by Fernando Doglio | Bits and Pieces

Aspect-Oriented Programming provides a way for us to inject code into existing functions or objects, without modifying the target logic.

Sunday, July 25, 2021

Meltano: ELT for DataOps (GitLab spin-off)

 Meltano: ELT for DataOps with Douwe Maan - Software Engineering Daily


"ELT is a process for copying data from a source system into a target system. It stands for “Extract, Load, Transform” and starts with extracting a copy of data from the source location. It’s loaded into the target system like a data warehouse, and then it’s ready to be transformed into a usable format for things like modern cloud applications.

The company Meltano provides code that manages ELT pipelines through an open-source, self-hosted, CLI-first, debuggable, and extensible process. Meltano projects manage your Singer tap and target configurations to easily select which entities and attributes to extract. These pipelines track their own incremental replication state so they can pick up where the previous run left off. Once your raw data is in its target source, Meltano helps you transform it into a usable format. These pipelines can run on a schedule and be fed to supported orchestrators like Apache Airflow."



Friday, July 23, 2021

SpaceX saves NASA $2 billion

SpaceX to launch the Europa Clipper mission for a bargain price | Ars Technica

After years of speculation, NASA officially announced Friday that SpaceX's Falcon Heavy would launch what is arguably the space agency's most important Solar System exploration mission of the 2020s—the Europa Clipper.

Slated to launch in October 2024, the $4.25 billion mission will spend much of the remainder of this decade flying to the Jovian system before entering an elongated orbit around Jupiter. The spacecraft will then make as many as 44 flybys of Europa, the intriguing, ice-encrusted Jovian moon that scientists believe harbors a vast ocean beneath the surface. It is possible that aquatic life exists there.

The total contract award amount for launch services is approximately $178 million, NASA said in a news release. This is a significant moment for SpaceX, as the company will be entrusted with one of NASA's highest-priority exploration missions. The deal also saves NASA about $2 billion.

Thursday, July 22, 2021

book: Move Fast: How Facebook Builds Software (free audiobook)

 (Full Audiobook) Move Fast: How Facebook Builds Software - Software Engineering Daily

Amazon.com: Move Fast: How Facebook Builds Software eBook: Meyerson, Jeff: Kindle Store

"Over the last fifteen years, every major aspect of our lives has changed because of Facebook. You may not like Facebook, but you can’t deny its success. And to a large degree, that success stems from the “move fast” ethos. The entire culture of Facebook is built for speed.

Move Fast is an exploration of modern software strategies and tactics through the lens of Facebook. Relying on in-depth interviews with more than two dozen Facebook engineers, this book explores the product strategy, cultural principles, and technologies that made Facebook the dominant social networking company. Most importantly, Move Fast investigates how you can apply those strategies to your creative projects."

Wednesday, July 21, 2021

SpaceX Inspiration4

Inspiration4 - Wikipedia

"Inspiration4 is a spaceflight planned for four people aboard the SpaceX Resilience capsule in late 2021.[4][5] The three-day flight will be the first human spaceflight to orbit Earth with exclusively private citizens on board.[6][7][8] The flight will be privately operated by SpaceX using a previously-flown Crew Dragon capsule launched to low Earth orbit. The flight will be sponsored by Jared Isaacman, who will be on the flight along with Hayley Arceneaux, Christopher Sembroski, and Sian Proctor.

This first all-private citizen flight to space is slated to launch as early as 15 September 2021.[3] Inspiration4 is the first crewed orbital spaceflight since the Hubble Space Telescope servicing mission in 2009 whose primary objective is not to visit an orbital space station."






Sunday, July 18, 2021

KiwiCo: Inspiring young innovators

KiwiCo | Exclusive offer for Veritasium followers!

Inspiring young innovators

Seriously fun and enriching projects, delivered.

Brilliant: science education

Daily Challenges | Brilliant


Learn to think

Brilliant replaces lecture videos with hands-on, interactive lessons.
It’s a better (and more fun) way to learn.

Learn key ideas through problem solving

All of our courses are crafted by award-winning teachers, researchers, and professionals from MIT, Caltech, Duke, Microsoft, Google, and more.

Get unlimited access to all math, science, and computer science courses on Brilliant.

Saturday, July 17, 2021

Cloud Cost

 Cloud Cost with Martin Casado - Software Engineering Daily


"the costs of using the cloud stack up once companies reach large scale. Dropbox, for example, shifted away from the cloud in 2016 to opt for a custom built infrastructure in co-location facilities. They saved $75 million over 2 years and increased their gross margins from 33% to 67% due to this change. Actually, recent research suggests major companies spend 75%-80% of cost of revenue on their cloud bills. Should large companies shift away from the cloud like Dropbox did? Is it too late for some companies to untangle themselves from it?"



Friday, July 16, 2021

The New Cybersecurity

 The New Cybersecurity with Troy Hunt - RunAsRadio

"What does cybersecurity look like today? Richard talks with Troy Hunt about the recent news around the Hafnium exploits. The FBI utilized the vulnerability created in Exchange servers to patch the servers and remove the exploit."

The HAFNIUM Exploits

Thursday, July 15, 2021

AWS BugBust

 New – AWS BugBust: It’s Game Over for Bugs | AWS News Blog

"AWS BugBust, the world’s first global challenge to fix one million bugs and reduce technical debt by over $100 million.

Behind the scenes, AWS BugBust uses Amazon CodeGuru Reviewer and Amazon CodeGuru Profiler. These developer tools use machine learning and automated reasoning to find bugs in your applications. These bugs are then available for your developers to claim and fix. The more bugs a developer fixes, the more points the developer earns. A traditional bug bash requires developers to find and fix bugs manually. With AWS BugBust, developers get a list of bugs before the event begins so they can spend the entire event focused on fixing them."


"It detects defects and vulnerabilities that are difficult to find in Java and Python code and offers recommendations on how to remediate them."

Wednesday, July 14, 2021

Deno Deploy

 Deno Company unveils server-side JavaScript hosting service | InfoWorld

"With Deno Deploy, the developers of the Deno JavaScript/TypeScript runtime are offering a globally distributed virtual machine service that runs JavaScript, TypeScript, and WebAssembly at the edge. The goal is for Deno Deploy to become the best place to host modern server-side JavaScript.

Deno Deploy was released as a first beta on June 23, with a series of beta releases set to follow. General availability is planned for the fourth quarter of 2021. A multi-tenant JavaScript engine running in 25 data centers worldwide, from Taiwan to Montreal, Los Angeles, and London, Deno Deploy integrates cloud infrastructure with the Google V8 virtual machine, allowing developers to develop locally and deploy globally.

Built on the same systems as Deno CLI, Deno Deploy is free for developers to use during Beta 1, with users able to sign up to use it via GitHub. During the past eight months, Deno’s developers have been designing the hosted service to supplement workflows with the open source Deno CLI."



Monday, July 12, 2021

Read, Write, Math, Code

 Tim O'Reilly: the golden age of the programmer is over | InfoWorld

"Short of telling people to "learn to code", O'Reilly sees a new set of literacies being required if the workforce of the future is to take advantage of the oncoming "augmentation" that intelligent systems could enable.


"I think the golden age of the last couple of decades where you can become a programmer and you'll get a job... is sort of over," O'Reilly says. "Programming is now more like being able to read and write. You just have to be able to do it to be able to get the most out of the tools and the environments that you're presented with, whatever they are."

"Every working scientist today is a programmer," he adds. "Programming can make a journalist more successful, programming can make a marketer more successful, programming can make a salesperson more successful, programming can make an HR person more successful. Having technical literacy is on the same level as being good at reading, writing, and speaking."


Saturday, July 10, 2021

tuples in JSON and JavaScript?

What is tuple? - Definition from WhatIs.com

1) In programming languages, such as LispPython, Linda, and others, a tuple (pronounced TUH-pul) is an ordered set of values. The separator for each value is often a comma (depending on the rules of the particular language). Common uses for the tuple as a data type are (1) for passing a string of parameters from one program to another, and (2) representing a set of value attributes in a relational database. In some languages, tuples can be nested within other tuples within parentheses or brackets or other delimiters. Tuples can contain a mixture of other data types.


 A first look at records and tuples in JavaScript

At the moment, JavaScript only compares primitive values such as strings by value (by looking at their contents):

> 'abc' === 'abc'
true

In contrast, objects are compared by identity (each object has a unique identity and is only strictly equal to itself):

> {x: 1, y: 4} === {x: 1, y: 4}
false
> ['a', 'b'] === ['a', 'b']
false

> const obj = {x: 1, y: 4};
> obj === obj
true

The proposal Record & Tuple (by Robin Ricard and Rick Button) lets us create compound values that are compared by value.

For, example, by prefixing an object literal with a number sign (#), we create a record – a compound value that is compared by value and immutable:

> #{x: 1, y: 4} === #{x: 1, y: 4}
true

If we prefix an Array literal with #, we create a tuple – an Array that is compared by value and immutable:

> #['a', 'b'] === #['a', 'b']
true


Python Tuples

thistuple = ("apple", "banana", "cherry")


Preserve Python tuples with JSON - Stack Overflow

jsonstring =  enc.encode([1, 2, (3, 4), [5, 6, (7, 8)]])
# [1, 2, {"items": [3, 4], "__tuple__": true}, [5, 6, {"items": [7, 8], "__tuple__": true}]]

^ too complex encoding :(


JSON - Wikipedia


Friday, July 09, 2021

Google Surveys

 https://surveys.google.com/


Google Surveys - Wikipedia

Google Surveys (formerly Google Consumer Surveys)[3] is a business product by Google that facilitates customized market research.[1] The product was designed by Google as an alternative to internet pay walls for websites that publish content. 


Google Forms: Free Online Surveys for Personal Use

Monday, July 05, 2021

Sunday, July 04, 2021

VMware + Hyper-V

 VMware Workstation 15.5 Now Supports Host Hyper-V Mode - VMware Workstation Zealot - VMware Blogs

"VMware Workstation/Player can now run when Hyper-V is enabled. You no longer have to choose between running VMware Workstation and Windows features like WSL, Device Guard and Credential Guard. When Hyper-V is enabled, ULM mode will automatically be used so you can run VMware Workstation normally. If you don’t use Hyper-V at all, VMware Workstation is smart enough to detect this and the VMM will be used.

To run Workstation/Player using the Windows Hypervisor APIs, the minimum required Windows 10 version is Windows 10 20H1 build 19041.264. VMware Workstation/Player minimum version is 15.5.5."


Passipedia: Passive, Net-Zero Homes

Exploring Passive House Design - 90% Energy Savings! - YouTube

Exploring Passing House Design – 90% Energy Savings! - Undecided with Matt Ferrell


Exploring Modular Homes - Cheapest Path to Net Zero? - YouTube

Exploring Modular Homes – Cheapest Path to Net Zero? - Undecided with Matt Ferrell


Passipedia - The Passive House Resource [ ]





Saturday, July 03, 2021

Learn Go with test-driven development

 quii/learn-go-with-tests: Learn Go with test-driven development @GitHub


podcast:


Giving TDD a Go with Riya Dattani, David Wickes, & Chris James (Go Time #185) |> Changelog



JavaScript Numeric Separators

 JavaScript Numeric Separators

valid syntax!

const oneMillion = 1_000_000; // 1000000
const decimals = 1_000_00.01_02_03 // 100000.010203


Friday, July 02, 2021

YAML Anchor, Aliases and Merge Keys

Don’t Repeat Yourself with Anchors, Aliases and Extensions in Docker Compose Files | by King Chung Huang | Medium

definitions: steps: - step: &build-test name: Build and test script: - mvn package artifacts: - target/** pipelines: branches: develop: - step: *build-test main: - step: *build-test


YAML anchors | Bitbucket Cloud | Atlassian Support

definitions: steps: - step: &build-test name: Build and test script: - mvn package artifacts: - target/** pipelines: branches: develop: - step: *build-test main: - step: *build-test

YAML Ain’t Markup Language (YAML™) Version 1.2


YAML Anchor, Aliases and Merge Keys

Some of YAML's properties not in JSON are anchors, aliases and merge keys that can work well together. These allow references and mixins for hashes (not sequences a.k.a. arrays) and are common to reduce repetition of same configuration directives that some files/systems tend to and/or sometimes just because one can

YAML Anchor

&<anchor-name>
YAML 1.2 (3rd Edition) 3.2.2.2. Anchors and Aliases
YAML 1.1 3.2.2.2. Anchors and Aliases
YAML 1.0 4.3.6. Anchor
YAML Alias
*<anchor-name>
YAML 1.2 / 1.1; see above 3.2.2.2. Anchors and Aliases
YAML 1.0 4.4. Alias
YAML Merge Key
<< : *<anchor-name> (one; or:)
<< : [ *<anchor-name>, *<anchor-name>, ... ] (sequence of: [none,] one or multiple)
YAML 1.1 Working Draft Merge Key Language-Independent Type

Anchors need to be before aliasing (e.g. in an alias or merge key), can remain unused and can be re-defined, last one wins at the time of use (flow is from top to bottom).

Example-YAML with AliasesReferences and Merge Keys taken from the Merge Key working draft:

---
- &CENTER { x: 1, y: 2 }
- &LEFT { x: 0, y: 2 }
- &BIG { r: 10 }
- &SMALL { r: 1 }

# All the following maps are equal:

- # Explicit keys
  x: 1
  y: 2
  r: 10
  label: center/big

- # Merge one map
  << : *CENTER
  r: 10
  label: center/big

- # Merge multiple maps
  << : [ *CENTER, *BIG ]
  label: center/big

- # Override
  << : [ *BIG, *LEFT, *SMALL ]
  x: 1
  label: center/big


Tesla Autopilot: with cameras only

 Tesla is following in the steps of an unlikely rival: Subaru - CNN

Tesla announced last month that it's no longer including radar for driver-assist systems on its best-selling vehicles, the Model 3 and Y, and will instead rely on cameras for Autopilot in those new models

Tesla and Subaru suddenly have something in common, as the only automakers to exclusively trust cameras for driver-assist technology.

Tesla seems to change its mind on cameras monitoring drivers while using Autopilot