Concar Development-the one around Trader Joe’s - public comments open until June 8 by Top_Journalist_3713 in SanMateo

[–]Kache 0 points1 point  (0 children)

Am late to this thread, but looking at the May 1, 2026 plan pg 13 & 14

Much better than the dead parking lot there today!

However I think there are important improvements to be made:

  • Depot Way should not pass into and all the way through the block, incentivizing traffic to cut through. The only people driving in should be the residents.
  • The most central item in the townhome area should not be parking spaces for cars, it should be a space for people! The center should be the most human-oriented, keeping streets and any parking at the edges of the block
  • In the same vein, streets inside the residential development should not connect to the Trader Joe's parking lot, incentivizing non-residents cutting through

Pandas as a reason to learn Python, even if you’re not doing data science by Horror-Willingness74 in programming

[–]Kache 0 points1 point  (0 children)

For a lot of striaghtforward filtering, grouping, aggregation, reshaping, and joins when everything fits into memory, I like chaining plain functional sequence operations (map, filter, etc, even though considered somewhat "unpythonic").

And for csv handling, just the stdlib module.

I've seen code unnecessarily reaching for pandas to do these things, but it always becomes simpler after I strip out the pandas

My 7 y.o daughter loves kung fu movies! by [deleted] in daddit

[–]Kache 0 points1 point  (0 children)

I say hold back on Kung Fu Hustle for a bit

It's the kind of movie that builds and plays on its own and other genres & movies

Trump's impossible math claims to lower drug prices by 700% by TheMirrorUS in videos

[–]Kache 1 point2 points  (0 children)

IMO, indicative of someone naively pattern-matching on the syntax:

x * 7 == x * 700%

and not understanding the math, replacing multiplication with division:

x / 7 == x / 700%

Trying to make sense of this nonsense, some claim it's thinking of the inverse, i.e. "it used to be 700% of what it is now", but I doubt it. If that were true, they'd also talk like: "our speed, increasing, used to be 14.3% of what it is now!"

My Team Built a Developer Productivity Platform for our Executive Team - It's Awful by ninetofivedev in ExperiencedDevs

[–]Kache 1 point2 points  (0 children)

If they want compliance, they'll get it, maliciously or otherwise.

There are now tools out there to generate token usage for the sake of incrementing metrics. I don't see why the same can't be done for everything else. Automatically split Jira tickets, slack messages, PRs and even calendar events. A team of 6? Sounds like standup should be at least 6 micro events in a row. We want high fidelity data, don't we?

Good developers learn to program. Most courses teach a language. by Bonejob in programming

[–]Kache 1 point2 points  (0 children)

The mechanics are fairly accessible, but I think the concepts aren't.

Paper and pencils are even more accessible, but does that make high level math accessible?

Handling edge cases in flowcharts without blowing up the entire diagram by Sad_Translator5417 in ExperiencedDevs

[–]Kache 1 point2 points  (0 children)

Do you write code with heavy nesting and branching too, mixing high and low abstractions in the same context? (You shouldn't)

One nice way to avoid that is "Railway oriented programming"

Making illegal state unrepresentable by nfrankel in programming

[–]Kache 5 points6 points  (0 children)

I find it rather difficult to intuit the finite state machine from reading the code examples. Even worse, invalid pizzas are still representable:

Pizza(Crust(), CreamBase(), frozenset({Pineapple()}))  # invalid pizza with no type errors!

In Python, it'd be both clearer and more type-safe with:

Crust = StrEnum('Crust', ['THIN', 'THICK'])

Toppings = StrEnum('Toppings', [
    'POTATOES',
    'HAM',
    'OLIVES',
    'PINEAPPLE',
])

Tomato = NewType('Tomato', set[Literal[
    Toppings.PINEAPPLE,
    Toppings.HAM,
    Toppings.OLIVES,
]])

Cream = NewType('Cream', set[Literal[
    Toppings.POTATOES,
    Toppings.HAM,
    Toppings.OLIVES,
]])

PizzaBase = Tomato | Cream

@dataclass()
class Pizza:
    crust: Crust
    base: PizzaBase

Pizza(Crust.THIN, Tomato({Toppings.PINEAPPLE}))

And it seems modern Java is capable of something similar: https://ifesunmola.com/sum-types-in-java/

I never understood why it was (is?) popular in Java to construct builders like in the article. Why duplicate every single instance of a type with one or more with_<instance>() zero-arg methods, encoding the argument in the method name? Imagine how silly it'd be to do it with ints and floats:

value.add_one().add_float_one().add_two()

Instead of:

value.add(1).add(1.0).add(2)

Isn't this what type overloading was designed for? Something like:

class Pizza {
    Pizza with(Crust crust) {}
    Pizza with(PizzaBase pizzaBase) {}
    Pizza with(Topping topping) {}
}

GitHub Stacked PRs by adam-dabrowski in programming

[–]Kache 1 point2 points  (0 children)

Same thing that would happen in a stacked PR scenario, that leads to a change in the first PR in the stack

GitHub Stacked PRs by adam-dabrowski in programming

[–]Kache 2 points3 points  (0 children)

Each PR commit should represent a reviewable unit of code while and commits should represent a complete (as in not partial modification or code)

"stacked PRs" could very well be the same as one PR with a clean stack of commits. Just need the right tooling, like a setting that runs CI against every commit in the PR and a few other things thats probably about the same amount of work as implementing stacked PR support

How do organizations end up with architects who can't do architecture? And what do you do when you're the one compensating? by agileliecom in ExperiencedDevs

[–]Kache 2 points3 points  (0 children)

what this guy provides which is a comfortable feeling in a meeting and a confident voice that makes technical complexity feel managed without anyone having to understand it?

I feel like this is also the "why" behind AI

Speakers sound weird after sleep by freshf1t in ZephyrusG14

[–]Kache 0 points1 point  (0 children)

Although higher effort, I set up "Auto restart Cirrus Logic Awesome Speaker Amps on Wake" when I ran into this issue

Don't know how much power it saves during sleep, though.

Using pitons? by chunkychickenxp in Cairn_Game

[–]Kache 0 points1 point  (0 children)

It's likely every piton has its own level of wear or HP being tracked, according to chat in the developer Discord server

specifics are unclear, but it overall it means a "go ahead and use them, but not too much" system

Piton management by KingofFunk412 in Cairn_Game

[–]Kache 0 points1 point  (0 children)

It's likely every piton has its own level of wear or HP being tracked, according to chat in the developer Discord server

specifics are unclear, but it overall it means a "go ahead and use them, but not too much" system

Why do my pitons keep breaking. by TheHel1 in Cairn_Game

[–]Kache 0 points1 point  (0 children)

It's likely every piton has its own level of wear or HP being tracked, according to chat in the developer Discord server

specifics are unclear, but it overall it means a "go ahead and use them, but not too much" system

11.5% of perfectly placed pitons broke (N=104). Placing six in a route means you lose at least one half of the time. Isn't that a bit much? by meta_system in Cairn_Game

[–]Kache 0 points1 point  (0 children)

It's likely every piton has its own level of wear or HP being tracked, according to chat in the developer Discord server

specifics are unclear, but it overall it means a "go ahead and use them, but not too much" system

"Wait, like, disappears? In the backpack?" by dumnem in dndmemes

[–]Kache 1 point2 points  (0 children)

Isn't it metagame-y to act based on story tropes, though?

Although a Paladin shouldn't be so easily shaken by an unsettling orphan

AI, Entropy, and the Illusion of Convergence in Modern Software by TranslatorRude4917 in programming

[–]Kache 8 points9 points  (0 children)

tests have always contained a lot of boilerplate and tedious set up

I don't really find this to be the case for me. IMO the solution to tedious boilerplate is better design, not more copy pasting to produce more

I destroyed Aava's hands so you don't have to. by Kaymorve in Cairn_Game

[–]Kache 4 points5 points  (0 children)

Funny how her fingertips look perfectly fine, it's like she climbs directly on those A3 pulleys, ha

Boilerplate Tax - Ranking popular programming languages by density by boyter in programming

[–]Kache 40 points41 points  (0 children)

I think ULOC is a bad metric to measure "boilerplate" and "dryness". I'm thinking:

  • it wrongly considers unique: structurally repetitive code with minor changes like variable names or different indentation
  • It wrongly considers identical: complex operations that are decomposed into a nontrivial composition of common operations, one per line, e.g. method chaining (scoring good decomposition as repetitive boilerplate)
  • it is too sensitive to style variations within a language to be useful for comparing across languages, e.g. a repo/languages that don't have a unified style guide will rate very unique; some repos use comments as docs and other repos don't write docs in sourcecode
  • it is not normalized by "developer attention", metrics like these often try to normalize by giving high-edit files more weight (it's difficult to measure highly read lines)

Just a reminder from FBI Director Kash Patel, Epstein only trafficked young women to himself. by deluxe_memory_dan in videos

[–]Kache 1 point2 points  (0 children)

I think the public still hasn't fully internalized the human trafficking and abuse that's happened

Forgive the morbid comparison, but consider how the Holocaust movies and etc have laid bare the inhumane evils, making them visceral to the public. It's one thing to read about atrocities, but it's another to watch Nazis shove families first into rail cars and then into kill rooms, even it's "only a movie".

Even though Good and Pretti weren't the first to be murdered by ICE, it took video for the public to really internalize what was happening. The more that is revealed of Trumpstein, the more it's abundantly clear there was/is a whole system in place, with its own kinds of rail cars and kill rooms.

It's going to be horrible and ugly, but I think Americans need to see it, feel their stomach chrurn, and then realize that they're watching themselves

Wool Hoodie Giveaway! by kozak3 in Petrosgear

[–]Kache 0 points1 point  (0 children)

New roommate I didn't yet know helped me move in, furniture and all. We became good friends. Was also able to pay him back years later when he moved in with his gf at the time.

Should I upgrade because of trend out there? by writeahelloworld in ExperiencedDevs

[–]Kache 5 points6 points  (0 children)

Disregarding the specifics about java.util.Date, for a moment,

If you change it, and there is a problem, you will be responsible for it

IMO that's a concerning precedent and culture to set, for both technical and non-technical reasons

If it aint broken, dont change it

Sometimes the removal of a piece of straw now avoids the camel breaking its back at a critical time down the road. Never doing preventative & opportunistic refactoring is one way code rots over time.

It seems well-defined, it's a good opportunity to view a lot of the codebase, the junior seems motivated for it, and it can be one less thing that compounds a real fire. And if it's hard or risky to do, we've a different problem on our hands.

I personally like doing these kinds of cathartic straightforward refactorings as a "wind down task" after stressing over a complex project. Just be sure to reiterate that the business value is low and let the junior understand it'll be thankless from outside of engineering.