Skip to content

xunilrj/sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Index

Anurag's github stats

Math

Theory

Geometric Interpretation of Covariance
Maximum Likelihood Estimation
Probability as Set Measure

Handouts

Log
Exponentials
Binomial Coefficient
Series
Fibonacci Numbers
Calculus
Real Analysis

Probability and Statistics

Probability
Statistics
Asymptotic Statistics
Linear Regression

Introduction to Probability Solutions

Linear Algebra

Singular Value Decomposition (SVD)

Problems

Car out of Gas, Likelihood and statistics using R

Computer Science

Server Architecture
Can OO Strike Back?
Understanding SQL Server 2008 R2 Execution Plan - Part 1
Who is Afraid of Parsing
C++ Performance: Packed array and Valgrind

leetcode/hackerrank

leetcode - 26 - Remove Duplicates from Sorted Array c++, rust
leetcode - 146 - LRU Cache
leetcode - 235 - Lowest Common Ancestor of a Binary Search Tree
leetcode - 236 - Lowest Common Ancestor of a Binary Tree
leetcode - 295 - Find Median from Data Stream
leetcode - 480 - Sliding Window Median
Other Leetcode Submissions (some have tutorial/references etc...)
hackerrank - Array Manipulation
hackerrank - Fraudulent Activity Notifications
hackerrank - Heaps: Find the Running Median
hackerrank - Find the Running Median
hackerrank - Binary Search Tree Lowest Common Ancestor

Computer Graphics/Gamedev

Computer Graphics Guide
webGPU
Unreal Engine - Localization
Unreal Engine - Basic locomotion using Mixamo
Unreal Engine - Writing Complex Unreal functions in C++

Crazy Bus (Godot with GDScript)

Concurrency

Concurrency

Algorithms and Data Structures

Compression - LZ77
CRTD - Conflict-free Replicated Data Type
Bitfield
Memory Allocator

Linux

Linux Kernel Development

Machine Learning

Neural Network inside Browsers (Pytorch + ONNX + ONNXJS)

Languages

C#

C# Index

C/C++

C++ Index
C++ Coroutines (even for WebAssembly)
Command line Debugging
Cache LRU
Functional (Curry, Partial Binding and Pipeline)

R

Realtime London Underground Position

Javascript

React + Freezer

WebAssembly

WebAssembly Series

Index

01 - WebAssembly with C/C++

    01.1 - Compiling the compiler (LLVM)
    01.2 - Installing Dependencies
    01.3 - Compiling our WASM file
    01.4 - Peeking inside the LLVM ll file
    01.5 - Linking the WASM file
    01.6 - The Whole Process
    01.7 - Using wasmer

02 - Running Webassembly inside browsers

    02.1 - Creating host application
    02.2 - Loading WASM using ParcelJS integration
    02.3 - Loading WASM manually
    02.4 - Enabling Console.Log
    02.5 - Peeking inside the WASM file

03 - Javascript/Webassembly Interaction and Memory Layout

03.1 - More complex interactions
03.2 - Returning a Struct and Memory Operations
03.3 - Calling the generated Wasm and reading Memory
03.4 - Wasm Memory Layout

C++ Coroutines (even for WebAssembly)

WASM presentation
WASM presentation - PT/BR

Rust

Generational Index

Chat
low level HTTP using MIO
scalability using Cassandra/ScyllaDB

SSTable
Simple Trait based SSTable

RCU - Read-Copy-Update
Concurrent FIFO

Multithread Columnar DB
DB

RELM - Rust ELM Relm

Merkle Tree Merkle Tree

Writing an Async Runtime Async Runtime

Bidirectional Type Cheker Type Checker

Go

IETF Servers:

daytime
echo

Gossip:

UDP Gossip
Gossip

Courses

columbia-cg-animation
columbia-ia
columbia-robotic
coursera-princeton-algorithms-1
coursera-sandiego-algorithms
ImperialCollege-LinearAlgebra
IMTx-Queue-Theory
johnhopkins-datascience
kth-distributed-algorithms-1
NewYorkBuffalo-ComputerVision
university-of-texas-linear-algebra
UTAustinX UT.PHP.16.01x

Stackoverflow Answers

C# and .NET

UnitOfWork, Repository Database Connection Issue

about IoC container Unity
https://stackoverflow.com/questions/39954586/unitofwork-repository-database-connection-issue/40418462#40418462

Why does 'unbox.any' not provide a helpful exception text the way 'castclass' does?

about how the .NET JIT works
https://stackoverflow.com/questions/39914845/why-does-unbox-any-not-provide-a-helpful-exception-text-the-way-castclass-do/40073409#40073409

Cancel Specific Task using CancellationToken

How TPL works
https://stackoverflow.com/questions/35816146/cancel-specific-task-using-cancellationtoken/35817808#35817808

C++

iterator over non-existing sequence

how to create C++ iterators
https://stackoverflow.com/questions/38730479/iterator-over-non-existing-sequence/38772065#38772065

Non-Copyable, Moveable only wrapper for OS handles

Shoud Non-Copyable class have user conversion https://stackoverflow.com/questions/54963695/shoud-non-copyable-class-have-user-conversion#54963784

SQL Server

Log file is growing with Simple Recovery mode

how SQL Server internals works
https://stackoverflow.com/questions/38590066/log-file-is-growing-with-simple-recovery-mode/38592482#38592482

Theory

What's the difference between deadlock and livelock?

https://stackoverflow.com/questions/6155951/whats-the-difference-between-deadlock-and-livelock/35129823#35129823