mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-05-01 17:24:57 +00:00
Email Phase 2 components had broken imports that required structural refactoring. Per the "no WIP" policy established in CLAUDE.md, incomplete implementations cannot remain in the codebase. Email components have been removed until Phase 2 can be completed as a full implementation. Changes: - Removed fakemui/react/components/email/ (22 incomplete components) - Updated CLAUDE.md to mark Phase 2 as POSTPONED, not in-progress - Added explicit "CRITICAL: No Work-In-Progress Code" policy section - Email components can only be re-added when fully implemented with correct imports - Phases 1,3-5 remain complete: DBAL, Redux, Hooks, API endpoints - Production build succeeds with `npm run build` Policy: - NO code with broken imports can remain in main branch - NO partial features documented as "in progress" - Features must be 100% complete or completely removed - Email Phase 2 requires full component architecture rebuild Status: - emailclient: DEPLOYMENT-READY (Phases 1,3-5 complete) - Next: Phases 6-8 (Workflow plugins, Backend service, Docker) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Mojo Examples
Example projects demonstrating Mojo - a new programming language that combines Python syntax with systems programming performance.
Why Mojo?
- Python-like syntax - Familiar to Python developers
- Strictly typed - Compile-time type checking
- Systems performance - Comparable to C/C++/Rust
- Python interop - Import and use Python libraries
- SIMD & parallelism - First-class support for vectorization
Requirements
- Mojo SDK (free to download)
Project Structure
mojo/
├── src/
│ └── main.mojo # Main entry point
├── examples/
│ ├── hello.mojo # Hello world
│ ├── structs.mojo # Struct definitions
│ ├── simd.mojo # SIMD operations
│ ├── python_interop.mojo # Python integration
│ └── performance.mojo # Performance comparison
└── mojoproject.toml # Project configuration
Quick Start
# Run hello world
mojo examples/hello.mojo
# Build optimized binary
mojo build src/main.mojo -o main
# Run with Python interop
mojo examples/python_interop.mojo
Key Features Demonstrated
Strict Typing
fn add(x: Int, y: Int) -> Int:
return x + y
Structs with Ownership
struct Point:
var x: Float64
var y: Float64
fn __init__(inout self, x: Float64, y: Float64):
self.x = x
self.y = y
SIMD Operations
from math import sqrt
fn vector_magnitude[width: Int](v: SIMD[DType.float64, width]) -> Float64:
return sqrt((v * v).reduce_add())
Python Interop
from python import Python
fn main() raises:
let np = Python.import_module("numpy")
let arr = np.array([1, 2, 3, 4, 5])
print(arr.mean())