GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Alice Averlong🏳️‍⚧️ (foone@digipres.club)'s status on Monday, 18-May-2026 19:31:23 JST Alice Averlong🏳️‍⚧️ Alice Averlong🏳️‍⚧️

    IT'S CRASHING ON BOOT BECAUSE THE BOOLEANS ARE TOO SMALL

    In conversation about 2 months ago from digipres.club permalink
    • GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      Alice Averlong🏳️‍⚧️ (foone@digipres.club)'s status on Monday, 18-May-2026 19:31:22 JST Alice Averlong🏳️‍⚧️ Alice Averlong🏳️‍⚧️
      in reply to

      oh sweet jesus, they handle displaying the splashscreen by busy-looping the CPU for 4 seconds.

      I KNOW PROGRAMMERS WHO CARE ABOUT MULTITASKING AND THEY'RE ALL COWARDS

      In conversation about 2 months ago permalink
      GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      Alice Averlong🏳️‍⚧️ (foone@digipres.club)'s status on Monday, 18-May-2026 19:31:45 JST Alice Averlong🏳️‍⚧️ Alice Averlong🏳️‍⚧️
      in reply to

      why is it that I always end up having to reverse engineer compression code?

      There's something like FIVE implementations of this decompression routine:
      x86 assembly
      C++ (broken)
      C#
      Rust
      Python

      naturally I need a working C++ one, but that means having to figure out what's wrong with the existing code

      For bonus points: there's actually TWO compression routines, each slightly different. and potentially broken

      In conversation about 2 months ago permalink
      GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      Alice Averlong🏳️‍⚧️ (foone@digipres.club)'s status on Monday, 18-May-2026 19:31:56 JST Alice Averlong🏳️‍⚧️ Alice Averlong🏳️‍⚧️
      in reply to

      it's also EIGHT THOUSAND LINES of assembly because why not manually unroll your loops?

      In conversation about 2 months ago permalink
      GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      Alice Averlong🏳️‍⚧️ (foone@digipres.club)'s status on Monday, 18-May-2026 19:32:19 JST Alice Averlong🏳️‍⚧️ Alice Averlong🏳️‍⚧️
      in reply to

      I also have C++ code that supposedly can compress.

      is it broken? who can say

      In conversation about 2 months ago permalink

      Attachments


      GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      GreenSkyOverMe (Monika) (greenskyoverme@ohai.social)'s status on Monday, 18-May-2026 19:35:09 JST GreenSkyOverMe (Monika) GreenSkyOverMe (Monika)
      in reply to

      @foone This is like watching a train crash

      In conversation about 2 months ago permalink
    • Embed this notice
      Alice Averlong🏳️‍⚧️ (foone@digipres.club)'s status on Monday, 18-May-2026 19:35:10 JST Alice Averlong🏳️‍⚧️ Alice Averlong🏳️‍⚧️
      in reply to

      oh it was also trying to load MIDI files backwards because it thought not being on a 386 meant that we had to be big-endian

      In conversation about 2 months ago permalink
      GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      Alice Averlong🏳️‍⚧️ (foone@digipres.club)'s status on Tuesday, 19-May-2026 14:04:24 JST Alice Averlong🏳️‍⚧️ Alice Averlong🏳️‍⚧️
      in reply to

      the worst part is that I have no guarantee that this C++ decompression code has ever worked.

      the original programmers write an x86 assembly version and a cross-platform version, but this program only ever came out on x86.

      So did they ever test this code? Did they ever even RUN it?

      dunno!

      In conversation about 2 months ago permalink
      GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      Alice Averlong🏳️‍⚧️ (foone@digipres.club)'s status on Tuesday, 19-May-2026 14:04:43 JST Alice Averlong🏳️‍⚧️ Alice Averlong🏳️‍⚧️
      in reply to

      fortunately one of the other projects working on this source already figured out the bug in the C++ implementation, so I can just steal their solution!

      In conversation about 2 months ago permalink
      GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      Alice Averlong🏳️‍⚧️ (foone@digipres.club)'s status on Tuesday, 19-May-2026 14:05:12 JST Alice Averlong🏳️‍⚧️ Alice Averlong🏳️‍⚧️
      in reply to

      - cb += (1 << cbit) + ((luCur >> (cbit + 1)) & ((1 << cbit) - 1));
      + cb += (1 << cbit) + ((luCur >> (ibit + cbit + 1)) & ((1 << cbit) - 1));

      ahh, of course. such an obvious mistake

      In conversation about 2 months ago permalink
      GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      Alice Averlong🏳️‍⚧️ (foone@digipres.club)'s status on Tuesday, 19-May-2026 14:05:24 JST Alice Averlong🏳️‍⚧️ Alice Averlong🏳️‍⚧️
      in reply to

      this code uses a datatype with the questionable name of "tribool", but when I looked into it to make fun of it I discovered something terrible:

      It's an enum with 4 possible values. It's a goddamn quadbool

      In conversation about 2 months ago permalink
      GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      ⁂ Fish Id Wardrobe (fishidwardrobe@mastodon.me.uk)'s status on Tuesday, 19-May-2026 14:16:09 JST ⁂ Fish Id Wardrobe ⁂ Fish Id Wardrobe
      in reply to
      • Robert Wright

      @madman_bob @foone had a music teacher told me a story: for his final exam he had to compose a piece of classical music. his teacher advised that if they got stuck to take an existing work and reverse it, start there.
      When it came to the exam, he thought, i know: i'll take one of my teacher's published works and reverse that.
      When he did that, however, he ended up with a very famous piece of music…

      In conversation about 2 months ago permalink
    • Embed this notice
      Robert Wright (madman_bob@mastodon.social)'s status on Tuesday, 19-May-2026 14:16:12 JST Robert Wright Robert Wright
      in reply to

      @foone https://www.youtube.com/watch?v=jPwNwNdE7pE

      In conversation about 2 months ago permalink

      Attachments

      1. Victor Borge — William Tell Backwards
        from Oleksii Peñuelas Calderon
        Victor Børge Rosenbaum — Danish pianist, conductor and comedian.Віктор Борге Розенбаум — данський піаніст, диригент та комік.
      GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      Chip Unicorn (chip_unicorn@im-in.space)'s status on Tuesday, 19-May-2026 14:18:45 JST Chip Unicorn Chip Unicorn
      in reply to

      @foone

      The four values of bool are:

      • True
      • False
      • Neither True Nor False
      • Neither True, False, nor Neither True Nor False
      • Neither True; False; Neither True Nor False; nor Neither True, False, nor Neither True Nor False

      Scientists believe that there may need to be a secret, additional option if the current list isn't enough.

      In conversation about 2 months ago permalink
    • Embed this notice
      ⁂ Fish Id Wardrobe (fishidwardrobe@mastodon.me.uk)'s status on Tuesday, 19-May-2026 14:32:03 JST ⁂ Fish Id Wardrobe ⁂ Fish Id Wardrobe
      in reply to

      @foone true, yes, no, false

      In conversation about 2 months ago permalink
    • Embed this notice
      Alice Averlong🏳️‍⚧️ (foone@digipres.club)'s status on Tuesday, 19-May-2026 14:55:41 JST Alice Averlong🏳️‍⚧️ Alice Averlong🏳️‍⚧️
      in reply to

      the four canonical bool values are, of course:

      tNo,
      tYes,
      tMaybe,
      tLim

      In conversation about 2 months ago permalink
    • Embed this notice
      Dan Ports (dan@discuss.systems)'s status on Tuesday, 19-May-2026 15:51:13 JST Dan Ports Dan Ports
      in reply to

      @foone please, everyone knows that IEEE 1164 says that booleans should have exactly nine possible values

      In conversation about 2 months ago permalink
    • Embed this notice
      Kauz (kauzerei@social.tchncs.de)'s status on Tuesday, 19-May-2026 19:34:12 JST Kauz Kauz
      in reply to

      @foone wait, don't 4 possible values make it kinda 2-bit logically? Double-precision bool?
      Doubool if you will

      In conversation about 2 months ago permalink
    • Embed this notice
      phooky (phooky@hexa.club)'s status on Wednesday, 20-May-2026 12:27:51 JST phooky phooky
      in reply to
      • Rue Mohr

      @RueNahcMohr @foone it's often useful to add a "limit" or "last" element to an enum to make bounds checking easier; (x < tLim) will quickly tell you if you have a valid value

      In conversation about 2 months ago permalink
    • Embed this notice
      Rue Mohr (ruenahcmohr@infosec.exchange)'s status on Wednesday, 20-May-2026 12:27:52 JST Rue Mohr Rue Mohr
      in reply to

      @foone I presume tLim is when the question is broken?

      Aka, "When you bought a Claude plan, did you use your parents credit card?"

      In conversation about 2 months ago permalink
      GreenSkyOverMe (Monika) repeated this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.