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.

Is there a way to insist you should pass a const/string literal to a java method?

10 February 2026 @ 4:31 pm

People like to write code like this: throw new PotatoNotFound("no such potato: %s".formatted(potato)); even when the PotatoNotFound constructor already only asks for a potato name and does its own string building. This is doubly bad since these interpolations clutter up our monitoring: instead of having a single line in (say) honeycomb for all of our potato not found needs, each interpolation results in its own very special row in the table, thus ruining everything. I'm designing an API that instead looks like this throw giveUp() .withPotato(potato) .with("shape", potatoShape) .andFail("unrecognised potato shape") where I can build a map of data into my exceptions, toss them into otel, and correctly group similar entries together. Imagine that: not having to parse other services' error messages with regular expressions. However, this only w

Why when using plot.style_columns is the output so small? Why doesn't the scale adjust to the output?

10 February 2026 @ 4:27 pm

I've created an indicator to plot columns of positive and negative values. However, the rendered output is tiny and I have to drag the right side scale for ages to see the values as they should be rendered. I've even restricted the output in test to the last 50 values only to rule out massive spikes but there are no such anomalies. I'm using a modified volume value and the data is in an array<float>. Can anyone advise what I am doing incorrectly? method GetValue(map<int, float> values, int period = na)=> float outVal = na int average = nz(period, values.size()) if values.size() > 0 total = values.values() outVal := total.sum() na(outVal) ? 0 : outVal/average currDelta := delta.GetValue() // Plots hline(0, "Zero Line", color = color.new(#787B86, 50)) plot(currDelta, title = "Histogram", style = plot.style_columns, color = color.red)

Docker Colima SSL Errors on Amazon/Maven

10 February 2026 @ 4:14 pm

I am running docker on Colima (macOS Apple Silicon) and am on a corporate network behind a VPN. I have been able to get docker to download images from remote repositories by adding a corporate certificate chain to Colima's ca-certificates. I can already pull images from the public docker hubs and from AWS's ECR. When I try to authenticate with AWS (or connect to much else, for that matter), I get the dreaded SSL Self-Signed Certificate error. Interestingly, this does not come from PyPi, which I can pip install from normally. I can see that Colima can authenticate with both aws and maven (installing jars for AWS Glue): colima ssh # Maven openssl s_client -showcerts -connect repo1.maven.org:443 ~snip~ Post-Handshake New Session Ticket arrived: SSL-Session: Protocol : TLSv1.3 Cipher : TLS_AES_256_GCM_SHA384 Session-ID: 6A06EB25C7591F13F4F1111D2BADA6D3652CA0703A2604009DA39DAD3FC84CB2 Sessi

How to allow a Container class to modify its children's protected members

10 February 2026 @ 4:14 pm

I'm writing a small GUI library as practice and for personal use, I have the following situation: Originally, I had everything as a public members of Elem, but now I've decided to add a bit of encapsulation so you can't access the internals in user code when defining widgets/composites; when writing my layouting code I decided that container elements like Grid, Vertical, Horizontal, Stack etc. should be the ones setting their managed objects layout positions and such (internal_var in the example). Reduced dummy code: struct Elem{ public: int internal_var; }; struct FancyElem : public Elem{...}; struct ElemContainer : public Elem{ void foo(){ for(Elem* ptr : cont){ ptr->internal_var++; //modify internals here } } std::vector<Elem*> cont; }; struct Elem{ // mark internals as protected/private

PowerShell Get-ADUser Published Certificates Import Error

10 February 2026 @ 4:12 pm

I'm looking for some help with pulling certificate information from Active Directory. When I'm troubleshooting accounts, it can take a while to manually check each individual settings. One of the things I need to check is that the Active Directory published certificate 'Subject Alternative Name' attribute and 'Serial Number'. The SAN points to the email address associated with the Smart Cards that we use, and sometimes someone has a different email than they should listen here. I already have a script pulling general AD account information so I had the following working for a short time: $ADUSVal = Get-ADUser -Filter "UserPrincipalName -like '*$XEDIPI*'" -Properties * $CERTRD = $ADUSVal.userCertificate[0] $CERT1 = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $CERT1.Import($CERTRD) $SANs = $CERT1.Extensions | Where-Object { $_.Oid.Value -eq "2.5.29.17" } | ForEach-Object { $_.Format($false) } $CERTDET = @&q

Multi-Input Field in a table on Object Page - missing filter

10 February 2026 @ 4:11 pm

To display mutltiple values in my table I'm using association @UI.lineItem: [{ position: 50, value: '_values.FieldValue' }] and it works well - in the table I can see many values enter image description here The only issue is that the filter doesn't work and I'm not sure if this is possible to make it work. @UI.selectionField: [{ position : 10, element: '_fields.Field' }] _fields : redirected to composition child ZC_WF_ACT_FIELDS

Change the hardcoded sidebar TOC title

10 February 2026 @ 4:05 pm

Sphinx Alabaster theme and Python 3.14. I want to change the sidebar toc title. The hardcoded one is "Table of Contents": global toc That is set in /sphinx/themes/basic/globaltoc.html: {# Sphinx sidebar template: global table of contents. #} <h3><a href="{{ pathto(root_doc)|e }}">{{ _('Table of Contents') }}</a></h3> {{ toctree(includehidden=theme_globaltoc_includehidden, collapse=theme_globaltoc_collapse, maxdepth=theme_globaltoc_maxdepth) }} If I change that string to "WSGI Tutorial" it does what I want: global toc altered But if I hardcode it, it will change for

Using @DataMongoTest in Spring Boot 4.0.x

10 February 2026 @ 4:04 pm

We updated an Spring Boot project from Spring Boot 3.5.8 to 4.0.2. The developed application connects to a MongoDB server using the org.mongodb:mongodb-jdbc:3.0.5 driver (dependency included in the pom.xml). Our tests use the @DataMongoTest annotation. The @DataMongoTest was included in the spring-boot-test-autoconfigure dependency in Spring Boot 3.5.8. However, the spring-boot-test-autoconfigure package from Spring Boot 4 no longer contains this annotation. Does anyone know which package/dependency the annotation @DataMongoTest is now located in? According to the corresponding JavaDoc, the annotation seems to be still present in the Spring Framework.

Vscode extensions

10 February 2026 @ 4:01 pm

For some reason if I try to install "C\C++ extension pack", it's just getting stuck on the "installing..." stage, and yes, I tried waiting like abt a hour, reistalling vs code, downloading it with VSIX file, downloading all of the extensions manually, launching vs code as an administrator all of that leads to the same problem. (image) also it starts to install the "C\C++ Themes" and "CMake Tools" (but not the "C\C++") and then if you wait really long (next line) btw if I wait for really long, it shows error that it failed installing extension

Self-hosted runner can't start MongoDB via podman on Raspberry Pi OS 64Bit

10 February 2026 @ 3:43 pm

I would like to implement a CI/CD pipeline with GitHub and self-hosted runners on Raspberry Pi devices. Included are tests and db startup and migration. If the self-hosted runner is starting the database via podman, the process is killed by the OS. I would like to use podman, because no Docker daemon is required for running lightweight containers. This step is failing: run: | sudo podman run -d --name mongodb -p 27017:27017 \ --health-cmd "mongosh --eval 'db.runCommand({ ping: 1 })'" \ --health-interval 5s \ --health-timeout 5s \ --health-retries 12 \ docker.io/mongo:latest sudo podman wait --condition=healthy mongodb Claude Opus has suggested that rootless podman on self hosted runner, kills proceses from users without active login-session (logind). Therefore it suggested that I should do the following commands on my ru

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.