Slashdot

News for nerds, stuff that matters

How I Added an LLM-Based Grammar Checking + TeX Math Import To LibreOffice

Former Microsoft programmer Keith Curtis "wrote and self-published After the Software Wars to explain the caliber of free and open source software," according to his entry on Wikipedia, "and why he believes Linux is technically superior to any proprietary OS."

He's also KeithCu (long-time Slashdot reader #925,649), and has written a blog post on "How I added an LLM-based grammar checking + TeX math import to LibreOffice."



:


At Microsoft, I spent five years working on the text components RichEdit and Quill, and came to understand the "physics" of word processing: the file formats, data structures, and algorithms that provided fast access to text and properties, independent of the length of the file. Selecting one million characters to make them bold took about the same time as changing one character, because of the clever data structures (piece tables) and algorithms in these engines...

When I decided to add a real-time AI grammar checker to [LibreOffice plugin] WriterAgent, I knew what I was getting into, but I underestimated the trickery of LibreOffice's UNO.

His site shares the surprises he encountered, one by one. (Starting with "the office suite throws a bunch of initialization variables at your constructor. If your Python __init__ method doesn't handle them, the code fails to map the call, the stack misaligns, and the program dies.") There's sentence casing issues, duplicate words, and foreign-language syntax — all culminating in new features for "a LibreOffice extension (Python + UNO) that adds generative AI editing to Writer, Calc, and Draw..."
"If you want to try it out, the repo is here... Let's make LibreOffice and the free desktop AI-native!"

Read more of this story at Slashdot.

The Apple-OpenAI Alliance is Fraying, Setting Up a Possible Legal Fight

Bloomberg reports that Apple's two-year-old partnership with OpenAI "has become strained, according to people familiar with the matter."

Bloomberg describes OpenAI as "failing to see the expected benefits from the deal and now preparing possible legal action."

OpenAI lawyers are actively working with an outside legal firm on a range of options that could be formally executed in the near future, said the people, who asked not to be identified because the deliberations are private. That could include sending the iPhone maker a notice alleging breach of contract without necessarily filing a full lawsuit at the outset, according to the people... OpenAI believed that the companies' partnership, which wove ChatGPT into Apple software, would coax more users into subscribing to the chatbot. It also expected deeper integration across more Apple apps and prime placement within the Siri assistant. Instead, Apple's use of OpenAI technology across its operating systems remains limited, and features can be hard to find...


Apple has had its own concerns about OpenAI, including whether the company does enough to protect user privacy. And a recent push [by OpenAI] to make devices — an effort overseen by former Apple executives — has rankled the iPhone maker.

Any legal move by OpenAI likely wouldn't come until after the conclusion of the Musk trial, according to the people. No final decisions have been made, and OpenAI still hopes to resolve its issues with Apple outside of court.

The article points out that OpenAI "initially believed the deal could generate billions of dollars per year in subscriptions — something that hasn't come close to happening." An OpenAI executive argues to Bloomberg that from a product perspective Apple hasn't done everything they could, "and worse, they haven't even made an honest effort."

Read more of this story at Slashdot.

California Law Limits 'Recyling' Logo in New Attack on Plastic Waste

"Most of the plastic waste in California is about to lose the recycling symbol," writes the Washington Post's "climate coach."

The "chasing arrows" symbol, created in 1970 by a college student inspired by the burgeoning environmental movement, has been stamped indiscriminately on plastic bottles, clamshell takeout containers, chip bags and more for decades. The majority of the items emblazoned with the mark have been virtually impossible to recycle for most people. California lawmakers say they want to end the charade: Under what's known as the Truth in Recycling law, plastics cannot use the symbol if they aren't collected by curbside programs serving 60% of Californians and sorted by facilities serving 60% of the state's recycling programs (with some additional requirements). If the law goes into effect as scheduled on October 4, more than half of the types of plastic packaging and products sold in the state can no longer carry the chasing arrows logo. That will affect plastic films, foam, PVC and mixed plastics...

Food and packaging groups have sued the state of California, calling the law a form of censorship whose vague restrictions violate the First Amendment and due process rights.... Advocates of the law counter that corporations deliberately misled the public by turning the recycling symbol into a marketing device that masks the fact that only a small fraction of plastic packaging is ultimately recycled... The mark was originally intended to informwaste processors what polymers a plastic item was made from. But the public reasonably assumed anything stamped with the symbol was recyclable. Millions of tons of worthless plastic trash have since poured into recycling facilities unable to process it....


States are now taking action. Seven have passed laws shifting the cost of recycling onto packaging makers. Oregon and Washington have lifted requirements that plastic containers carry the chasing arrows symbol.

The article notes that
Norway already recovers 97% of beverage bottles, while Slovakia recycles 60% of plastic packaging. "But the U.S. only recovers about a third of its PET and HDPE bottles, and just 13% of plastic packaging, according to U.S. Plastics Pact, an industry-led forum.

"It won't be easy for the U.S. to reach higher levels of recycling: The necessary infrastructure and incentives are chronically underfunded, no federal mandate exists for minimum-recycled-content that would create demand and a mix of mostly unrecyclable hydrocarbons still dominates the waste stream."

Read more of this story at Slashdot.

Six Weeks on the Road

Thomas Hawk posted a photo:

Six Weeks on the Road

Found Slide -- Ira Richolson Collection

Thomas Hawk posted a photo:

Found Slide -- Ira Richolson Collection

50eme Festival du Film, Cannes 97

Bay Street

Thomas Hawk posted a photo:

Bay Street

Parking Decisions

Thomas Hawk posted a photo:

Parking Decisions

April Gutel

Thomas Hawk posted a photo:

April Gutel

Brooklyn Museum

Thomas Hawk posted a photo:

Brooklyn Museum

Two Sides of San Francisco

Thomas Hawk posted a photo:

Two Sides of San Francisco

Found Photo

Thomas Hawk posted a photo:

Found Photo

photograph I acquired from a large archive of negatives from a San Francisco Bay based commercial photographer taken mostly in the 1960s to 1970s.

Motel 6, Bellingham, Washington

Thomas Hawk posted a photo:

Motel 6, Bellingham, Washington

The Guardian

Latest news, sport, business, comment, analysis and reviews from the Guardian, the world's leading liberal voice

Smalley takes two-shot lead into final round of US PGA Championship but big names lurk

  • Home hope surges to six under thanks to round of 68

  • Rahm among five on four under; McIlroy is three under

The leaderboard was spinning like a tombola at Aronimink on Saturday, where at one point or another just about every player in the field had a birdie putt to take a share of the lead and then a bogey putt to let go of it again. When the drum finally stopped turning, Alex Smalley, a 29-year-old from North Carolina who has never won a professional golf tournament, was top of the leaderboard on six under, two shots clear of a five-way tie for second. No disrespect to Smalley, the world No 78, but the field are queued up like bowling balls on the rack waiting to take a run at him on Sunday.

Philadelphia loves an underdog, but it’s probably best if the trumpeter waits another day before he strikes up the opening notes of the Rocky theme.

Continue reading...

Bulgaria wins 70th Eurovision contest with Dara and Bangaranga

The UK finished last as the contest, held in Vienna, saw five countries boycott it over the participation of Israel

Bulgaria has won the 2026 Eurovision song contest after singer Dara swept to victory with the song Bangaranga.

The 27-year-old singer’s triumph is a first victory in the 70-year history of the song contest for Bulgaria, which only joined Eurovision in 2005 and sat out the last three editions.

Continue reading...

Shell-shocked: California man arrested for attempting to traffic wild turtles

Donald Do allegedly sought to export 292 loggerhead musk turtles under the false claim they had been captive-bred

A California man, who received a federal permit to export turtles under the false claim that they had been captive-bred, has been arrested on wildlife-trafficking charges, authorities said on Friday.

Donald Do and an unidentified accomplice allegedly sought to export 292 loggerhead musk turtles to Taiwan from December 2022 to May 2024. The accomplice obtained the US Fish and Wildlife Service export license, after which, authorities say, Do purchased turtles poached from the wild in Florida and other locales. Do had also allegedly sent instructions for the animals to be shipped to San Francisco.

Continue reading...

VK: Voorpagina

Volkskrant.nl biedt het laatste nieuws, opinie en achtergronden

Bulgarije kaapt songfestivalwinst weg bij favorieten en schrijft geschiedenis

Rotterdam - FediMeteo (@rotterdam@nl.fedimeteo.com)

Weer voor de stad Rotterdam Deze bot wordt beheerd door het FediMeteo-project. Voor informatie en contact kunt u de pagina https://fedimeteo.com raadplegen.

Weer voor Rotterdam ☁️ - 17-05-2026 01:15 CEST...

Weer voor Rotterdam ☁️ - 17-05-2026 01:15 CEST

In één oogopslag:
• 10.9°C · Bewolkt ☁️ | Min 7.7°C / Max 14.1°C | Kans op neerslag 23%

Verwachting voor vandaag:
• Min 7.7°C, Max 14.1°C (Matige motregen) 🌦️, Neerslag 1.9 mm, Kans op neerslag 23%, 🧭 1010.3 hPa ➡️ 0.0 hPa/24h, Windsnelheid: 20.5 km/u (5.7 m/s), richting: ↗ 236°

Uurlijkse voorspelling voor de komende 12 uur:

02:00: 10.9°C (Bewolkt) ☁️, Kans op neerslag 59%, 🧭 1009.9 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 15.5 km/u (4.3 m/s), richting: ↑ 192°
03:00: 10.9°C (Bewolkt) ☁️, Kans op neerslag 72%, 🧭 1009.6 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 17.3 km/u (4.8 m/s), richting: ↑ 201°
04:00: 10.7°C (Lichte motregen) 🌦️, Neerslag 0.1 mm, Kans op neerslag 81%, 🧭 1009.3 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 18.4 km/u (5.1 m/s), richting: ↑ 202°
05:00: 10.2°C (Lichte motregen) 🌦️, Neerslag 0.2 mm, Kans op neerslag 84%, 🧭 1009.2 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 17.6 km/u (4.9 m/s), richting: ↑ 198°
06:00: 9.9°C (Lichte motregen) 🌦️, Neerslag 0.3 mm, Kans op neerslag 75%, 🧭 1009.3 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 18.0 km/u (5.0 m/s), richting: ↑ 192°
07:00: 9.9°C (Lichte motregen) 🌦️, Neerslag 0.3 mm, Kans op neerslag 60%, 🧭 1009.5 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 17.3 km/u (4.8 m/s), richting: ↗ 205°
08:00: 10.1°C (Bewolkt) ☁️, Kans op neerslag 51%, 🧭 1009.7 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 16.2 km/u (4.5 m/s), richting: ↗ 203°
09:00: 10.4°C (Lichte motregen) 🌦️, Neerslag 0.1 mm, Kans op neerslag 56%, 🧭 1010.0 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 16.2 km/u (4.5 m/s), richting: ↑ 202°
10:00: 10.6°C (Lichte motregen) 🌦️, Neerslag 0.1 mm, Kans op neerslag 68%, 🧭 1010.2 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 16.6 km/u (4.6 m/s), richting: ↑ 200°
11:00: 11.1°C (Lichte motregen) 🌦️, Neerslag 0.1 mm, Kans op neerslag 78%, 🧭 1010.6 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 16.2 km/u (4.5 m/s), richting: ↑ 199°
12:00: 12.6°C (Bewolkt) ☁️, Kans op neerslag 82%, 🧭 1010.7 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 17.6 km/u (4.9 m/s), richting: ↗ 205°
13:00: 12.6°C (Lichte motregen) 🌦️, Neerslag 0.1 mm, Kans op neerslag 84%, 🧭 1010.6 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 18.0 km/u (5.0 m/s), richting: ↗ 207°

Voorspelling voor de komende dagen:

maandag 18 mei: Min 9.9°C, Max 15.6°C (Lichte motregen) 🌦️, Neerslag 1.5 mm, Kans op neerslag 52%, 🧭 1012.2 hPa ↗️ +1.9 hPa/24h, Windsnelheid: 18.4 km/u (5.1 m/s), richting: ↗ 204°
dinsdag 19 mei: Min 10.6°C, Max 15.1°C (Lichte motregen) 🌦️, Neerslag 0.2 mm, Kans op neerslag 30%, 🧭 1013.5 hPa ↗️ +1.3 hPa/24h, Windsnelheid: 18.0 km/u (5.0 m/s), richting: ↗ 222°
woensdag 20 mei: Min 9.4°C, Max 15.7°C (Zware motregen) 🌦️, Neerslag 5.2 mm, Kans op neerslag 36%, 🧭 1016.2 hPa ↗️ +2.7 hPa/24h, Windsnelheid: 21.4 km/u (5.9 m/s), richting: ↑ 181°
donderdag 21 mei: Min 11.6°C, Max 16.7°C (Lichte motregen) 🌦️, Neerslag 3.8 mm, Kans op neerslag 37%, 🧭 1023.8 hPa ↗️ +7.6 hPa/24h, Windsnelheid: 27.3 km/u (7.6 m/s), richting: ↗ 232°
vrijdag 22 mei: Min 12.1°C, Max 16.2°C (Lichte motregen) 🌦️, Neerslag 0.6 mm, Kans op neerslag 7%, 🧭 1026.1 hPa ↗️ +2.3 hPa/24h, Windsnelheid: 16.6 km/u (4.6 m/s), richting: → 259°
zaterdag 23 mei: Min 11.2°C, Max 22.5°C (Bewolkt) ☁️, Kans op neerslag 1%, 🧭 1024.5 hPa ↘️ -1.6 hPa/24h, Windsnelheid: 9.0 km/u (2.5 m/s), richting: ↖ 135°

Details:
• 🌡️ Huidige temperatuur (om 01:15): 10.9°C (Bewolkt)
• 🤚 Gevoelstemperatuur: 7.7°C (-3.2°C)
• 💨 Windsnelheid: 15.1 km/u (4.2 m/s), richting: ↑ 195°
• 🌬️ Windstoten: 29.2 km/h (8.1 m/s)
• 💧 Luchtvochtigheid: 75%
• 🧭 Luchtdruk: 1009.9 hPa ↘️ -0.6 hPa/3h
• 👁️ Zichtbaarheid: 50.0 km
• ☀️ UV-index: 0.0
• 🌅 Zonsopgang: 05:46 · 🌇 Zonsondergang: 21:30

Luchtkwaliteit:
• AQI: 35 🟢 (Goed)
• PM2.5: 9.3 μg/m³
• PM10: 12.7 μg/m³

Gegevens geleverd door Open-Meteo



Bulgarije wint Eurovisie Songfestival met ‘Bangaranga’

De Bulgaarse zangeres Dara won zowel de stemming van de nationale jury’s als het punten van het publiek. Het is de eerste keer dat Bulgarije het festival heeft gewonnen.

xiffy

Public posts from @xiffy@mastodon.nl

@touaregtweet We hadden 50 minuten om te lezen. Nu 23 en een half uur wachten. Zzzzzzzzzzzzzzzzzondag

MetaFilter

The past 24 hours of MetaFilter

30-Second Auteur

Joe Sedelmaier died last week at the age of 92. Sedelmaier's unmistakeable style produced some of the most memorable TV commercials of the 1980s, most notably "Where's the Beef?"

Documentary of Sedelmaier's career Interview with Sedelmaier