Saltar al contenido ForoHackers

pinza-boba

Se unió el 13 septiembre 2023

Mensajes en el foro

  1. Respondió en UnboundLocalError: cannot access local variable 'beats' where it is not associated with a value

    this time it's actual music mate. just because I have previously asked for urgent bread does NOT entitle you to an explanation of the bells.

  2. Respondió en UnboundLocalError: cannot access local variable 'beats' where it is not associated with a value

    one shared counter starting at 8, two players adding, gives 9 then 10. legit if that's one shared beat total; a lousy model for the bell player who wanted to go from 2 to 3.

  3. Respondió en UnboundLocalError: cannot access local variable 'beats' where it is not associated with a value

    def add_one(beats): return beats + 1. kicks start at 8 and bells at 2. kicks = add_one(kicks), bells still 2. my first attempt just called add_one(kicks) and politely declined to keep the 9.

  4. Inició UnboundLocalError: cannot access local variable 'beats' where it is not associated with a value

    beats = 8 outside the function. inside add_one() I print(beats) then do beats = beats + 1. python says UnboundLocalError: cannot access local variable 'beats' where it is not associated with a value.…

  5. Respondió en Can't pickle local object. There's no food in this bug, I checked.

    you again lmao. I swear to god you're the sourdough lobby.

  6. Respondió en Can't pickle local object. There's no food in this bug, I checked.

    tested two separately started workers with our own module installed. both got TEST rye. then changed the module in our second disposable tree, began a fresh worker there, and got TEST RYE. same input…

  7. Respondió en Can't pickle local object. There's no food in this bug, I checked.

    prefix is "TEST " and the name is "rye". new module function label(prefix,name) returns prefix+name. I'm handing those two strings to the worker separately. it can import label from the same installe…

  8. Inició Can't pickle local object. There's no food in this bug, I checked.

    def make_label(prefix) has a nested function label(name) that sticks the prefix in front. I return label, give it to pickle.dumps and Python says AttributeError: Can't pickle local object 'make_label…

  9. Respondió en TypeError: '<' not supported between instances of 'dict' and 'dict'. Why is heapq judging my filling?

    shop's been open six minutes and that's the second time someone's asked me that. I am being investigated by Big Toast.

  10. Respondió en TypeError: '<' not supported between instances of 'dict' and 'dict'. Why is heapq judging my filling?

    tried all three fresh: urgent, rye, corn. I had been poking at the old heap after the failed push like the exception guaranteed it hadn't changed. it already contained two entries. fresh queue for th…

  11. Respondió en TypeError: '<' not supported between instances of 'dict' and 'dict'. Why is heapq judging my filling?

    yes. first come, first baked unless one has a different priority. if I use the loaf name as the tie breaker, baked order becomes corn then rye. our oldest customer is called Zoe and she has opposed t…

  12. Inició TypeError: '<' not supported between instances of 'dict' and 'dict'. Why is heapq judging my filling?

    Python queue at the bakery: (1, {"loaf":"rye"}) went in fine. Next (1, {"loaf":"corn"}) and I get TypeError: '<' not supported between instances of 'dict' and 'dict'. Everything worked when I only ha…

  13. Respondió en Our kernel CVE column just pushed the model trains off the screen

    My oven has published fewer CVEs than Linux. Please do not base your security strategy on my oven. I haven't even cleaned the fan since November.

  14. Respondió en Se ha pulsado el botón del cuarto seis veces. El ascensor exige ahora un edificio de veinticuatro plantas.

    Four means "please go to this floor", not "please add four floors to today's ambitious schedule". From floor three, one press should already tell you which of the two you implemented.

  15. Respondió en Why did my reading program eat exactly half a sentence and act full?

    Tried feeding one byte at a time. That found a second bug: if input ends after HELL my version used to serve it anyway. Now it reports a short message. There is definitely a joke in the missing O but…

  16. Inició Why did my reading program eat exactly half a sentence and act full?

    Local toy only. First byte says five, followed by HELLO. I feed it in two chunks, the first one has just HE after the count. My code gives me HE, then treats the next L as the length of a new message…

  17. Respondió en Ctrl+Z no ha deshecho nada y ahora mi ensayo figura como parado

    Type jobs in the same interactive shell. If you have only that one stopped job, fg brings it back up front. Mine spent twenty minutes "processing dough" in a state of complete unemployment.

  18. Respondió en Which Linux distro for my spare laptop? The one thing it must do is print.

    Lee paid me for the hour. We put his noise complaint in a clear stand by the till. Coming in, you see the Bailiff's signature and a very serious charge against the sound guy. Going out you get the ci…

  19. Respondió en Which Linux distro for my spare laptop? The one thing it must do is print.

    less. bailiff signed the complaint, Lee read it, brought it across to the desk. wanted me to sign as a witness. I used the pencil and he made me give him the fucking pencil back.

  20. Respondió en Which Linux distro for my spare laptop? The one thing it must do is print.

    got there. my laptop stayed home. lee had his wired up, massive STOP where both of us could see it. played him on. crowd gave him a proper cheer. then the Bailiff came out to serve him a noise compla…

  21. Respondió en Which Linux distro for my spare laptop? The one thing it must do is print.

    he's asked me to do sound for his entrance. he's also agreed i've been promoted to salaried employee for the duration of the entrance. at my usual hourly rate and fourteen seconds i believe i now own…

  22. Respondió en Which Linux distro for my spare laptop? The one thing it must do is print.

    Both laptops still work. Lee did the last show by himself. My one bit of advice on his equipment list was a plain pencil so he could rub the order out. He brings six because people keep asking for hi…

  23. Respondió en Which Linux distro for my spare laptop? The one thing it must do is print.

    found it in the destinations in the app on MY laptop. i had named a queue Mint in october to tell which pages were mine. forgot. printed one page to each. both same machine. two little green ticks ye…

  24. Respondió en Which Linux distro for my spare laptop? The one thing it must do is print.

    shift this morning i actually needed to print something again. there's a printer called Mint? ours is called Office. Lee and i both swear we didn't plug a second printer into the ceiling overnight.

  25. Respondió en Which Linux distro for my spare laptop? The one thing it must do is print.

    lee's a bit sore about me posting that. he's fine with sound mistakes. this was about his mate and he didn't ask. leaving the joke above so the replies make sense but i'm not putting up the photo. i'…

  26. Respondió en When I print the queue my program stops feeding the customers

    i moved the debug print inside my bread loop. if a roll has to be counted once i would like to be present when it happens

  27. Respondió en Which Linux distro for my spare laptop? The one thing it must do is print.

    photo says DENIED perfectly on the man's cheek. the one actual bug report from the Bailiff this month is against mirrors

  28. Respondió en Which Linux distro for my spare laptop? The one thing it must do is print.

    @Mir2kin he checked in a mirror. oh my god. he spent about an hour asking for a backwards stamp so he'd look right in photos. i've just told him to send me one of the photos

  29. Respondió en Which Linux distro for my spare laptop? The one thing it must do is print.

    no. "your appeal has been denied". he's got a little rubber stamp. stamped his right palm, clapped his left hand against it to demonstrate how strongly he felt about appeals, wiped his face with the…

  30. Respondió en Which Linux distro for my spare laptop? The one thing it must do is print.

    latest: Lee's got printed cards by actual ring name and leaves the order in pencil. bailiff apparently wants a new entrance where the music cuts dead for an announcement. real reason Lee wanted that…