Nifty Corners Cube

VN:F [1.9.22_1171]
Rating: 7.0/10 (1 vote cast)

Rounded corners the javascript way
Nifty Corners Cube

StackOverflow.com

VN:F [1.9.22_1171]
Rating: 8.5/10 (13 votes cast)

Random snippets of all sorts of code, mixed with a selection of help and advice.

Radar Microdoppler extraction Range Query

15 January 2026 @ 5:19 am

i have a code to extract radar microdoppler spectrogram but even at 1m range, i'm getting a weak spectrogram back; at very close range i get a decent spectrogram. The radar i'm using is bgt60TR13C. I'm curious to know if this is a hardware/ algorithm or configuration issue. I have tried a lot of different configurations already. I'm attaching the code and the spectrogram of human motion at 1m. import numpy as np from scipy.signal import stft, medfilt2d from scipy.signal.windows import hamming import time from ifxAvian.Avian import Device, DeviceConfig import matplotlib.pyplot as plt def microdoppler_processing(data_cube, start_freq_Hz=58_000_000_000, end_freq_Hz=62_080_000_000, chirp_repetition_time_s=35e-5, nperseg=64, noverlap=32): c = 3e8 frames, rx, chirps, samples = data_cube.shape range_fft_mean = np.zero

Page is missing param in generateStaticParams() when using output: export

15 January 2026 @ 5:16 am

i'm using nextjs and next-intl with static export, it complains for single portfolio dynamic route : ## Error Type Runtime Error ## Error Message Page "/[locale]/(JLA)/portfolio/[id]/[name]/page" is missing param "/[locale]/portfolio/[id]/[name]" in "generateStaticParams()", which is required with "output: export" config. Next.js version: 16.1.1 (Turbopack)` i made sure all necessary data returns from the fetch function, i don't know what else can i do or debug to solve the issue : import { fetchGallery } from "@/app/lib/api"; import SinglePortfolioClient from "./SinglePortfolioClient"; export async function generateStaticParams() { try { const response = await fetchGallery({ page: 1, size: 1000 }); return response.data.map((item) => { const slug = `${item.id

How does the_excerpt() decide the length of text in a custom WordPress theme?

15 January 2026 @ 5:07 am

I am building a custom WordPress theme and using the_excerpt() inside index.php. I want to understand: How WordPress decides the excerpt length by default Whether it is affected by theme or core settings What is the correct way to change excerpt length inside a theme I am new to WordPress theme development and want to follow best practices.

inlined strcmp() on ppc64le (sometimes) returns a wrong value when the strings are same

15 January 2026 @ 4:56 am

gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9) comparing 2 identical strings with strcmp() sometimes returns a negative value. The code is compiled with -O and strcmp() seems to be inlined. Unfortunately I am not able to provide a smaller code to show the problem as the code is part of a larger server code and the issue does not reproduce with a smaller code. Basically, the string is loaded into 2 different variables. One variable is a local character array and the other is a memory allocated variable. Then the strcmp() is called to compare. I have disassembled the code which I believe is the inlined strcmp(). And printed some of the registers that seem to be in play. I am hoping that someone might have an idea what is going on. 0x00000000103f04f8 <+1480>: lxvd2x vs32,r29,r9 0x00000000103f04fc <+1484>: lxvd2x vs33,r23,r9 0x00000000103f0500 <+1488>: vcmpequb v1,v0,v1 0x00000000103f0504 <+1492>: vcmpequ

No compatible code running on thread when debugging Blazor WASM Standalone

15 January 2026 @ 4:36 am

I created a brand new Blazor WASM Standlone project configured to use Microsoft Entra. Everything works fine but I can't even put a break point to inspect anything in my code. I get the following error when I place a break point: enter image description here I'm running the latest version of Visual Studio 2026 18.2.0 and also have the latest .NET SDK installed i.e. 10.0.102. I also made sure the .NET 10.0 WebAssembly Build Tools is installed in ASP.NET and web development workload. I did some research and see quite a few Blazor WASM debugging issues reported. Any idea what the issue may be here? P.S. I went through this article and made sure each potential cause mentioned in it is actually fine in my setup.

How to Upgrade PHP 7.4 to 8.2 in XAMPP without data loss? [duplicate]

15 January 2026 @ 4:11 am

I am using XAMPP on Windows with PHP 7.4.13, and I want to upgrade PHP to PHP 8.2. My main concern is upgrading PHP without losing any existing data, including: htdocs project files MySQL / MariaDB databases XAMPP configuration settings I do not want to reinstall XAMPP completely, as that may affect my existing projects and databases. Any step-by-step guidance or best practices would be greatly appreciated.

The `MatchCollection` type returned from `[regex]::Matches()` which implements `ICollection` and `IEnumerable` does not support the `[-1]` array index

15 January 2026 @ 3:50 am

I'm sure this is on here somewhere, but it did not appear in the top 100 search results. It's hard to search for. But basically The [regex]::Matches() function returns a MatchCollection type object which, let's say, is very "array-like". However it does not support the convenient [-1] array index, indeed, nor any negative array indices. That is surprising to me. This is true even tho the MatchCollection type implements the ICollection and IEnumerable interfaces. (I confess I don't know where [-1] comes from. Apparently not these.) Here's some code that demonstrates: 'MatchCollection type object returned from [regex]::Matches() does not support [-1] array index.' 'for comparison, a regular array:' (1,2,3)[-1] # returns 3 '' 'the [regex]::Matches() function:' $match_info_obj = [regex]::Matches('ab

How to protect Raspberry Pi SD card using OverlayFS

15 January 2026 @ 3:38 am

The problem: setting up a reliable, self-hosted Azure DevOps agent on a Raspberry Pi often involves repetitive tasks: updating the OS, installing container runtimes (Docker/Podman), configuring firewalls, and managing SD card wear-and-tear. Manual configuration is prone to errors, especially when trying to implement advanced features like read-only boot or NVMe cloning for better performance. The solution: I have developed an open-source framework, raspi-devops-bootstrap, which provides a modular, shell-based automation suite to transform a clean Raspberry Pi (or Linux environment) into a production-ready DevOps node. https://github.com/sksSourav/raspi-devops-bootstrap.git Now I need help with Linux overlay fs where I can do experiment and get rid of issues by simply reboot the raspberrypi. How can I create restore points in my

expo-camera and @react-native-firebase plugins compatible build error

14 January 2026 @ 6:17 pm

I have a project that requires the use of both react-native-firebase and expo-camera plugins. The issue is anytime I try to run or prebuild the project, it immediately errors out (see image below) powershell - npm run dev-android -> fails Error: PluginError: Package "@react-native-firebase/app" does not contain a valid config plugin. Learn more: https://docs.expo.dev/guides/config-plugins/#creating-a-plugin Unexpected token 'typeof' SyntaxError: Unexpected token 'typeof' at compileSourceTextModule (node:internal/modules/esm/utils:318:16) at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:380:18) at loadESMFromCJS (node:internal/modules/cjs/loader:1578:24) at Module._compile (node:internal/modules/cjs/loader:1743:5) at Object..js (node:internal/modu

How to configure WolverineFx in a background worker project

14 January 2026 @ 5:25 pm

I have .NET 10 Background worker service that I'm looking into using Wolverine with now that MediatR has changed to a commercial license. Here's my Program.cs: var builder = Host.CreateApplicationBuilder(args) var services = builder.Services; services.AddHostedService<Worker>(); builder.UseWolverine(opts => {opts.CodeGeneration.TypeLoadMode = TypeLoadMode.Dynamic' }); var host = builder.Build(); host.Run(); Unfortunately when I try to use the wolverine message bus I get the following error Wolverine.WolverineHasNotStartedException: Wolverine cannot function until the underlying IHost has been started. This can happen if IHost.Build() is called but not IHost.Start()/StartAsync()?

960.gs

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)

CSS Grid System layout guide
960.gs

IconPot .com

VN:F [1.9.22_1171]
Rating: 7.0/10 (1 vote cast)

Totally free icons

Interface.eyecon.ro

VN:F [1.9.22_1171]
Rating: 6.0/10 (1 vote cast)

Interface elements for jQuery
Interface.eyecon.ro

ThemeForest.net

VN:F [1.9.22_1171]
Rating: 7.0/10 (2 votes cast)

WordPress Themes, HTML Templates.

kuler.adobe.com

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)

color / colour themes by design

webanalyticssolutionprofiler.com

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)

Web Analytics::Free Resources from Immeria
webanalyticssolutionprofiler.com

WebAIM.org

VN:F [1.9.22_1171]
Rating: 4.0/10 (1 vote cast)

Web Accessibility In Mind

2026 Predictions: The Next Big Shifts in Web Accessibility

22 December 2025 @ 11:22 pm

I’ve lived long enough, and worked in accessibility long enough, to have honed a healthy skepticism when I hear about the Next Big Thing. I’ve seen lush website launches that look great, until I activate a screen reader. Yet, in spite of it all, accessibility does evolve, but quietly rather than dramatically. As I gaze […]

Word and PowerPoint Alt Text Roundup

31 October 2025 @ 7:14 pm

Introduction In Microsoft Word and PowerPoint, there are many types of non-text content that can be given alternative text. We tested the alternative text of everything that we could think of in Word and PowerPoint and then converted these files to PDFs using Adobe’s Acrobat PDFMaker (the Acrobat Tab on Windows), Adobe’s Create PDF cloud […]

Accessibility by Design: Preparing K–12 Schools for What’s Next

30 July 2025 @ 5:51 pm

Delivering web and digital accessibility in any environment requires strategic planning and cross-organizational commitment. While the goal (ensuring that websites and digital platforms do not present barriers to individuals with disabilities) and the standards (the Web Content Accessibility Guidelines) remain constant, implementation must be tailored to each organization’s needs and context.   For K–12 educational agencies, […]

Up and Coming ARIA 

30 May 2025 @ 6:19 pm

If you work in web accessibility, you’ve probably spent a lot of time explaining and implementing the ARIA roles and attributes that have been around for years—things like aria-label, aria-labelledby, and role="dialog". But the ARIA landscape isn’t static. In fact, recent ARIA specifications (especially ARIA 1.3) include a number of emerging and lesser-known features that […]

Global Digital Accessibility Salary Survey Results

27 February 2025 @ 8:45 pm

In December 2024 WebAIM conducted a survey to collect salary and job-related data from professionals whose job responsibilities primarily focus on making technology and digital products accessible and usable to people with disabilities. 656 responses were collected. The full survey results are now available. This survey was conducted in conjunction with the GAAD Foundation. The GAAD […]

Join the Discussion—From Your Inbox

31 January 2025 @ 9:01 pm

Which WebAIM resource had its 25th birthday on November 1, 2024? The answer is our Web Accessibility Email Discussion List! From the halcyon days when Hotmail had over 35 million users, to our modern era where Gmail has 2.5 billion users, the amount of emails in most inboxes has gone from a trickle to a […]

Using Severity Ratings to Prioritize Web Accessibility Remediation

22 November 2024 @ 6:30 pm

So, you’ve found your website’s accessibility issues using WAVE or other testing tools, and by completing manual testing using a keyboard, a screen reader, and zooming the browser window. Now what? When it comes to prioritizing web accessibility fixes, ranking the severity of each issue is an effective way to prioritize and make impactful improvements. […]

25 Accessibility Tips to Celebrate 25 Years

31 October 2024 @ 4:38 pm

As WebAIM celebrates our 25 year anniversary this month, we’ve shared 25 accessibility tips on our LinkedIn and Twitter/X social media channels. All 25 quick tips are compiled below. Tip #1: When to Use Links and Buttons Links are about navigation. Buttons are about function. To eliminate confusion for screen reader users, use a <button> […]

Celebrating WebAIM’s 25th Anniversary

30 September 2024 @ 10:25 pm

25 years ago, in October of 1999, the Web Accessibility In Mind (WebAIM) project began at Utah State University. In the years previous, Dr. Cyndi Rowland had formed a vision for how impactful the web could be on individuals with disabilities, and she learned how inaccessible web content would pose significant barriers to them. Knowing […]

Introducing NCADEMI: The National Center on Accessible Digital Educational Materials & Instruction 

30 September 2024 @ 10:25 pm

Tomorrow, October 1st, marks a significant milestone in WebAIM’s 25 year history of expanding the potential of the web for people with disabilities. In partnership with our colleagues at the Institute for Disability Research, Policy & Practice at Utah State University, we’re launching a new technical assistance center. The National Center on Accessible Digital Educational […]

CatsWhoCode.com

VN:F [1.9.22_1171]
Rating: 7.0/10 (1 vote cast)

Titbits for web designers and alike

Unable to load the feed. Please try again later.