Wednesday, April 28, 2021

NanoVNA link

NanoVNA Testboard kit VNA Test Demo Board (nanovna-users@groups.io)


https://groups.io/g/nanovna-users/topic/73104745?p=,,,20,0,0,0::,,,0,0,0,73104745

Monday, April 26, 2021

Database Systems... for fun

Database Systems - Cornell University Course (SQL, NoSQL, Large-Scale Data Analysis)


https://www.youtube.com/watch?v=4cWkVbC2bNE

Wednesday, April 21, 2021

SSI and IoT

 SSI and IoT
https://www.thedinglegroup.com/blog/2021/4/6/ssi-in-iot-the-sofie-project

https://www.windley.com/archives/2020/12/the_self-sovereign_internet_of_things.shtml

bootstrap with did:web???

https://w3c-ccg.github.io/did-method-web/

cbor-ld:

https://github.com/digitalbazaar/cborld


Thursday, April 15, 2021

Learning about JWT, JWS, JWE and all that

JSON Web Token Introduction - JWT_1
https://www.youtube.com/watch?v=BzZi_kfnaWc

JSON Web Signature [JWS] - JWT_2

https://www.youtube.com/watch?v=5NZP2EeVCwM

JSON Web Encryption[JWE] - JWT_3
https://www.youtube.com/watch?v=0r-ZDqpYYYI


It looks like I could use IntelliJ, but in order to use the code in the library
I need to have the libraries:
https://bitbucket.org/100bytescom/code/src/master/

Maven: Create Maven Project In IntelliJ IDE

https://www.youtube.com/watch?v=jCnSQujkVrE

Maven Complete Tutorial with IntelliJ
https://www.youtube.com/watch?v=JhSBS2OpGdU

How to work with a `.jar` file in your local maven setup : Add, Install, Use dependency
https://www.youtube.com/watch?v=oFfnJ1yoDWc

Package org.jose4j.jwk
https://www.javadoc.io/doc/org.bitbucket.b_c/jose4j/latest/org/jose4j/jwk/package-summary.html

Replace sun.misc.BASE64Encoder with java.util.Base64 #69
https://github.com/Tencent/TubeMQ/issues/69

Creating your first Java application with IntelliJ IDEA
https://www.youtube.com/watch?v=H_XxH66lm3U


Asymmetric Encryption and Signing with Public Private Keys
https://www.youtube.com/watch?v=tnQ8lqzVMDo


















notes on april 14

 https://specs.ipld.io/#ipld-blocks how does this compare to Dragon??

Wednesday, April 14, 2021

notes

ASCII,Hex,Binary,Decimal,Base64 converter
https://www.rapidtables.com/convert/number/ascii-hex-bin-dec-converter.html

Uint8Array() constructor

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array/Uint8Array

https://medium.com/@easyexpresssoft/object-literal-vs-json-7a2084872907




Sunday, April 11, 2021

Debug TypeScript

 https://www.youtube.com/watch?v=H1lgYojMCaQ

Debug TypeScript with Visual Studio Code (TypeScript tutorial, #10)

Possibly this is not relevant:
How to Debug Typescript and Hit Breakpoints | 2018
https://www.youtube.com/watch?v=Jhp3_VJVx2w


It looks like TypeScript breakpoints can be set with VS Code,
https://www.youtube.com/watch?v=H1lgYojMCaQ , however I am not sure about Atom. I see mention here: https://github.com/colelawrence/atom-typescript , but not in the main repo: https://github.com/TypeStrong/atom-typescript .
I do see explicit mention in vscode: https://github.com/microsoft/vscode/issues/107615 . . I am currently running Atom and I am considering VSCode because I am struggling to find documentation on how to set breakpoints in atom with the atom-typescript repo and I cannot find others beyond an old fork of the atom-typescript repo. (edited)

I found this useful: (VS Code - Debugging) https://www.youtube.com/watch?v=6cOsxaNC06c





Saturday, April 10, 2021

SKyNet Stuff

 https://github.com/SkynetHQ/skynet-js/blob/master/src/mysky/index.ts#L25-L33

https://github.com/SkynetHQ/skynet-workshop

https://github.com/SkynetHQ/skynet-js/blob/master/src/client.ts

Daniel Giles Helm who spoke at the FCCamp meetup gives another talk here about setting up a React Appy with SkyNet: https://www.youtube.com/watch?v=TDiLdHQidBE , https://github.com/SkynetHQ/skynet-workshop . It's a hackathon going right now, so if you're into building social apps, which is the theme, go find a friend in their discord https://siasky.net/developers .


https://github.com/DaWe35/SkyID/blob/main/src/skyid.js

Planning JSON for Heltec CubeCell Ardunio and ESP32-LoRa Arduino

 

ESP32: Parsing JSON
https://techtutorialsx.com/2017/04/26/esp32-parsing-json/

ESP32: Creating JSON messages
https://techtutorialsx.com/2017/04/27/esp32-creating-json-message/

Example of JSON REST API on ESP32
https://raphaelpralat.medium.com/example-of-json-rest-api-for-esp32-4a5f64774a05

Decoding and Encoding JSON with Arduino or ESP8266
https://randomnerdtutorials.com/decoding-and-encoding-json-with-arduino-or-esp8266/

However, I am not going to encode JSON on the ESP32, I am going to encode it on the Heltec Cubecell. https://github.com/HelTecAutomation/CubeCell-Arduino

The Ockam folks did something different. They used binary.

Serialization and JSON on Arduino.
https://www.youtube.com/watch?v=hAB4TdX8dwM
Awesome. It looks like he did not use a library.
He wrote C.

ESP32 GET JSON from API - ESP32 GET request from API receive JSON
https://www.youtube.com/watch?v=cgoCmYLeaSI
(done using a library)












Friday, April 9, 2021

configuring git fetch upstream

 first do this:

https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork

then do this: git fetch upstream
(https://stackoverflow.com/questions/32912359/git-error-upstream-does-not-appear-to-be-a-git-repository)

Import and Export in JavaScript (and other links)

 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export

misc:

https://stackoverflow.com/questions/28725955/how-do-i-test-a-single-file-using-jest

https://stackoverflow.com/questions/19578796/what-is-the-save-option-for-npm-install

https://jestjs.io/docs/getting-started

https://siddharthac6.medium.com/json-web-token-jwt-the-right-way-of-implementing-with-node-js-65b8915d550e

https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Object_prototypes

Sunday, April 4, 2021

class vs. interface in typescript

https://ultimatecourses.com/blog/classes-vs-interfaces-in-typescript

Classes vs Interfaces in TypeScript - Ultimate Courses


https://ultimatecourses.com/blog/typescript-interfaces-from-type-to-interface


TypeScript Interfaces: From Type to Interface - Ultimate Courses





Saturday, April 3, 2021

SyntaxError: Cannot use import statement outside a module

 One solution:

https://nick3499.medium.com/syntaxerror-cannot-use-import-statement-outside-a-module-681de12a48eb

how to switch between node versions during development

How to switch between node versions during development.

https://blog.logrocket.com/switching-between-node-versions-during-development/