TechCrunch Mobility: Reining in robotaxis
Welcome back to TechCrunch Mobility, your hub for the future of transportation and now, more than ever, the role AI is playing in it.
7045 posts · 26 feeds · tópicos e interesse por Jev
Welcome back to TechCrunch Mobility, your hub for the future of transportation and now, more than ever, the role AI is playing in it.
There are only two weeks between the launch of the Ocarina of Time remake and GTA 6, which led to a rivalry between the games' protagonists on SNL.
Your motherboard probably supports Thunderbolt, but the port isn't on the back panel
Based on Fire Emblem: Fortune's Weave ending and post-credit scene, we can especulate that Sothis' story hasn't ended yet.
The Picco may be tiny, but it's far from unique
Originally published at cchinchilla.dev. Part 5 of From code to weights, a 12-part series on ML fundamentals for engineers. Part 4 ended on one stage. A decoder is a stack of blocks, twelve in GPT-2 small, and attention is one of two stages in each. This post reads a whole block the way you'd read a pipeline: what flows in, what each stage writes, and where the parameters and the cost end up. They don't end up in the same place. I read Block in nanoGPT's model.py with the shapes in the margin and loaded GPT-2's weights into it. Then I broke it on purpose: I took blocks out one at a time, then made each one overwrite its input instead of adding to it. This is part of a series for engineers moving into ML engineering. Each part names one thing that does not behave the way software behaves. This one is where the cost lives: not where the code is. nanoGPT is a minimal GPT-2 in two files. Its README now points to a successor, but model.py is still the shortest honest read of a GPT-2 block. Block.forward is model.py:103-106: def forward(self, x): # x: [B, T, 768], the stream x = x + self.attn(self.ln_1(x)) # read a normalised copy, add attention's output x = x + self.mlp(self.ln_2(x)) # read again, add the feed-forward's output return x # [B, T, 768]: the shape it came in with Inside the two calls, model.py:52-92, six tensors are worth naming. The code below is condensed, without scaling, masking, or dropout. The shapes in the margin come from running a model with GPT-2 small's shape, d = 768 and 12 heads: qkv = self.c_attn(x) # [B, T, 2304] q, k, v side by side q, k, v = qkv.split(768, dim=2) # three views, [B, T, 768] each q = q.view(B, T, 12, 64).transpose(1, 2) # [B, 12, T, 64] 12 heads of 64; k, v alike att = (q @ k.transpose(-2, -1)).softmax(-1) # [B, 12, T, T] Part 4's square y = (att @ v).transpose(1, 2).reshape(B, T, 768) y = self.c_proj(y) # [B, T, 768] attention out h = self.gelu(self.c_fc(x)) # [B, T, 3072] the feed-forward's hidden layer out = self.c_proj(h)
There's a specific image problem that most tools have no good answer for: the words are already part of the picture, and the original design file is gone. A cafe renames itself, but the sign photo is already printed on the menu. An event moves a week later, but the poster only exists as a JPG. A price goes up and the shelf label is a flat photo from two years ago. In each case, re-shooting costs more than the change is worth. Photoshop is the obvious answer and usually the wrong one. There is no text layer to click into — the letters stopped being text the moment the file was flattened. You aren't editing text, you're editing a picture of text. That's the problem I built Reword Image around. The obvious workaround is to cover the old words with a rectangle and type new ones over the top. It demos fine and falls apart immediately: The background is never flat. A painted sign has brush texture, a chalkboard has dust, a label has paper grain. A solid rectangle reads as a patch from across the room. The lighting is baked in. Real photos have a gradient across the surface, a shadow from the frame, a falloff toward the edge. A flat fill ignores all of it. The lettering has depth. Engraved, embossed or weathered type casts its own small shadows. New flat text sits on the image instead of in it. So the text has to be replaced in place: the region gets rebuilt with the material, lighting and perspective it sits on. A wooden hanging sign, renamed. The grain, the chain shadow and the slight perspective of the photo all have to survive: An event poster with the date moved: And the harder case — removing lettering entirely and rebuilding whatever was behind it: Input quality dominates the result, so it's worth being specific instead of listing features. Works well Large, clear lettering Simple to mid-complexity backgrounds Short replacements — a word, a name, a date, a price Straight-on or mildly angled shots Needs another attempt Very small text (roughly under 20px in the sourc
The Error You run git pull or git merge and see: fatal: refusing to merge unrelated histories Git refuses to merge branches that do not share a common ancestor commit. This typically happens when you created a local repo with git init, created a remote repository on GitHub with a default README.md or .gitignore, and then tried to connect them. Force Git to merge the two independent project histories: git pull origin main --allow-unrelated-histories (Note: Replace main with master if your default branch is named master) If you are merging directly: git merge origin/main --allow-unrelated-histories If an editor opens for a commit message: Vim: Type :wq and hit Enter. Nano: Press Ctrl + O, Enter, then Ctrl + X. If merge conflicts occur: README.md), choose which lines to keep, save, and run: git add . git commit -m "chore: merge unrelated histories" Push to Remote: git push -u origin main If your local commits don't matter and you just want the remote repository's exact state: git fetch origin git reset --hard origin/main Warning: reset --hard permanently discards uncommitted local changes.
The long running fantasy MMO will receive a major new installment in the future, the first in the mainline series to take advantage of Unreal Engine
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend OutingFit Mumbai helps you decide what to wear and what to carry for an outing in Mumbai, based on the actual forecast for when you'll be out. It works by voice or text in English, Hindi or Marathi. OutingFit / OutingFit OutingFit Weather-grounded outfit and packing advice for outings in Mumbai, in English, Hindi and Marathi, by voice or text. speak / dictate / type ──► ElevenLabs (agent · Scribe STT) ──► outing form (visible, editable) │ confirm place + date/times ▼ Open-Meteo forecast for the outing window ──► decision rules (config.ts) ──► Gemma │ (explains ▼ localises) Wear / Carry / Check cards + spoken summary ◄── validation (schema, coverage, numbers, script) │ ElevenLabs TTS / agent speaks exactly that summary How it works Input. The user talks to an ElevenLabs agent, dictates (Scribe v2 speech-to-text, with an editable transcript) or types. Gemma extracts the fields from dictated or typed text. The agent fills them itself through client tools. Either way the form on screen shows exactly what was understood. Confirmation. Weather is not fetched until the destination is unambiguous and the date and times are confirmed. "Bastian" matches… View on GitHub 1.Input: An ElevenLabs agent, Scribe speech-to-text (you can edit the transcript) or typed text. Gemma pulls the venue, date, times and preferences out of free-form Hindi, Marathi or English. Everything it understood shows up in an editable form before anything else happens. 2. Weather: The Open-Meteo hourly forecast for the outing window. *For Logic and Control *, a deterministic rules engine with configurable thresholds turns the weather and what you told it into prioritised items, each with its evidence. 3. Gemma 4 (gemma-4-26b-a4b-it / 31b-it): writes the titles, explanations, outfit idea and a 60-word spoken summary. It can't add, drop or re-rank items. 4. Voice out: ElevenLabs again. local Gemma 3 4B fallback through Ollama.
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built ReplyBuddy, a simple AI-powered tool that helps you write better replies to messages. The idea came from a small but very common problem. Sometimes you know what you want to say, but you are not sure how to say it. You might want to sound friendly without being too casual, professional without sounding robotic, or simply want a short and natural reply. I built ReplyBuddy for a friend who often spends a lot of time thinking about what to reply to different messages. Instead of opening a general-purpose AI chatbot every time and explaining the whole situation, the idea was to make something focused specifically on that one problem. With ReplyBuddy, you paste the message you received, choose the kind of response you want, and the AI generates a suitable reply. For example, if someone sends: "Can you send me the project files by tonight?" You can choose a friendly or casual tone and get a response such as: "Yeah sure, I'll send them over tonight." The goal is not to replace the way someone communicates. It is simply to help when you have a blank screen and don't know how to phrase something. Live Demo: [Add your deployed link here] The project is currently available on GitHub: ReplyBuddy GitHub Repository I will also include a short video demonstration showing the main workflow of the application. The complete source code is available here: https://github.com/uditsharma45/replybuddy-ai The project is open source, so anyone can look at the implementation, run it locally, modify it, or build on top of it. I wanted to keep the project simple enough for me to understand and build, while still making AI an actual part of the application rather than just adding an AI feature on top of an otherwise unrelated project. The basic flow is: The user enters the message they received. The user selects the tone they want for their reply. The application sends the message and the selected context t
Your calendar already knows when you worked. A timesheet is those events, for one week or month, with hours added up. Export the week or month to a sheet (start, end, title, hours). Round each event the way you bill: up to 15 minutes, for example. Group by day or week with a pivot table. Remove events you declined or never answered. If you track client work in Google Calendar, you can bill from it. You need a way to tag each event with a client and add up the hours. Pick a rule: one event colour per client, or put the client name in brackets at the start of the title. Export the events to a sheet with their duration in hours. Add a client column (from the colour or the bracket text). Make a pivot table: rows = client, values = SUM of hours. Check for overlapping events. Two events at the same time count those minutes twice. Google Calendar has no export to Sheets button. Its built-in export gives you an .ics file, which Sheets cannot open as rows. In a new sheet, Extensions > Apps Script. Use CalendarApp.getDefaultCalendar().getEvents(start, end) for the date range you want. For each event, write title, start, end and (end minus start) in hours. Run it and allow calendar access. Watch time zones: the script uses the script's time zone, which may not match your sheet or calendar. I make and sell Export Calendar to Sheets. Export Google Calendar events to Sheets for any date range you pick. Hours by client or event colour, plus a Review tab that catches billing errors.
Short answer: for a marketplace workspace that must show who is online, start with ephemeral presence plus a bounded reconnect backfill, and validate every event constant against the provider's supported type list before serving traffic. A misspelled event name produces the most misleading symptom in this system: the publish appears to happen, no subscriber receives it, and no error explains the gap. The least complex fix is a startup assertion over one authoritative constants module. Do that before changing socket transports, retry intervals, or retention. Those changes cannot repair a name mismatch. The dominant cost is usually not the tiny online/offline payload. It is retained history multiplied by active workspaces, event frequency, and the backfill window. If 10,000 devices each report status once per minute, the ingress is 600,000 status events per hour; keeping seven days would mean 100,800,000 event records before indexes, replicas, or audit metadata. This is an arithmetic example, not a measured vendor benchmark, but it exposes the term that controls both storage and replay work. For "who is online now," most of those records have no continuing product value. Keep a current presence projection and a short, cursor-addressed replay window sufficient for ordinary reconnects; send offline notification work to a durable queue instead of stretching the realtime log into a job system. The queue holds the notification while the socket delivers live state, so an offline user becomes durable work rather than a lost publish. The change that moves the dominant term is the retention boundary. A one-hour backfill at the same illustrative rate contains 600,000 records, rather than the 100,800,000 implied by seven days. Longer disconnections should rebuild from an authoritative device-status snapshot and then resume after its cursor, because replaying an old presence narrative can briefly resurrect users who are no longer online. Deliberately stop retaining presence event
TL;DR The hidden trail: Cursor, Claude Code, and GitHub Copilot store credentials across config files, env variables, logs, shell history, and temp files that repository and CI scanners never inspect. The evidence: GitGuardian's State of Secrets Sprawl 2026 found 24,008 unique secrets in public MCP configuration files, 2,117 of them valid, plus a 3.2% leak rate in Claude Code-assisted commits. The fix: GitGuardian Developer Endpoint Protection discovers this trail fleet-wide with local agent inventory, machine scanning, AI hooks, and honeytokens, so security teams can remediate before compromise. Agentic coding tools can read files, run commands, and call external services. Authentication to model providers, source-control platforms, and connected tools creates several ways for credentials to remain on the endpoint: Stored: API keys and tokens can be placed in agent or MCP configuration. Some tools instead use an OS keychain or OAuth flow. Copied: a credential retrieved from a vault or environment can be written to a local file for debugging or reuse, leaving an unmanaged copy. Recorded: prompts, command output, debug logs, and session history can capture a credential when redaction is absent or incomplete. Some of these files can be committed accidentally but many never enter a repository at all. On one well-managed workstation, these artifacts may look like isolated hygiene issues but in a large organization with decentralized tooling, contractors, multiple business units, and inconsistent endpoint policy, the same pattern multiplies across the fleet. Security may know which repositories it scans while still lacking an inventory of the agents, MCP servers, and standing credentials on the machines that access them. Here's what the trail looks like, tool by tool. Cursor keeps two MCP configurations: one inside the project, which travels with the repository, and one in the user's home directory, which never enters a repository. Both accept inline credentials, as envi
The interface is deliberately small: choose a cash denomination or enter an amount, set a goal, and review a history of deposits. The interesting engineering work is in keeping those numbers honest. Here are three decisions from the PennyTap codebase that other developers building a small local tracker may find useful. PennyTap keeps an array of entries. Each entry has an amount, a creation time, an ID, and an optional note. Adding money creates a new entry at the start of the list. The total is calculated by adding the amounts in that list; it is not maintained as a separate saved counter. That choice makes corrections easier to reason about. If someone removes an accidental entry or edits an amount, the next total comes from the entries that remain. The goal progress is then total / goal when a positive goal exists. The progress bar limits its displayed width, while the underlying progress can exceed 100% if someone saves more than planned. A small tracker still needs to distinguish a record from a bank balance. PennyTap records what a person says they put into a physical piggy bank. It cannot verify the cash inside, and it does not connect to a financial account. That distinction shapes the language in the app and the expectations around its numbers. The app persists its state with AsyncStorage: entries, goal, goal note, and selected currency. On launch, it loads that state into React state. A loaded flag prevents the save effect from running before the stored data has been read. Without that guard, the initial empty state could overwrite a person's saved entries during startup. This is a modest implementation detail with a large effect on trust: losing a savings history would make the tracker much less useful. The stored object also has a schema version. When an older record lacks that version, PennyTap marks those entries as legacy. Their notes can still be edited, but their amounts are locked so an older total is not silently rewritten. The settings screen als
This is a submission for the Sanity Challenge, Path Two: Vibe-Code Something Strange. Decision Lab is a small workspace for choices that have no obvious winner. Instead of asking one question and returning a confident answer, it lets people describe the options, name the criteria that matter, assign scores, and then move the importance sliders to see whether their conclusion survives a change in priorities. The demo compares two project ideas: AI Study Planner and Portfolio Website. The published Sanity content gives the former a higher learning score and the latter a much faster path to completion. With the initial weights, Portfolio Website leads 78% to 73%. The interesting part is the what-if interaction: the answer can change when the user changes what matters most. Live app: Decision Lab The published What should I build next? decision is the Sanity-backed example in the sidebar. The screenshots below follow the built-in Where should I work next? example, which uses three options to show more of the comparison interface. Overview: the current front runner and the three available paths. At a glance: option scores and the sliders used to test different priorities. Side by side: each option is scored against the same criteria. The rest of the breakdown, with weights that can be adjusted without editing published content. No login is needed to view the published decision. The app's New decision flow creates a local browser draft; published content is edited in Sanity Studio. Repository: Decision Lab source The frontend is React, TypeScript, and Vite. Sanity Studio and the content schemas live in the same repository. The frontend queries published documents from the public Sanity dataset with GROQ. No API token is shipped to the browser. I built this with Codex as an iterative coding partner. We started with a narrow scope: one decision, several options, criteria with weights, and a side-by-side comparison. This avoided a generic dashboard full of unrelated features
Darkwaar20 commence par du bruit. Un plateau de 7×9 ne contient au départ ni terrain, ni chemin, ni objectif, ni structure visuelle significative. Chacune de ses 63 cases contient quatre canaux d’entiers générés à partir d’une graine. Cinq transformations plus tard, ces mêmes entiers décrivent un monde composé de sol, de vide, d’énergie, d’un noyau et d’une sortie. La transformation n’est pas automatique. Avant chaque passage, le joueur choisit comment le bruit doit se stabiliser. La génération constitue la première phase du jeu. Explorer le résultat en est la deuxième. graine ↓ bruit ↓ cinq transformations contraintes ↓ terrain ↓ monde jouable Une même graine n’implique pas un monde identique. même graine + contraintes différentes = monde différent Cette distinction constitue l’essence même de l’expérience. Le bruit est fixe. Le joueur fournit les contraintes. Le plateau enregistre ce qui en résulte. Le plateau comporte sept colonnes et neuf lignes. Soixante-trois cellules. Quatre canaux par cellule. Les canaux sont des entiers ordinaires, générés à partir d’une graine explicite ; le champ de départ est donc une variation qui peut être restituée à l’identique. Le hasard est utile car il empêche chaque partie de ressembler à la précédente. Une graine est utile car elle rend cette variation reproductible. Deux parties peuvent partir du même bruit et ne diverger que lorsque le joueur choisit une condition différente. Sans cette divergence, un plateau « mort » et un plateau « jouable » seraient des accidents indiscernables. Grâce à elle, la différence peut être attribuée. entrée aléatoire est la graine. influence du joueur correspond à la séquence de conditions. À l’étape zéro, les canaux sont encore bruts. Les cellules voisines ne s’accordent pas. Rien sur le plateau n’est encore « terre » ou « vide », car ces termes constituent une interprétation qui n’existe pas avant que le cinquième passage ne soit verrouillé. Ce que le joueur voit, c’est le bruit lui-même : quatr
Thaththa's Memory Box - a personal AI agent that isn't allowed to make things up Hacktoberfest Weekend Challenge: Build for a Friend Submission 🤝 Jayana Gunaweera Oct 4 #devchallenge #hf26challenge #gemma #opensource 2 reactions comments 7 min read
If only one AirPod isn't working, you have several options for troubleshooting and getting your audio back.
Article URL: https://automatictransmission.khoury.northeastern.edu/ Comments URL: https://news.ycombinator.com/item?id=49954882 Points: 6 # Comments: 0
Wunmi Mosaku (Sinners, Loki) narrates NatGeo's new documentary Africa: Earth's Wild Home
After digital antenna's fell short, I found a better way to view live TV with Plex
Article URL: https://www.reddit.com/r/2007scape/comments/1wxfyzp/runescapes_position_on_gen_ai/ Comments URL: https://news.ycombinator.com/item?id=49954745 Points: 4 # Comments: 0
WPPilot wrote this. Ask ChatGPT how to raise WordPress speed and you get a familiar list. Turn on a page cache. Cut the image size. Lazy load whatever sits below the fold. Serve WebP. Watch Core Web Vitals. None of that is a measurement. The model cannot see your server, so it cannot tell you whether the last request was served from cache or built by PHP, and it cannot see the width and height attributes on the images in the HTML. Do the smaller job. Connect the site, look at what is actually installed, time two URLs, change one setting, time them again, and put the settings back if the page got worse. If you want a PageSpeed number, open PageSpeed in a browser. Do not let the chat invent it. WPPilot is how ChatGPT, Claude, or Cursor run that loop on a site you administer. The writes that change WordPress speed are Pro. Free can look, and it can edit one image. It cannot tune the cache. You need three things in place. If any one of them is missing, the model will still answer, and the answer will be the generic list above. WordPress has to be running WPPilot, and the AI client has to be connected to that site. "Connected" is not a mood. It means the client can call the site and get a result back from an ability, not a paragraph from memory. The easiest test is to ask which site it is attached to and to ask it to run a read before it gives advice. If it starts recommending plugins you did not ask about, it is not looking at the site yet. The client can be ChatGPT, Claude, or Cursor. The steps are the same. What changes is where the calls come from. On ChatGPT the site must be public HTTPS. Those calls come from OpenAI's servers, so localhost will not answer, and a password-protected staging site will not answer either. Developer mode is documented for Plus, Pro, Business, Enterprise, and Education on the ChatGPT site. A workspace policy can disable it. If the app does not show up in the picker, fix that before you touch a cache setting. You will otherwise spend an ho
📝 Originally published (in Japanese) at forge.workstyle.tech. September 29, 09:52 AM. It didn't look like it had stopped. On the surface, it was still in progress. This process was responsible for the final step of the daily morning board update: exporting records from the page's database, regenerating the HTML, and re-publishing the page. The execution on September 29 had stalled at that very first export. I was using the desktop app session remotely, so I couldn't reach the authorization screen. Even if there was a process waiting for my approval on the other side of the screen, I couldn't move forward without clicking "Allow." In the meantime, the screen continued to display "Running." I view the delivery numbers and work records on three pages: the dashboard, post board, and comment board. All of these are Artifacts published by Claude, and the records are stored in the page's DB. The morning updates were not a single process. At 09:30, launchd aggregates the viewing count. At 09:40, another launchd process rebuilds the HTML. Finally, from 09:45, Claude writes records from the page's DB, rebuilds the HTML, and re-publishes two pages. The mid-stage processes can be run with a local script. In fact, the morning script collects comments and rebuilds the dashboard and comment board HTML from local data. Even if comment collection fails, it continues processing with the previous content. To prepare for page updates, local HTML is created in advance. However, the final stage requires tools to read and write the page's DB and publish Artifacts. This part could not be executed with scripts alone. It had been confirmed that the headless claude -p does not have Artifact-related tools. Therefore, I decided to assign the final task to the "Periodic Task" in the Claude desktop application. The configuration was to proceed with data output and publication at a fixed time every morning. The execution log from September 29 at 09:52 showed four calls regarding the initial DB wr
PostgreSQL Point-in-Time Recovery in Kubernetes: WAL-G + Stolon Pattern We recovered a 2TB PostgreSQL database to 14:32:18 yesterday after a botched migration wiped 47 tables. The recovery took 11 minutes. Here's the WAL-G + Stolon stack that made it survivable. PostgreSQL primary (StatefulSet) ↓ (streaming replication) PostgreSQL standby (StatefulSet, hot standby) ↓ (WAL archiving via WAL-G) S3 bucket (versioned + lifecycle policy) ↓ (periodic base backup) S3 bucket (daily base backups) WAL-G handles both incremental WAL archiving (continuous, every 16MB) and full base backups (daily). Stolon manages PostgreSQL lifecycle + failover. Both run as sidecar/init containers in the StatefulSet. apiVersion: apps/v1 kind: StatefulSet metadata: name: postgres spec: template: spec: containers: - name: postgres image: postgres:15.4 - name: wal-g image: ghcr.io/wal-g/wal-g:latest env: - name: WALG_S3_PREFIX value: s3://postgres-backups/wal-g - name: AWS_REGION value: us-east-1 - name: AWS_ROLE_ARN value: arn:aws:iam::123:role/postgres-walg command: - /bin/bash - -c - | while true; do wal-g wal-push /pgdata/archive/ sleep 60 done WAL-G pushes every 60 seconds. S3 versioning gives us 30-day WAL retention even if someone deletes the prefix. apiVersion: batch/v1 kind: CronJob metadata: name: postgres-base-backup spec: schedule: "0 2 * * *" jobTemplate: spec: template: spec: containers: - name: wal-g image: ghcr.io/wal-g/wal-g:latest command: - /bin/bash - -c - | wal-g backup-push /pgdata Daily at 02:00 UTC. 7-day retention on base backups (more than enough — we keep WALs longer). Stolon runs as a separate StatefulSet. Sentinel handles leader election; keeper runs postgres on each pod and handles streaming replication to standby. Failover takes ~15 seconds. apiVersion: batch/v1 kind: Job metadata: name: postgres-restore spec: template: spec: restartPolicy: Never containers: - name: restore image: postgres:15.4 command: - /bin/bash - -c - | # Get the most recent full backup + WALs up
My coding agent can write a feature, add tests, and hand me a green build. It can also put the right behavior in the wrong place. The application works. The imports look reasonable. But an application service has quietly learned how the database stores and replaces rows. That is the kind of review comment I want to turn into useful automated feedback. I built Jev CI to explore this. It compares Git branches, evaluates changes against policies written in YAML, and lets Jev request more evidence when the diff does not answer the review question. Here is the example from my short video, followed by the mechanism and commands to run it yourself. Two implementations of the same feature The feature is small: replace an item's ordered list of labels. I built a demo repository with my coding agent and opened two pull requests against main. Both branches pass the demo's six checks: five behavior tests and one import check. That import check inspects the Python AST and verifies that the service imports only LabelStore from src.ports. No direct database import slips into the service. In PR 1, the application service coordinates the replacement: def set_labels(self, item_id: str, labels: list[str]) -> None: self.store.delete_labels(item_id) for position, label in enumerate(labels): self.store.insert_label(item_id, position, label) self.store.flush() The feature works. But the service now knows that replacement means deleting rows, assigning positions, inserting the new values, and flushing the changes. If storage needs a different replacement procedure later, that knowledge is sitting in the caller. In PR 2, the service uses a single operation: def set_labels(self, item_id: str, labels: list[str]) -> None: self.store.replace_labels(item_id, labels) The storage adapter owns the sequence: def replace_labels(self, item_id, labels): self.delete_labels(item_id) for position, label in enumerate(labels): self.insert_label(item_id, position, label) self.flush() The interface already de
Self-Compassion as a Planning Skill, Not a Soft Extra Last January I bought a paper planner with a green cover and seven blank columns per week. I filled in Monday and part of Tuesday. Two weeks later I found it under a stack of mail, and the first thing I felt was not mild annoyance. It was shame. That shame is the reason the planner stayed under the mail for six months. If you have ADHD, you probably know this sequence. You miss a few days. The planner becomes evidence of failure. Opening it again hurts, so you stop opening it. The tool did not fail because of laziness. It failed because I had no plan for the moment after I missed a day. Here is what the research actually says about that moment, and why self-compassion belongs in the planning system itself. The research on time perception in ADHD is not subtle. Mioni and colleagues (2023) reviewed a decade of studies and found the most affected domains are time estimation, time reproduction, and time management. Time management is not a character trait. It is a skill, and it is measurably impaired. Ptacek and colleagues (2019) went further, proposing that differences in time perception should be considered a core symptom of adult ADHD. Read that again the next time you feel bad about "not being able to plan." You are asking an impaired system to perform the exact function it is impaired in. Missing a day is not a moral failure. It is the expected output of a system that does not feel time the way typical advice assumes. Working memory is where planning quietly falls apart. Kofler and colleagues (2020) used bifactor modeling and found central executive working memory deficits with effect sizes of d = 1.63 to 2.03. In plain terms, 75 to 81 percent of people with ADHD show impairment on this measure. Phonological short-term memory, by contrast, was intact. That is a very large effect. It means the part of your mind that holds a plan in place while you act on it is the part under the most strain. Barkley (1997) framed
Every weekday a single, opinionated rule for senior C#/.NET engineers using Cursor. Here's the full week in one read — canonical posts live on the Agentic Architect blog. Sun 04 Oct Architectural rules belong in tests, not in code review. Encode them as NetArchTest assertions ("no class in Domain references EntityFrameworkCore") and they fail your build instead of your standup. Add the corresponding test whenever a new layer or project is introduced. → Permalink on the blog Sat 03 Oct In-memory EF Core providers lie. Use WebApplicationFactory with Testcontainers (SQL Server, Postgres) for real integration coverage. Cursor defaults to UseInMemoryDatabase — it passes locally and ships the bug to production. Flag the in-memory provider in test projects. → Permalink on the blog Fri 02 Oct Library code (non-ASP.NET) should ConfigureAwait false on every awaited Task. ASP.NET Core code should not. Cursor mixes the two contexts in the same solution. Detect the project type and enforce the right default. → Permalink on the blog Thu 01 Oct async void is a deadlock and unhandled-exception trap everywhere except UI event handlers. The AI uses it routinely for "fire and forget" — wrong answer every time. Flag it on sight. → Permalink on the blog Wed 30 Sep Value objects (Money, Address, Coordinates) should be records. Entities with identity (Order, Customer) should be classes with an Id. Cursor mixes these constantly. A rule that classifies based on the presence or absence of an identity property keeps the distinction honest. → Permalink on the blog Tue 29 Sep Mark every class sealed unless inheritance is explicitly planned. Stops Cursor inventing accidental inheritance hierarchies "for flexibility." Small but measurable virtual-call perf wins too. → Permalink on the blog Mon 28 Sep OrderId as record struct OrderId(Guid Value) beats raw Guid everywhere. Stops the AI passing a CustomerId where an OrderId was expected — a bug the compiler can't catch with primitive obsession but c
What if a CPU could reveal information from an operation that, architecturally, never happened? That sounds like a contradiction. Either an operation executed or it didn't. If it didn't, how can it expose anything? Modern CPUs execute instructions speculatively before knowing whether those instructions belong on the actual execution path. When they find out they were wrong, they discard the architectural results of that speculative work. The program behaves as if the incorrect path never ran. But discarding architectural results is not the same as erasing every physical effect inside the processor. Some effects can persist at the microarchitectural level. And some of those effects are indirectly observable through timing. That gap between what architecturally happened and what physically happened is where Spectre lives. A CPU executing instructions strictly in order, one at a time, waiting for every result before starting the next instruction, would leave enormous amounts of hardware idle. Memory is slow compared to the processor. An instruction might need to wait dozens or hundreds of cycles for data to arrive. While it waits, every execution unit sits unused. Modern CPUs are built around the insight that sequential, one-at-a-time execution is almost never necessary. Most instructions do not depend on the one immediately before them. A processor can execute multiple independent instructions simultaneously, dispatch them out of order to available execution units, and produce the same architecturally correct result as sequential execution would. This is out-of-order execution. It is complemented by pipelining, which overlaps the stages of instruction processing so that while one instruction is being decoded, the next is being fetched, and the one before it is being executed. Both techniques require the CPU to be working on instructions before all the information needed to fully resolve those instructions is available. The processor is constantly running ahead of what