- Introduction to GraphQL
- Using Global Node IDs received from REST API calls to fetch objects in GraphQL directly
- Forming calls with GraphQL
- Playground aka Explorer to learn and experiment with GitHub GraphQL: https://docs.github.com/en/graphql/overview/explorer
- Query: https://docs.github.com/en/graphql/reference/queries#repository
- Objects are identified by arguments. Objects have fields: https://docs.github.com/en/graphql/reference/objects#repository
- How to request GraphQL endpoint: https://docs.github.com/en/graphql/guides/forming-calls-with-graphql
- Octokit GraphQL client: use this for JS instead of own fetch()-based code, as it follows GitHub best practices
- GitHub doesn't allow unauthenticated GraphQL requests. How
- Chess Programming Wiki
- The original NNUE paper by Yu Nasu, 2018, translated from Japanese by Dominik Klein.
- NNUE implementation and illustration
- Micro-Max, a 133-line Minimalist Chess Source with explanations
- Minimax and eval functions:
- Tic-Tac-Toe AI
async
vsdefer
vsmodule
attribute for <script> in HTML- w3schools
- MDN Web Docs
- NodeJS
- nvm - NodeJS installer and version manager written in Bash!
- Eloquent JS
- You don't know JS
- Type of any JS value:
Object.prototype.toString.call(value).split(' ').pop().slice(0,-1)
- Event-loop: MDN Docs | NodeJS | Codedamn. Await doesn't block!
- Difference: `pro
- Type of any JS value:
- take your
minified JSON
and turn it into a URL safe base64 string. The length of this string can be as big as this. - make a dummy url like
http://dummy.tld/<the base64 string>
and shorten it using any URL shortener. - save the unique path of the shortened url as your compressed data (henceforth called token). No need to store the domain of the shortened URL as the URL shortener would be hardcoded in your app.
- Reconstruct the shortened URL from the token. Try to fetch (GET) the shortened URL.
- Parse the response for the redirect url and extract the base64 string.
- Decode the base64.
Static sites are useful as personal website, portfolio, blogs, conference website, brouchureware etc.. Following are a few resources to get us started. Also see this sister gist.
Following are a few resources to help understand Artifical Neural Nets / Deep Learning.
- Brilliant intro to ANN. Noteworthy: Universal Approximation Theorem
- Brilliant intro to Backpropagation
- Russel and Norvig's Artificial Intelligence, A Modern Approach, 4th Global Edition
- Lectures by Florian Marquardt: Machine learning for physicists
- CS231n.stanford.edu
- Layer and Batch normalization
- Batch vs Online learning
- Types of learning
- Jupyter Notebooks in VS Code
- Python Virtual Environments: A Primer
- The Python Tutorial
- Single and Double Underscores in Python Names. Throwaway variable _
- Iterators and Iterables in Python: Run Efficient Iterations
- The Walrus Operator: Python's Assignment Expressions
- How do I check if a variable exists? Assignment to
None
- Short circuit evaluation
- LEGB rule for Python Scope
- [A Python Quick Ref
Ref:
- https://learn.microsoft.com/en-us/windows/wsl/networking
- https://superuser.com/questions/1679757/how-to-access-windows-localhost-from-wsl2
- Obtain the IP address of your host machine (Windows) by running this command from your Linux distribution:
cat /etc/resolv.conf
I've been using wsl
(version 2) with genie
mod for years without issue, but one day, Windows 10 finally catch up on wsl
Windows 11 features and gives us a way to use systemD
natively.
I wanted to use the new "right way" to enable systemD
on Windows Subsystem for Linux (without genie
), and I also had a (probably related) infinite Windows RemoteApp error poping in.
- In powershell (as admin)
NewerOlder