Gio.. 🇺🇦 retweeted
Each coordinate of a closed outline has its own real Fourier series: x(t) = ∑ (aₖ cos kt + bₖ sin kt), and the same for y.
A cosine and sine of frequency k make one arm of length √(aₖ² + bₖ²) turning k times per lap. One chain sets x, one sets y, and the pen sits where their guides cross. With N harmonics per axis the knight is off by 30.2 % of its height at N = 1, 0.70 % at N = 50.
At N = 1 both coordinates are pure sinusoids: an ellipse.
Gio.. 🇺🇦 retweeted
Codex tip: once GPT-6.1 Sol is your main model, stop running Astra on every turn
put Astra on call as an architect agent
GPT-6.1 Sol keeps writing the code
Astra only gets spawned at three points:
→ before a plan: is this the right approach?
→ when the same error comes back: am I digging in the wrong place?
→ before "done": what did I miss?
Astra reviews. Sol ships
Jev engineering is the same move one layer down: the forks that need no thinker (which file, which tool, retry or stop) go to Jev in under half a second, and the big models only see the ones that split
- the full tree
> GPT-6.1 Sol on high runs the main session
> explorer reads the code on Luna
> worker edits and runs tests on Sol
> researcher pulls the docs on Luna
> all three on medium
> Astra on call as the architect
> auto_review checks every approval
paste the tree and this prompt into Codex ↓
"Rebuild my Codex setup around this tree:
1. Check ~/.codex/agents and .codex/agents for agents that already fit explorer, worker and researcher.
> Draft new TOML files only for missing roles
> explorer and researcher on gpt-6-luna, worker on gpt-6.1-sol, all with model_reasoning_effort medium
> Add an architect agent on gpt-6-astra, model_reasoning_effort high, whose only job is reviewing plans, repeated errors and finished work
> Skip any that pin a different model and list them
2. In ~/.codex/config.toml set model to gpt-6.1-sol, model_reasoning_effort to high and approvals_reviewer to auto_review
3. Find anything that would override this (active profiles, flags in my shell aliases, agents.default_subagent_model). Report it, change nothing
4. Add one rule to AGENTS.md: spawn the architect before a large plan, when an error repeats, and before calling a long task done
Show me every change as a diff first. No edits until I say go."
↳ developers.openai.com/codex/…
To build a generic swap in C, pass the size explicitly, create a temporary byte buffer, then use memcpy three times to rotate the bit patterns.
VLA char buffer[size] is a GCC thing, for a more portable version malloc the temp and free it.
Stanford CS107, lecture 4
The youngest mathematician to win the Fields Medal in 40 years walked into UCLA and explained an unsolved problem that sits at the foundation of number theory. The companies that understand this mathematics hire at $400,000 a year and almost never post the jobs publicly.
His name is Manjul Bhargava. Fields Medal 2014. Princeton professor at 28. He reinvented the study of number fields and broke open problems that had been untouched for 200 years. His students go on to cryptography teams at Google, Jane Street, and the NSA before most mathematicians finish their PhDs.
This is UCLA, Distinguished Lecture Series, 2015. It covers square-free values of polynomials - a problem so deep that even the simplest version, x to the fourth plus 1, remains unsolved.
He starts with a question anyone can understand. If you pick a random integer, what is the probability it has no perfect square as a factor? The answer involves pi. It is 6 over pi squared - roughly 60 percent.
Then why. Each prime contributes independently. The probability of avoiding a squared factor at prime p is 1 minus 1 over p squared. Multiply over all primes and you get the Euler product for the Riemann zeta function. A question about integers connects directly to the deepest object in mathematics.
Then the hard part. For polynomials of degree four or higher in one variable not a single irreducible example is known where the conjecture is proven. Does x to the fourth plus 1 take infinitely many square-free values? Nobody knows.
Then the breakthrough. Bhargava shows how symmetry groups - algebraic structures acting on spaces of polynomials - can be used to transfer hard cases to easier ones. The technique works on a polynomial with degree 40 in 40 variables and resolves questions about quintic number fields that had been open for decades.
Watch the moment he describes a problem that the ABC conjecture would instantly solve - and notes that a proof of ABC has been sitting on the internet for years, unverified.
A cryptographer I know watched this series before joining a post-quantum security team. Said it was the first time algebraic number theory felt like engineering rather than pure abstraction.
Free on YouTube, UCLA Mathematics, full lecture series available.
Gio.. 🇺🇦 retweeted
My friends, mañana comienza el #adventofcode!
La razón por la que sigo recomendando está opción sobre otras alternativas es:
1. Te sirve para practicar inglés
2. La comunidad es inmensa
3. Sigue siendo súper retador y útil para practicar!
adventofcode.com/
Gio.. 🇺🇦 retweeted
The Fenwick Tree (Binary Indexed Tree)
> Criminally underrated !!
> Blazing fast !!
> Elegant as hell !!
> Prefix sums in O(log n) !!
> Point updates in O(log n) !!
> Super simple code !!
[[ Lower constant factors than a Segment Tree ]]
Great for competitive programming + analytics pipelines
And unlike Segment Trees…
You can fit the whole thing in your head
Some Use-case
👉 Running sums
👉 Frequency tables
👉 Order statistics
👉 Streaming analytics
👉 Sliding windows
👉 Cumulative frequencies in databases
unavailable
Gio.. 🇺🇦 retweeted
Les dejo un video muy bueno sobre cómo diseñar APIs y cuándo elegir REST, WebSocket o gRPC.
También entra en arquitecturas y en cómo tomar mejores decisiones técnicas.
Si te gusta el backend, te va a sumar muchísimo.
👇
Gio.. 🇺🇦 retweeted
Functions are Vectors
This is a great blog post from Max Slater about how viewing functions as infinite dimensional vectors unlocks powerful tools from linear algebra.
I think this is an under-emphasized perspective in intro linear algebra classes.
Gio.. 🇺🇦 retweeted
List of Data Structures to know to pass LeetCode interviews:
1. HashMap
2. Array
3. Single Linked List
4. Doubly Linked List
5. Stack
6. Queue
7. Binary Search Tree
Gio.. 🇺🇦 retweeted
Want to understand B-trees better?
Try btree.app and bplustree.app.
These are standalone sandboxes of the visuals I built for my "B-trees and database indexes" article. Helpful for learning B-tree insertion, search, and node splits.
Gio.. 🇺🇦 retweeted
Uno de mis recursos favoritos de toda la vida para aprender data structures y algoritmos es este podcast: BaseCS
Fue una sesión donde cada episodio habla de un tema en concreto: linked lists, DFS, BFS, trees y más
Lo escuchaba muchísimo cuando empecé a practicar para entrevistas
codenewbie.org/basecs
Gio.. 🇺🇦 retweeted
120+ diagrams done: memory, goroutine stack, garbage collection, all visualized. Coming soooon!
Gio.. 🇺🇦 retweeted
Docker 101: Build and Publish a Container Image 🐳
One of the key Docker workflows is to build the project's image given its Dockerfile. Oftentimes, it's as simple as "docker build -t TAG" from the top folder, but not always.
Practice building images: labs.iximiuz.com/challenges/…

































