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 keithp (keithp@fosstodon.org)

  1. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Sunday, 22-Mar-2026 03:40:50 JST keithp keithp

    It's a silly way to write dates, but it does offer us a unique opportunity. Happy τ/2 day to all who celebrate.

    In conversation about 7 months ago from fosstodon.org permalink

    Attachments


    1. https://cdn.fosstodon.org/media_attachments/files/116/229/982/496/791/638/original/e9a1bc97a0c7a26f.jpg
  2. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Wednesday, 11-Mar-2026 05:04:28 JST keithp keithp
    in reply to
    • Alexander Monakov
    • Nick Desaulniers
    • pinskia

    @llvm @pinskia @amonakov I dunno, it's a tough race between implementation-defined behavior and undefined behavior. Both are unpardonable defects of any language, but the C standard embraces them as features?

    In conversation about 7 months ago from fosstodon.org permalink
  3. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Thursday, 29-Jan-2026 05:36:10 JST keithp keithp
    in reply to
    • Paul E. McKenney

    @paulmckrcu nolibc is awesome and you know it.

    In conversation about 9 months ago from fosstodon.org permalink
  4. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Thursday, 29-Jan-2026 03:22:54 JST keithp keithp
    in reply to
    • Rich Felker
    • The Penguin of Evil

    @etchedpixels @dalias yeah, gcc converts printf("hello world\n") into puts("hello world");

    That's one of the numerous optimizations present in "hosted" mode, which is why I always tell people to get rid of -ffreestanding when building with a full C library.

    Btw, on armhf, hello world is way smaller than on x86_64:

    $ size test-hello-armhf
    text data bss dec hex filename
    1520 76 4624 6220 184c test-hello-armhf

    In conversation about 9 months ago from fosstodon.org permalink
  5. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Wednesday, 28-Jan-2026 23:58:33 JST keithp keithp

    You know how I always say picolibc isn't a Linux C library because it doesn't do all of the fancy Linux stuff? Well, it turns out you don't need much to get a semi-functioning system.

    $ size test-hello-picolibc test-hello-glibc
    text data bss dec hex filename
    3632 144 4656 8432 20f0 test-hello-picolibc
    645697 23704 22576 691977 a8f09 test-hello-glibc

    I blame Kees Cook for nerd-sniping me on this one.

    https://github.com/picolibc/picolibc/tree/native-linux

    In conversation about 9 months ago from fosstodon.org permalink
  6. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Friday, 02-Jan-2026 19:25:49 JST keithp keithp

    picolibc has been reformatted with clang-format. All PRs will now be checked to make sure they are formatted correctly, so any pending requests will need to be fixed and resubmitted. I'm looking forward to having only one coding style to deal with.

    Thanks to all of the picolibc contributors over 2025 and best wishes for 2026.

    In conversation about 10 months ago from fosstodon.org permalink
  7. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Monday, 21-Jul-2025 12:26:04 JST keithp keithp

    Almost home from #debconf25 -- a long trip, but well worth it. I feel exhausted and refreshed.

    In conversation about a year ago from fosstodon.org permalink
  8. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Monday, 14-Apr-2025 09:25:23 JST keithp keithp

    Finished up the first round of -fsanitize=undefined work in picolibc and wrote down some notes. précis: use this flag, it's good.

    https://keithp.com/blogs/sanitizer-fun/

    In conversation Monday, 14-Apr-2025 09:25:23 JST from fosstodon.org permalink
  9. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Friday, 24-Jan-2025 08:10:00 JST keithp keithp

    Can anyone explain why glibc's ctype functions return different values than wctype functions in a utf8 locale for Latin-1 Supplement values (0x80 <= c < 0xff)?

    isupper(0xc4) == 0
    iswupper(0xc4) == 1

    Is this correct? How is this motivated by the C standard?

    Is it because utf-8 is a multibyte encoding where Ä is represented by two bytes in strings?

    In conversation Friday, 24-Jan-2025 08:10:00 JST from fosstodon.org permalink
  10. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Friday, 17-Jan-2025 04:46:04 JST keithp keithp

    Lots of recent picolibc news:

    * Oliver Stannard at ARM got testing running on the FVP emulator for more rigorous AARCH64 validation.

    * Eduard Tanase fixed a bunch of documentation issues.

    * Joel Holdsworth added OpenRisc support.

    * Jiaxun Yang fixed my janky tools situation by creating picolibc-ci-tools which auto-builds all of the extra bits we need for CI. They also add LoongArch and LatticeMico32 support. The latter uncovered GCC bugs which I had fun fixing.

    Thanks to all of you!

    In conversation Friday, 17-Jan-2025 04:46:04 JST from fosstodon.org permalink
  11. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Wednesday, 15-Jan-2025 06:21:07 JST keithp keithp

    @thesamesam I have no idea when any of the gcc devs will even look at the patch; it's been sitting unloved all year. https://gcc.gnu.org/pipermail/gcc-patches/2025-January/672415.html

    In conversation Wednesday, 15-Jan-2025 06:21:07 JST from fosstodon.org permalink

    Attachments


  12. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Wednesday, 23-Oct-2024 01:28:32 JST keithp keithp

    Adding uchar.h to picolibc today. Instead of providing useful conversions between UTF-8, UTF-16 and UTF-32, all C23 provides is conversions between those and the awful "multibyte" representations. I can understand why they'd *also* want to connect UTF encodings to the legacy C APIs, but the most important thing we need is a way to validate UTF-8 input which has some pretty tricky corner cases involving missing bytes, overlong encodings, and surrogates. https://github.com/picolibc/picolibc/pull/861

    In conversation Wednesday, 23-Oct-2024 01:28:32 JST from fosstodon.org permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
      Add uchar.h by keith-packard · Pull Request #861 · picolibc/picolibc
      This provides the C23 uchar.h and associated functions for translating between UTF-8, UTF-16, UTF-32 and C multibyte encodings. This meant updating the glibc test suite to include the c23 uchar tes...
  13. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Saturday, 20-Jul-2024 04:56:29 JST keithp keithp

    I can't believe I'm still removing K&R function declarations in 2024. https://github.com/picolibc/picolibc/commit/a93d02d88269e6bf22b1e6a5af801c044a7b73de

    In conversation Saturday, 20-Jul-2024 04:56:29 JST from fosstodon.org permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
      stdlib: Clean up "big" malloc code · picolibc/picolibc@a93d02d
      Remove unused code paths for non-picolibc targets. Remove hand-coded malloc.h bits. Remove non-stdc declarations and types. Signed-off-by: Keith Packard
  14. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Tuesday, 23-Jan-2024 05:53:19 JST keithp keithp

    Released picolibc version 1.8.6 today.
    Highlights: ctype avoids a static array, fenv functions are inlined (except on x86).
    Full release notes here: https://github.com/picolibc/picolibc/releases/tag/1.8.6

    In conversation Tuesday, 23-Jan-2024 05:53:19 JST from fosstodon.org permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Release Version 1.8.6 · picolibc/picolibc
      Picolibc version 1.8.6 Fix some FORTITY_SOURCE issues with tinystdio Add __eh_* symbols to picolibc.ld for LLVM libunwind. Thanks Alex Richardson. Merge in newlib annual release (4.4.0). Some...
  15. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Wednesday, 20-Dec-2023 05:47:11 JST keithp keithp

    Still having fun with stroked text today. Here's some Lorem Ipsum for y'all.

    In conversation Wednesday, 20-Dec-2023 05:47:11 JST from fosstodon.org permalink

    Attachments


    1. https://cdn.fosstodon.org/media_attachments/files/111/581/752/037/480/691/original/b9ff67b5fdae4625.png
  16. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Wednesday, 20-Dec-2023 05:46:29 JST keithp keithp

    I also submitted a merge request to the Inkscape Hershey Font extension. In some glorious future Inkscape release, we should be able to draw stroked text with my fun font! I added a bunch more glyphs (Latin Extended-A and a few more) to match the other fonts.

    https://gitlab.com/oskay/hershey-text/-/merge_requests/7

    In conversation Wednesday, 20-Dec-2023 05:46:29 JST from fosstodon.org permalink
  17. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Thursday, 07-Dec-2023 10:53:49 JST keithp keithp

    First light for gcode-text -- it's driving the new laser cutter Bdale bought and showing the whole font. The Altus Metrum logo below was drawn from an SVG with laser-grbl.

    In conversation Thursday, 07-Dec-2023 10:53:49 JST from fosstodon.org permalink

    Attachments


  18. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Sunday, 03-Dec-2023 06:43:55 JST keithp keithp

    Using meson to run tests on gcode-text found an uninitialized-memory bug in nickle because it *always* sets MALLOC_PERTURB_. Thanks, meson! Bug fixed, and nickle 2.95 released.https://keithp.com/cgit/nickle.git/commit/?id=9ea2939a09be7958cd36c92a9834bea7a9a2e1df

    In conversation Sunday, 03-Dec-2023 06:43:55 JST from fosstodon.org permalink
  19. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Sunday, 03-Dec-2023 05:16:09 JST keithp keithp
    in reply to
    • James Morris

    @jmorris and here it is! https://github.com/keith-packard/gcode-text/blob/main/gcode_text.py
    It's supposed to be completely compatible with the nickle version.

    In conversation Sunday, 03-Dec-2023 05:16:09 JST from fosstodon.org permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      https://github.com/keith-packard/gcode-text/blob/main/gcode_text.py
  20. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Saturday, 02-Dec-2023 14:47:34 JST keithp keithp
    in reply to
    • James Morris

    @jmorris I have to admit I'm tempted to translate this to Python so that other people can use this code for other projects more easily, but Nickle was a much easier target given that the font stuff started in my 'twin' project in C...

    In conversation Saturday, 02-Dec-2023 14:47:34 JST from fosstodon.org permalink
  • Before

User actions

    keithp

    keithp

    Keith Packard has been developing free software since 1986, working on the X Window System, Linux, amateur rocketry and robotics. He is currently a senior principal engineer with Amazon's Device OS group which helps build devices like the Halo, Echo, Fire TV and Kindle. He received a Usenix Lifetime Achievement award in 1999, an O'Reilly Open Source award in 2011 and sits on the Amateur Radio Digital Communications (ARDC) board. Keith uses he, him and his pronouns. https://keithp.com. tfr.

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          154178
          Member since
          27 Jul 2023
          Notices
          22
          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.