map.getOrInsert(key, build()) runs build() on every call, even when the key already exists. JavaScript evaluates arguments first. getOrInsertComputed() only calls the function on a miss, so make it your default. #JavaScript#WebDev
https://t.co/H6m4HJEsfk
A bare domain as the referrer in your analytics is expected. Since Chrome 85 and Firefox 87, cross-origin requests send only the origin, no path or query. HTTPS to HTTP sends nothing. Set Referrer-Policy yourself. #WebPrivacy#Analytics
https://t.co/liSKTrBN8M
A Claude memory cleanup that only deletes leaves gaps. My version asks up to three questions about what Claude is missing, then dates each active project. #ClaudeAI#PromptEngineering
https://t.co/9ZI0dNWTVd
The Referer header has been misspelled since the 1990s. In 1995 Roy Fielding joked that Unix spell rejected both spellings anyway. RFC 9110 in 2022 still marks it [sic]. Once browsers depend on a name, it stays. #HTTP#WebStandards
https://t.co/liSKTrBN8M
CSS can divide a length by a length now. calc(100cqi / 1ch) gives you roughly how many characters fit on a line, as a plain number. I used it to set line-height from line length, no JavaScript. #CSS#WebDev
https://t.co/2FCxRraFcf
Claude asked me about memory entries I'd forgotten were there. You can't clean up what you don't remember saving, so let it list everything and ask you. #ClaudeAI#AIProductivity
https://t.co/9ZI0dNWTVd
Included Fable 5.2 access on Claude Pro ends tonight at 11:59 pm PT. Have Fable write a playbook skill for Opus before then, covering how it plans, splits work and checks itself. Both prompts are in the post. #ClaudeCode#AI
https://t.co/VJv1zrtLxa
Keep a Claude memory only if it would change how Claude answers you. True but useless entries are still clutter. My monthly cleanup prompt is in the post. #ClaudeAI#PromptEngineering
https://t.co/9ZI0dNWTVd
The Jerusalem virus was built to delete programs on Friday the 13th. A broken self-check gave it away first. Infected .EXE files grew 1,808 bytes every run until they wouldn't load. #ComputingHistory#Malware
https://t.co/nMxx3xgXcI
req.headers.referrer is always undefined in Node. The request header is Referer, one R, a 1990s typo. The policy header is Referrer-Policy, and if you misspell that one the browser drops it with no warning. #HTTP#NodeJS#WebDev
https://t.co/liSKTrBN8M
Popovers, anchor positioning, scroll-driven animations and stylable selects now ship in real browsers. What each one replaces, the code to use, and where you still need a fallback. #CSS#WebDev https://t.co/Ahe0fqQYkV
Heavy images slow pages more than anything else, so I built Image Size Checker Pro. It compresses each image to measure real savings and keeps the filename, format and dimensions. Lighthouse flags big images. This one fixes them. #PageSpeed
https://t.co/1zdsWfsImc
I built a Chrome extension that saves a whole web page as one image. No account, no uploads, nothing locked. Premium with annotation is coming later, and I get why that makes people wary. What's free today stays free. #ChromeExtension#Screenshots
https://t.co/MzBltZ3Mx6
Trump calls AI safety concerns a hoax, then announces an AI Force to watch for harm. No structure or budget yet, no czar named. Amodei wants to slow development instead. I use Claude daily and think underreaction is the bigger risk. #AISafety https://t.co/lLEkVQAwBt
Morning Brew says trust is holding AI agents back. Meta's Muse is the No. 1 free US App Store app, so I doubt it. The bigger risk is users granting access they don't understand. Safeguards may help, and I'll wait for proof. #AIAgents#AISafety
https://t.co/Z8XLvjgbAC
@BrislinD94357@Math_files Still works, you just don't get to use Fibonacci to get there.
3 mi = 5 km
5 mi = 8 km
So 4 = (8+5)/2, which is 6.5
The literal conversion of 4 mi is 6.43 km. Close enough.
@RealSchlep Where's @YourAnonOne? Write a DDOS and hit Roblox with it. It will be hard with 1% of the Earth on there daily, but gotta hit 'em with something.