Reposted by cedarp.bsky.social
SCULLY: where are you?
MULDER:
2 replies
2 reposts
40 likes
> “If this passes, we won’t be able to afford to live in our own communities,” said David Kafko [, real estate broker in support of maintaining broker fees]
the real estate industry extracting money from tenants is why neighborhoods are unaffordable in the first place
slate.com/news-and-pol...
0 replies
0 reposts
0 likes
I think that's it with vague thoughts about CI and testing. Wishful thinking and discipline are not strategies to address issues with a system of inter-connected parts.
0 replies
0 reposts
0 likes
Only when you get enough individual tests for it to matter should you start adding tooling that will start being smart about what subsets of the test suite should run when you have certain changes in the PR diff. Track when your diff strategy fails to correctly identify interconnected parts.
1 replies
0 reposts
0 likes
Decompose integration tests down into meaningful units. Don't spin up a database to make sure a function in the app server adds numbers together correctly. Test behavior intentionally and reduce any extra work you can.
1 replies
0 reposts
0 likes
Whenever the answer someone gives is "engineers should just be more disciplined" that's a red flag. Focus on the incentives (or disincentives!) for doing the thing. Never chalk it up to character flaws. Make tests run automatically. Make tests run fast.
1 replies
0 reposts
0 likes
Keep track of how long tests take locally and remotely separately. Keep track of how often tests crash locally versus in CI. Design your test suite to avoid using a database when a test doesn't actually need to serialize data for the behavior it covers. Randomize the order and parallelize.
1 replies
0 reposts
0 likes
Ask why someone doesn't want to run the tests. Do they require effort? Do they take time? Often that's enough. If you make something quick and effortless, the tests will take care of themselves. Go out of your way to build or document tools that run tests automatically as people work.
1 replies
0 reposts
0 likes
Again, do we FORCE the test suite to run on every push or commit? No. But pay attention to the incentives that prevent that from happening. Does the test suite require manually maintaining and resetting a database or message broker? Is the test suite slow?
1 replies
0 reposts
0 likes
CI problems benefit from shifting things to the left. Catch as many issues as you can as early as you can. The later in the process you can catch an issue, the more likely that issue is getting caught very late, requiring rework, or when it's already gotten to production, costing you real money.
1 replies
0 reposts
0 likes
So you can't blame the author of the PR for not running the tests. It isn't their fault, even if they ARE lazy. If the system makes running tests locally hard or impossible, it's not a discipline issue.
1 replies
0 reposts
0 likes
Models help us understand things, but they don't capture everything. We love to ask "what was the root cause of why this system broke?". Nobody's asking "what was the root cause of why the system worked today?". It sounds insane to even ask!
1 replies
0 reposts
0 likes
Root cause analysis is strictly a simplification of how a system did something bad once (and maybe can be extended to how it would do the bad thing again in the future). You reduce it to a simple model so that you can recommend a change.
1 replies
0 reposts
0 likes
So we're left with "discipline". We tend to shame people for opening a PR that breaks a test. "You should have run these locally first." The actual solution is to treat this as a system. You don't fix systems by ignoring that it's a system. There is no 'root cause' of a problem in a system.
1 replies
0 reposts
0 likes
prepush hooks have the same problem, but they make it easier to work locally. You can actually record a history of changes, but you still can't share them at the critical time when you actually need help from a coworker.
1 replies
0 reposts
0 likes
Precommit hooks slow down local development time and make it impossible to collaborate. People who think precommit hooks are the solution never consider that checking in buggy code is actually a good thing. "Hey this change fixes one bug but crashes this test, can you take a look?"
1 replies
0 reposts
0 likes
So -- ideally everyone is running tests locally and they don't run into surprises when their PR's run of the test suite finds bugs. The fixes that people tend to think of are: precommit hooks, prepush hooks, and discipline. These all suck.
🧵
1 replies
0 reposts
0 likes
why the fuck do they have a cop barking orders at jurors checking their phone before orientation
1 replies
0 reposts
1 likes
Reposted by cedarp.bsky.social
I cannot control my wretched flagwife. Anyway here’s my ruling on abortion: no one can have one.
36 replies
393 reposts
2235 likes
Reposted by cedarp.bsky.social
damn this quote about london from the 1200s makes it sound so epic????
93 replies
385 reposts
1428 likes
Reposted by cedarp.bsky.social
WONKA: *quickly slamming a door labeled LICORICE WHIPS* That's not part of the tour. That's for something else
6 replies
109 reposts
570 likes
her reasoning that commuters from new jersey and connecticut would be harmed by this policy is the point! it is the point! they don't live in the fucking city! they do not care if the city is livable!!!
0 replies
0 reposts
0 likes
if "we're serious about making cities livable" we should change the structure of the government in new york so a craven politician halfway across the state can't veto policies meant to make the city livable.
1 replies
0 reposts
0 likes
Reposted by cedarp.bsky.social
Kathy Hochul’s decision to halt congestion pricing in NYC — if it holds — is a generational setback for US climate policy. It is worse than the Mountain Valley pipeline or Willow project in Alaska, and it will have lacerating national implications.
I wrote about it: heatmap.news/economy/kath...
18 replies
218 reposts
544 likes
Reposted by cedarp.bsky.social
If we can’t do big local climate policy (congestion pricing) on the most dense, most rich, most congested part of the country, we can’t do the big things needed for climate action. I choose to believe we can do big things.
5 replies
36 reposts
152 likes
Reposted by cedarp.bsky.social
Profiles in Cowardice: Governor Hochul Executes Craven 11th-Hour Flip-Flop on Congestion Pricing
Kathy Hochul's spine was last seen driving a Hummer on the New Jersey Turnpike.
0 replies
45 reposts
120 likes
Reposted by cedarp.bsky.social
this is such bullshit. middle class families aren’t driving into work from connecticut to midtown manhattan! www.nytimes.com/2024/06/05/n...
43 replies
137 reposts
1267 likes
Reposted by cedarp.bsky.social
Advocates and organizers of congestion pricing in Manhattan were shellshocked on Wednesday and furious with Gov. Kathy Hochul after she indefinitely suspended the plan.
2 replies
17 reposts
61 likes
Reposted by cedarp.bsky.social
Katie Honan on Kathy Hochul's video announcement suspending congestion pricing:
When they do a video like this it means they’re afraid of reporters asking questions
5 replies
18 reposts
128 likes
Reposted by cedarp.bsky.social
old enough to remember when Gov. Kathy Hochul supported congestion pricing (I am a two week old baby)
2 replies
26 reposts
218 likes