- learn blockchain concepts
- learn ethereum
- learn how to use metamask
- learn how to use hardhat (https://hardhat.org/)
- learn how to deploy and interact with a smart contract
- learn common smart contract standards like ERC20 (token), ERC721 (nft), ERC1155 (opensea)
- learn ipfs
- learn how to read blockchain explorers like https://etherscan.io/
- learn how to use web3 and etherjs
- learn solidity
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
- Use ESM yourself. (preferred)
Useimport foo from 'foo'
instead ofconst foo = require('foo')
to import the package. You also need to put"type": "module"
in your package.json and more. Follow the below guide. - If the package is used in an async context, you could use
await import(…)
from CommonJS instead ofrequire(…)
. - Stay on the existing version of the package until you can move to ESM.
- learn why we need docker
- learn how to define a Dockerfile
- learn how to build a docker
- learn how to list images
- learn how to run docker with port forward
- learn how to go inside docker to debug, running /bin/bash
- learn docker compose
- learn how to send a docker image to a reqistry (dockerhub or aws ecr)
- learn how to deploy a docker to kubernetes, aws ecs or another platform
- learn how to use docker volumes
This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
This site throws in users and, most importantly, developers face, the fact publishing websites with hundreds of JS Kilobytes just to see some content, content that might also break due JS itself or browsers that haven't been tested or targeted, is very bad.
The same site is also great to remind everyone that a11y (accessibility) matters, and if you got upset by its disruptive technique, and you are a Web developer, now you know how it feels for people incapable of surfing the "modern Web" with its overly-bloated frameworks and practices that way too often don't take a11y into account.
However, JS is not to blame here, while developers abusing JS without following graceful enhancement practices, or without testing their sites offer some meaningful content even for users that might have disabled JS for whatever reason, are to blame so ... please "don't be that kind of developer".
That being said, as an exercise to see if I could surf it via JS, I've created this ti
This is yet another explanation of why async
and return await
is pointless, coming from this post.
// async means that this:
const fn = async (...args) => {/* stuff */};
// is basically the equivalent of this:
""" | |
This script will search 4chan (need to specify a board unfortunately) and then | |
search all comments on Reddit for specific keywords. If found, it will then send | |
an email with the links to any matching posts. | |
Because 4chan posts are archived after ~48 hours I would recommend setting this up | |
to run on that cadence as well. | |
Sender email will need "Allow less secure apps" to ON or similar setting. | |
I followed these instructions for setting that up: |
Note: this guide is designed for AWS ECS services, but starting from Step 4 is functionally equivalent to any Docker container on a Linux host.
- Log into the AWS Console using the appropriate AWS account
- Navigate to AWS ECS service clusters (https://console.aws.amazon.com/ecs/home)
- Make sure you are in the correct region, if not, switch to the correct region (second drop-down menu in top right corner)
- Select the correct cluster (ex: https://console.aws.amazon.com/ecs/home?region=us-east-1#/clusters//services)
- In the Services tab, In the 'Filter in this page' text box, type the name of the service
A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.
Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) because d