• 0 Posts
  • 715 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle

  • This doesn’t seem like a good idea.

    One, releasing should be easy. At my last job, you clicked “new release” or whatever on GitHub. It then listed all the commits for you. If you “need” an Ai to summarize the commits, you fucked up earlier. Write better commit messages. Review the changes. Use your brain (something the AI can’t do) to make sure you actually want all of this to go out. Click the button. GitHub runs checks and you’re done.

    Most of the time it took a couple minutes at most to do this process.






  • I don’t know about “fine”. It has a lot of weird stuff baked in. Hoisting. Unexpected type coercion. Too many ways to loop over something and I always forget which one is which. “There’s more than one way to do it” is kind of a recurring problem, come to think of it. Several function declaration syntaxes. Dot notation AND bracket notation for objects.

    Also it will forever bother me that object keys aren’t quoted.

    const foo = "hello"; const bar = { foo: "world" }

    That should be, in my mind, { "hello": "world" } . It’s not. It’s { "foo": "world" }

    But if you want to do that, you need to do const bar = { [foo]: world }. Which looks like your key is an array with one entry, a string with a value of “foo”

    You also end up learning a whole framework, with its syntax and idioms, every couple years. Angular. React. Redux. Whatever.

    There’s also a lot of people who have never used anything else, and want to use javascript for everything.

    Javascript is basically D&D. Wildly popular. Full of legacy jank. People try to use it for anything even though there are better or more specialized tools.


  • Reminds me of my first big success at work. There was a weekly report that people wanted generated - it showed how much like each operator had done, how much each warehouse had shipped, how many orders we lost from stock issues, etc. it was a low tech company, so they had someone going through the limited UI, looking up each thing one at a time, copying it into excel, and making the report that way. It took hours, and was error prone from stuff like mis-pasting or accidentally skipping a user.

    Took a look at it and was like you could definitely automate this. Used some very primitive scripting to pull all the info out of the system’s UI and dump it into a TSV. Took like a couple minutes to run it, import into excel, and add the colors. But it was super janky because it was manipulating the UI like a user instead of, like, directly querying whatever underlying data store it was running on.

    Still, management was impressed. I later learned no one actually looked at the report most weeks, so that took some of the wind out of my sails.













  • There was recently a story of someone whose kid died of measles, but they were still anti-vax in the interviews afterwards.

    There are two main ways people change their mind. One is in-group pressure. If your friends and trusted people are telling you a thing, you’ll probably believe it. None of us are immune to this. Who you consider part of your in-group varies- some people fall for celebrity endorsements more than others, or view bad sources like Fox News as trustworthy.

    The other thing that can change people’s minds is trauma. If you’ve been an anti-climate-change guy and your house gets destroyed by a freak super hurricane, you might reevaluate. Maybe. Of if a big KKK guy gets hit by a car and left a dead, and a black guy saves your life, they might reevaluate.

    But there’s no guarantee.