Skip to content

Instantly share code, notes, and snippets.

View Metaomniliquant's full-sized avatar

Caleb McElrath Metaomniliquant

View GitHub Profile
@Metaomniliquant
Metaomniliquant / jit_emit_initLclVarAddr_and_struct_promotion_ai.md
Last active September 13, 2024 04:09
Jit Emit's `initLclVarAddr` and Struct Promotion

Jit emit initLclVarAddr and struct promotion

Significance of (2^{22}) in Computer Science

Memory and Storage Measurement

The value (2^{22}) represents 4,194,304, which is a significant figure in memory and storage measurement. This value is often used to denote memory sizes, such as 4 MB, which is a common memory block size in various computing systems.

Addressing Schemes

In addressing schemes, (2^{22}) is used to manage large memory spaces efficiently. It allows for the creation of address spaces that can handle up to 4,194,304 unique addresses, facilitating efficient memory allocation and access.

@Metaomniliquant
Metaomniliquant / module_stock_alert_api.psd1
Created August 27, 2024 13:12
PowerShell Stock Alerts
@{
# Script module or binary module file associated with this manifest.
RootModule = 'stock_alert_api.psm1'
# Version number of this module.
ModuleVersion = '1.0.0'
# ID used to uniquely identify this module
GUID = 'e8b0320d-8f4d-4c5f-b4ea-fd9c4a7c6e99'
@Metaomniliquant
Metaomniliquant / AMD Ryzen 1300x CPU Cache & C#.md
Created August 1, 2024 04:06
AMD Ryzen 3 1300x Zen Architecture CPU, Cache, & C#

AMD Ryzen 3 1300X CPU and Cache

  • Cache Hierarchy:
    • L1 Cache: 96 KB per core, fastest and smallest.
    • L2 Cache: 512 KB per core, larger and slower than L1.
    • L3 Cache: 8 MB shared among all cores, largest and slowest.
  • Cache Line Size: 64 bytes.

How the L3 Cache Works

  • Data Flow: Data flows from RAM to L3, then to L2, and finally to L1. The CPU manages this process automatically.
  • Data Sharing: The L3 cache is shared among all cores, facilitating efficient data sharing and reducing latency.
@Metaomniliquant
Metaomniliquant / mydomainblocklist.all.v4.txt
Last active June 18, 2024 22:20
All blocked domains v4
This file has been truncated, but you can view the full file.
# log all such errors.
# mistyped URLs to search engines. They
# ads and track users across
# the com.com family of sites
# up CSS on livejournal
# May break iOS Game Center.
# problems with NPR.org
# URLs to their site.
# and potentially other sites.
@Metaomniliquant
Metaomniliquant / domainblocklist.all.v3.txt
Created August 7, 2020 21:05
All blocked domains v3
This file has been truncated, but you can view the full file.
# log all such errors.
# mistyped URLs to search engines. They
# ads and track users across
# the com.com family of sites
# up CSS on livejournal
# May break iOS Game Center.
# problems with NPR.org
# URLs to their site.
# and potentially other sites.
This file has been truncated, but you can view the full file.
# log all such errors.
# mistyped URLs to search engines. They
# ads and track users across
# the com.com family of sites
# up CSS on livejournal
# May break iOS Game Center.
# problems with NPR.org
# URLs to their site.
# and potentially other sites.
This file has been truncated, but you can view the full file.
# log all such errors.
# mistyped URLs to search engines. They
# ads and track users across
# the com.com family of sites
# up CSS on livejournal
# May break iOS Game Center.
# problems with NPR.org
# URLs to their site.
# and potentially other sites.
This file has been truncated, but you can view the full file.
# log all such errors.
# mistyped URLs to search engines. They
# ads and track users across
# the com.com family of sites
# up CSS on livejournal
# May break iOS Game Center.
# problems with NPR.org
# URLs to their site.
# and potentially other sites.
@Metaomniliquant
Metaomniliquant / xd2md.cs
Last active August 29, 2015 14:19 — forked from formix/xd2md.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Linq;
namespace Formix.Utils
{
class Program