Wednesday, April 28, 2021

The End of Silicon Valley?

 The End of Silicon Valley as We Know It? – Tim O’Reilly

Understanding four trends that may shape the future of Silicon Valley is also a road map to some of the biggest technology-enabled opportunities of the next decades:

  1. Consumer internet entrepreneurs lack many of the skills needed for the life sciences revolution.
  2. Internet regulation is upon us.
  3. Climate response is capital intensive, and inherently local.
  4. The end of the betting economy.

Saturday, April 24, 2021

internet as a community utility?

Biden wants local governments to provide broadband internet. Could they compete with Comcast and Verizon?



NFT: Art? Blockchain?

 NFTs, explained: what they are, and why they’re suddenly worth millions - The Verge

“Non-Fungible Token” ... means that it’s unique and can’t be replaced with something else. For example, a bitcoin is fungible — trade one for another bitcoin, and you’ll have exactly the same thing. A one-of-a-kind trading card, however, is non-fungible. If you traded it for a different card, you’d have something completely different.

At a very high level, most NFTs are part of the Ethereum blockchain. Ethereum is a cryptocurrency, like bitcoin or dogecoin, but its blockchain also supports these NFTs, which store extra information that makes them work differently from, say, an ETH coin."

Lazy "The lazy way to show off your NFTs."

Wednesday, April 21, 2021

next.js

Next.js & React - The Complete Guide (incl. Two Paths!) | Udemy

by Max (Academind)


GitHub - mschwarzmueller/nextjs-course-code: Source code for my NextJS course (https://acad.link/nextjs)


Setup - Create a Next.js App | Learn Next.js


next-learn-starter/install.md at master · vercel/next-learn-starter · GitHub


using React rendering on server (node.js) is quite simple:

Component.js
var React = require('react');
module.exports = React.createClass({
    render: function() {
        return React.createElement('h1', null, 'Hello World!');
    }
});

var express = require('express');
var app = express();
var React = require('react');
var ReactDOMServer = require('react-dom/server');
var Component = require('./Component.jsx');
app.get('/', function(request, response) {
    var html = ReactDOMServer.renderToString(
        React.createElement(Component)
    );
    response.send(html);
});
var PORT = 3000;
app.listen(PORT, function() {
    console.log('http://localhost:' + PORT);
});

Server-side rendering with React. Let’s set up server-side rendering with… | by remarkablemark | Medium





deploy: Develop. Preview. Ship. For the best frontend teams – Vercel

(developers of next.js)


alternative: 

How to Deploy Next.js Sites to Netlify — 5-Minute Tutorial




car vs airplane


FULL FILM: McLaren Speedtail vs F35 Fighter Jet | Top Gear - YouTube


Tuesday, April 20, 2021

Building houses from Lego-like blocks

Real Life Lego-Like House Built From Wooden Bricks - YouTube

Brikawood | Kits maisons bois passives écologiques, brique en bois écologique, maison BBC

Brikawood | Our wooden house kits | Ecological passive wooden house kits, ecological wooden brick, BBC house


Build your house in DIY LEGO Style - New Innovative Building method - YouTube

Insulated wooden block - Build your house all by yourself with Gablok


logging to AWS S3?

 logging - Append to a log file in S3 (or any other AWS service) - Stack Overflow


"What you are looking for is possible with S3. S3 does not need to have the complete file to begin storing data. You can use the multipart upload to store chunks (5mb blocks) at a time. Once you have finished, say a day's run, you can send the final block and close the multipart upload. and begin logging the next day.

S3 allows up to 10,000 parts. So by choosing a part-size of 5MiB you will be able to upload dynamic files of up to 50GiB. Should be enough for most use-cases.

Initiate S3 Multipart Upload. Gather data into a buffer until that buffer reaches S3's lower chunk-size limit (5MB). Generate MD5 checksum while building up the buffer. Upload that buffer as a Part, store the ETag. Once you reach EOF of your data, upload the last chunk (which can be smaller than 5MiB). Finalize the Multipart Upload.

This is a way better solution as it doesn't cost you and EC2 instance or EBS storage costs"

Sunday, April 18, 2021

AWS S3 Object Lambda

 Amazon Announces S3 Object Lambda

Amazon has recently announced S3 Object Lambda, a new serverless feature to add customized code and process data from S3 before returning it to an application. S3 Object Lambda works with S3 GET requests and uses AWS Lambda functions to modify data as it is being retrieved from the object storage.

S3 Object Lambda is designed to add transparency to the consumer of the S3 objects with the clients receiving a modified version without interacting with another endpoint and without changes to an existing product.

HTMX & _hyperscript: www++

htmx (a pragmatic approach to web frontends) and
_hyperscript (an experimental scripting language inspired by HyperTalk)


 </> htmx - high power tools for html


HTMX: htmx.org
HTMX on Twitter: @htmx_org
Essays: htmx.org/talk
Examples: htmx.org/examples
Active Search: htmx.org/examples/active-search
Click to edit: htmx.org/examples/click-to-edit
Infinite scroll: htmx.org/examples/infinite-scroll


htmx allows you to access AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext

htmx is small (~10k min.gz'd), dependency-free, extendable & IE11 compatible






EVs from China?

Sandy Munro Predicts the Next Big Thing - YouTube

Thursday, April 15, 2021

cloud native: Digital Ocean Platform

 Digital Ocean Platform with Cody Baker and Apurva Joshi - Software Engineering Daily

Digital Ocean’s App Platform allows users to build and deploy an app or static site directly from GitHub directly onto a DigitalOcean-managed Kubernetes cluster.


Architecture: Net-Zero Apartments

 An Architecture Firm’s Push to Build Net-Zero Apartments—on a Budget - WSJ

Philadelphia’s Onion Flats is constructing low-cost buildings that use design, mechanical equipment and residents’ behavior to slash fossil fuel consumption

An Architecture Firm’s Push to Build Net-Zero Apartments—on a Budget


Front Flats, which is designed by Onion Flats, is not only energy-efficient but affordable as well. 
It is 28 apartments, built on a budget for renters who make below the area’s median income. One-bedroom apartments rent for under $1,400, less than the $1,750 average for the neighborhood, according to rental-listings website Zumper.”

The innovation of Onion Flats is important as buildings are responsible for 38% of global greenhouse gas emissions.



It is a controversial design, like Tesla CyberTruck... takes time to get used to...



Onion Flats: Pasivehouse designs



Wednesday, April 14, 2021

Amazon: OpenSearch, renamed Open Distro for Elasticsearch

 Introducing OpenSearch | AWS Open Source Blog

OpenSearch project, a community-driven, open source fork of Elasticsearch and Kibana

This project includes OpenSearch (derived from Elasticsearch 7.10.2) and OpenSearch Dashboards (derived from Kibana 7.10.2). 

Additionally, the OpenSearch project is the new home for our previous distribution of Elasticsearch (Open Distro for Elasticsearch), which includes features such as enterprise security, alerting, machine learning, SQL, index state management, and more. All of the software in the OpenSearch project is released under the Apache License, Version 2.0 (ALv2). 

the code for OpenSearch and OpenSearch Dashboards on GitHub


... plan to rename ... Amazon Elasticsearch Service to Amazon OpenSearch Service.

Open Source, not Open Contribution

Open source, not open contribution with Ben Johnson (The Changelog #433) |> Changelog

SQLite Copyright


Tuesday, April 13, 2021

Google Cloud Databases

Google Cloud Databases with Andi Gutmans - Software Engineering Daily


Spanner

BigTable

BigQuery

+

Firebase, Firestore


Firebase is a BaaS platform (Backend as a Service)
offering a wide variety of features and components for enhanced mobile and web application development. Firebase is preferred by many business owners and developers due to the level of usability it offers. Using the service reduces the need for users to develop APIs and manage servers. Firebase can also be customized based on the specific requirements of developers.

Firebase works with two different databases. The Real-Time Database is the original Firebase database product, and Cloud Firestore is a new and improved version of the Real-Time Database.

Cloud Firestore refers to a NoSQL cloud database that can be used to store and sync data for server-side and client-side programming purposes. Cloud Firestore facilitates flexible mobile, web, and server development. It can also be used for synchronizing data across real-time applications.

Thursday, April 08, 2021

low code: OutSystems

See Our Leading Development Platform in Action | OutSystems

Quickly create mobile and web applications, chatbots, and reactive web apps for any device. Build your data models, workflows, logic and pixel-perfect user interfaces and interactions, and even add your custom code. 

OutSystems - Wikipedia

OS-logo-color 500x108.png

Monday, April 05, 2021

visual data: population density

 List of states and territories of the United States by population density - Wikipedia

what is better visualization ?

 


List of countries and dependencies by population density - Wikipedia

China's Digital Currency

 Anxiety in the US as China Creates the First Major Digital Currency

A cyber yuan gives Beijing power to track spending in real time. Importantly, it's money that isn’t linked to the dollar-dominated global financial system.

Cyber Yuan vs Bitcoin and Altcoins

The cyber yuan is a government-sponsored digital currency designed to track the movement of every penny. Bitcoin promotes anonymity.

A thousand years ago, when money meant coins, China invented paper currency. Now the Chinese government is minting cash digitally, in a re-imagination of money

China’s version of a digital currency is controlled by its central bank, which will issue the new electronic money.

Thursday, April 01, 2021

AWS CloudFormation template samples

GitHub - awslabs/aws-cloudformation-templates: A collection of useful CloudFormation templates

The AWS CloudFormation team and approved contributors provide and maintain sample templates in the aws folder.

Use sample AWS CloudFormation templates to learn how to declare specific AWS resources or solve a particular use case.