• 0 Posts
  • 269 Comments
Joined 3 years ago
cake
Cake day: August 3rd, 2023

help-circle
  • sushibowl@feddit.nltoScience Memes@mander.xyzMD = oMega Dumbass
    link
    fedilink
    English
    arrow-up
    10
    ·
    10 months ago

    Never in the history of time has a minute contained only 59 seconds. Even in Africa. And it has been decided that from 2035 onwards, we need to alter time itself in order to eradicate this irregular minute.

    We can only hope that before that time, we get to experience one of these magical short minutes. It may happen yet.


  • The basic problem is that identifiers can be either types or variables, and without a keyword letting you know what kind of statement you’re dealing with, there’s no way of knowing without a complete identifier table. For example, what does this mean:

    foo * bar;
    

    If foo is a type, that is a pointer declaration. But if it’s a variable, that’s a multiplication expression. Here’s another simple one:

    foo(bar);
    

    Depending on how foo is defined, that could be a function call or a declaration of a variable bar of type foo, with some meaningless parentheses thrown in.

    When you mix things together it gets even more crazy. Check this example from this article:

    foo(*bar)();
    
    

    Is bar a pointer to a function returning foo, or is foo a function that takes a bar and returns a function pointer?

    let and fn keywords solve a lot of these ambiguity problems because they let the parser know what kind of statement it’s looking at, so it can know whether identifiers in certain positions refer to types or variables. That makes parsing easier to write and helps give nicer error messages.




  • A system I work with gives all keys a string value of “Not_set” when the key is intended to be unset. The team decided to put this in because of a connection with a different, legacy system, whose developers (somehow) could not distinguish between a key being missing or being present but with a null value. So now every team that integrates with this system has to deal with these unset values.

    Of course, it’s up to individual developers to never forget to set a key to “Not_Set”. Also, they forgot to standardise capitalisation and such so there are all sorts of variations “NOT_SET”, “Not_set”, “NotSet”, etc. floating around the API responses. Also null is still a possible value you need to handle as well, though what it means is context dependent (usually it means someone fucked up).




  • Can you elaborate where your confusion lies? It’s a digital good, there is no marginal cost. So they can pretty much price a game however they want. So pricing is mostly about maximising revenue, i.e. get as many sales as you can at the highest possible price.

    A sale is a relatively straightforward strategy where you first sell the game at a high price to all the people who are fine with paying a lot, then you lower the price to sell more copies to the people who weren’t willing to pay the higher price. The result is more total profit. There is a time limit too to create a sense of urgency (“I better buy now so I don’t miss the opportunity”).



  • I advise everyone to ignore this article and read the actual paper instead.

    The gist of it is, they gave the LLM instructions to achieve a certain goal, then let it do tasks that incidentally involved “company communications” that revealed the fake company’s goals were no longer the same as the LLM’s original goal. LLMs then tried various things to still accomplish the original goal.

    Basically the thing will try very hard to do what you told it to in the system prompt. Especially when that prompt includes nudges like “nothing else matters.” This kinda makes sense because following the system prompt is what they were trained to do.



  • Seems like the pirate environment is especially suited to this type of democracy. Pirate ships operate outside the protections afforded by law, so the only thing really preventing pirate captains from being ousted (or murdered) is the crew’s support.

    I guess a CEO would need to maintain shareholder support, but shareholders are generally fairly disconnected from the company’s day to day operations. Most individuals own shares through mutual funds or ETFs, which means they don’t actually have share ownership themselves and can’t vote. All you have is the fund owing you a fiduciary duty to vote in your best interests, which generally translates to whatever makes the most money. So the CEO just needs to keep a few large institutions happy, and possibly some large wealthy individual shareholders that he knows from the rotary club (where the heads of aforementioned institutions are also members)

    In other words, the way the financial system is set up systematically deprives the less wealthy from their right to have a say in the operation of the companies they nominally own a part of.




  • I see the “Republican are always giving up moral superiority to gain an advantage so Democrats should do it too” argument. But at least get something worthwhile for selling your soul. Like, if you’re packing the supreme court you can at least protect abortion rights properly. If you nuke the senate filibuster you can pass some decent healthcare laws, or tax the rich maybe. Pardoning Hunter does nothing for anyone except the Biden family.

    Joe is acknowledging that the justice system sucks and powers that be can decide to fuck you over with it any time, but instead of abusing his power to try and fix it, he’s just bailing out his loved ones and then riding off into the sunset, leaving the rest of us to get fucked over. That’s stupid.


  • I disagree. There is pushing back for political gain, and pushing back for personal gain. Pardoning hunter is certainly an example of Biden abandoning the moral high ground. However it does not advance the cause of the democratic party in any way and only serves Joe Biden and his family personally. This is not a step in the right direction, it gives up moral correctness only to make the political position of the Democrats worse.




  • Yeah, “percentage points” is used to refer to a difference between two percentages.

    For example, let’s say some company previously held 25% of the market, but grew and is now holding 50% of the market. The company’s market share actually doubled in size, which we could call an increase of 100%. Or, looking at it another way, because they grew from 25% to 50%, you can call it an increase of 25 percentage points.


  • Rigor in definitions allows us to express a lot of complex things in a compact form. this allows us to treat “Cars” as something different than “Motorcycles” while both a motorized vehicles.

    Meh. There’s plenty of room in the gray zone between “car” and “motorcycle” where things like this or this can exist. The botanical world has worked very hard to create rigorous definitions of fruits and vegetables only to be completely ignored by cooks. The culinary world in general has done just fine for centuries without rigorously specifying whether taco’s are sandwiches and cereal is a soup.

    As long as it is generally understood what people mean by a word when they use it everything will be mostly fine. REST is an understood term, whether the inventor of the term meant something else by it is immaterial.