• 0 Posts
  • 2.44K Comments
Joined 3 years ago
cake
Cake day: June 21st, 2023

help-circle


  • At work? Do what they want you to do I guess. If they are mandating you mass produce slop, do exactly that. I’ve tried fighting against it. There’s nothing you can do when your coworker opens a 785 file PR (not an exaggeration) and it needs to be reviewed today. Your carefully crafted code can never keep up with the constant waterfall of whatever the fuck Claude/ChatGPT/whatever calls acceptable these days.

    Your best bet at work is to direct the agents others will use. Use a strict linter. Mandate a strict formatter. Add to the instructions that tests must be written and must pass. Do what you can to force it to emit semi-acceptable code (or fail if it can’t).

    Outside of work? What’s a coding agent?






  • But transgender rights are human rights. There is no trans agenda beyond equal rights. The only response to Republicans attack on transgender folk is that transgender folk deserve equal rights.

    This exactly.

    Does this issue cause a lot of fighting? Maybe. When you consider the position someone has to take to fight against basic human rights for a category of people though, you start to question whether that same person’s other opinions are worth any consideration.

    Other issues still exist of course, but a meaningful conversation about them can’t be done with people who would advocate for pure hatred. There’s no “middle ground” worth considering when that’s a person’s position.

    Historically speaking, advocacy against a group’s right to exist was called “religion”. That’s still the case today. You can’t argue that someone’s religion is wrong, regardless of how full of shit they are. People treat their religion as their identity, so even discussing it is perceived as an attack to most people.



  • what we are really advocating for is the right to self-determination and ability to make our health decisions free from government interference

    It’s amazing how much overlap there is between transgender rights and womens’ rights. The right is so obsessed with trans women that they’d make taking a piss in a public restroom into a witch hunt.

    Just to name an example, the SAVE act was supposed to combat “voter fraud” by putting up barriers to vote for transgender people. The same barriers also sat in front of married women who had changed their legal name.


  • JavaScript takes yet another approach. It doesn’t have an equivalent of the Character.isWhitespace() method, but we can use the \s character class in a regular expression

    \s might be the most obvious whitespace test, but the expectations are a bit more ambiguous when it comes to regex. Every regex runtime is different, so without looking it up, you’re going to end up with behavior you might not expect.

    Instead, if you want to match Unicode whitespace, you should use \p{White_Space} in Unicode-aware mode (u or v flag).

    I haven’t looked through any other runtimes, but something tells me the inconsistencies won’t stop at these three.

    According to the docs, Rust’s char::is_whitespace checks if the value has the White_Space property, and regex does the same in Unicode mode (which is the default).


  • I liked Zed a bit, but I ran into some bugs that made me switch back to my previous editor. I think I’ll give it more of a shot in the future once it’s a bit more mature. Otherwise, I enjoyed how responsive it felt, and having a single toggle to completely turn off AI features was nice.

    For Kate, I view it as an alternative to Notepad++. It’s quite a bit more powerful than N++, but to me feels like it fits in around the same place you described between simple text editor and advanced coding IDE. It’s a great default for people who tend to modify a lot of config files.







  • The main problem I have with the bulk of Anti-AI opinions is that they are simply that: opinions, backed up with parroted “facts” many of which are baseless, untrue, blown out of realistic proportion, etc.

    This is, to an unbelievabe extent, true of the “Pro-AI” crowd (in particular those selling AI). It’s to the extent that the economy is inevitably fucked once investors start pulling out. AI CEOs lie regularly about the capabilities of their products.

    In any case, “pro-AI”/“anti-AI” is a political approach to AI, and politics revolves entirely around opinion. If you truly want “facts” then you have to be willing to accept facts that you disagree with as well.

    It is a fact that many bugs have been found with AI, yes. It has provided value to a lot of people.

    It is also a fact that for all the good AI has done for people, it is also an unregulated bullshit emitter. Shit, just the other day, I tried asking Kagi Assistant a question, and it gave me an answer in Chinese. My question was in English. It had nothing to do with languages. But if you want numbers, these AI companies publish their benchmarks publicly, so go look at those and consider whether “correct 80% of the time in a benchmark the model was optimized for” is good enough to always trust.

    Finally, it is a fact that AI companies have done irreparable harm to the world on an enormous scale, socially, ecologically, politically, and so on.


  • Am I the only person that thinks fixing kernel bugs discovered with AI is a good thing?

    No. A bug is a bug.

    Even everyone saying Linus went full AI… Like… What? IMO he’s being practical. It IS a tool, and there ARE a lot of things it should not be used for, but using it to patch things before human verification happens is a pretty sensible thing to do.

    Using AI to fix a bug is different than fixing a bug found by AI. Even in Torvald’s vibecoded patch, he introduced a new bug, then asked the reviewer to take over the patch and went on vacation.

    Would love to hear from someone who has been programming for a long time and isn’t all just “AI bad because AI bad”.

    While I get where this is coming from, being dismissive of people who you disagree with doesn’t exactly inspire healthy discussion. If you want genuine opposing opinions, those will only come from those you disagree with.