<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>JHKN.DEV</title><description>Where I document what I learn and build.</description><link>https://jhkn.dev/</link><language>en-us</language><item><title>latency cheatsheet</title><link>https://jhkn.dev/notes/general/latency-cheatsheet/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/latency-cheatsheet/</guid><description>in-memory cache read: under 10ms simple user-facing read/redirect: under 100ms typical API request: 200-300ms database write or heavier API request: under 500ms page load or a multi-step user action…</description><pubDate>Sat, 17 Oct 2026 15:50:00 GMT</pubDate><category>cs</category><category>system-design</category><category>cheatsheet</category></item><item><title>Returning a list of keys of a dict sorted based on its values in Python</title><link>https://jhkn.dev/notes/general/returning-a-list-of-keys-of-a-dict-sorted-based-on-its-values-in-python/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/returning-a-list-of-keys-of-a-dict-sorted-based-on-its-values-in-python/</guid><description>If both keys and values are needed:</description><pubDate>Sat, 14 Feb 2026 19:22:00 GMT</pubDate><category>cs</category><category>python</category><category>tips</category></item><item><title>Jenson Hwang on the definition of intelligence</title><link>https://jhkn.dev/notes/general/jenson-hwang-on-the-definition-of-intelligence/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/jenson-hwang-on-the-definition-of-intelligence/</guid><description>https://www.youtube.com/watch?v=07v7o4hO-4k</description><pubDate>Fri, 06 Feb 2026 17:56:00 GMT</pubDate><category>video</category></item><item><title>Infinispan</title><link>https://jhkn.dev/notes/general/infinispan/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/infinispan/</guid><description>A distributed in-memory cache, to track active user sessions across its cluster.</description><pubDate>Wed, 04 Feb 2026 18:41:00 GMT</pubDate><category>cs</category></item><item><title>JWT</title><link>https://jhkn.dev/notes/general/jwt/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/jwt/</guid><description>Json Web Tokens. Consists of three parts: Header Payload Signature Asymmetric Encryption (RS256) is used. In the case of Keycloak, RSA is used. The token is signed using its Private Key. The resource…</description><pubDate>Wed, 04 Feb 2026 18:35:00 GMT</pubDate><category>api</category><category>auth</category></item><item><title>Three primary layers of managing user access in keycloak</title><link>https://jhkn.dev/notes/general/three-primary-layers-of-managing-user-access-in-keycloak/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/three-primary-layers-of-managing-user-access-in-keycloak/</guid><description>Keycloak User session Keycloak access token | Layer | Setting Name | Purpose | What happens when expired | | ------------ | --------------------- | ------------------------------------------- |…</description><pubDate>Wed, 04 Feb 2026 18:19:00 GMT</pubDate><category>cs</category><category>keycloak</category><category>api</category></item><item><title>Keycloak User session</title><link>https://jhkn.dev/notes/general/keycloak-user-session/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/keycloak-user-session/</guid><description>The User session is the user’s long term connection to keycloak. A session is Stateful and is managed on the keycloak server. In-Memory Storage: In the keycloak server side, an In-Memory Storage…</description><pubDate>Wed, 04 Feb 2026 18:17:00 GMT</pubDate><category>cs</category><category>keycloak</category><category>api</category></item><item><title>Keycloak access token</title><link>https://jhkn.dev/notes/general/keycloak-access-token/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/keycloak-access-token/</guid><description>The access token is the short-term pass to a specific service. Underlying technology: Digital Signatures In the form of a JWT. Stateless.</description><pubDate>Wed, 04 Feb 2026 18:16:00 GMT</pubDate><category>cs</category><category>keycloak</category><category>api</category></item><item><title>Using ffmpeg to reduce mp3 file size</title><link>https://jhkn.dev/notes/general/using-ffmpeg-to-reduce-mp3-file-size/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/using-ffmpeg-to-reduce-mp3-file-size/</guid><description>ffmpeg -i -b:a 128k | Bitrate | Quality Level | File Size | | ------- | -------------------- | --------- | | 320k | High (Near Lossless) | Largest | | 192k | Standard High | Moderate | | 128k | Good…</description><pubDate>Tue, 03 Feb 2026 23:26:00 GMT</pubDate><category>cs</category><category>tips</category><category>shell</category></item><item><title>encoding migration analysis</title><link>https://jhkn.dev/notes/general/encoding-migration-analysis/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/encoding-migration-analysis/</guid><description>Technical Analysis: Precise String Splitting for Cross-DB Migration Problem Overview The migration from MSSQL to Oracle involved moving large text blobs stored in multiple columns. The legacy system…</description><pubDate>Mon, 02 Feb 2026 01:20:00 GMT</pubDate><category>cs</category><category>js</category></item><item><title>Using a python model for query parameters in fastAPI</title><link>https://jhkn.dev/notes/general/using-a-python-model-for-query-parameters-in-fastapi/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/using-a-python-model-for-query-parameters-in-fastapi/</guid><description>The above can be used to designate a python class’s pydantic Fields as query parameters. This can be helpful as adding more or changing the individual fields does not change the function signature of…</description><pubDate>Wed, 28 Jan 2026 17:29:00 GMT</pubDate><category>cs</category><category>python</category><category>fastapi</category></item><item><title>Passing a list as a query parameter</title><link>https://jhkn.dev/notes/general/passing-a-list-as-a-query-parameter/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/passing-a-list-as-a-query-parameter/</guid><description>Two main methods: Comma separated values Repeating the parameter name multiple times It seems most backend frameworks support the second type. FastAPI, spring boot. At work we use vue that uses axios…</description><pubDate>Wed, 28 Jan 2026 17:14:00 GMT</pubDate><category>cs</category><category>api</category><category>fastapi</category><category>python</category></item><item><title>git prune local branches not in remote</title><link>https://jhkn.dev/notes/general/git-prune-local-branches-not-in-remote/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/git-prune-local-branches-not-in-remote/</guid><pubDate>Wed, 21 Jan 2026 14:07:00 GMT</pubDate><category>cs</category><category>git</category></item><item><title>Duck Typing</title><link>https://jhkn.dev/notes/general/duck-typing/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/duck-typing/</guid><description>If it walks like a duck and quacks like a duck, it&apos;s a duck</description><pubDate>Wed, 21 Jan 2026 00:28:00 GMT</pubDate><category>cs</category></item><item><title>Git does not track contents of a symlinked directory</title><link>https://jhkn.dev/notes/general/git-does-not-track-contents-of-a-symlinked-directory/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/git-does-not-track-contents-of-a-symlinked-directory/</guid><description>Found this out while trying to figure out how to keep an obsidian vault synced using iCloud, but also use the note contents as the source for my blog.</description><pubDate>Wed, 21 Jan 2026 00:21:00 GMT</pubDate><category>cs</category><category>git</category></item><item><title>Adding group id to user token</title><link>https://jhkn.dev/notes/general/adding-group-id-to-user-token/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/adding-group-id-to-user-token/</guid><description>As of now in Keycloak, there is no easy way to add a list of the user’s list to the session token. Client Scope can be configured to add the names or full paths of the user’s groups. At work, we…</description><pubDate>Tue, 13 Jan 2026 19:41:00 GMT</pubDate><category>cs</category><category>keycloak</category></item><item><title>Images in Cloudflare</title><link>https://jhkn.dev/notes/general/images-in-cloudflare/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/images-in-cloudflare/</guid><description>Images service in cloudflare allows you to “Easily store, resize, optimize, and serve images all in one place” You are able to upload directly to the Cloudflare Images product or use Image…</description><pubDate>Thu, 08 Jan 2026 10:47:00 GMT</pubDate><category>cs</category><category>cloudflare</category></item><item><title>Protocol in Python</title><link>https://jhkn.dev/notes/general/protocol-in-python/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/protocol-in-python/</guid><description>Protocols in Python Introduced in PEP 544, in Python 3.8. A way to formalize Duck Typing in python using Static Type Checkers Example: Any class that implements the printinfo method automatically…</description><pubDate>Wed, 07 Jan 2026 11:04:00 GMT</pubDate><category>cs</category><category>python</category></item><item><title>Jhkn.dev feature list</title><link>https://jhkn.dev/notes/general/jhkndev-feature-list/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/jhkndev-feature-list/</guid><description>UI Add tags in the notes list to easily view different groups. Perhaps I should group them Implement a pinned notes section Clear distinction between broken and valid internal links Content publish…</description><pubDate>Tue, 06 Jan 2026 17:35:00 GMT</pubDate><category>cs</category><category>blog</category><category>feature</category></item><item><title>publish obsidian notes to notes section</title><link>https://jhkn.dev/notes/general/publish-obsidian-notes-to-notes-section/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/publish-obsidian-notes-to-notes-section/</guid><description>Initial thought process: I want to distinguish between public/private and published/draft. Public notes should be tracked by git. Public notes can either be published or draft. Private notes should…</description><pubDate>Tue, 06 Jan 2026 10:01:00 GMT</pubDate><category>cs</category><category>blog</category><category>feature</category></item><item><title>Kickstart.nvim Cheat Sheet</title><link>https://jhkn.dev/notes/general/kickstartnvim-cheat-sheet/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/kickstartnvim-cheat-sheet/</guid><description>General &amp; Navigation sh : Search Help (Search documentation) sk : Search Keymaps (See all active shortcuts) sn : Search Neovim (Open init.lua config) s. : Search Recent Files (Open recently edited…</description><pubDate>Fri, 02 Jan 2026 14:59:00 GMT</pubDate><category>cs</category><category>nvim</category><category>config</category><category>cheatsheet</category><category>llm</category></item><item><title>keycloak api quirks</title><link>https://jhkn.dev/notes/general/keycloak-api-quirks/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/keycloak-api-quirks/</guid><description>keycloak api docs gh issue 41103: Service Account users now showing in the User List API endpints: GET /admin/realms/{realm}/users GET /admin/realms/{realm}/users/count Description: Keycloak api…</description><pubDate>Fri, 02 Jan 2026 13:25:00 GMT</pubDate><category>cs</category><category>keycloak</category><category>api</category></item><item><title>Cloudflare Tunnel browser based ssh &quot;Connection Refused&quot; Error</title><link>https://jhkn.dev/notes/general/cloudflare-tunnel-browser-based-ssh-connection-refused-error/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/cloudflare-tunnel-browser-based-ssh-connection-refused-error/</guid><description>Cloudflare Tunnel &quot;Connection Refused&quot; Error Problem: cloudflared logs showed a connection refused error for localhost:22. Cause: The tunnel was running in a Kubernetes container. Inside a container…</description><pubDate>Mon, 20 Oct 2025 02:13:00 GMT</pubDate><category>cs</category><category>bugfix</category><category>kubernetes</category><category>cloudflare</category></item><item><title>understanding async await</title><link>https://jhkn.dev/notes/general/understanding-async-await/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/understanding-async-await/</guid><description>https://medium.com/@rafaelvidaurre/truly-understanding-async-await-491dd580500e javascript: easy to learn, hard to master javascript classes</description><pubDate>Fri, 12 Sep 2025 02:35:00 GMT</pubDate><category>cs</category></item><item><title>javascript classes</title><link>https://jhkn.dev/notes/general/javascript-classes/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/javascript-classes/</guid><description>they are prototypes. A class is a blueprint for create object instances, a prototype IS an instance that other object instances delegate work to, a prototype is not a blueprint, it actually exists…</description><pubDate>Fri, 12 Sep 2025 02:34:00 GMT</pubDate><category>cs</category><category>js</category></item><item><title>Actual Latency</title><link>https://jhkn.dev/notes/general/actual-latency/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/actual-latency/</guid><description>Actual Latency is the real, measurable time it takes for a process to complete, from request to response. For my app, I can reduce this in a few ways: Stream the LLM Response: Get the AI&apos;s response…</description><pubDate>Thu, 21 Aug 2025 10:00:00 GMT</pubDate><category>cs</category><category>llm</category><category>question</category></item><item><title>Perceived Latency</title><link>https://jhkn.dev/notes/general/perceived-latency/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/perceived-latency/</guid><description>Perceived Latency is how fast a process feels to the user, which can be managed with smart UX design even if the Actual Latency is unchanged. Immediate Feedback: Show a &quot;typing...&quot; indicator the…</description><pubDate>Thu, 21 Aug 2025 10:00:00 GMT</pubDate><category>cs</category><category>llm</category><category>question</category></item><item><title>Traditional Node.js Server vs. Firebase Functions</title><link>https://jhkn.dev/notes/general/traditional-nodejs-server-vs-firebase-functions/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/traditional-nodejs-server-vs-firebase-functions/</guid><description>This note compares two backend approaches. Traditional Node.js Server: Pros: Total control, predictable flat-rate cost. Cons: I have to manage it (updates, security, scaling), and I pay for it even…</description><pubDate>Thu, 21 Aug 2025 09:59:00 GMT</pubDate><category>cs</category><category>llm</category><category>question</category></item><item><title>Cold Start</title><link>https://jhkn.dev/notes/general/cold-start/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/cold-start/</guid><description>A Cold Start happens when my Firebase Functions has to spin up a new instance after being idle for a while (usually 15-45 mins). This can add a 1-3 second delay to the first request. It also happens…</description><pubDate>Thu, 21 Aug 2025 09:58:00 GMT</pubDate><category>cs</category><category>llm</category><category>question</category></item><item><title>swap network order</title><link>https://jhkn.dev/notes/general/swap-network-order/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/swap-network-order/</guid><description>At work, I had a situation where I had to switch between WIFI and ethernet on my mac. To do this, I created a script to change the network order in my mac. networksetup --listnetworkserviceorder…</description><pubDate>Tue, 01 Jul 2025 13:31:00 GMT</pubDate><category>cs</category></item><item><title>bash script for switching network order</title><link>https://jhkn.dev/notes/general/bash-script-for-switching-network-order/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/bash-script-for-switching-network-order/</guid><pubDate>Tue, 24 Jun 2025 09:48:00 GMT</pubDate><category>cs</category><category>productivity</category></item><item><title>Expression problem</title><link>https://jhkn.dev/notes/general/expression-problem/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/expression-problem/</guid><description>The styles of programming languages make it harder or easier to either add a new operation or a new function You can think about a table where the rows are classes(types) and columns are the methods…</description><pubDate>Tue, 24 Jun 2025 03:05:00 GMT</pubDate><category>cs</category><category>crafting-interpreters</category></item><item><title>Grammar of Lox</title><link>https://jhkn.dev/notes/general/grammar-of-lox/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/grammar-of-lox/</guid><pubDate>Mon, 16 Jun 2025 20:43:00 GMT</pubDate><category>cs</category><category>crafting-interpreters</category></item><item><title>Grammar for breakfast menus</title><link>https://jhkn.dev/notes/general/grammar-for-breakfast-menus/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/grammar-for-breakfast-menus/</guid><description>Condensed form:</description><pubDate>Mon, 16 Jun 2025 20:36:00 GMT</pubDate><category>cs</category><category>crafting-interpreters</category></item><item><title>Context-Free Grammars</title><link>https://jhkn.dev/notes/general/context-free-grammars/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/context-free-grammars/</guid><description>production rules consists of a head and a body Backus-Naur form or BNF is a way of writing down the production rules of a CFG</description><pubDate>Mon, 16 Jun 2025 20:28:00 GMT</pubDate><category>cs</category><category>crafting-interpreters</category></item><item><title>Pitfalls of nested c-style nested block comments</title><link>https://jhkn.dev/notes/general/pitfalls-of-nested-c-style-nested-block-comments/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/pitfalls-of-nested-c-style-nested-block-comments/</guid><description>Add support to Lox’s scanner for C-style / ... / block comments. Make sure to handle newlines in them. Consider allowing them to nest. Is adding support for nesting more work than you expected? Why?…</description><pubDate>Mon, 16 Jun 2025 03:44:00 GMT</pubDate><category>cs</category><category>llm</category><category>question</category><category>crafting-interpreters</category><category>c</category></item><item><title>The effect of spaces in certain languages</title><link>https://jhkn.dev/notes/general/the-effect-of-spaces-in-certain-languages/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/the-effect-of-spaces-in-certain-languages/</guid><description>Aside from separating tokens—distinguishing print foo from printfoo—spaces aren’t used for much in most languages. However, in a couple of dark corners, a space does affect how code is parsed in…</description><pubDate>Mon, 16 Jun 2025 03:31:00 GMT</pubDate><category>llm</category><category>cs</category><category>crafting-interpreters</category><category>question</category></item><item><title>number literals in lox</title><link>https://jhkn.dev/notes/general/number-literals-in-lox/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/number-literals-in-lox/</guid><description>for Lox, number literals are floating point at runtime, but decimal and integer literals are supported. A number literal is a series of digits optionally followed by a . and one or more trailing…</description><pubDate>Mon, 16 Jun 2025 03:30:00 GMT</pubDate><category>cs</category></item><item><title>Fruits vs Vegetables</title><link>https://jhkn.dev/notes/general/fruits-vs-vegetables/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/fruits-vs-vegetables/</guid><description>Fruit is a botanical term Vegetable is a culinary term They are not mutually exclusive. Tomatoes for instance are considered both.</description><pubDate>Mon, 16 Jun 2025 03:29:00 GMT</pubDate></item><item><title>Code Points</title><link>https://jhkn.dev/notes/general/code-points/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/code-points/</guid><pubDate>Mon, 16 Jun 2025 03:26:00 GMT</pubDate><category>cs</category></item><item><title>Compilers vs Interpreters</title><link>https://jhkn.dev/notes/general/compilers-vs-interpreters/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/compilers-vs-interpreters/</guid><description>Like Fruits vs Vegetables, they are not mutually exclusive. Compiling implementation technique, translate a source language to another (usually lower level) form generating bytecode or machine code…</description><pubDate>Mon, 16 Jun 2025 03:25:00 GMT</pubDate><category>cs</category><category>crafting-interpreters</category></item><item><title>Crafting Interpreters</title><link>https://jhkn.dev/notes/general/crafting-interpreters/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/crafting-interpreters/</guid><pubDate>Mon, 16 Jun 2025 03:25:00 GMT</pubDate><category>crafting-interpreters</category><category>cs</category></item><item><title>control flow constructs in the guise of expressions</title><link>https://jhkn.dev/notes/general/control-flow-constructs-in-the-guise-of-expressions/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/control-flow-constructs-in-the-guise-of-expressions/</guid><description>and and or expressions are like control flow structures because they short-circuit. and does not evaluate the right hand side if the left hand side is false. or does not evaluate the right hand side…</description><pubDate>Mon, 16 Jun 2025 03:25:00 GMT</pubDate><category>cs</category><category>crafting-interpreters</category></item><item><title>Endianness</title><link>https://jhkn.dev/notes/general/endianness/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/endianness/</guid><description>When a value uses more than one byte, like a 16-bit number (2 bytes), the order of those bytes can vary depending on the system: Big-endian: Most significant byte first (e.g. 0x12 0x34)…</description><pubDate>Mon, 16 Jun 2025 03:24:00 GMT</pubDate><category>cs</category></item><item><title>Javascript&apos;s str.length does not equal number of characters in a string</title><link>https://jhkn.dev/notes/general/javascripts-strlength-does-not-equal-number-of-characters-in-a-string/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/javascripts-strlength-does-not-equal-number-of-characters-in-a-string/</guid><description>In my current project at work (An LG subsidiary), I had to rewrite some logic that got input from the user, and split up the input into chunks before inserting in the DB. The columns in the DB…</description><pubDate>Mon, 16 Jun 2025 03:24:00 GMT</pubDate><category>cs</category><category>js</category></item><item><title>Lox</title><link>https://jhkn.dev/notes/general/lox/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/lox/</guid><description>Garbage Collection Types Boolean Number String Nil binary operations infix and postfix postfix: Infix: No implicit conversion ie) logical operators !, and, or control flow constructs in the guise of…</description><pubDate>Mon, 16 Jun 2025 03:24:00 GMT</pubDate><category>cs</category><category>crafting-interpreters</category></item><item><title>lookahead</title><link>https://jhkn.dev/notes/general/lookahead/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/lookahead/</guid><description>It’s sort of like advance(), but doesn’t consume the character. This is called lookahead. Since it only looks at the current unconsumed character, we have one character of lookahead. The smaller this…</description><pubDate>Mon, 16 Jun 2025 03:24:00 GMT</pubDate><category>cs</category><category>crafting-interpreters</category></item><item><title>Parts of a (Programming) language</title><link>https://jhkn.dev/notes/general/parts-of-a-programming-language/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/parts-of-a-programming-language/</guid><description>Front End Scanning Lexical analysis or lexing chunks the stream of characters into Tokens there exists meaningless characters like whitespace. this is disgarded and the result is a clean sequence of…</description><pubDate>Mon, 16 Jun 2025 03:23:00 GMT</pubDate><category>crafting-interpreters</category><category>cs</category></item><item><title>UTF-8</title><link>https://jhkn.dev/notes/general/utf-8/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/utf-8/</guid><description>character encoding standard. Unicode Transformation Format - 8 bit Is used pretty much everywhere, and is able to represent all known characters of the world. Variable Width, 14 bytes. Byte order…</description><pubDate>Mon, 16 Jun 2025 03:23:00 GMT</pubDate><category>cs</category></item><item><title>maximal munch</title><link>https://jhkn.dev/notes/general/maximal-munch/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/maximal-munch/</guid><description>the important principle used during lexical analysis for when two lexical grammar rules can both match a chunk of code that the scanner is looking at, whichever one matches the most characters wins…</description><pubDate>Mon, 16 Jun 2025 03:23:00 GMT</pubDate><category>crafting-interpreters</category><category>cs</category></item><item><title>Why C requires forward declarations</title><link>https://jhkn.dev/notes/general/why-c-requires-forward-declarations/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/why-c-requires-forward-declarations/</guid><description>Some languages were developed during a time period where memory was extremely scarce. The compiler was designed around this limitation Pascal’s grammar requires type declarations to appear first in a…</description><pubDate>Mon, 16 Jun 2025 03:22:00 GMT</pubDate><category>crafting-interpreters</category><category>cs</category><category>c</category></item><item><title>statements vs expressions</title><link>https://jhkn.dev/notes/general/statements-vs-expressions/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/statements-vs-expressions/</guid><description>An expression&apos;s main job is to produce a value. A statement&apos;s job is to produce an effect. Since, by definition, statements don’t evaluate to a value, to be useful they have to otherwise change the…</description><pubDate>Mon, 16 Jun 2025 03:14:00 GMT</pubDate><category>crafting-interpreters</category><category>cs</category></item><item><title>The lexical grammars of Python and Haskell are not regular. The what and the why.</title><link>https://jhkn.dev/notes/general/the-lexical-grammars-of-python-and-haskell-are-not-regular-the-what-and-the-why/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/the-lexical-grammars-of-python-and-haskell-are-not-regular-the-what-and-the-why/</guid><description>In the context of programming language parsing, a lexical grammar defines the rules for breaking down raw source code into a stream of elementary units called tokens (e.g., keywords, identifiers…</description><pubDate>Mon, 16 Jun 2025 03:13:00 GMT</pubDate><category>llm</category><category>question</category><category>cs</category><category>crafting-interpreters</category></item><item><title>미래에셋 홈화면 개선 피드백 개선 이벤트</title><link>https://jhkn.dev/notes/general/%EB%AF%B8%EB%9E%98%EC%97%90%EC%85%8B-%ED%99%88%ED%99%94%EB%A9%B4-%EA%B0%9C%EC%84%A0-%ED%94%BC%EB%93%9C%EB%B0%B1-%EA%B0%9C%EC%84%A0-%EC%9D%B4%EB%B2%A4%ED%8A%B8/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/%EB%AF%B8%EB%9E%98%EC%97%90%EC%85%8B-%ED%99%88%ED%99%94%EB%A9%B4-%EA%B0%9C%EC%84%A0-%ED%94%BC%EB%93%9C%EB%B0%B1-%EA%B0%9C%EC%84%A0-%EC%9D%B4%EB%B2%A4%ED%8A%B8/</guid><description>최근 미래에셋에서 자사 앱의 홈화면을 리디자인 하면서 피드백 이벤트를 진행 했습니다. 평소에 즐겨 쓰는 앱 중 하나였기 때문에 열심히 참여한 결과 에어팟 프로 2세대라는 쾌거를 이루어 냈습니다. 아래는 실제로 이벤트에 참가하면서 작성한 내용입니다. 제출 한 개선 사항 자산 탭의 투자플래너의 초기 설정된 값(배당, 공모주, 세금)이 일관성 있었으면 더 좋을…</description><pubDate>Sun, 08 Dec 2024 23:11:00 GMT</pubDate><category>event</category></item><item><title>Make Logitech Great Again</title><link>https://jhkn.dev/notes/general/make-logitech-great-again/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/make-logitech-great-again/</guid><description>logitech mice and keyboards are great. The build quality, the design, the feel, the (insane) battery life are hard not to love. You can even reprogram the buttons found on top of the mouse to do…</description><pubDate>Tue, 20 Feb 2024 06:57:00 GMT</pubDate><category>productivity</category></item><item><title>Reason for parsers to not discard comments and whitespaces</title><link>https://jhkn.dev/notes/general/reason-for-parsers-to-not-discard-comments-and-whitespaces/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/reason-for-parsers-to-not-discard-comments-and-whitespaces/</guid><description>Our scanner here, like most, discards comments and whitespace since those aren’t needed by the parser. Why might you want to write a scanner that does not discard those? What would it be useful for?…</description><pubDate>Mon, 01 Jan 2024 10:00:00 GMT</pubDate><category>cs</category><category>llm</category><category>question</category><category>crafting-interpreters</category></item><item><title>Karabiner Switch Input With Right Command Button</title><link>https://jhkn.dev/notes/general/karabiner-switch-input-with-right-command-button/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/karabiner-switch-input-with-right-command-button/</guid><description>The problem As someone who often switches back and forth between a windows pc and a macbook, one thing that irritates me is the different way of switching languages between the two operating systems…</description><pubDate>Mon, 18 Sep 2023 09:01:00 GMT</pubDate><category>productivity</category></item><item><title>powershell path configuration</title><link>https://jhkn.dev/notes/general/powershell-path-configuration/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/powershell-path-configuration/</guid><description>links dev.to link for configuring path variable in powershell</description><pubDate>Mon, 18 Sep 2023 09:00:00 GMT</pubDate><category>cs</category><category>tips</category><category>powershell</category></item><item><title>macos useful config</title><link>https://jhkn.dev/notes/general/macos-useful-config/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/macos-useful-config/</guid><description>useful MAC configuration settings using terminal commands</description><pubDate>Mon, 18 Sep 2023 09:00:00 GMT</pubDate><category>cs</category><category>config</category><category>macos</category></item><item><title>shell list all systemctl</title><link>https://jhkn.dev/notes/general/shell-list-all-systemctl/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/shell-list-all-systemctl/</guid><description>links list all enabled services from systemctl systemctl list-unit-files | grep enabled systemctl | grep running</description><pubDate>Mon, 18 Sep 2023 09:00:00 GMT</pubDate><category>cs</category><category>tips</category><category>shell</category></item><item><title>shell ls sort by type</title><link>https://jhkn.dev/notes/general/shell-ls-sort-by-type/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/shell-ls-sort-by-type/</guid><description>ls by type</description><pubDate>Mon, 18 Sep 2023 09:00:00 GMT</pubDate><category>cs</category><category>tips</category><category>shell</category></item><item><title>vim config</title><link>https://jhkn.dev/notes/general/vim-config/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/vim-config/</guid><pubDate>Mon, 18 Sep 2023 09:00:00 GMT</pubDate><category>cs</category><category>config</category><category>vim</category></item><item><title>vim moving lines</title><link>https://jhkn.dev/notes/general/vim-moving-lines/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/vim-moving-lines/</guid><description>moving the current line up and down The following key remaps allow you to move the current line up and down, while keeping the indentation of the outgoing line. Enter the following code into your…</description><pubDate>Mon, 18 Sep 2023 09:00:00 GMT</pubDate><category>cs</category><category>tips</category><category>vim</category></item><item><title>vim multiline edit</title><link>https://jhkn.dev/notes/general/vim-multiline-edit/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/vim-multiline-edit/</guid><description>Multiline Edit SO link Move cursor to position to enter visual block mode and move cursor down Move into line, then type your {word} then escape Using shift-I, I&quot; Using shift-A, A&quot;</description><pubDate>Mon, 18 Sep 2023 09:00:00 GMT</pubDate><category>cs</category><category>tips</category><category>vim</category></item><item><title>vim search and replace</title><link>https://jhkn.dev/notes/general/vim-search-and-replace/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/vim-search-and-replace/</guid><description>Search and Replace Escape characters There are many special characters that need to be escaped when searching. For example, when searching for [0], the brackets need to be escaped resulting in \[0\]…</description><pubDate>Mon, 18 Sep 2023 09:00:00 GMT</pubDate><category>cs</category><category>tips</category><category>vim</category></item><item><title>vim using macros</title><link>https://jhkn.dev/notes/general/vim-using-macros/</link><guid isPermaLink="true">https://jhkn.dev/notes/general/vim-using-macros/</guid><description>Using Macros Example usage press qa to start recording a macro with the letter a. enter the commands. When incrementing, use ^a and ^x to decrement instead of hard coding numbers. press q when done…</description><pubDate>Mon, 18 Sep 2023 09:00:00 GMT</pubDate><category>cs</category><category>tips</category><category>vim</category></item></channel></rss>