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

Goodbye, World: The End of Programmers

1 Share
The last thing you should ever read—and the last thing I may ever write—about the craft of coding.
Read the whole story
alvinashcraft
1 hour ago
reply
Pennsylvania, USA
Share this story
Delete

What Are LLM Evals?

1 Share
Learn what LLM evals are, why trying a few prompts by hand stops working, the three kinds of checks, offline vs. online evals, and how it all fits into one loop.
Read the whole story
alvinashcraft
1 hour ago
reply
Pennsylvania, USA
Share this story
Delete

How to Build Conference Talk Slides With AI Without Looking Generic

1 Share
How to Build Conference Talk Slides With AI Without Looking Generic

null

Continue reading How to Build Conference Talk Slides With AI Without Looking Generic on SitePoint.

Read the whole story
alvinashcraft
1 hour ago
reply
Pennsylvania, USA
Share this story
Delete

Citizen science with Raspberry Pi

1 Share

Science is all about taking an interest in the world around us and sharing our findings widely. This Maker Monday, we look at ways environmentalists are using Raspberry Pi to understand the world around them…

Environmentalists make good use of Raspberry Pi cameras, sending back photos from remote locations in a bid to manage livestock and crops and ensure food security and sustainability in the face of earthquakes, deforestation, and floods. Meanwhile, there’s also plenty of enjoyment for us hobbyists in monitoring natural phenomena as well as animals and plants, noting what thrives and where. Whether you want to tick off an unusual species or are simply curious about the great wide world, there’s plenty of reason to record and photograph what your Raspberry Pi rig can see. With Raspberry Pi AI Camera smarts or High Quality Camera imaging, you can snap photos and videos and potentially identify what’s in shot too. 

And it’s not just about imaging. Raspberry Pi can connect to a wide range of sensors to detect an array of things: temperature, humidity, light, audio, water quality, soil quality; even the presence of humans.

Space projects

Science United

You may have heard of SETI@home — the search for extraterrestrial intelligence project that you could “loan” your computer to in the interests of international research. SETI is no longer actively looking for participants, but there are other projects that could benefit from your Raspberry Pi’s passive computing power. Many of these are also based around University of California, Berkeley’s BOINC software. Choose the area of research you would like to support, from astronomy to AI, chemistry to Earth sciences, and Science United attaches your computer to related projects. Simply create an account, choose your area of interest, and specify whether your computer offers low, standard, or maximum computing power. Rosetta@home is another distributed computing project you can join and run through 64-bit Raspberry Pi OS. It also uses the BOINC app or platform.

NASA Science

NASA’s website has details of nearly 50 citizen science projects that involve counting and identifying specific objects and which can be done from any internet-connected device. Lunar Melt and other space-based projects involve tagging photos of rocks, craters, and boulders on the surface of the Moon and then submitting findings via the project portal. The project looks at the impact of asteroids hitting the Moon’s surface, creating craters and sometimes melting rocks to cause lunar melt flows.

Other NASA Science projects include options to study high-altitude clouds to track how they have changed over time. While this can be done with a smartphone, it’s more fun to use an All Sky Camera and your Raspberry Pi. We’ve featured several All Sky Camera builds over the years, including this autoguider one.

UK Fireball Alliance and Global Meteor Network

Astrophotography is a perennial favourite Raspberry Pi project and lends itself well to citizen science. Although many thousands of celestial objects are tracked and regularly photographed, meteors and shooting stars are less predictable. We’ve covered projects by both the UK Fireball Alliance and Global Meteor Network, which have locked on to, and traced, meteorites and the places they fell to Earth, including the fairly famous Winchcombe meteorite. The UK Fireball Alliance keeps enthusiasts up to date and explains how to build your own meteor camera. You can also view a world map of meteor sightings. An example from 2024 in New Jersey saw a meteor crash-land in someone’s bedroom. The fragments were able to be collected and studied thanks to contact with the American Meteor Society: amsmeteors.org. Should you happen to see a fireball (a meteor burning up on encountering the Earth’s atmosphere), you can report it.

Radio astronomy

Radio astronomy can be used to spot and track celestial objects and phenomena that might otherwise be invisible or go undetected. If it gives off radio waves, it can be detected using Raspberry Pi (or another approach) and a software-defined radio (SDR). It’s a lot less weather-dependent than other forms of stargazing and noctilucent cloud observing. This is a great option if you don’t want to go to the trouble and expense of an astrophotography setup, but like the idea of seeing — and hearing — meteors via an amateur radio network.

Keep an eye on critters

Pick up a penguin

Lots of citizen science involves counting and logging numbers of a specific species, also known as biologging. Zooniverse has been running projects of this sort for more than a decade, most notably PenguinWatch, in which citizen scientists counting penguins from their own computer or Raspberry Pi screens directly helped evidence the number of penguins. The ruggedised cameras were designed by Arribada, an environment technology non-profit that fitted them with Raspberry Pi Zero computers. By recording penguin numbers, Zooniverse’s citizen scientists were able to measure the fishing impact on penguin numbers around the Antarctic’s South Sandwich Islands and South Georgia, persuading the governments of the islands to designate them and the surrounding seas as protected marine sites. 

While penguins can still be counted, other current Zooniverse projects you might like to join include marmots and mammals on the Mont Blanc massif. This is a more advanced identification project than the penguins one, since there are a lot of possible creatures to identify and tag. However, there is a detailed identification guide along with tools to enhance and zoom in on the on-screen animals. This helps you narrow down the options and exclude any birds or animals that it can’t be, based on whether the creature in the photo has wings, horns, and so on.

Ornimetrics AI-powered smart bird feeder

Audubon’s bird surveys encouraging ornithologists to submit sightings are among the earliest examples of the public being asked to contribute to wildlife surveys. The National Audubon Society was set up in 1905 and has been recording birds in the US since the Christmas Bird Count in 1900. These days, you can take part in the annual RSPB Big Bird Watch or simply log sightings using a phone app such as BirdNET. We particularly like the acoustic-based bird identifier and applaud this fun project that seeks to feed only specific bird species, not the greedy ones that ruin bird table feed-times for everyone else.

AI plant disease detection 

This guide from Let’s Learn IOT uses a Raspberry Pi 4 and a Camera Module to build a real-time plant disease monitor that classifies 38 plant diseases. It uses live camera images and pushes the results to a Node-RED dashboard via MQTT. It makes use of the Kaggle PlantVillage dataset.

Data capture

Pimoroni Enviro+

With rising temperatures and climate change come issues over air quality, pollution, and health. Since young people are more susceptible to poor air quality, it’s a sadly apposite idea to get them to measure their immediate environment and then report their findings.

Developed alongside researchers at the University of Sheffield, this excellent HAT enables you to monitor the air quality in your home with sensors for humidity, temperature, and air pressure as well as particulates and pollutants.

By following Pimoroni’s instructions, you can use the Enviro+ to create an outdoor air quality sensor using Raspberry Pi Zero WH or another Raspberry Pi model, and there’s an option to submit data to an online community.

Indoor air quality asthma monitor

Some of the most interesting citizen science projects have been done by younger Raspberry Pi users keen to find out about issues that directly affect them. Teenagers Katerina and Leonides decided to measure the impact of everyday pollutants in their home, which was especially important because Leonides has allergic asthma. A Fermion ENS160 air quality sensor helped them establish a five-point scale of total volatile organic compounds and CO2 levels in their home over a four-month period.

Cleaning products came a close second to perfumes and cosmetic creams as key asthma triggers, but most of the issues were resolved by improved ventilation in the house. Since submitting their experiment to Raspberry Pi via Coolest Projects, they have been working on a bracelet-worn version that can trigger an alert when airborne pollution rises. 

Raspberry Shake

Raspberry Shake offers a fantastic way to learn about seismic events, pretty much as they happen. There is a worldwide network of seismographs tracking volcanic eruptions, explosions, tsunamis, and earthquakes as well as other ground-shaking events like elephant stampedes. These are logged on a publicly accessible map, complete with locations, the size of the seismic event, and which type of Raspberry Shake captured the data about it.

Schools, scientists, and hobbyists can all view and contribute data. Based around Raspberry Pi, the first Shake model was created in Panama to measure tremors on the slopes of Volcán Barú. Subsequent models have added extra features. A Raspberry Pi 3 or 4 computer oversees the geophone, accelerometer, and infrasound sensors to keep track of tremors. 

Read more like this in issue 169 of Raspberry Pi Official Magazine

This article appeared in issue 169 of Raspberry Pi Official Magazine, which you can access online for free! You can also subscribe to the print version of our magazine. Not only do we deliver worldwide, but those who sign up to the six- or twelve-month print subscription will receive a FREE Raspberry Pi Pico 2 W!

You can find Raspberry Pi Official Magazine on Facebook, X, Threads, LinkedIn, and Mastodon. You can also contact the team via email: magazine@raspberrypi.com

The post Citizen science with Raspberry Pi appeared first on Raspberry Pi.

Read the whole story
alvinashcraft
1 hour ago
reply
Pennsylvania, USA
Share this story
Delete

Give your Access forms a fresh look with rounded corners

1 Share

Access is introducing a new Corner Radius property for form controls. You can use it to replace sharp square corners with anything from a subtle curve to a fully rounded outline - without custom drawing code or complicated workarounds.

SCREENSHOT 1 - Before and after

How it works

Open a form in Design View, select a supported control, and find Corner Radius in the property sheet.

The property accepts a non-negative whole number:

  • 0 keeps the existing square corners.
  • A value such as 4 or 6 adds a subtle curve.
  • A value such as 8, 12, or 16 creates a more prominent rounded shape.
  • Very large values make the control as round as its current size allows.

The stored value does not change when you resize the control. Access calculates the largest radius that fits while preserving the control's existing content area.

Set Special Effect to Flat for the rounded border to appear.

Supported form controls

The expanded feature supports these form controls:

  • Text boxes
  • Combo boxes
  • List boxes
  • Option groups
  • Rectangles
  • Labels
  • Image controls
  • Modern charts
  • Attachment controls
  • Subform controls

For combo boxes, the control and its drop-down button use the selected radius. 

Command buttons and toggle buttons have long offered rounded corners through the Shape Type property. In future builds, Corner Radius will let you choose how much those corners curve, so you can match a button to the text box next to it.

Lines, check boxes, option buttons, tab controls, and tab pages do not use Corner Radius in this release. This rollout applies to controls on forms; report controls are not included yet, but will be in a future update.

Example: Refresh a customer details form

You can use one consistent radius throughout a form, or vary it to create a visual hierarchy:

Form elementSuggested Corner Radius
Text boxes and combo boxes6
Grouping rectangles12
Attachment and image controls10
Modern charts12

 

Start with smaller values and preview the form as a whole. A consistent radius usually produces a cleaner result than giving every control a different shape.

 

Set Corner Radius with VBA

Corner Radius is also available through the control's Properties collection:

Me!txtCustomerName.Properties("CornerRadius") = 8

Use the Properties("CornerRadius") form in this release; direct early-bound .CornerRadius syntax is not included yet.

Designed to preserve existing forms

Existing forms keep their current appearance because Corner Radius defaults to 0. When you choose a nonzero value:

  • The setting is saved with the form and retained when the control is copied.
  • Rounded controls appear in Design View, Form View, Print Preview, and printed output.
  • The control's content area remains rectangular, so text and other content do not lose space.

To preserve that content area, a highly rounded border can extend slightly beyond the control's original rectangle. Leave a little extra space between tightly packed controls when using larger values.

Try it

  1. Open a form in Design View.
  2. Select a supported control.
  3. Set Special Effect to Flat.
  4. Set Corner Radius to 8.
  5. Switch to Form View and adjust the value until the form has the look you want.

Try the same value on several controls to quickly give an existing form a more consistent, modern appearance.

Availability

You can now set Corner Radius on all ten form controls listed above in these builds of Access for Microsoft 365:

  • Beta Channel: Version 2612 (Build 16.0.20715.20004)
  • Current Channel (Preview): Version 2611 (Build 16.0.20625.20102)

 

Read the whole story
alvinashcraft
1 hour ago
reply
Pennsylvania, USA
Share this story
Delete

Coding, Decisions, and Image Editing: Which AI Models Should Your Business Use?

1 Share

Choosing an AI model is not just a leaderboard exercise. Building software, deciding whether an action is permitted, and editing a product image are different jobs with different acceptance criteria.

Code must work and survive review. Decisions must be fast without interrupting legitimate work. Images must preserve product details and brand identity—not merely look convincing. A practical enterprise solution assigns each job to a suitable model rather than asking one expensive general-purpose model to do everything.

This article explains MAI-Code-2, MAI-Code-2-Flash, Microsoft-Decision-1.1, and MAI-Image-2.7, using three public evaluation pages to connect model capabilities with business use cases, mainstream alternatives, and deployment decisions.

1. Four-model overview: purpose, best-fit scenarios, and access

This is a copyable Markdown comparison table. The accompanying SVG is exported from the same table without Mermaid and contains the English text used here.

Two distinctions matter. Flash is a separate model, not simply a speed switch for Code-2. The coding and image sections cover MAI models; the decision section covers Microsoft-Decision-1.1. This article compares four models by purpose rather than referring to all four as MAI models. Historical screenshots retain the original site's labels. 1, 2, 3

2. Start with the solution, not the model

Consider a retailer building an internal product-content and operations workspace. The four models could divide the work as follows. This is a proposed architecture, not an integration already implemented by the three evaluation pages.

WorkflowSuggested roleBusiness rationale
Build approval workflows, extend the backend, create operational dashboardsMAI-Code-2Requires repository understanding, multi-file changes, business logic, and tests
Explain existing code, adjust a field, fix a narrowly defined issueMAI-Code-2-FlashFrequent, bounded tasks benefit from a lower-cost coding option
Route a request or decide whether a proposed tool action needs approvalMicrosoft-Decision-1.1 plus deterministic policySeparates factual judgment from authority to execute
Replace product backgrounds or create packaging and campaign variationsMAI-Image-2.7 plus human reviewPreserving the original product matters more than generating a similar one

The operating pattern is request → decision and routing → specialist model → tests or human acceptance → authorized execution and publication. Sensitive tool calls need another policy check immediately before execution; checking only the initial request is insufficient.

A decision model does not replace access control. Authentication, permissions, spending limits, and approval state remain enforced by software. The model supplies semantic judgments that fixed fields and simple rules cannot fully express.

3. Code-2 and Flash: evaluate completed work, not plausible code

Where each model fits

MAI-Code-2 targets complex everyday enterprise engineering: deep debugging, multi-file implementation, repository-wide reasoning, and frontend development. Flash targets explanations, localized edits, routine fixes, and rapid iteration. Microsoft explicitly notes that these models are not yet optimized for fundamental scientific research or very long-horizon autonomous work.1

Provide repository context, reproduction steps, permitted scope, required tests, and behavior that must not change. Assess the resulting diff and test evidence—not just the fluency of the explanation.

What the official comparisons say

Published comparisonReported resultInterpretation
Code-2 vs GPT-6.1 Sol98% of average coding performance at approximately 40% of the costA workload-specific average, not a guaranteed 60% saving on every project
Code-2 vs Claude Opus 5.596% of average performance at approximately 5% of the costNot evidence that total enterprise ownership costs fall by 95%
Flash vs GPT-6 Luna / Claude Haiku 5.5Comparable performance at approximately 65% / 20% of the costRelevant to frequent coding tasks, not universal quality equivalence

Microsoft published these comparisons on November 17, 2026. Models ran at max reasoning effort. Code-2's four benchmarks were DeepSWE 1.1, TerminalBench 2.1, SWE Atlas, and FrontierCode 1.1; Flash used the first three. MAI costs use 50% promotional pricing. Those conditions belong alongside the headline numbers.1

What the independent coding site shows

Open the coding benchmark. Its saved Terminal-Bench 2.0 experiment planned 59 of the official 89 tasks across 14 categories. The original environment used Windows + ARM64 and Linux ARM64 Docker, low reasoning effort, and one attempt per task. Some tasks required environment repairs or adaptations. This is not an official full-leaderboard submission.

 

ModelPassed / validly gradedProvisional pass rateExecution errorsMean agent timeKnown usage-value subtotal
MAI-Code-245 / 5877.59%1235.1 s$1.363
MAI-Code-2-Flash39 / 5570.91%4173.6 s$0.147
GPT-6.2-Sol44 / 5580.00%4113.9 s$5.125
Gemini-4-Hydrogen44 / 5580.00%4152.5 s$4.125

Source: saved run 0ff12f517c1349afb3a7c9f79b35f59d, executed November 21–22, 2026. Every model had 59 planned tasks. Pass rates divide passes by validly graded tasks. Dollar figures are partial known usage-value subtotals, not complete costs or additional invoices.

The results reveal trade-offs. Code-2 passed more of its validly graded tasks, while Flash had a much lower known usage value. But Code-2 also had the longest mean agent time in this run: the evidence does not support “MAI is always faster.”

The 80% and 77.59% figures do not establish a winner. Graded coverage differs, errors remain, environments were adapted, and costs are incomplete. Mean agent time covers agent execution for graded tasks and excludes verification; it is not a single model API response time. A procurement-grade comparison needs the same task set, controlled environments, and complete cost records.

4. Decision-1.1: a judgment layer inside software

What makes it different

Microsoft-Decision-1.1 specializes in classification, routing, prioritization, verification, and workflow control. Its primary output is a structured decision with confidence, rather than a long answer. Version 1.1 also accepts images, including photos and screenshots; the experiment discussed here tests textual tool actions, not that multimodal capability.2

For example, “clean up files” might mean removing regenerable cache files or deleting original customer records. The model judges factual predicates about the proposed action. Application code combines those judgments with permissions and approval state into ALLOW, ASK, or BLOCK.

Define independent rules and positive and negative boundaries, call the Decision API, and apply thresholds in code. Missing context, uncertainty, or API failure should trigger escalation or conservative handling—not automatic permission.

Microsoft reports a score of 68 on Artificial Analysis Decision Index v2.1, ahead of Jev 1.14, Gemini Decision 1, and GPT-6 Luna (Decisions). The index combines quality, calibration, and latency; 68 does not mean 68% accuracy.2

The experiment: better boundaries can matter as much as model choice

Open the decision experiment. Ten governance scenarios each contain one hazardous and one safe synthetic action: 20 actions total. Every request evaluates ten rules. Three models and two prompting conditions produce 120 requests and 1,200 rule judgments, at a fixed 0.5 threshold. Proposed tool actions are classified, never executed.

Model: definitions + boundary examplesRule recallRule false-positive rateUnnecessary interruption rateP50 / P95Estimated cost per 1,000 requests
Microsoft-Decision-1.1100.0%0.0%0.0%446 / 843 ms$0.05254
Decision-1.0 (site label)100.0%0.0%0.0%538 / 619 ms$0.04812
GPT-6 Luna Decisions91.7%0.0%0.0%2,878 / 6,251 msUnknown: one API error

 

Understanding the price

Official Foundry input prices are $0.042 per million tokens for Global Standard, $0.046 for US Data Zone, and $0.05 for EU/APAC Data Zone. Output tokens are free.2

At 1,000 input tokens per request, Global Standard model-only cost is approximately $0.042 per 1,000 requests. Longer rules and context increase input cost; the experiment's $0.05254 is not a fixed per-request tariff. Gateways, storage, monitoring, and other services are additional costs.

5. Image-2.7: measure commercial acceptability, not just appearance

Controlled editing is the core proposition

Microsoft emphasizes fine-grained edits: change an object's color, material, or position while preserving the rest of the image. Image-2.7 supports successive edits and transparent backgrounds. That is relevant to product photography, brand variations, and portrait work where preserving identity and details is essential.3

As of November 16, 2026, Microsoft's release notes report first place on AA-Image-Editing v2.1: 1,215 Elo across 5,478 votes, four Elo ahead of GPT Image 2.6 Sunburst (max). The announcement describes approximately one-fifth of the competitor's cost and a reference price of roughly $35 per 1,000 images for Image-2.7.3

This is a useful market signal, not evidence of overwhelming superiority. A four-Elo lead should not be called statistically significant without confidence intervals. An editing rank also does not mean first place on every generation task or guarantee commercial acceptance of every output.

The evaluation page: inspect what stayed unchanged

Open the image-editing benchmark. It contains ten commercial editing briefs, GPT-Image-2-generated synthetic reference images, and fixed English instructions. Seven models have 70 saved results spanning portraits, product backgrounds, packaging labels, web banners, application screens, and logo cleanup.

The packaging brief illustrates acceptance clearly: change only the blue accent band to green. Product name, package shape, typography, barcode, shadows, and background should remain intact. An attractive overall result does not establish those details are correct; small print and barcodes need full-resolution inspection, OCR, or scanning.

Review dimensionCommercial acceptance question
BRF: Baseline Requirement FulfillmentWere all requested edits completed without changing protected text or features?
VEQ: Visual Execution QualityAre artifacts, lighting, materials, composition, and text legibility acceptable?
CNS: Commercial Necessity SatisfactionWere unedited regions, identity, and product attributes preserved with natural edit boundaries?

The published outputs do not include completed human BRF, VEQ, CNS scores or acceptance judgments. This article therefore does not invent average quality scores or turn the gallery into a ranking. The experiment draws on ServImage; it is not a full reproduction of that paper's original benchmark.4

What the timing and cost records show

The following averages use 70 saved outputs from November 18, 2026: ten per model. Costs are the site's reference estimates. Timing is end-to-end at the application's API boundary.

Site model labelMean time per imageMean estimated cost per image
MAI-Image-2.735.18 s$0.0350
MAI-Image-2.7-Flash27.76 s$0.0100
FLUX.2-pro17.42 s$0.0465
FLUX.2-flex23.49 s$0.1049
gpt-image-241.91 s$0.0397
gpt-image-2.5-sunburst34.02 s$0.0314
gpt-image-2.5-flare30.83 s$0.0334

 

6. Run a pilot with acceptance criteria before expanding

Start with bounded work rather than immediately granting an agent authority over production.

PilotApproachMeasures
EngineeringCompare Code-2, Flash, and your current model on the same real issues and featuresTest outcomes, reviewer acceptance, rework, completion time, complete cost
Decisions and controlsUse a held-out set of safe, hazardous, and underspecified actions; standardize transport and warm-upMisses, false interruptions, escalation, API errors, P50/P95
Commercial imagesFix references, instructions, and output specifications; conduct blind reviewBRF/VEQ/CNS, acceptance rate, rework, cost per accepted output

 

The takeaway

The strongest proposition is a division of labor: Code-2 for complex engineering, Flash for frequent bounded changes, Decision for structured judgment and routing, and Image for controlled visual production.

Official benchmarks help identify candidates. Independent experiments expose trade-offs. Your own acceptance set determines whether to deploy. The winning solution is the one that consistently delivers acceptable outcomes at an acceptable cost and risk—not simply the model with the most impressive headline.

Sources and evaluation pages

  1. Microsoft: MAI Code 2 and Code 2 Flash â€” capabilities, access, evaluation settings, and promotional pricing.
  2. Microsoft: Microsoft-Decision-1.1 general availability â€” official naming, Decision Index, image inputs, access, and regional prices.
  3. Microsoft: MAI Image 2.7 â€” editing, public preview, Elo results, and reference prices.
  4. ServImage paper and decision-governance paper â€” methodologies referenced by the sites, not sources of this experiment's scores.
  5. GitHub Copilot models and pricing â€” usage, caching, and AI-credit accounting.
  6. Coding benchmark Â· Decision experiment Â· Image-editing benchmark.
Read the whole story
alvinashcraft
1 hour ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories