The Curious Engineer

All blogs / JavaScript / TypeScript

huy.rocks

huy.rocks

Huy's development blog

JavaScript / TypeScriptAlgorithms / data structuresCompilersZig

Posts
130 from 24 Dec 2021 to 29 May 2026
Posting
now and then (3 in the last year)
Kind
personal blog
Feed
https://www.huy.rocks/rss.xml

2026 2

  1. Qwen3.6-27B Quantization Benchmark
  2. Claude Code Notifications on macOS

2025 1

  1. Teaching an LLM a Niche Diagraming Language

2022 119

  1. Using Zig for Advent of Code
  2. Test parameter passed into a function with Jest
  3. Optional Chaining and Code Coverage
  4. Mocking File and FileList in Jest
  5. Testing localStorage in Jest
  6. Migrating docker-compose application
  7. Recursive Descent Parser
  8. Variable declaration in Virtual Stack Machine
  9. Virtual Stack Machines
  10. Using the browser's CustomEvent
  11. Extract digits of a number from both ends
  12. Detect chess piece movement with Bitboard
  13. Structures Bitboard Tic Tac Toe
  14. Circle and Ray Intersection
  15. Prime Factorization
  16. Understanding keyof typeof
  17. Notes Control Flow Graph and Infinite Recursive Detection
  18. Notes Monotonic Clock
  19. String as enum key
  20. Tracking letter frequency
  21. Use Delve on M1 Mac
  22. Cyclic Sort
  23. Fast and slow pointers for Linked List
  24. Code organization when using Nx
  25. Some random notes about Classes
  26. Notes Dry Run
  27. Sliding Window
  28. Merge two sorted arrays with extra space
  29. Compilation Process
  30. The intrinsic keyword
  31. How some utility types are implemented
  32. A note about lib.dom.d.ts
  33. Memorization with React.memo
  34. Respect default font size
  35. Hanging Punctuation
  36. Counter Reset respects start attribute
  37. Source Code Walkthrough InlayHints
  38. Active Listening
  39. Component CSS Isolation
  40. Skip some fields when serializing
  41. Notes Collector Fallacy
  42. A quick guide to getting started
  43. Notes Contributing to complex projects
  44. Partial update an object in IndexedDB
  45. Moving to IndexedDB
  46. Notes How to Edit Your Own Writing
  47. Building large applications
  48. Notes Diffuse vs Focused mode
  49. Cancel Request with Subscription
  50. Structured Data for Google
  51. Notes The Curse of Knowledge
  52. Notes Browser Rendering Painting Compositing
  53. Notes Layout Thrashing
  54. Notes Two types of Knowledge
  55. Notes Browser Rendering Process
  56. How React Diffing Algorithm Works
  57. Notes Zeigarnik Effect
  58. CODEOWNERS file
  59. Arrow Function in Classes
  60. Notes Tetris Effect
  61. Type Annotation vs Type Assertion
  62. Patterns The Elm Architecture
  63. Notes Suffering Oriented Programming
  64. Lookup Types
  65. Enums at runtime
  66. Percentage Padding and Margin
  67. How Bitwarden encrypts your data
  68. Cryptography PBKDF2
  69. Notes Rediscovering the Benefits of Drawing
  70. Notes The Art of Close Reading
  71. Beware the delete
  72. Structures Graph Represent
  73. The unknown Type
  74. Record and Replay Macro
  75. Implement Rust Result type
  76. Railroad Diagram
  77. 02 12 2022 parsing bnf
  78. Context-Free Grammar Derivations Leftmost Rightmost
  79. Context-Free Grammar
  80. Named imports and dead code elimination
  81. Expose local server with Tunnel
  82. Timing Attack
  83. Testing with Jest
  84. Build a library with Parcel
  85. Non-English Variables
  86. Faux Bold and Faux Italic
  87. Interpolation Methods
  88. Auto-fill OTP code from SMS
  89. Non-blocking FFI Calls
  90. FFI API
  91. Row Level Security
  92. Working with wasm-bindgen
  93. Stack Machine Execution
  94. Tables and Dynamic Linking
  95. Working with Linear Memory
  96. How to read WASM code
  97. A quick guide
  98. Notes about Vector memory allocation
  99. Count number of digits with Logarithm
  100. Blanket Implementation
  101. The Never Type
  102. Lifetime Elision Rules
  103. Console Assert Command
  104. Dealing with Integer Overflow
  105. Deref and DerefMut
  106. Implement external traits for external types
  107. Comparing floating-point numbers
  108. How ArenaAllocator works
  109. Build system
  110. Handling errors
  111. JSON in 5 minutes
  112. Case Study: Implementing a Generic Stack
  113. Cross-compile C C++ and Zig programs
  114. Comptime
  115. Where data is stored and how to choose an allocator
  116. Strings in 5 minutes
  117. Render a component to any DOM node with React Portals
  118. Type Intersection
  119. Non-null assertion operator

2021 8

  1. Handle Optional Subpath
  2. Structures Binary Search Tree Delete node
  3. GUI Druid Custom Widget
  4. Structures Binary Tree In-order Traversal with Stack
  5. Find Palindrome
  6. Partition a number to sum of smaller ones
  7. Generate repeated combinatorial
  8. Partial Applied Function