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.

CPU regression in MongoDB for find operations with $in and deep projections

16 March 2026 @ 10:58 am

I've encountered a critical performance issue in MongoDB 8.0.15 - 8.0.20. I need your help diagnosing and finding a solution. After upgrading from version 8.0.14 to any of the versions 8.0.15 - 8.0.20, I observed a sharp increase in CPU consumption when executing identical queries. Rolling back to 8.0.14 completely returns performance to normal. Has anyone else encountered similar behavior when upgrading to 8.0.15+? Are there any known MongoDB Jira tickets describing this issue? I'm attaching a partial log of the slow operation from production: "planSummary": "IXSCAN { _id: 1 }", "planningTimeMicros": 1963814, "keysExamined": 45, "docsExamined": 28, "nBatches": 1, "cursorExhausted": true, "numYields": 0, "nreturned": 28, "planCacheShapeHash": "DA96103F", "queryHash": "DA96103F", "planCacheKey"

Flutter SSL Handshake Failure on Android 13 and below

16 March 2026 @ 10:51 am

We are experiencing an SSL handshake issue in a Flutter-based Android application when connecting to a backend API hosted on SAP Cloud Platform Integration (SAP CPI). Recently, the API certificate chain was upgraded to DigiCert TLS RSA4096 Root G5. After this change, Android devices running Android 13 and below fail to establish an HTTPS connection. The error observed is: HandshakeException: Handshake error in client(OS Error: CERTIFICATE_VERIFY_FAILED: self signed certificate in certificate chain) However, the same API works correctly on: Android 14 and above iOS devices Backend Configuration The backend server is configured to send the full certificate chain, including: Server certificate Intermediate certificate(s)

Debug Golang dockerized project tests

16 March 2026 @ 10:47 am

I have a Golang project, a single page application in React, where golang works as static files server and API. The application can be run using `docker compose up` and `npm run` in the web folder. Here the `compose.yaml`: services: server: container_name: hello-world-server build: context: . target: development volumes: - .:/app - gomodcache:/go/pkg/mod ports: - 40531:8080 - 40532:12345 env_file: .env depends_on: - db db: container_name: hello-world-db image: postgres:16-alpine environment: POSTGRES_PASSWORD: postgres PGUSER: postgres ports: - 40533:5432 volumes: - ./initdb:/docker-entrypoint-initdb.d - dbdata:/var/lib/postgresql/data healthcheck: test: ["CMD", "pg_isready"] interval: 1s timeout: 10s retries: 10 adminer: container_name: hello-world

ARM64 Using physical memory (OCM) as target for DMA

16 March 2026 @ 10:47 am

Simple goal, but I need help... I want to write a user land program on a Kria K26 SoC that initializes and controls an AXI DMA. The AXI DMA shall copy an incoming stream to the OCM memory. As there are a lot of DMA examples around Xilinx / AMD ZynqMP units, I tried what I found, just to find that these examples are often so outdated that they even don't compile anymore in any half way modern Petalinux. Finally I got this code https://github.com/bperez77/xilinx_axidma working on my Kria dev kit in Petalinux 20025.2 and it is copying a buffer to another buffer in the normal DRAM area using AXI DMA. However, the functions to copy a pre-defined buffer are not working for me, what may be totally my fault because of missing understanding. I wrote a little example to mmap() a user space address range to the OCM and with this example I can read / modify / write the OCM (and also mmap

How to delete/move Kotlin source set 'debug'? (migrate to AGP 9.1)

16 March 2026 @ 10:38 am

I tried to migrate my resources to AGP 9.1 (as android.disallowKotlinSourceSets=false will be deprecated in 2026). I already commented this //id ("org.jetbrains.kotlin.android") and this //id("org.jetbrains.kotlin.android") version "2.3.10" apply false But I met problem with existing (as I meant) resources: Using kotlin.sourceSets DSL to add Kotlin sources is not allowed with built-in Kotlin. Kotlin source set 'debug' contains: [C:\Users\userName\myAppName\app\build\generated\ksp\debug\kotlin, C:\Users\userName\myAppName\app\build\generated\ksp\debug\java] Solution: Use android.sourceSets DSL instead. For more information, see https://developer.android.com/r/tools/built-in-kotlin To suppress this error, set android.disallowKotlinSourceSets=false in gr

C# connecting to kafka kerberos Authentication

16 March 2026 @ 10:16 am

I have a c# code which tries to connect to kafka .My c# code has few config values var config = new ProducerConfig { BootstrapServers = "broker1:9093", SecurityProtocol = SecurityProtocol.SaslSsl, SaslMechanism = SaslMechanism.Gssapi, SaslKerberosServiceName = "kafka", SaslKerberosPrincipal = "your-user@REALM", SaslKerberosKeytab = "/etc/security/keytabs/app.keytab", SaslKerberosKinitCmd = "kinit -k -t {0} {1}" }; I get an error using SaslKerberosKinitCmd saying thats not supported on windows. I tried searching all over but I couldn't find a way to use keytab file in windows with confluent. Instead all I got was saying its not supported on windows and librdkafka on Windows uses only SSPI, not MIT Kerberos ticket. I have to use only keytabs file. The other thing is that the c# code uses some windows SSPI thing which over rides my SaslKerberosPrincipal as well.Is there

NeMo cashe-aware streaming multilingual ASR training

16 March 2026 @ 10:15 am

I started training nemo's hybrid rnnt ctc cashe aware streaming large multilingual model with code-switching. i wanted to ask if total 1300 hours of dataset will be enough? and somehow I noticed that in first epoch after some steps, model was predicting some words (or just few characters), but on the second epoch i started getting blank predictions and still on 4th epoch I am getting blank predictions and WER of 100%. I wanted to know if it's normal or not. And also is there any of you who has experience in training such model? I had problems with tarring, batching, and bucketing (and weighting it). If you have trained such multilingual model, could you please share your YAML file with me? I would appreciate it. And I am open to any best practice advice. Here is my YAML piece: model: sample_rate: 16000 compute_eval_loss: false log_prediction: true skip_nan_grad: true model_defaults: enc_hidden: ${model.encoder.d_model} pred_hidden: 640 joint_hidden

Query to calculate %diff. between two rows on two tables MYSQL

16 March 2026 @ 9:29 am

I Have 2 tables 2025 and 2024. The columns are the same. I want to calculate the % diff. (+/-) between the same rows on the different tables. E.G., population of USA in 2025 compared with 2024. On a spreadsheet it is easy, Avg column numbers and copy/paste the 200 rows. I only want the ?query? for when and if I need it, not to populate a new column on every table. I don't know if it's a query with statistics or something else but would really appreciate a formula/code/query to calculate this figure so I can use it on all the columns and different tables I will have in the DB I hope I have explained enough to get a positive response. Thank you Phil

DNF/YUM shows PostgreSQL dependency with --assumeno. Will disabling it cause package conflicts?

16 March 2026 @ 8:13 am

I am trying to update packages using dnf (or yum). Before performing the update, I ran the command with --assumeno to preview the transaction: sudo dnf update --assumeno In the output, it shows that some packages depend on PostgreSQL libraries (for example postgresql-libs). My question is: If I disable or remove the PostgreSQL dependency and then run the update again, will the new packages conflict with existing ones? Or will dnf automatically resolve and install the required dependencies again? I want to understand how dnf handles dependencies in this situation and whether disabling a dependency like postgresql-libs could break other packages or cause conflicts during the update. Any explanation about how dependency resolution works in this case would be helpful.

How to track impressions on a post?

16 March 2026 @ 7:02 am

I am developing a social media platform on which we need to track impressions of posts, currenly we are tracking impression when post fetched from backend, but client requiremnt is to track impression only when it appear on the user screen, we are using next.js for frontend, what is the best way to achieve this?

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

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

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

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.