HackerLangs
TopNewTrendsCommentsPastAskShowJobs

Kerrick

no profile record

Submissions

Anyone can code with AI. But it might come with a hidden cost

nbcnews.com
1 points·by Kerrick·قبل 3 أشهر·0 comments

Ruby Can Create Images Again

rubystacknews.com
2 points·by Kerrick·قبل 4 أشهر·0 comments

I Sold Out for $20 a Month and All I Got Was This Perfectly Generated Terraform

matduggan.com
5 points·by Kerrick·قبل 5 أشهر·0 comments

Upright: An Open Source Synthetic Monitoring System

dev.37signals.com
3 points·by Kerrick·قبل 5 أشهر·0 comments

Welcome to the Eternal September of open source. What we'll do for maintainers

github.blog
10 points·by Kerrick·قبل 5 أشهر·2 comments

Teleporting into the Future and Robbing Yourself of Retirement Projects

ghuntley.com
1 points·by Kerrick·قبل 5 أشهر·0 comments

ReMemory: Human-recoverable, Zero-infrastructure Cryptographic Inheritance

github.com
1 points·by Kerrick·قبل 5 أشهر·0 comments

Ruby 4.0 is available in the Microsoft Store

rubyinstaller.org
1 points·by Kerrick·قبل 5 أشهر·0 comments

Accessibility For Everyone is now free and online as a website

accessibilityforeveryone.site
2 points·by Kerrick·قبل 5 أشهر·0 comments

Roots is a game server daemon that manages Docker containers for game servers

github.com
49 points·by Kerrick·قبل 5 أشهر·12 comments

When will CSS Grid Lanes arrive? How long until we can use it?

webkit.org
2 points·by Kerrick·قبل 6 أشهر·0 comments

Understanding the Fundamentals of CSS Layout

polypane.app
4 points·by Kerrick·قبل 6 أشهر·0 comments

The Bitter Lesson (2019)

incompleteideas.net
2 points·by Kerrick·قبل 6 أشهر·0 comments

Show HN: RatatuiRuby wraps Rust Ratatui as a RubyGem – TUIs with the joy of Ruby

ratatui-ruby.dev
152 points·by Kerrick·قبل 6 أشهر·32 comments

Crystal 1.19.0 Is Released

crystal-lang.org
4 points·by Kerrick·قبل 6 أشهر·0 comments

Why Containers?

willhbr.net
3 points·by Kerrick·قبل 6 أشهر·0 comments

The Case for Blogging in the Ruins

joanwestenberg.com
4 points·by Kerrick·قبل 6 أشهر·0 comments

A Power User Guide for Google Antigravity

kerrick.blog
3 points·by Kerrick·قبل 6 أشهر·0 comments

Ruby2JS is an extensible Ruby to modern JavaScript transpiler

ruby2js.com
2 points·by Kerrick·قبل 6 أشهر·0 comments

My 2025 AI Developer Year in Review

scottw.com
2 points·by Kerrick·قبل 6 أشهر·0 comments

comments

Kerrick
·قبل 9 أيام·discuss
Most blu-rays are 1080p, not 4K. The latter gets marketed as "UHD" and sold in a black case, to contrast the blue case of traditional FHD blu-rays.
Kerrick
·قبل 28 يومًا·discuss
I suspect that vibe coders who hit a wall need the same thing that programmers from 2003 who hit a wall needed. Talk to the business people, get an understanding of their domain and the problem at hand, and model that as a series of anthropomorphic objects that encode the business rules in the language that the domain experts already used (tweaked by the need for disambiguation and clarity). Back in the day, this was software design, a distinct skill (and often job!) from computer programming.

I'd love to read your book, if you write it. Anybody who's talked to a thousand people trying to solve the same problems will have an amazing perspective and a lot to teach.
Kerrick
·قبل 30 يومًا·discuss
That wall was detailed in 2003 in Domain-Driven Design: Tackling Complexity in the Heart of Software by Eric Evans, Chapter Four, "Smart UI Anti-Pattern." The context is the same, the problem is the same, the solution is the same. Even the advantages and disadvantages are the same as what you see in vibe-coded projects.

> A project needs to deliver simple functionality, dominated by data entry and display, with few business rules. Staff is not composed of advanced object modelers.

> [...] Simple projects come with short time lines and modest expectations. Long before the team completes the assigned task, much less demonstrates the exciting possibilities of its approach, the project will have been canceled. [...] And in the end, if they do surmount these challenges, they will have produced a simple system. Rich capabilities were never requested.

> Therefore, when circumstances warrant:

> Put all the business logic into the user interface. Chop the application into small functions and implement them as separate user interfaces, embedding the business rules into them. Use a relational database as a shared repository of the data. Use the most automated UI building and visual programming tools available.

> [...] Yet it is a legitimate pattern in some other contexts. In truth, there are advantages to the SMART UI, and there are situations where it works best—which partially accounts for why it is so common. Considering it here helps us understand why we need to separate application from domain and, importantly, when we might not want to.

> Advantages: Productivity is high and immediate for simple applications; Less capable developers can work this way with little training; Even deficiencies in requirements analysis can be overcome by releasing a prototype to users and then quickly changing the product to fit their requests; Applications are decoupled from each other, so that delivery schedules of small modules can be planned relatively accurately; Expanding the system with additional, simple behavior can be easy; Relational databases work well and provide integration at the data level; 4GL tools work well; When applications are handed off, maintenance programmers will be able to quickly redo portions they can’t figure out, because the effects of the changes should be localized to each particular UI.

> Disadvantages: Integration of applications is difficult except through the database; There is no reuse of behavior and no abstraction of the business problem. Business rules have to be duplicated in each operation to which they apply; Rapid prototyping and iteration reach a natural limit because the lack of abstraction limits refactoring options; Complexity buries you quickly, so the growth path is strictly toward additional simple applications. There is no graceful path to richer behavior.

> [...] Remember, one of the consequences of this pattern is that you can’t migrate to another design approach except by replacing entire applications. [...] Don’t bother hedging your bet. Just using a flexible language doesn’t create a flexible system, but it may well produce an expensive one.
Kerrick
·قبل شهرين·discuss
Analog Mono and Two Slice are really neat. If you like those, you'll probably also like another of my favorite modern pixel fonts: Departure Mono. https://departuremono.com
Kerrick
·قبل 3 أشهر·discuss
https://awnist.com/slop-cop (via https://news.ycombinator.com/item?id=47806845) points out Staccato Burst, Dramatic Fragment, Colon Elaboration, and Short-Hook Paragraph. To me, those define the tone of this article.
Kerrick
·قبل 3 أشهر·discuss
https://asahilinux.org/docs/platform/feature-support/m4/
Kerrick
·قبل 3 أشهر·discuss
> What I’ve built here is a structured edition — the parsing, reconstruction, linking, indexing, etc. I haven’t published a formal license for that yet.

If you live in the U.S. I recommend you read No Sweat of the Brow Copyright: https://www.gutenberg.org/help/no_sweat_copyright.html
Kerrick
·قبل 3 أشهر·discuss
Z.ai's Coding Plan with GLM 5.1 (Max) did more than double in price. It was $80 two weeks ago, and now it's $160.
Kerrick
·قبل 3 أشهر·discuss
> By default, minimize button not present in titlebars

This is explained by the ElementaryOS H.I.G.:

> Apps should save their current state when closed so they can be reopened right to where the user left off. Typically, closing and reopening an app should be indistinguishable from the legacy concept of minimizing and unminimizing an app; that is, all elements should be saved including open documents, scroll position, undo history, etc.

> Because of the strong convention of saved state, elementary OS does not expose or optimize for legacy minimize behavior; e.g. there is no minimize button, and the Multitasking View does not distinguish minimized windows.

More: https://docs.elementary.io/hig/user-workflow/closing
Kerrick
·قبل 3 أشهر·discuss
I didn't want to put a spiked nose ring on the first calf born on my small farm because of the visual shock. Its mother didn't kick the calf off as it grew up. The calf wouldn't stop nursing, kept the cow in milk for far too long, and I believe eventually caused her death.

These are not sapient beings that are capable of looking out for their own well-being. We've bred that out of them over hundreds of human generations.
Kerrick
·قبل 3 أشهر·discuss
I think there's a linguistically-driven temporal misunderstanding happening here. A cow couldn't have a calf if it hadn't become pregnant.

But there's so much to the linguistics of animal husbandry and dairy that many folks don't know. It goes way deeper than just the milk-oriented terms in the article: Heifer versus cow, freshening and calving, steer versus ox versus bull, AI (not the LLM kind) versus natural service, the barn, parlor, and pasture, and more. Plus plenty of technical knowledge. If you're not hand milking, how many mmHg of negative pressure should you use? Do you use a surcingle, or a claw, or a robot?

Even in the milk-oriented terms, there are others not covered by the article. HTST and UHT aren't the only options, there's also LTLT. Pasteurization can be done in a pipeline, or in a vat. Smaller vats for home and small farm usage can be multi-purpose: I pasteurized milk and cultured yogurt in mine. Some folks even care about the specific proteins (A1 beta-casein versus A2), which is genetically determined by the cow (and can be bred for).

I got a cow in 2020 and there was a lot to learn.
Kerrick
·قبل 4 أشهر·discuss
Why would anybody who rejects them on moral grounds pick them up later? It isn't a discussion of lateness, it's a discussion of opting out.
Kerrick
·قبل 4 أشهر·discuss
Software Developers median pay according to BLS: $131,450 per year

(Source: https://www.bls.gov/ooh/computer-and-information-technology/...)

Computer Programmers median pay according to BLS: $98,670 per year

(Source: https://www.bls.gov/ooh/computer-and-information-technology/...)

Software developers typically do the following:

- Analyze users’ needs and then design and develop software to meet those needs Recommend software upgrades for customers’ existing programs and systems Design each piece of an application or system and plan how the pieces will work together

- Create a variety of models and diagrams showing programmers the software code needed for an application

- Ensure that a program continues to function normally through software maintenance and testing

- Document every aspect of an application or system as a reference for future maintenance and upgrades

(Source: https://www.bls.gov/ooh/computer-and-information-technology/...)

Computer programmers typically do the following:

- Write programs in a variety of computer languages, such as C++ and Java

- Update and expand existing programs

- Test programs for errors and fix the faulty lines of computer code

- Create, modify, and test code or scripts in software that simplifies development

(Source: https://www.bls.gov/ooh/computer-and-information-technology/...)
Kerrick
·قبل 4 أشهر·discuss
Ruby has types with RBS and Steep now. It's a lot like using .d.ts sidecar files alongside JavaScript, via jsconfig.json configuring tsc. I like it a lot!
Kerrick
·قبل 4 أشهر·discuss
> It gets 50% more pull requests, 50% more documentation, 50% more design proposals

Perhaps this will finally force the pendulum to swing back towards continuous integration (the practice now aliased trunk-based development to disambiguate it from the build server). If we're really lucky, it may even swing the pendulum back to favoring working software over comprehensive documentation, but maybe that's hoping too much. :-)
Kerrick
·قبل 4 أشهر·discuss
This is the exact analogy that Gene Kim and Steve Yegge used throughout their book Vibe Coding: Building Production-Grade Software With GenAI, Chat, Agents, and Beyond.
Kerrick
·قبل 4 أشهر·discuss
Unambiguously, though, it is. There's so much trash imperative code in its training data that LLMs tend to vomit out garbage. But if you anchor it with OOP, the quality tends to be higher.
Kerrick
·قبل 5 أشهر·discuss
But now many suburban homeowners also have a little lawn tractor, and lots of people on small acreage have a utility tractor. None of them are farmers, but they get value out of the technology as well. Plus, we're feeding a lot more people for a lot less money than we did before tractors.
Kerrick
·قبل 5 أشهر·discuss
Results testing with 4 levels of Gemini (Fast, Thinking, Pro, Pro + Deep Think): https://ruby.social/@kerrick/116079054391970012

My favorite was Thinking, as it tried to be helpful with a response a bit like the X/Y Problem. Pro was my second favorite: terse, while still explaining why. Fast sounded like it was about to fail, and then did a change-up explaining a legitimate reason I may walk anyways. Pro + Deep Think was a bit sarcastic, actually.
Kerrick
·قبل 5 أشهر·discuss
Those are all stateless MVC over HTTP, which is a very different architecture from stateful MVC for long-lived UI. The latter was invented for Smalltalk by Trygve Reenskaug, and is far more relevant to front-end web.

Stateful MVC uses Publisher/Subscriber (or Observer) to keep Views and Controllers up-to-date with changing Models over time, which is irrelevant for stateless MVC over HTTP. Plus, in stateful MVC the View and Controller are often "pluggable," where a given Controller+Model may use a different View for displaying the same data differently (e.g. table vs. pie chart), or a given View+Model may use a different Controller for handling events differently (e.g. mouse+keyboard vs. game controller). Whereas, in stateless MVC over HTTP, the controller is the "owner" of the process, and won't generally be replaced.

And in the world of front-end web, stateful MVC really is mostly dead. MVVM and Component-based architectures (using the Composite pattern) have replaced it. A runtime is usually responsible for wiring up events, rather than individual controllers. Controllers don't need to be swappable because events can be given semantic meaning in components, and Views don't need to be swappable because you can instead render a sub-composite to change how the data is shown.