Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
155683 stories
·
33 followers

Swift at Apple: Migrating the TrueType Hinting Interpreter

1 Share

TrueType is a widely used vector font standard for rendering text in web pages, PDFs, operating systems, and applications. Familiar fonts like Helvetica, Garamond, and Monaco are all built on TrueType outlines. The format specifies a hinting interpreter intended to help outlines rasterize faithfully on low-resolution displays. Modern high-resolution displays enable beautiful typography from outlines alone, but TrueType fonts that need hinting to render legibly remain in use and we continue to support them.

Font parsers process data from untrusted sources, making the TrueType hinting interpreter a security-critical attack surface. To make the format more resilient on Apple platforms, we rewrote its hinting interpreter from C to memory-safe Swift for the Fall 2025 releases. In addition to memory safety, we also improved performance: on average, our Swift interpreter runs 13% faster than the C interpreter it replaced.

To accompany this post, we’ve also published the source code of the Swift TrueType hinting interpreter. We hope sharing our experience helps others doing similar work in Swift.

Read the whole story
alvinashcraft
2 hours ago
reply
Pennsylvania, USA
Share this story
Delete

Touchscreen Macbook '100% Confirmed,' Says Reputable Leaker

1 Share
A leaker with a strong Apple rumor track record says a touchscreen MacBook is "100% confirmed. If true, it would mark a major reversal for Apple, which has long argued that the Mac is built for indirect input rather than reaching up to touch a vertical screen. MacRumors reports: Instant Digital has a good track record for Apple rumors and has provided some strikingly accurate information in the past, so it's always worth noting what they have to say about Apple's plans. The claim is also backed by several recent reports. [...] Touchscreen support is expected to be one of several major upgrades coming to Apple's next-generation high-end MacBook Pro models. Other rumored features include M6 Pro and M6 Max chips, an OLED display, a Dynamic Island (i.e., no notch), and a thinner design. The new laptops could also adopt MacBook Ultra branding. Notably, macOS 27 Golden Gate also introduces a more touch-friendly interface, since Apple's Sidecar feature now allows users to tap and interact with macOS interface elements using a finger on their iPad. Apple apparently is not going to advertise the new MacBook Pro/Ultra as a touch-first device like the iPad -- it will be "touch-friendly, not touch-first," according to [Bloomberg's Mark Gurman]. In that sense, Apple will let customers use touch and mouse gestures interchangeably for all functions. Further reading: Steve Jobs Was Wrong About Touchscreen Laptops (2012)

Read more of this story at Slashdot.

Read the whole story
alvinashcraft
3 hours ago
reply
Pennsylvania, USA
Share this story
Delete

The world’s first trillionaire is a killer

1 Share
Elon Musk makes a gesture at the inauguration
Hm! | Photo: Kristen Radtke / The Verge; Getty Images

Elon Musk's SpaceX IPO will probably make him the richest person to ever walk the planet. And while his mountain of horrible personal conduct could fill multiple books, one fact in particular stands out: A year ago, Musk's actions directly led to the deaths of hundreds of thousands of people. He did it knowingly. And, worse - gleefully.

This is not a serious person, but his abuse of the world is deadly serious. In the first months of President Donald Trump's second term, the Musk-led Department of Government Efficiency (DOGE) destroyed the US Agency for International Development, whose mission was a boon to public health around the globe. M …

Read the full story at The Verge.

Read the whole story
alvinashcraft
3 hours ago
reply
Pennsylvania, USA
Share this story
Delete

ESLint v10.5.0 released

1 Share

Highlights

Features

Documentation

  • 8ae1b5b docs: Update README (GitHub Actions Bot)
  • ca7eb90 docs: update Node.js prerequisites to include ICU support (#20962) (Francesco Trotta)
  • f99b47a docs: Update README (GitHub Actions Bot)
  • acf03d4 docs: clarify precedence of parserOptions over languageOptions (#20926) (sethamus)

Chores

  • b18bf58 chore: update ecosystem plugins (#20959) (ESLint Bot)
  • c2d1444 refactor: replace areAllSegmentsUnreachable with !isAnySegmentReachable (#20951) (Taejin Kim)
  • 243b8c5 chore: enhance config-rule to support oneOf, anyOf, and nested schemas (#20788) (kuldeep kumar)
  • 217b2a9 test: add unit tests for ParserService (#20949) (Taejin Kim)
  • 72003e7 test: add location information to error messages in max-statements (#20945) (lumir)
  • 7797c26 refactor: deduplicate isAnySegmentReachable across rules (#20890) (Taejin Kim)
  • 67c46fa chore: update ecosystem plugins (#20938) (ESLint Bot)
  • 95d8c7a chore: update dependency @eslint/json to v2 (#20934) (renovate[bot])
  • cf9e496 chore: update @arethetypeswrong/cli to 0.18.3 (#20933) (Pixel998)
  • fb6d396 test: run type tests with TypeScript 7 (#20868) (sethamus)
Read the whole story
alvinashcraft
3 hours ago
reply
Pennsylvania, USA
Share this story
Delete

Meet Desktop Mode: A New Workspace for WordPress Admin

1 Share

WordPress already holds your content, media, users, plugins, and more. 

But managing all of those moving pieces often means jumping between admin screens, browser tabs, and disconnected workflows.

Desktop Mode, a free and open source plugin built by Automattic, gives WordPress admin a desktop-style workspace. 

Windows open, resize, and stack. A dock sits on the left. Virtual desktops let you switch between workflows. It runs on top of WordPress exactly as it is: your site, your plugins, your setup, all untouched.

A better way to move through WordPress

Posts, pages, and media open as individual windows, so you can have a draft open next to your media library and drag files directly between them—no tab switching. No losing your place.

Send content to a shared folder so your team can review and approve it before it goes live. Restore anything from a unified Recycle Bin covering posts, pages, media, and comments, all from one place. Your window layout saves between sessions, so you pick up exactly where you left off.

A unified command palette (Cmd+K) gives you fast access to everything. The optional AI copilot lets you search across your content, find posts by topic, surface related pages, and get quick answers about what’s on your site. Multiple desktops, called Spaces, let you keep separate projects or workflows organized without cluttering your view.

Built to be extended

Desktop Mode comes with hundreds of hooks built in. Every significant behavior is extendable, meaning plugin authors can register native windows, dock items, desktop icons, commands, and AI tools from their own plugin with no patches to Desktop Mode required. You can even register your own AI provider, wiring Desktop Mode’s copilot to any model or service you choose.

Here’s what that looks like in practice: a booking plugin could open its calendar as a native window directly inside Desktop Mode instead of sending you to a separate admin page. A WooCommerce extension could surface your orders dashboard right in the dock. Nick, a long-time WordPress developer, built a native plugin on top of Desktop Mode to test this extensibility from day one, and it works.

Desktop Mode runs entirely in the admin layer, so your site’s frontend, your store, and your checkout are completely unaffected.

The same architecture that lets thousands of WordPress plugins coexist applies here. It’s open source, the code is on GitHub, and contributions are open.

What this opens up

WordPress has always been more than a publishing tool. It’s a platform built to be shaped, not just used. Desktop Mode is a bet on that idea.

What if the place where you manage your site also felt like a real workspace? Where your team can review content before it goes live, your tools open where you need them, and you stop losing time navigating between screens? That’s what we’re building toward.

Already running on hundreds of sites in its first week, it’s actively maintained by Automattic and the community is building on it. This is the foundation and we can’t wait to see where it goes.

Try WordPress desktop mode: It’s free

Desktop Mode is free for all WordPress users and available today. 

Installation

  1. Download the plugin here or install via Plugins → Add New → Upload Plugin.
  2. Upload the plugin folder to /wp-content/plugins/
  3. Activate the plugin through the Plugins screen in WordPress.
  4. Click the desktop icon in the admin bar’s top-right corner. The admin reloads inside the desktop shell.
  5. Click the same icon again at any time to return to the classic admin.

It’s a per-user opt-in, so activating it doesn’t affect anyone else on your team until they choose to turn it on themselves.





Read the whole story
alvinashcraft
3 hours ago
reply
Pennsylvania, USA
Share this story
Delete

What's one mistake developers make when building cost-efficient AI apps?

1 Share
From: Microsoft Developer
Duration: 0:45
Views: 85

Most devs over‑optimize the model 🤖
The real leverage is in the system 🔧
Tweaking prompts & swapping models ≠ better outcomes
Giving AI the right data + context = better reasoning + results
Build the pipeline, not just the prompt.

Budget Bytes: https://msft.it/6056viD9Q

Read the whole story
alvinashcraft
3 hours ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories