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.

How do I close a GitHub issue as "Not planned"?

16 June 2026 @ 2:37 pm

I encountered a GitHub issue that has the status "Closed as not planned" instead of the usual "Closed". Up until now I've been using tags to specify issues as not planned, but I'd prefer to use the status itself. How do I close an issue with the "Closed as not planned" status on GitHub? Issue with "Closed as not planned" status

Gem::Version : Getting Argument Error, although I am passing the correct number of parameters

16 June 2026 @ 2:35 pm

I have the code ``` class EmptyVersion < Gem::Version def initialize super('') end end v = EmptyVersion.new ``` Running this produces *'new': wrong number of arguments (given 0, expected 1) (ArgumentError) .*Why? I am calling the constructor of EmptyVersion without arguments (which should be fine), and inside I am calling the constructor of Gem::Version with one argument (which should be fine too).

MAUI Android "Keeps stopping" crash exactly on Shell Navigation - ONLY on Zebra TC22 (Android 14)

16 June 2026 @ 2:29 pm

I'm dealing with a bizarre device-specific crash in my .NET 10 MAUI app (a confidential internal WMS app) and need some insights. The Exact Behavior: The app boots up perfectly fine to the LoginPage. If the user enters the wrong credentials, my API returns an error, an alert shows up, and the app stays alive. Everything works. If they enter the correct credentials, the app attempts to navigate to the main dashboard using: await Shell.Current.GoToAsync("///MainPage"); The Crash: The moment this navigation triggers, the app dies instantly. Android throws the generic "[App Name] keeps stopping" system prompt. Sometimes it just silently force-closes. Device Testing Results (The Catch): Samsung S25, S21 FE, Honeywell CT32: Works flawlessly in Release mode. Zebra TC22 (Android 14): CRASHES in Release mode. (Important Note: The Zebra device is cu

How to evaluate RAG app which uses Pydantic output parser for output parsing?

16 June 2026 @ 2:29 pm

I need some advice. I've built and evaluated a RAG app Chat with PDF, which used StrOutputParser but now I'm creating another RAG project which is RAG which recommends recipes. So I need to know how to evaluate this app as it uses PydanticOutputParser. Also how to create test data for this? Do i need the actual outputs in the test data to also be in Pydantic output parser format or first test the app using StrOutputParser and then add Pydantic parser assuming that it'll give good result. This is the Pydantic class class RecommendedRecipe(BaseModel): RecipeName: str=Field(description='The name of the recipe') Ingredients: list[str]=Field(description='The ingedients required for making the recipe') Directions:list[str]=Field(description='The directions required for making the recipe') Cuisine:list[str]=Field(description='The cuisine type of the recipe') Nutrition: str=Field(description='The nutrition contet

Quarto sees a duplicate chunk label when using a labelled chunk within a Targets workflow

16 June 2026 @ 2:21 pm

I'm using tar_quarto() to create a report within my targets workflow and either quarto or knitr error saying that there is a duplicate chunk label in my .qmd file. I have only one label, so it is definitely not duplicated. How do I fix this? Is this a bug? Below is a reproducible example with a simpler project. I'm using r 4.60, targets 1.12.0, modelsummary 2.6.0, tarchetypes 0.14.1 and quarto 1.5.1 on a an apple computer running macOS Tahoe 26.5.1 with an ARM apple silicon chip for my reproducible example. The original problem occurred in a Remote Desktop server running Windows with the same r and package versions. The targets file: # Load packages library(targets) library(tarchetypes) # Target options: tar_option_set( packages = c("tibble", "modelsummary") ) # Target list l

Android NFC on physical devices

16 June 2026 @ 2:18 pm

I am using react-native-nfc-manager to make an app which scans NFC tags for iOS & Android. Both parts work which is good but not on all devices. For example: Working devices: iPhone 17 Pro Max Samsung Fold Z5 OnePlus 7 PRO Not working devices: Samsung S24 Samsung S20 FE This piece of code listens to tags being scanned on the background so that the user does not need to press a button constantly: useEffect(() => { if (Platform.OS !== "ios" && isNfcAvailable) { let isActive = true; NfcManager.setEventListener(NfcEvents.DiscoverTag, async (tag: TagEvent) => { if (!isActive) return; showNFCScreen(); if (tag?.ndefMessage?.[0]) { ... } else { setNfcScanError(1); } }); Nf

Aspose.Pdf.Document Page.Rect accessor hangs

16 June 2026 @ 2:17 pm

Calling Page.Rect in C# using version 26.6.0 never returns - it causes the thread it’s running on to hang. To replicate: var document = new Aspose.Pdf.Document(…) foreach (var page in document.Pages) { // this line hangs forever on page 5 of my sample document height = page.Rect.Height; } I’m happy to provide a sample document for which this behavior occurs. This has been logged in Aspose Free Support forum: https://forum.aspose.com/t/aspose-pdf-page-rect-hangs/329838

Does forwarding reference ensure guaranteed copy elision?

16 June 2026 @ 2:14 pm

Since C++17 copy elision is guaranteed when variable is initialized from function call that returns pr-value. In case of such template: template<typename... T> void foo(T&&... args); does forwarding reference ensure that arguments passed as pr-value will use copy elision? I read the documentation of of copy elision and forwarding reference but I'm not sure whether this statement: Forwarding references are a special kind of references that preserve the value category of a function argument(...), implies that prvalues get passed into function body as prvalues.

How to seed non-interactively gpg-agent with a private key passphrase

16 June 2026 @ 2:12 pm

The context: I run a private docker hub repository. It is accessed remotely and non-interactively by different client hosts. Up until recently, everything was fine: I could login/pull/push/logout from client hosts non-interactively. Then docker evolved and required a GPG private key to access the private hub. First, I discovered that it was necessary to export the same private key on all the client and server hosts. I am able now to perform docker login non interactively from any client. The situation arises when trying to perform docker pull (or push) as it asks for the passphrase of the GPG private key using (in my case) the gpg-agent. docker pull has no parameter to enter this passphrase non interactively. The tentative workaround: My idea is to try to seed the gpg-agent non interactively before running the docker pull which w

How to correct install a SDK for nRF9151 SMA DK?

16 June 2026 @ 2:06 pm

I'm stuck trying to set my nRF Connect extension on VSC. I've followed the guide for the installation but I'm reaching a wall. Every time I try to install a given SDK I have the same result (see pictures) I end up having an error. It seems a common thing because I've searched for it for some time finding several posts of similar errors as mine I've tried the different pipelines in the blogs but I none work for me. I've tried to use a previous version of nRF Connect, installing from GitHub repository, unstalling and installing the nRF extension in vsc, tried to extract manually the sdk files, even to rename the python.ext in appdata. The one thing I haven't tried yet is to deactivate the firewall because I'm not able to do so as the computer is from my enterprise and I don't have permissions to do so. Has anyone had the same error? And how did you solve it? The images: Output of west

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

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.

WebAIM.org

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

Web Accessibility In Mind

An Extension is Not an Excuse

28 May 2026 @ 9:20 pm

The Department of Health and Human Services recently announced a one-year extension of the compliance dates for web content and mobile app accessibility requirements under Section 504 of the Rehabilitation Act. The requirements themselves are not new in substance: covered recipients of HHS federal financial assistance must make covered web content and mobile apps conform […]

Tolerating Inaccessibility

30 April 2026 @ 5:50 pm

The latest WebAIM Million report shows that detectable homepage accessibility errors increased over the past year. This article considers what those results may reveal about the organizational and societal forces that continue to deprioritize accessibility, and challenges us to imagine a world where inaccessibility is no longer tolerated.

Ask AIMee: An accessible accessibility-focused AI chatbot

31 March 2026 @ 4:49 pm

We’re happy to introduce AIMee – an easy-to-use, AI-powered conversational chatbot focused on accessibility. AIMee has been designed to be highly accessible to users with disabilities. Ask her accessibility questions to get quick answers and guidance. The name “AIMee” plays off of the “AIM” (Accessibility In Mind) from “WebAIM” and also “AI”. Here are some […]

A New Path for Digital Accessibility?

27 February 2026 @ 7:02 pm

Please note This post will explore how an adaptive, intelligent system could empower users with disabilities to optimize their experience in digital environments. Even were such a system available tomorrow, developers of digital content, services, and products would still be responsible for providing equal access to ALL users. Consider a few of the many exciting […]

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 […]