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 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 about 2 months ago from fosstodon.org permalink
  2. 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 about 5 months ago from fosstodon.org permalink
  3. 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 about 5 months ago from fosstodon.org permalink
  4. 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 about 5 months ago from fosstodon.org permalink

    Attachments


  5. 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 about 8 months ago 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...
  6. 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 about a year ago 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
  7. 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...
  8. 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
  9. 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
  10. 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


  11. 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
  12. 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
  13. 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
  14. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Saturday, 02-Dec-2023 06:19:44 JST keithp keithp

    My little gcode text drawing program has gotten all fancy with command line arguments and everything.
    Did I mention that the stroke font is derived from the Hershey fonts, but with the original curves replaced with cubic splines so that text looks good at a range of sizes? And extended to support ASCII? Bdale also suggested changing the name to 'gcode-text'. Once we get the laser etcher working, I'll upload the package to debian. https://github.com/keith-packard/gcode-text

    In conversation Saturday, 02-Dec-2023 06:19:44 JST from fosstodon.org permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
      GitHub - keith-packard/gcode-text: Generate gcode from text using a built-in stroke font
      Generate gcode from text using a built-in stroke font - GitHub - keith-packard/gcode-text: Generate gcode from text using a built-in stroke font
  15. Embed this notice
    keithp (keithp@fosstodon.org)'s status on Friday, 28-Jul-2023 01:13:09 JST keithp keithp
    in reply to
    • Kees Cook :tux:
    • James Morris

    @kees @jmorris He said "wrong answers only"

    In conversation Friday, 28-Jul-2023 01:13:09 JST from fosstodon.org permalink

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