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

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

Notices by Alexey (yyp@fosstodon.org)

  1. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Monday, 16-Jun-2025 02:49:36 JST Alexey Alexey
    in reply to
    • Haelwenn /элвэн/ :triskell:

    @lanodan I've got a few things working with csharpexec-test. I could get a build pretty close the shipped one with Mono 2.6.7 (running in Wine because I couldn't build a native version, oops). It has functions in the wrong order and some field values have minor differences but it's probably the closest I could get to a complete match. Also, C# assemblies have a random build ID so a 100% would never be possible. This project took way too much time, the findings are impractical, but it was "fun"

    In conversation Monday, 16-Jun-2025 02:49:36 JST from gnusocial.jp permalink
  2. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Sunday, 15-Jun-2025 23:01:20 JST Alexey Alexey
    in reply to
    • Haelwenn /элвэн/ :triskell:

    @lanodan I've managed to get a 100% match for javaversion.class.

    Unfortunately, the provided source is not correct. The binary class file contains debug symbols, in particular line numbers. At some point the source was modified and had its line numbers shifted which caused a mismatch when I recompiled it. I "fixed" it by deleting 3 comment lines from the header to compensate for the shift.

    In conversation Sunday, 15-Jun-2025 23:01:20 JST from gnusocial.jp permalink
  3. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Sunday, 15-Jun-2025 22:47:45 JST Alexey Alexey
    in reply to
    • Haelwenn /элвэн/ :triskell:

    @lanodan The javaversion.java file has a command to build it (not sure if it counts as a "recipe").

    With some tweaking I managed to build the binary with openjdk-jdk8u which is the oldest version I could get on Alpine (javac -d . -target 1.1 -source 1.2 javaversion.java) but it still has a 3 byte difference from the original. Not sure what's up with that.

    As for C#, well, there are no instructions or compiler versions anywhere. Using standard csc from the latest mono gives tons of differences.

    In conversation Sunday, 15-Jun-2025 22:47:45 JST from fosstodon.org permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Index of /
  4. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Sunday, 15-Jun-2025 22:30:43 JST Alexey Alexey
    in reply to
    • Haelwenn /элвэн/ :triskell:

    @lanodan All those files have source equivalents now*. It's definitely very strange that binaries were put there instead of just compiling during the build. Both csharptest and javaversion are tiny but compiled with ancient toolchains which means it's very annoying to reproduce them exactly. Auditing is quite easy: `javap -p -c` and `ikdasm` (from mono) can show the very few instructions making up those files – there's nothing funny going on there.

    * Concerning (2023!): https://lists.gnu.org/archive/html/bug-gettext/2023-02/msg00016.html

    In conversation Sunday, 15-Jun-2025 22:30:43 JST from fosstodon.org permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Fwd: Bug#1031952: gettext: Missing source for an installed windows binar
  5. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Sunday, 02-Feb-2025 23:50:27 JST Alexey Alexey
    in reply to
    • Haelwenn /элвэн/ :triskell:

    @lanodan From my understanding, most RISC-V specifications (including SBI) don't expect any kind of input devices or special shortcuts.

    So any kind of SysRQ-magic is just using the default input driver from the kernel. This is what Linux does at least.

    It's possible that a device has an interrupt source for this use-case - check the device tree. Though I'm not very familiar with RV hardware, no idea if there exists a board with such a feature.

    In conversation Sunday, 02-Feb-2025 23:50:27 JST from fosstodon.org permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      http://least.It/

  6. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Sunday, 02-Feb-2025 01:55:01 JST Alexey Alexey

    Had some nightmares doing bit manipulation in Python. That was fun, for some definition of fun.

    I accidentally read two bytes as signed instead of unsigned, then bitshifted them to get a relative offset for RLE decoding. This meant that the result was the correct length but completely wrong contents.

    Also, for some reason it seemed to gravitate towards the octet 0xBA, filling lots of places with it for no apparent reason.

    That was the entire morning of staring at the code and vbindiff.

    In conversation Sunday, 02-Feb-2025 01:55:01 JST from fosstodon.org permalink
  7. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Sunday, 02-Feb-2025 00:44:21 JST Alexey Alexey

    It is a bit of a stupid situation when I misclick on a fedi poll and then realize that you can't retract your vote here :/

    In conversation Sunday, 02-Feb-2025 00:44:21 JST from fosstodon.org permalink
  8. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Wednesday, 11-Dec-2024 05:04:46 JST Alexey Alexey

    "it's not very stable but that's what you get for pc support"

    - Me, 2024, apparently

    In conversation Wednesday, 11-Dec-2024 05:04:46 JST from fosstodon.org permalink
  9. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Monday, 02-Dec-2024 01:12:26 JST Alexey Alexey

    Oh, looks like there isn't an SQLite library for Java that fits my requirements

    Fine, I'll do it myself

    (this already happened with gettext)
    (it feels like every time I try to work on this project some technical limitation always bites me)

    In conversation Monday, 02-Dec-2024 01:12:26 JST from fosstodon.org permalink
  10. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Wednesday, 06-Nov-2024 06:01:45 JST Alexey Alexey

    Tiers of C boolean types:
    1. bool
    2. _Bool
    3. gboolean
    4. BOOLEAN_T

    In conversation Wednesday, 06-Nov-2024 06:01:45 JST from fosstodon.org permalink
  11. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Saturday, 26-Oct-2024 04:48:22 JST Alexey Alexey
    in reply to

    Not sure what "export control regulations" is this referring to. As far as I understand those only cover physical goods or encryption tech (in some jurisdictions). This is neither of those!

    In fact, serving that error message would have probably been a violation of those regulations. Sending an error page is no different from sending the plugin (which is probably just a .jar with metadata).

    In fact, Oracle had a similar geoblock a while ago but they quickly reverted it, for some reason

    In conversation Saturday, 26-Oct-2024 04:48:22 JST from gnusocial.jp permalink
  12. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Saturday, 26-Oct-2024 04:24:16 JST Alexey Alexey

    I love international politics

    In conversation Saturday, 26-Oct-2024 04:24:16 JST from fosstodon.org permalink

    Attachments


    1. https://cdn.fosstodon.org/media_attachments/files/113/369/688/620/291/160/original/ec7a8580bb6248de.png
  13. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Saturday, 28-Sep-2024 05:56:08 JST Alexey Alexey

    why do text editors need discord rich presence all of a sudden

    stop

    (/s, probably)

    In conversation Saturday, 28-Sep-2024 05:56:08 JST from fosstodon.org permalink
  14. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Monday, 02-Sep-2024 02:52:30 JST Alexey Alexey

    Summer over!

    No longer overheating

    In conversation Monday, 02-Sep-2024 02:52:30 JST from fosstodon.org permalink
  15. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Saturday, 31-Aug-2024 04:04:22 JST Alexey Alexey
    in reply to
    • Haelwenn /элвэн/ :triskell:

    @lanodan I think Rust's stdlib only uses POSIX APIs and not general C things like stdio.h, so this doesn't really apply here. Hare also does the same thing on OpenBSD

    In conversation Saturday, 31-Aug-2024 04:04:22 JST from gnusocial.jp permalink
  16. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Saturday, 31-Aug-2024 03:27:15 JST Alexey Alexey
    in reply to
    • Haelwenn /элвэн/ :triskell:

    @lanodan Even without libc, the language itself has a lot of really nasty footguns especially relating to integer promotion and the infamous signed overflow

    In conversation Saturday, 31-Aug-2024 03:27:15 JST from fosstodon.org permalink
  17. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Saturday, 31-Aug-2024 03:15:06 JST Alexey Alexey

    "C is safe if you just program well" and other fairy tales

    In conversation Saturday, 31-Aug-2024 03:15:06 JST from fosstodon.org permalink
  18. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Wednesday, 28-Aug-2024 00:44:31 JST Alexey Alexey

    Q: What do astronomers and Haskell programmers have in common?

    A: They both use parsecs

    In conversation Wednesday, 28-Aug-2024 00:44:31 JST from fosstodon.org permalink
  19. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Sunday, 25-Aug-2024 00:31:43 JST Alexey Alexey

    My opinion on Hare multithreading meta is slowly going from "mildly excited" to "can we not", TBH

    In conversation Sunday, 25-Aug-2024 00:31:43 JST from fosstodon.org permalink
  20. Embed this notice
    Alexey (yyp@fosstodon.org)'s status on Thursday, 08-Aug-2024 17:21:44 JST Alexey Alexey
    • vyivel?

    @vyivel ext-hyper-extended-screen-transfer-v1 am i right

    In conversation Thursday, 08-Aug-2024 17:21:44 JST from fosstodon.org permalink
  • Before

User actions

    Alexey

    Alexey

    When not tired and/or lazy, I write software that's used by at most 2 people. Mainly interested in programming language design, compilers and operating systems.#nobot

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          149854
          Member since
          15 Jul 2023
          Notices
          40
          Daily average
          0

          Feeds

          • 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.