Only Bayes Can Judge Me

  • 12 Posts
  • 529 Comments
Joined 1 year ago
cake
Cake day: July 4th, 2023

help-circle





  • Day 13, day 13 of shirking other responsibilities.

    p1

    Ok. So, I overthought this a little. Ultimately, this problem boils down to solving a system of 2 linear equations aka inverting a matrix.

    Of course, anyone who has done undergraduate linear algebra knows to look to the determinant in case some shit goes down. For the general problem space, a zero determinant means that one equation is just a multiple of the other. A solution could still exist in this case. Consider:

    a => x+1, y+1
    b => x+2, y+2
    x = 4, y = 4 (answer: 2 tokens)
    

    The following has no solution:

    a => x+2, y+2
    b => x+4, y+4
    x = 3, y = 3
    

    I thought of all this, and instead of coding the solution, I just checked if any such cases were in my input. There weren’t, and I was home free.

    p2

    No real changes to the solution to p1 aside from the new targets. I wasn’t sure if 64 bit ints were big enough to fit the numbers so I changed my code to use big ints.

    I’m looking at my code again and I’m pretty sure that was all unnecessary.


  • Oh yeah, haha. I often face the dilemma dilemma in which I have to choose between ignoring the 'incorrect" usage (i.e. not a choice between two things that are difficult to choose between) and seethe OR mention the correct usage and look like a pedant. Sometimes it’s a trilemma, and I’m all over the shop. But more seriously, I usually let it slide and let people use it to mean “a situation”.

    I doubt that Lorenz has a dilemma in line with the correct usage. I couldn’t fight the urge to steelman, spoilered below, which I suspect this is nothing near what Lorenz had in mind.

    exhausting Steelman within. I only tried to come up with something, it's not a good steelman. I'm so sorry about this.

    In the world that Lorenz posits, where prediction markets somehow represent accurate news reporting, either a journalist participates in the market whilst reporting news (conflict of interest), or they don’t, and they are bad at their job (and not performing at your job is unethical, I guess?)













  • swlabr@awful.systemstoTechTakes@awful.systems"Defining AI"
    link
    fedilink
    English
    arrow-up
    6
    ·
    10 days ago

    AI is a garbage generating plagiarism machine. It’s not political

    Yes. Think about what it is plagiarising. Datasets are biased; this is like statistics/ML 101.

    outside of a single country where everything has to look political to prevent people from voting independent,

    You can just say the country, and also, this doesn’t really make any sense. Am I to infer that, if things weren’t political, people would vote (a famously political action) for independents?

    and the only regulation AI ever needs is one declaring all it produces a derivative work of all the material it used for learning.

    I’m pretty sure there’s a lot more wrong with LLMs than just plagiarism.

    Any attempts to ascribe further properties to that remixing machines are just natural intelligence equivalent of slop.

    I’m not 100% sure what you mean here.



  • Day 12:

    P1

    Ok. I have been traumatised by computational geometry before, so I was initially spiralling. Luckily, there wasn’t too much comp geo stuff to recall.

    My solution was a lot simpler than I initially thought: no need for union-find, accounting for regions inside regions, etc. Just check every square for a given region, and if it touches a square in the same region that you’ve seen before, subtract the common edge. This is linear in the area of the problem, so it’s fast enough.

    P2

    It took a moment to figure out that I could modify the above perimeter counting to mark the squares containing the perimeter and walk along it afterwards, counting each edge. This is also linear in area.