• 0 Posts
  • 136 Comments
Joined 3 years ago
cake
Cake day: July 4th, 2023

help-circle

  • I agree with the sentiment but not with the advice “commit a felony to avoid maybe getting a felony”. There isn’t a chance you’ll get charged with destroying evidence if they’re already looking at you under a microscope like your hypothetical.

    Anyone that concerned needs to just not store sensitive data on their phone, and use a messaging app that doesn’t permanently store messages, either. That way you didn’t erase your phone, AND they find nothing. Attempting to secure your data from the cops while you’re already under the lens with a warrant is far too late.




  • Honestly I feel this was always the goal (one of several), but R&D is expensive. Shipping an odd phone that people still buy keeps the shareholders happy while the multi-year research process can eventually produce more usable results.

    Single-flip phones were the awkward teenagers, now this phone can be the 18-20 age young adult, fully featured, but needing refinement. Next gen or the one after this will add a lot more robustness.





  • Its just an API.

    There’s a few ways they could go about it. They could have part of the prompt be something like “when the customer is done taking their order, create a JSON file with the order contents” and set up a dumb register essentially that looks for those files and adds that order like a standard POS would.

    They could spell out a tutorial in the prompt, "to order a number 6 meal, type “system.order.meal(6)” calling the same functions that a POS system would, and have that output right to a terminal.

    They could have their POS system be open on an internal screen, and have a model that can process images, and have it specify a coordinate pair, to simulate a touch screen, and make it manually enter an order that way as an employee would.

    There’s lots of ways to hook up the AI, and it’s not actually that different from hooking up a normal POS system in the first place, although just because one method does allow an AI to interact doesn’t mean it’ll go about it correctly.



  • Genie in the OP image would’ve said “OK you now have 0 wishes”.

    Since he said 255, my interpretation is a valid solution.

    Of course, if we’re talking hypothetical wish gaining prevention methods, I’d just have a check before,

    previous_wishes = wishes;

    {Do all the wish things. wishes ends up with a 255 because of our shenanigans}

    If(wishes>=previous_wishes) wishes = previous_wishes-1;

    ;If the current number of wishes isnt less than the old number of wishes, set it to the old number and subtract 1

    If(wishes==0) {/*TODO: write function to end wish giving sequence*/}


  • Nah theres just no process for undoing your submission.

    It doesn’t matter when it’s decremented if you can’t interrupt the process, anyway.

    In a code sense we pause for input, feed it to the wishmaker function, and pause until the thread returns, then decrement.

    We could decrement first, also, but neither violates the rules.


  • You’re correct but you have an off by 1 error.

    First, the genie grants the wish.

    NumWishes=0;

    Then, having completed the wish, the genie deducts that wish from the remaining wishes.

    NumWishes–;

    And to complete the thought,

    Lastly, the genie checks if the lampholder is out of wishes

    If(NumWishes==0) {…}

    (255==0) evaluates to False, so we fall past that check.