Ad

Tuesday, November 9, 2021

Developer Tool Libraries Glossary Vocabulary List

 One sentence about each library from the documentation or wikipedia

ARCore

ARKit : AR platform, develop for Apple devices, requires A9 chip and iOS11 or above

"Babel · The compiler for next generation JavaScript" also useful for cross browser compability of javascript. Turn react js into vanilla javascript that browsers can read.  "Babel is a toolchain that is mainly used to convert ECMAScript 2015+ code into a backwards compatible version of JavaScript in current and older browsers or environments." https://babeljs.io/docs/en/

"CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has over 86 thousand libraries and is used in over 3 million apps. "

React 360 (by Facebook open source)

Create amazing 360 and VR content using React.

.rc file extension usually refers to some kind of configuration

SemaFor - The Defense Advanced Research Projects Agency, or DARPA (Microsoft), a program “to detect semantic deficiencies in deepfakes, such as a photo of a man generated with anatomically incorrect teeth or a person with a piece of jewelry that might be culturally out of place.”

"package.json | npm Docs This document is all you need to know about what's required in your package.json file. It must be actual JSON, not just a JavaScript object literal. A lot of the behavior described in this document is affected by the config settings described in config."

ViroReact  (by Facebook open source)

Under the hood, this framework is based on two APIs that dominate the world of Augmented and Virtual Reality for mobile phones: ARKit for iOS and ARCore for Android.

Watchman (by Facebook open source)

Watches files and records, or triggers actions, when they change.

"webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser"

YAML "is a human-readable data-serialization language. It is commonly used for configuration files and in applications where data is being stored or transmitted.". There are utilities libraries that allows us to quickly install and meet app requirements based on yaml file specifications. 

Getting started with Node.js 2021-2022

common file names conventions

app.js, server.js, index.js

index.js : contains code for server side logic. index.js is the server code file


commands

npm run build: will run utilities to build and bundle javascript files if possible. After generating the bundle.js, be sure to include it in a script tag in the HTML file. 

npm run start


The request module has been deprecated. Many web API requests make use of this module. Using this module will throw errors. MDN Fetch API "This kind of functionality was previously achieved using XMLHttpRequest. Possible alternative: Fetch provides a better alternative that can be easily used by other technologies such as Service Workers. Fetch also provides a single logical place to define other HTTP-related concepts such as CORS and extensions to HTTP." https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch Mozilla MDN

Global scope: publicly available variables at the top level of a browser window

If a JavaScript variable is initiated without value, the default is undefined. let myVar; myVar == undefined; // returns true

Old way of declaring variable is using var, global scope. The new way is let and const. let and const are better for block scope declaration? 

Image Processing Library for Node.js
Sharp is a high-performance module for resizing and formatting

Shopify offers Shopify CLI command line tool rails or node.js

Going beyond basic console logging in JavaScript:
  • console logging error
    • console.error('error message or code')
  • console log warning message in JavaScript
    • console.warn('message')
  • console logging time
    • console.time('label') // print out time with the label
    • console.timeEnd('label') measure how long the script takes
    • https://developer.mozilla.org/en-US/docs/Web/API/Console/timeLog
  • clear console
    • console.clear()
  • Print out complex console log message in table structures, returns a nice table
    • console.table({object key : value})

Server Status Code - Web Development

 status line : 

status code | reason phrase

000 found and ok

2xx things are okay

3xx we need to do something different to find it

302 found document located somewhere else

404 not found

4xx something wrong with the browser side

500 server error

5xx something wrong with the server side 


Sunday, November 7, 2021

Blockchain, NFT gaming, Web3, Play to Earn, Cryptocurrency explained

Web3 content creation and monetization simply explained:


Web3 creator economy explained by Tarique Sha, beautifully and elegantly on twitter.

https://twitter.com/kissingsky/status/1428368687644364805?s=20

Bored Ape Yacht Club parties in NFT New York City #NFTNYC. 

Read uniqtech's mini report here:









BAYC wristband explained by their twitter account. The access it carries.

NEWS, GAMING:

Twitch game streaming partners with crypto.com (who recently featured Matt Damon in an ad promotion).

News, regulation on Stablecoin

WSJ https://www.wsj.com/amp/articles/stablecoins-in-spotlight-as-u-s-begins-to-lay-ground-for-rules-on-cryptocurrencies-11632562202

News, reddit

Reddit may enter the NFT space by converting karma points into tokens.https://cointelegraph.com/news/reddit-to-reportedly-tokenize-karma-points-and-onboard-500m-new-users

Consensus

Coin swaps:

Some swaps we have heard of coinmarketcap, pancake swap, uniswap. We have not tried most of these options. Our non-professional understanding is that swap is likely a taxable event. We are not accountants, and do not have professional knowledge. This is not tax advice. Swapping also incur fees, there're parameters that you want to tune such as tolerance. 

Mining:

Blockchain mining, even with a pool can be costly. Specialized equipment also requires upfront investment of $500 to the thousands. Often they are sold-out. Google Cloud service forbids using its infrastructure and resources for mining. Electricity can be costly. 


What's a token burn?

https://decrypt.co/resources/what-is-a-token-burn-how-crypto-is-removed-from-circulation


Disclaimer: My company and I may both own crypto currency. All discussed is for informational purpose only. Crypto and blockchain, NFT, gaming are highly risky spaces. These are not financial advice. Risky investment may incur lost of investment and the entire principal. All discussion of technology is for informational purpose only. Mentioning a tech does not mean endorsement. All tutorials are for informational purpose only, cannot be used for commercial nor production use. Have not been tested for security. Using blockchain, cloud or machine learning technology may incur high costs. We are not responsive for costs, damage associated with any of these technology. You may want to monitor the cost, and set budget alarms and quotas whenever possible. 


Disclaimer:  
Always do your own research and consult professionals before making any decisions. The contents on our sites and channels are NOT financial advice. 

WARNING: when developing for blockchain, definitely use testing throwaway wallet, testnet and testnet tokens to develop your dapp and test extensively. Deploy to testnet first and get testnet coins.  Even if you are a good developer, you will want to use well-tested contract, smart contract templates like OpenZeppelin. And get professional audit help. 

A warning and a reminder : None of our content is for production use. None of our content is production ready. None of our contents or codes have to been tested in production environment. In other words, our contents are NOT suitable for production/live environments. Our contents are informational only. Our contents are NOT tested, or developed for live environment.

WARNING: mentioning a technology is not a form of endorsement. Quoted opinions are those of the authors, not of Uniqtech. Please read our disclaimers before using our content. This applies to all of our contents, channels and websites. 

Mentioning a crypto, stock does not mean endorsement. This is not financial advice. We do not have financial advisory licenses. Do your own research. Cryptos and stocks are very risky. All contents here are hypothetical, informational, educational purpose only. We may own said crypto. 

Thursday, September 9, 2021

Machine Learning for Beginners Resources

Uniqtech guide to Machine Learning. This guide explains the difference between machine learning, traditional programming, machine learning workflow, even machine learning jokes, basic neural network, data cleaning data preprocessing, train_test_split() explained, activation functions, evaluation metric evaluation model, introduction to scikit learn patterns code snippets. It also includes: getting started with R programming, getting started with Natural Language Processing (NLP),  famous people in Machine Learning. 

All Uniqtech flash cards to Machine Learning 

Machine Learning training loop explained

Also check out the Uniqtech Guide for Computer Vision 

Getting started with Computer Vision Uniqtech Guide


Wednesday, September 8, 2021

Debugging R programming RStudio

 R Programming error R installation error rtools not installed.


Starting with R 4.0.0 (released April 2020), R for Windows uses a toolchain bundle called rtools40.

WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

4.1.0 doesn't have Rtools40

https://cran.r-project.org/bin/windows/Rtools/


Sunday, May 9, 2021

Coding for Good, Coding as a Service resources

 Did you know that being a developer you are at an unique position to help the society? There are many public service opportunities to contribute your skills

  • Code for America. Join your local Code for America chapters called Brigades. Perhaps not a perfect analogy, it is sort of like Americorp but for coding. They need engineers, product managers and data scientists. In fact, the talents at CoA are very impressive.
  • The federal government now has Chief Information Officer, as well as innovation fellowships for those mid-career in tech.
  • You can definitely volunteer through coding
  • Stanford CS for Good class and Social Entrepreneurship classes teach how to best using code for social good
  • Join a public sector themed Civic Hack, hackathons for those want to do CS for Good.
  • CSforGood

React UI, UI UX, Reactstrap React Bootstrap

React UI MATERIAL  Install yarn add @material-ui/icons Reactstrap FORMS. Controlled Forms. Uncontrolled Forms.  Columns, grid