Don't wanna be here? Send us removal request.
Text
Accidentally reinventing the Blacklight Svelte component
0 notes
Text
A computer that plays games?

0 notes
Text
Mobx vs Immer vs Mobx State Tree
0 notes
Text
Clojure-like path manipulation with Typescript and Immer
1 note
·
View note
Text
Intelligent design and Homeopathy
0 notes
Text
Reinventing the wheel...
...one Blackbox at a time. 😂
An attempt to define Blackbox:
Absolutely! Here's an updated and comprehensive summary of Blackbox based on your detailed descriptions:
Blackbox: An Advanced Type System Framework
Objective:
Facilitate a declarative, inversion-of-control API model for developers.
Ensure a seamless development experience without developers diving deep into TypeScript complexities.
Promote a pure functional programming model in JavaScript/TypeScript, making the paradigm both joyful and pain-free.
Core Features:
Source Tree Structuring: Blackbox relies on a specific file structure, predominantly within the ./src directory of a project. Each file in this tree structure essentially becomes a new "type" within the Blackbox system.
Declarative Nature: The majority of Blackbox type ESMs (ECMAScript Modules) are designed to be declarative. They often export strings, and these exports are JSON-serializable. This characteristic ensures ease of introspection and configurability.
Pure Functions: Blackbox enforces that the functions being exported from its ESMs remain pure, adhering to the philosophy that a function should produce the same output given the same input, without side effects.
Type 'type' Concept:
The fundamental type that Blackbox identifies and operates upon is the "type" type.
Initially, Blackbox scans the entire source tree, after which it specifically identifies files that fall under the "type" category. These specific files reside under the "types" parent folder and adhere to certain naming conventions.
Most other files in the source tree are an instance of these defined "types".
Predictable ESM Structure: Every ESM in Blackbox has a highly predictable structure, encouraging the system's strict typing approach. Deviations from the expected structure result in TypeScript compiler errors, guiding developers to adhere to the correct structure.
Type Identification via Pathing:
Example: ./src/my/routes/my-sub-folder/[...path]/+page.ts is identified as type 'routes/+page', informed by its position under a 'routes' folder and its filename '+page.ts'.
Naming conventions, such as the one inspired by Sveltekit, allow Blackbox to categorize files into types efficiently.
Functional Classification System: Blackbox essentially presents a class-based system where each type is a composite of a data schema, configuration strings (defining the data type), and custom pure functions (introducing new operations). This structure provides an intuitive navigational paradigm for developers, making it easy to trace and identify functionalities.
Focus on Large Object Domains: Blackbox aims to assist developers in managing vast object domains by categorizing functionalities, making the system both navigable and discoverable.
Potential Applications:
Web Development: While Blackbox itself isn't web-specific, its concepts, like the type routing inspired by Sveltekit, can be immensely beneficial in organizing web-based projects.
Large Scale Software Design: For software with extensive object domains, Blackbox can help developers manage and categorize functionalities effectively.
Overall Vision: Blackbox endeavors to reinvent the wheel when it comes to type systems in the JavaScript/TypeScript domain. By placing strict conventions, promoting a declarative and pure functional approach, and ensuring ease of use for developers, it aspires to make large-scale development smoother and more intuitive.
0 notes
Text
Typescript and Algebraic Types
Good discussion of ML-like features in Typescript.
The GPT question was prompted by the above Hacker News comment. See also:
0 notes
Text
Origin of "Aircheck"
Q: What is the origin of the term "aircheck" as regards off-air radio station recordings?
ANSWER
The term "aircheck" originated in the context of radio broadcasting and refers to the practice of making off-air recordings of radio programs or broadcasts. The term emerged in the early days of radio when broadcasters would use reel-to-reel tape recorders to capture their own on-air performances or to record other programs for personal or professional purposes.
The term "aircheck" is believed to have originated from the combination of two words: "air," referring to the transmission of radio signals through the airwaves, and "check," implying a method of verifying or reviewing the quality of the broadcast. Essentially, an aircheck serves as a snapshot or sample of what was transmitted over the airwaves during a specific time period.
Airchecks were commonly used by radio personalities, program directors, and station managers for various purposes. They were utilized as a tool for self-evaluation, allowing radio personalities to review their performance, improve their delivery, and identify areas for enhancement. Program directors and station managers used airchecks to monitor the content and quality of their radio station's programming, ensuring adherence to station guidelines and objectives.
Furthermore, airchecks were sometimes shared with industry professionals, potential employers, or used for talent demos. DJs or announcers seeking employment at other radio stations could provide airchecks as examples of their work and skillset.
With the advent of digital technology, the term "aircheck" has expanded beyond its original meaning. Nowadays, it can also refer to digital recordings or online archives of radio broadcasts, as well as video recordings of television programs.
0 notes