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.

MySQL extension causes the active connection to be displayed at the top of my web page

4 February 2026 @ 11:29 pm

I am using the mySQL database client extension. Suddenly today, the active database connection is displayed at the top of my web page. This only happens in my development environment, not in the test and live environments. I've disabled and even uninstalled the extension but the problem still occurs. What could be causing this?

Is @WebMvcTest annotation missing from spring-boot-starter-test:4.0.2 and require explicit spring-boot-starter-webmvc-test:4.0.2 dependency?

4 February 2026 @ 11:13 pm

My initial assumption is that since Spring Boot @WebMvcTest annotation is so common, it should automatically get pulled in via org.springframework.boot:spring-boot-starter-test dependency. However, it does not appear to be the case? I had to explicitly add org.springframework.boot:spring-boot-starter-webmvc-test to build.gradle file. dependencies { // Does not appear to include @WebMvcTest? 🤔 testImplementation 'org.springframework.boot:spring-boot-starter-test' // Needed to resolve resolve @WebMvcTest testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test' } Want to ask here before raising an issue at https://github.com/spring-projects/spring-boot/issues

Handling audio interruptions that begin, but do not end

4 February 2026 @ 11:10 pm

In Apple's Audio Session Programming Guide, there's a section, Observing Audio Interruptions [archive], that says: Note: There is no guarantee that a begin interruption will have a corresponding end interruption. Your app needs to be aware of a switch to a foreground running state or the user pressing a Play button. In either case, determine whether your app should reactivate its audio session. I

How to find children of each node using git log

4 February 2026 @ 11:04 pm

I am currently working on GitGarden, a CLI tool that draws your repos as plants. I want the branching/forking of Github repos to be mimicked in my program, like how trees branch off in real life. To do that, I need to identify whether each node is a split (branching off) or a merge (coming back to the main trunk). I have successfully flagged merges in my tested repos, but not splits. How can I do this? Here is my code to help. This is my first post here and I can always add more code if there is not enough context. Here I get the git commits for the repo using git log: def get_git_commits(limit=None): cmd = [ "git", "log", "--all", "--date=iso", "--pretty=format:%H%x1f%an%x1f%ad%x1f%s%x1f%b%x1f%P%x1e" ] if limit: cmd.insert(2, f"-{limit}") result = subprocess.

Need to display plaintext passwords to teacher for 2nd grader accounts

4 February 2026 @ 10:16 pm

I'm working on an amplify website which has 2 cognito account types, a teacher and students created by this teacher. These are 2nd graders who often forget passwords/have to have teacher look them up and importantly wont have a phone number or email address or the ability to do the usual password reset stuff. It has been requested that the teacher dashboard be able to display the username and password for students so they can login after creation. This is a bit of a security nightmare with plaintext passwords so I am hoping to find some guidance about how I can provide the student cognito passwords to the teacher dashboard frontend as safely as possible(and clean up after). I can capture the student password during student account creation, but I don't want them at rest in dynamo in plain text, and I need to also get them to the teacher dashboard frontend safely as well. Access to the backend is provided via a cognito authorizer gated REST api g

What's the fastest and most reliable way to aggregate ipv4 addresses into CIDRs in Go?

4 February 2026 @ 9:38 pm

I have an array of ipv4 addresses (over 750k addresses).These IPs have so long been stored in hash:ip ipset of Linux through the Go application. I want to reduce this to shortest (if that's a good idea) array of non overlapping CIDRs that would be optimal for storing in hash:net ipset. How can I do this in Go as fast as possible? Also will this lead to faster lookups since hash:net would be more efficient at storing this?

[Oracle][SQL] Optimisation [closed]

4 February 2026 @ 7:40 pm

I'm working on Oracle 19 and I need to sort a 70GB table. I have unlimited parallelism. What would be the optimal values to optimize this sort? in terms of parallelism in terms of database configuration (pga_aggregate_taget...) other? This is a table generated by an automatic tools and there is no index. The query is something like: select /*+parallel(X)*/ID, min(col1), avg(col2), max(col3)... from byTable group by id; The only thing I can improve is parallelism and database parameters.

Splitting a string into tokens with several possible separators, using `std::ranges`

4 February 2026 @ 5:10 pm

My goal is to split a std::string into tokens delimited by a list of possible delimiters/separators. For instance std::string line{"\tSplit \t\t this sequence\t of tokens "}; must be split into Split,this,sequence,of,tokens. It's a well-known problem and many implementation can be found: with std::isstream with std::regex with std::strtok with find or find_first_of As far as I know, the first two are requiring to allocate intermediate substrings and regex is particularly slow. std::strtok is not thread-safe, as it maintains an internal state in the form of static variable(s). Using find is quite straightforward and happens to be fast (see benchmarks below) but the code is quite verbose (I know, it's subjective). I want to test

Feedback on ERD normalization for school project for a service to match users based their preferences, and how to model verification status in ERD?

4 February 2026 @ 1:30 pm

What is feedback on the normalisation of my ER diagram which I designed for my school project for a service to match users based on their preferences? The ERD is supposed to show no transitive dependencies. I have modelled preferences in a separate table and they reference user_profile. Another example is having a separate table to for visibility of attributes in user_profile, rather than having these columns directly in user_profile. To model the verification status of a user, we have tables such as AuthSession and AuthStatus, and tables for SMS and email verification; however, four tables to model verification may be overkill as some have said that it is fine to have a boolean flag next to the user's login table. ERD

What are the mechanics of custom CMake install()-command scripts?

4 February 2026 @ 9:20 am

(Kind of a follow-up to this question.) CMake can run a custom script for you, when installing, i.e. when you invoke it with cmake --install and the install() commands get run. This is how you tell it to do so: install([[SCRIPT <file>] [CODE <code>]] [COMPONENT <component>] [...]) The SCRIPT form will invoke the given CMake script files during installation. If the script file name is a relative path it will be interpreted with respect to the current source directory. (and I care about the SCRIPT case, not so much the CODE case.) So, this tells me how CMake finds the script. Ok, but: What is the

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.