Weekend Reading — 🤗 Hug a CFO
This week we talk about React hooks, CloudFlare caching, SVB’s fall from grace, AI winter, generated AI aesthetics, non-linear workdays, and how to leave work early.
Dumpster Fire - This is Fine Vinyl Figure
Were React Hooks a Mistake? and React Is Holding Me Hostage
People like signals because signal-based components are far more similar to class components than to function components with hooks.
I think React made a mistake in that they only provided a few hook primitives, and expected developers to compose their own use cases, or fallback on hard-to-locate 3rd party libraries. Many developers struggled, and the overall developer experience was and still is frustrating.
Signals do solve a common use case that React ignored, but also they’re an incremental improvement that adds another primitive, without solving the core problem and raising the level of abstraction.
But more specifically, the same playbook that sold you React hooks as the solution to all problems is now selling signals and/or “not React”. It’s the same grievance-based marketing that funnels attention to the next ultimate solution. Fool me once …
Ryan Elainska 🔥
I’m increasingly over the “React Hooks were a mistake” genre of takes. Not everyone’s brain has to work the same way. If hooks are weird to your brain or seem like an unhelpful paradigm, don’t use them. Or don’t use React. There are great alternatives to it now! But there’s no need to claim it’s wrong and bad for anyone to use. Go solve real problems with whatever tool or framework makes you most productive. #reactjs #webdevelopment
mcc “Excellent question”
TOML to JSON A ton of text convertors for developers: HTML → JSX, JSON → JSON Schema → TypeScript → Zod schema, YAML → TOML, etc
To Infinity and Beyond, with Cloudflare Cache Reserve
2 bucks a day 😲 But this has taken nearly 16M requests off my origin service over this period of time so I haven't paid for the Azure Function execution (which is cheap) nor the egress bandwidth (which is not cheap).
Ramón Martín Huidobro Peltier 😆
If I ever start a CSS consultancy I'll call it "Weird flex but ok”
Tailwind CSS 10-color Palette Generator and API Give it a base color and it will generate a 10-color palette with lightness/luminance from 0 to 100.
Chris Coyier “Check it. The
lh unit is pretty good for zebra striping text even when it reflows and whatnot.” — https://codepen.io/chriscoyier/pen/BaOZpVm
I've been learning Rust for 3 days and this is my first impression from r/ProgrammerHumor
Dot-Com Bubble Peaks Out - This Day in Tech History Coincidence? I think not!
- March 10, 2000 — The NASDAQ Composite Index reaches 5,048.62 which becomes the peak of the Dot-Com Bubble
- March 10, 2023 — Silicon Valley Bank implodes after startups pull their
life savingsinvestment cash reserves out of the bank
- March 10, 2023 — Allbirds, tech bro’s favorite shoe brand, stock is down 46%
@SVB This tweet aged like fine milk:
Proud to be on @Forbes' annual ranking of America's Best Banks for the 5th straight year — Mar 6, 2023
Morning Brew has a good explainer of how SVB went from 60 to 0 in less than 48 hours (you can’t even get a bank wire transfer to happen that fast.)
I, having 0 years of experience in the banking industry and therefore being totally qualified to have an opinion in this matter, explain why the sky isn't falling.
And if you want to be nice, this is the weekend to hug a CFO.
Why AI is Harder Than We Think I agree with some of the main points: progress in AI is not linear, AGI is still far out, and hype always meets a moment of reckoning.
But this time it’s different because … unit economics. I wrote a whole thread about it, the gist of it:
- 1980’s tech couldn’t possibly run GPT-3 to summarize an email, and if it could, it would cost you $1K (or some such amount)
- 2020’s tech can summarize an email in 5 seconds for $0.01, and enough people will pay $20/month to get their inbox under control
- Philosophers ask “does next-token prediction qualify as intelligence?”, while businesses ask “can I charge more than it costs to serve?”
- LLMs don’t have to be perfect, just good enough and cheap enough to reach enough customers who feel that way and are willing to pay more than it costs to serve them
All of these are true now, just look at this chart:
Google dusts off the failed Google+ playbook to fight ChatGPT Google “panic mode”. See what I did there.
When Google integrates GPT into Google Docs, they will Sherlock a lot of startups. They probably won't do it as well, but hard to compete with free when don't even have a way to benchmark GPT against each other. (Anyone working on that? DM me)
@Juan Mateos Garcia “On the nose comment in an FT article about generative AI VC hype.” com/content/567109…
Experimental Evidence on the Productivity Effects of Generative Artificial Intelligence So much research (esp in software development) is conducted in lab settings and doesn’t replicate in the real world. So I appreciate this research includes a follow-up section, where they review whether people keep using the technology, and what’s their experience away from a controlled setting:
33% of former treatment group participants have used ChatGPT in their job in the past week, relative to 18% of control group participants. Restricting to workers who had not previously used ChatGPT when they participated in our main experiment, 26% of treated and 9% of control workers are now using ChatGPT in their jobs (p-value on difference 0.048). Users give it an average usefulness score of 3.65/5.00, somewhat lower than in our main experiment, likely owing to the greater length and complexity of real-world tasks. The range of tasks they report using it for is broad: generating recommendation letters for employees, responding to customer service requests, brainstorming, search-engine requests, rough-drafting emails, and so on. Respondent
Also, this resonates with me:
If ChatGPT is especially helpful to those with poor writing and communication skills relative to their other skills, it could have major labor market implications by expanding the available occupational choices and raise the earnings of individuals with strong idea-generation skills who struggle to effectively get those ideas onto paper.
The Impact of AI on Developer Productivity: Evidence from GitHub Copilot In contrast, this article only measures performance under ideal/synthetic settings. It's a micro-benchmark, and I won't draw conclusions about real life experience, but even a 5% gain (vs 55%) is 2 hours out of the week.
oh no we made a matrix too big and multiplied it too many times and now it has feelings
@Roland Meyer This thread (with images) captures the new aesthetics well:
Now that the DALL-E has been successfully midjourneyfied, it is becoming apparent that instead of simulating all possible ›styles‹, AI is fostering the emergence of a distinct visual style, born out of popular aesthetic preferences dominating platforms like DeviantArt
Most AI-generated images — and I’m being generous here — are not worth the bites. Only a select few get published and re-shared. It’s people who select which images will be shared and what aesthetics will come to define AI-generated art.
MidJourney captured that preference early on, StableDiffusion and DALL-E are slowly adapting to match that aesthetic. Evolutionary pressure applied to text2image models.
The gaze that determines this aesthetics is determined by early adopters of and it will come to define 2023 aesthetics like skeuomorphism, round buttons, and Corporate Memphis years before.
What should we call it?
Can AI perfect the IPA? I know some people who will find this headline a combination of two disturbing trends
ancient catbus “Sorry, it will happen again”
Amish Super Model
I can’t believe how old people my age are.
All I remember from university chemistry is that avacados have 6.022x1023 atoms.
@.Morten “I’m starting to think USB-C plugs in outlets is a disaster waiting to happen…”
who called it “writing documentation” and not “manual labor”
You’re telling me a home made these cookies?
Will non-linear work days be the new hybrid working? I love how instead of just taking a mid-day nap or long lunch break, I’m now participating in the non-linear workday movement!
The radical idea that people aren't stupid
“People aren’t stupid” may always be a radical idea. There will always be people doing stupid stuff, and it will always be tempting to assume that stupid actions = stupid people. It’s hard to imagine how naive realism could disappear, or how we could bridge the psychological distance between each person and the public.
Giving the middle finger is a ‘God-given right’, Canadian judge rules This lawsuit is straight out of AITA, and the judge has a great sense of humor. You can enjoy the full decision here (it’s light on legalese):
In the modern-day vernacular, people often refer to a criminal case “being thrown out”. Obviously, this is little more than a figurative expression. Cases aren’t actually thrown out, in the literal or physical sense. Nevertheless, in the specific circumstances of this case, the Court is inclined to actually take the file and throw it out the window, which is the only way to adequately express my bewilderment with the fact that Mr. Epstein was subjected to an arrest and a fulsome criminal prosecution. Alas, the courtrooms of the Montreal courthouse do not have windows.
Since I’m hesitant to draft an entire decision in bold and caps-lock characters, I offer the following observations instead.
At trial, there is no evidence before me suggesting these young children form a criminal or terrorist organization.
The comment further showed that the complainant’s account is overly dramatic and theatrical. This deplorable Laval reference is worthy of an eye roll that could sever both optical nerves.