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.

Blazor SSR enhanced form inside a dialog

27 February 2026 @ 3:21 pm

I want to create a dialog that contains a form that gets updated with success message or errors after submit, but it should not automatically get closed nor should the page reload. The issue is that enhanced loading does not play nicely with dialogs and forms. I thought that Blazor would just update the form DOM and not touch the dialog outside the form, but after submit the dialog gets closed and the page becomes unresponsive (as if the modal was still open but invisible). As far as I understand, dialogs should not get automatically closed if the method is NOT dialog on the form, so I'm guessing the issue here is the enhanced loading... <dialog id="emailModal" class="modal modal-bottom sm:modal-middle"> <div class="modal-box"> <button class="btn btn-sm btn-circle btn-ghost absolute right-2 top-2" onclick="emailModal.cl

Recursive keypad combination not generating correct result in Python

27 February 2026 @ 3:09 pm

I am trying to implement a recursive function to generate keypad combinations (like old mobile keypad). d = { '1': "abc", '2': "def", '3': "ghi", '4': "jkl", '5': "mnop", '6': "qrst", '7': "uv", '8': "wxyz", '9': ".;", '0': "?!" } Here is my recursive function: def keypad_combination(d , s , result , indx): if indx == len(s): return result if len(result) == 0: result = result.extend(d[s[indx]]) else: for char in result: char += d[s[indx]] return keypad_combination(d,s,result, indx+1)

Plotly Choropleth Map: Data points not showing up randomly in the map

27 February 2026 @ 3:09 pm

I am trying to create an animated choropleth map using Plotly that shows when certain countries legalised a policy. So basically, the map is animated to show each year and countries are coloured different colours based on if they legalised a policy, banned it, or added some other condition to the policy. However, as the map progresses through the years, the data points for certain countries are not showing up correctly. Basically, my source data looks like the following image - Source data format And in my map, for some years, the legal status just disappears and the country becomes blank. This is the map. If you scroll to 1988 and watch it move to 1989, you will notice that USA goes blank. However, in the

Sitecore Docker CM and CD container not copying delta asset image over the Base Image

27 February 2026 @ 2:54 pm

We are upgrading Sitecore from 10.4 to 10.4.1. During the upgrade, we received a pre-release hotfix as well from Sitecore. When we are applying hotfix, we don't see updated Sitecore.Kernel.dll in cm and cd container. However for new dll which are not available in wwwroot folder, I can see those after applying the patch but existing files are not gettting modified. When we copy deltaAssetImage to the C:\Hotfix folder, it's copying files but with correct version. Not sure if something is overridding later in wwwroot folder or if files exist, it's not modifying. Below is the configuration: .env: SITECORE_VERSION=10.4.1-ltsc2022 SITECORE_ID_VERSION=8.0.28.325-10.0.20348.4529-ltsc2022 TOOLS_VERSION=10.4.0.171.7006-10.0.20348.643-ltsc2022 SPE_VERSION=7.0.0.107-ltsc2022 VERSION=10.4.1-ltsc2022 SITECORE_DOCKER_REGISTRY=scr.sitecore.com/sxp/ SITECORE_TOOLS_REGISTRY=scr.sit

Cannot rerun C++ code after compiling files are created

27 February 2026 @ 2:36 pm

I am learning how to code in C++ with VSCode in Windows, and am trying to print a "Hello world". I followed along the VSCode tutorial and, after I did that, wrote a small program that printed "Hello world". It worked fine. However, after I ran my program once, VSCode created a bunch of files: helloworld.exe helloworld.ilk helloworld.obj helloworld.pdb vc140.pdb as well as a .vscode folder containing a json file. I understand those files are needed because the code needs to be compiled. However, after I run my code twice I receive the popup error: "The preLaunchTask 'C/C++: cl.exe build active file' terminated with file code -1" This error disappears when I erase the files created by VSCode and rerun the code. How can I fix this?

Testcontainer in a Spring Boot test starts automatically without explicit code or annotation to start

27 February 2026 @ 2:34 pm

I am playing with Testcontainers and all the different approaches to use within a Spring Boot application. I am facing some strange issue. My tests should not be passing but it does and I don't understand how. I have the below test class where i am creating a PostgreSQLContainer instance annotated with @ServiceConnection. I am not using @Testcontainers and @Container annotation nor starting my container anywhere in the code. But when I run the test, it is passing without any issue. So how does my PostgreSQLContainer is getting started? Who is starting my PostgreSQLContainer? Is the @ServiceConnection starting my container? import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.springframework.boot.resttestclient.autoconfigure.AutoConfigureRestTestClient; import org.springframework.boot.test.co

YouTube video works in browser but fails inside Flutter app with error 152-4

27 February 2026 @ 2:32 pm

I am developing a Flutter app (Android 12 and Android 14 tested) and embedding YouTube videos using youtube_player_iframe (or youtube_player_flutter). The videos: Work perfectly in Chrome on the phone Are set to "Unlisted" Embedding is allowed No age restrictions No copyright claims However, inside the Flutter app, the video does not load and shows: Error code: 152-4 "This video is unavailable. Watch on YouTube." Environment: Flutter SDK: 3.x Android device: Moto G60 / Android 12 Another test device: Android 14 WebView updated Example initialization code: YoutubePlayerController( initialVideoId: videoId, params: const YoutubePlayerParams( autoPlay: false, showFullscreenButton: true, ), );

Looking for a database of fish diseases (especially tilapia)

27 February 2026 @ 2:32 pm

I am currently looking for a structured database or publicly available dataset that contains information about fish diseases, especially those affecting tilapia. The dataset can include symptoms, causes, treatment methods, images, or any related biological data. I need it for academic purposes. If possible, I would prefer a dataset that is downloadable (CSV, JSON, SQL, etc.) or accessible through an API. Any reliable sources or recommendations would be greatly appreciated.

How to see data in the fields in the big query in testing environment having policy tags attached to it

27 February 2026 @ 2:31 pm

I have few fields in the big query table having policy tags attached due to which am not able to see the data in those fields , is any one aware how we can get access to policy tags fields in the testing environment

How to check which files has IFileOperation successfully deleted?

27 February 2026 @ 2:02 pm

When I call IFileOperation::DeleteItems to delete multiple files including one that I don't have delete permission to, it calls my IFileOperationProgressSink::PostDeleteItem for that file twice: the first time with hrDelete == 0x80270002, before putting up a confirmation dialog. If I select "Skip", it calls PostDeleteItem again with hrDelete == 0x00270005, which looks like a success. psiItem is non NULL for both cases. IFileOperation::GetAnyOperationsAborted reports TRUE, but that information is as useless as what SHFileOperation provides. How can I tell that the file operation for this specific file did not occur?

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.