Readit News logoReadit News
goostavos commented on TLA+ Modeling Tips   muratbuffalo.blogspot.com... · Posted by u/birdculture
hwayne · 2 days ago
I think the "high school math" slogan is untrue and ultimately scares people away from TLA+, by making it sound like it's their fault for not understanding a tough tool. I don't think you could show an AP calculus student the equation `<>[](ENABLED <<A>>_v) => []<><<A>>_v` and have them immediately go "ah yes, I understand how that's only weak fairness"
goostavos · 3 hours ago
Oh, hey -- you're that guy. I learned a lot of what I know about TLA from your writings ^_^

Consider my behavior changed. I thought the "high school math" was an encouraging way to sell it (i.e. "if you can get past the syntax and new way of thinking, the 'math' is ultimately straight forward"), but I can see your point, and how the perception would be poor when they hit that initial wall.

goostavos commented on TLA+ Modeling Tips   muratbuffalo.blogspot.com... · Posted by u/birdculture
agentultra · 2 days ago
I really like TLA+ and am glad it exists.

But every time I suggest to a team I’m working on that we should try modelling the problem with it… people are less than enthusiastic.

These are all great tips. Especially starting with the most simple, abstract model and extending it with refinement if you need to.

That basically means that you write your first spec as abstractly and simply as possible with as little detail about the actual implementation as you can.

If details matter, you use the first spec as a module and write a new spec with the added details. The new spec will use implication that if this spec holds then the first one holds too.

Anyway, I was kind of mad when I learned TLA+ that it and systems like it aren’t part of the standard curriculum and common practices.

“We built this distributed database that guarantees quorum if you have at least 3 nodes!” someone will excitedly claim. And when you ask how you get an informal paper and 100k lines of C++ code. Wouldn’t it be nicer if you just had 1k lines of plain old pure maths?

And pure maths that can be exhaustively checked by the computer? It’s not as perfect as a proof but it’s great for a lot of practical applications.

For me it’s nicer I guess.

goostavos · 2 days ago
I find the same. Even those who are interested in it in theory hit a pretty unforgiving wall when they try to put it in practice. Learning TLA+ is way harder than leaning another programming language. I failed repeatedly while trying to "program" via PlusCal. To use TLA you have to (re)learn some high-school math and you have to learn to use that math to think abstractly. It takes time and a lot (a lot!) of effort.

Now is a great time to dive in, though. LLMs take a lot of the syntactical pain out of the learning experience. Hallucinations are annoying, but you can formally prove they're wrong with the model checker ^_^

I think it's going to be a learn these tools or fall behind thing in the age of AI.

goostavos commented on Things I want to say to my boss   ithoughtaboutthatalot.com... · Posted by u/casca
ostacke · 8 days ago
I’m sure you’re right, at least to some extent, but let’s not forget that Mad Men is fictional, and from the 21st century, and might not accurately reflect the 1950’s.
goostavos · 8 days ago
Fictional, but it captures something about work and life in that unique way that art is supposed to.

One of my favorite scenes:

Peggy: "You never say thank you!" Don: "That's what the money is for!"

It captures a lot of the mismatch in perspective between employer/employee boss/subordinate. You're there to do something for someone who is paying you to do it. That's as far as it goes (despite the constant human pull to perceive it as more).

goostavos commented on Baboon: Data Modeling with Automatic Evolutions and tagless binary codecs   github.com/7mind/baboon... · Posted by u/pshirshov
pshirshov · 20 days ago
I've added a simple explanation right into the readme: "Essentially, you define your data structures and Baboon generates implementations for you. Then you define new versions, Baboon generates new versions of the structures, the conversions from old structure versions to new ones and forces your to provide conversions which cannot be derived automatically. Also it comes with extremely efficient tagless binary encoding for all your structures."

This thing can remove a lot of manual work and save your ass sometimes from the effects of incorrect migrations.

goostavos · 20 days ago
FWIW, even with the "simple explanation," I'll echo OP's statement that the README doesn't really explain what it is or what it's solving. "Generates new versions of the structures" might mean something really clear to you, but even the phrase "data modeling" is enough to trigger lots of conflicting baggage in my head. Also: it took awhile it realize it's for Scala. I initially assumed this was a Smithy-like competitor.

It looks neat (once I found your docs)! Show what it is and what it solves in your README! The structural inheritance is slick.

goostavos commented on 73% of AI startups are just prompt engineering   pub.towardsai.net/i-rever... · Posted by u/kllrnohj
lomase · a month ago
Imagine you are a top of the line engenier...

Engineering data flow... sure, we all like to use big words.

goostavos · a month ago
The new 10x engineering is writing "please don't write bugs" in a markdown file.
goostavos commented on It's insulting to read AI-generated blog posts   blog.pabloecortez.com/its... · Posted by u/speckx
mikepurvis · 2 months ago
I would never put up a copilot PR for colleague review without fully reviewing it myself first. But once that’s done, why not?
goostavos · 2 months ago
It destroys the value of code review and wastes the reviewers time.

Code review is one of the places where experience is transferred. It is disheartening to leave thoughtful comments and have them met with "I duno. I just had [AI] do it."

If all you do is 'review' the output of your prompting before cutting a CR, I'd prefer you just send the prompt.

goostavos commented on I only use Google Sheets   mayberay.bearblog.dev/why... · Posted by u/mugamuga
thesuitonym · 3 months ago
Another oft overlooked point is that anti-spreadsheet people aren't actually against using spreadsheets, we just want our coworkers to stop placing mission critical operations in an enormous, half-baked spreadsheet that exists only in some long-since retired users home directory.
goostavos · 3 months ago
One of the surprising things about working inside of $MegaCorp is that if you knock on enough doors, you'll eventually find that each org has, like, one dude* with a spread sheet that powers everything else. Teams will get spun up to try to "automate" this spreadsheet, but, on a long enough time horizon, the spreadsheet wins.
goostavos commented on H-1B Visa Changes Approved by White House   newsweek.com/h-1b-visas-c... · Posted by u/ivewonyoung
lacker · 4 months ago
In my experience the FAANG companies don't really abuse their H-1Bs. At Google or Meta the H-1Bs really are just smart people who participate as full and equal peers. And the FAANGs employ plenty of American citizens, they hire all the good employees they can get. The trouble either comes from small companies or from consulting shops.

The simplest solution is just to take salary into account. If someone is making $180k a year then they aren't "owned".

goostavos · 4 months ago
I don't think you can capture the complexity of the world with a single variable. I'm at Amazon. We all make about the same. Some more than me. Some less. However, while I don't have to worry about changing jobs, or _not_ having a job (for awhile), they do. They're working with an entirely different set of pressures and constraints.

For me, I can hop ship, decide I don't like it, boomerang back or take some time off no worse for the wear. That level of autonomy doesn't exist when you've got 60 days to land a job or uproot the life you've been building. Salary is a minor part of the picture. If changing jobs is a gamble that might end in "leave the country," the employer gets a certain kind of "loyalty" that salary cannot buy.

goostavos commented on Use Your Type System   dzombak.com/blog/2025/07/... · Posted by u/ingve
nsm · 5 months ago
Highly recommend the Early Access book Data-Oriented Programming with Java by Chris Kiehl as another resource.
goostavos · 5 months ago
Hey, I'm that guy! Thanks for the shout out!

u/goostavos

KarmaCake day5471February 24, 2012
About
Software engineer and overall pretty swell guy.

Checkout my book! https://www.manning.com/books/data-oriented-programming-in-java

chriskiehl.com

View Original