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

help-circle
  • assurance that they don’t disappear if a forge dies

    Publishing to multiple forges is a good idea, but I also wanted to add that anybody who clones your repository creates their own local copy of (parts of) your repository. Due to the nature of Git, simply having multiple contributors makes it that much harder to erase all traces of a repository.

    You can also publish bundles of the repository somewhere else if you want another alternative. Every so often, bundle the repo and publish that as a “backup” somewhere, and anyone can download the bundle and initialize a repo off of it directly through git clone.


  • AI-free search is exactly what it sounds like.

    I’m curious if you have an example of this that produces good results. Without embeddings, how do you search for results that are related to the query but which don’t exactly contain it (or parts of it)?

    For example, if you search “cats”, are you getting results for “felines” too in your “AI-free search”?

    AI has been used to effectively search the web since useful web search engines were first created. There’s no other way to perform a semantic search based on the user’s input (outside of manually clustering search results, but that’s physically impossible if you’re indexing the entire internet).



  • Settings -> Search -> AI -> disable “AI Feature Access”

    That being the case, even with it enabled, I don’t really see what the feature does without either clicking “Quick Answer”, ending the query with “?”, or enabling “Auto Quick Answer”.

    As for “paying for AI”, even before they released Assistant, the plan was the same cost (aside from them charging tax in the US now). They did adjust the plans, but it just made unlimited searches cheaper IIRC. I’m not really sure what an AI-free discount would look like anyway since search inherently uses AI to determine what the most relevant results are (at the very least via embeddings).

    As far as I know, there’s no workaround-free way to disable AI overviews in Google.




  • 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.