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.

uv authentication fails with Azure DevOps Artifacts using environment variables, but works with inline URL token

14 January 2026 @ 5:12 pm

I am migrating a Python project from pip to uv on Windows 11. I need to install packages from a private Azure DevOps Artifacts feed. I am facing a strange issue where authentication works perfectly if I embed the token in the URL via CLI, but fails with 401 Unauthorized when trying to use Environment Variables (which is the recommended secure way). What WORKS (Proof that Token and URL are valid): If I bypass the config and pass the token directly in the command line, it installs correctly: uv add my-package --index-url https://python-internal:[email protected]/my-org/Assets/_packaging/python-internal/pypi/simple/ Result: Success, package installed. What FAILS (The Configuration approach): I want to configure this in pyproject.toml and use environment variables for the credentials. 1. pyproject.toml: [project] name = "my-

If Aryabhata is credited with inventing zero, how were calculations done before zero existed?

14 January 2026 @ 5:01 pm

Aryabhata is often credited with developing and introducing the concept of zero into Indian mathematics. However, long before zero was formally recognized as a number, ancient civilizations such as the Babylonians, Greeks, Egyptians, and Romans were already performing sophisticated mathematical calculations. This raises several important questions: How were mathematical calculations carried out in ancient number systems that did not include a symbol for zero? How did these civilizations represent the idea of “nothing” or an absence of quantity, if at all? Did they rely on positional placeholders rather than a numerical zero, as seen in the Babylonian numeral system? In what ways did the formal introduction of zero transform mathematics compared to the mathematical practices of earlier civilizations? More broadly, I am trying to understand the

How can I find out which API parameters are supported by each of OpenAI's models?

14 January 2026 @ 4:58 pm

How can I find out which API parameters are supported by each of OpenAI's models?** For example, some models support reasoning_effort while others don't, and some support tools like web search or code interpreter while others do not.**

Cannot build and debug because the active file is not a C, or C++ file [closed]

14 January 2026 @ 4:55 pm

I encounter this error where I try to compile any C++ file, but I encounter the program crashing and not compiling, and I am not entirely sure what to fix in tasks.json. This is my tasks.json, and the terminal says the file isn't in C or C++, even though it has the extension of .cpp {"tasks": [ { "type": "cppbuild", "label": "C/C++: gcc.exe build active file", "command": "C:/Strawberry/c/bin/gcc.exe", "args": [ "-fdiagnostics-color=always", "-g", "${file}", "-o", "${fileDirname}\\${fileBasenameNoExtension}.exe" ], "options": { "cwd": "C:/Strawberry/c/bin" }, "problemMatcher": [ "$

Correct dependency for @AutoConfigureMetrics and @AutoConfigureTracing (Spring Boot 4.0.1)

14 January 2026 @ 4:53 pm

I am upgrading my Spring Boot app to Spring Boot 4.0.1. However, I can not figure out the correct dependency to add to my pom.xml for the following annotations in my @SpringBootTest annotated integration test base class: @AutoConfigureMetrics @AutoConfigureTracing I already added the dependencies below, but without result yet: the compiler can't resolve these annotations. <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-actuator-autoconfigure</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-test-autoconfigure</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spri

UML diagram problems

14 January 2026 @ 4:51 pm

I am struggling to understand a specific UML Use Case Diagram (version 2.0) problem regarding actors and relationships. The scenario is: A mother cooks dinner together with her daughter. In the course of that, the mother always has to mix the cocktail. I'm debating between the provided options. Specifically, I'm wondering if answer D is correct because: It uses an abstract actor "both" to represent the joint action of cooking dinner. It uses an include relationship for "mix cocktails", but only connects it to the "mother" actor's path (since only she performs this task). Could someone please explain why D is the most appropriate choice compared to others? Is the multiplicity "2" on the association line in option D a standard way to represent "together"? enter

Unwanted cell selection in DataGridView when closing ContexMenuStrip

14 January 2026 @ 4:48 pm

I'm having a problem with an application I'm working on. I've been trying to fix it for a while, but I can't seem to find a solution. The app I'm working on searches the PC and places the results in a DataGridView called Dgv_Trovati. When I right-click on Dgv_Trovati, the CMStrip_Search context menu appears, and then I click on a cell in Dgv_Trovati without selecting any menu item, the menu is hidden. When I then move the mouse, the cells the cursor passes through are selected. To stop this annoying behavior, simply click on any cell in Dgv_Trovati. Why does this happen? And how can I fix it? ---------------------------------------------- I can't reproduce the problem with the minimum code you requested. It seems like the entire project is needed to enable the behavior. However, I worked on it and solved it. I've posted the code below that solved the problem. Maybe it can help someone with the same problem. P

How do i call lists by their ID?

14 January 2026 @ 4:48 pm

i have 3 lists from a dataset, animalId, commonName, and conservationStatus, all the same length. how would i call the commonName variable and the conservationStatus variable by their ID number in my program?

Salesforce CLI access-token fails due to token SF_ACCESS_TOKEN format

14 January 2026 @ 4:27 pm

I set my access token (which I just generated) and set it like this export SF_ACCESS_TOKEN="00D00SOMEID!theAccessToken" cmd: sf org login access-token --instance-url https://<My-Domain>.salesforce.com Which results in the following error: Error (SfError): The access token isn't in the correct format. It should follow this pattern: "<org id>!<accesstoken>". Does anyone know what is missing?

How can I dynamically lazy-load images added to the DOM after page load?

14 January 2026 @ 4:15 pm

I’m dynamically injecting images into the DOM after page load and trying to lazy-load them using IntersectionObserver. This works fine for images that exist on initial page load, but images added later are never observed and therefore never loaded. Here is a simplified version of what I’m doing. HTML <div id="content"></div> JavaScript const observer = new IntersectionObserver((entries, obs) => { entries.forEach(entry => { if (entry.isIntersecting) { const img = entry.target; img.src = img.dataset.src; obs.unobserve(img); } }); }); function addImage() { const img = document.createElement('img'); img.dataset.src = 'https://via.placeholder.com/600x400'; img.alt = 'Test image'; document.getElementById('content').appendChild(img); observer.observe(img); } // Simulate async content load setTi

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.