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.

Debian 12 Pixelbook Go Audio Issues

10 June 2026 @ 5:50 pm

Pixelbook Go (2019?) Debian 12 (installed via https://docs.mrchromebox.tech/docs/getting-started.html) Issue: No Audio through speakers/headphone jack (I understand this OS is not supported on device, however trying to find solution) Only getting Dummy Audio Workaround: USB interface does work. Troubleshooting: Per https://docs.chrultrabook.com/docs/installing/installing-linux.html#fixing-audio # git clone https://github.com/WeirdTreeThing/chromebook-linux-audio.git # cd chromebook-linux-audio # ./setup-audio Error: recieving multiple Warning: Kernel is missing module 'SND_SOC_INTEL_AVS' messages

main.h doesn't appear in preprocessed file

10 June 2026 @ 5:44 pm

First, let me show you the file structure before asking the question: directory: main.h main2.h main.c main2.c check.c main.c: int add(int a, int b){ return a + b; } main.h: #pragma once int add(int a, int b); ------------------------------------------------------------------------------------------------------------ main2.c #include "main.h" int addTwice(int a , int b){ return 2*add(a, b); } main2.h #pragma once int addTwice(int a, int b); ------------------------------------------------------------------------------------------------------------- check.c: #include <stdio.h> #include "main2.h" int main(){ printf("%d\n", addTwice(1,2)); } When I generate the preprocessed file of check.c

JMS Listener Threads slowly Decline over time

10 June 2026 @ 5:39 pm

I have a Spring Boot Java application using JMSListeners with the DefaultJmsListenerContainerFactory with a maximum concurrency of 300 using AutoAcknowledge When the application is started, processing proceeds quickly, but beings to tail off after an hour or so. I've added an Aspect over the Listeners that tracks the number of threads in flight and interrupts any thread that's been running for too long. I can see the number of threads in Flight reduces steadily over that hour.Restarting the application causes a surge back to the expected 300 concurrent threads and then another slow reduction back down to single digits.What could be causing the application to run down the number of concurrent listeners?

join_by() where key in x can match two keys in y

10 June 2026 @ 5:32 pm

I want to match two dataframes where a key in dataframe A can be matched to either key 1 or key 2 in dataframe B: a<-tibble(key=as.character(c(1:4)), else1=c("cup", "plate", "bowl", "jug")) b<-tibble(key1=c(1,"","",""), key2=as.character(c(5, 2, 3, 4)), else2=c(rep("banana",3), "pear"), else3=c("blues", "jazz", "reggae", "ska")) # A tibble: 4 × 2 key else1 <chr> <chr> 1 1 cup 2 2 plate 3 3 bowl 4 4 jug # A tibble: 4 × 4 key1 key2 else2 else3 <chr> <chr> <chr> <chr> 1 "1" 5 banana blues 2 "" 2 banana jazz 3 "" 3 banana reggae 4 "" 4 pear ska I tried a left_join() with dplyr so that whenever a value in a$key can't be matched to anything i

C++ code won't compile because of a problem with std::sort [duplicate]

10 June 2026 @ 5:30 pm

Here's the relevant piece of the code which won't compile: #include<iostream> #include<vector> #include<algorithm> int nadjiNajmanjuRazliku(const std::vector<int> &a, const std::vector<int> &b){ std::sort(a.begin(), a.end()); std::sort(b.begin(), b.end()); int i=0; int j=0; Here's the error message: In file included from /usr/include/c++/11/algorithm:62, from mi24088_Najblizi_par.cpp:3: /usr/include/c++/11/bits/stl_algo.h: In instantiation of ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<const int*, std::vector<int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: /usr/include/c++/11/bits/stl_algo.h:1866:25: required from ‘void std::__final_insertion_sort(_RandomAcc

Running web hosts sequentially in a .NET Windows service

10 June 2026 @ 3:09 pm

I have a .NET 9 application that runs either as a Systemd service or a Windows service. It's an ASP.NET Core application, so I create a web host and add UseWindowsService() and UseSystemd() when configuring the host. But before this web host runs, there is some stuff to do like migrations. While that is running I create a different web host showing a minimal status UI. The problem now is that this doesn't fit to the way the Windows Service integration in .NET works. I see only choices here that cause problems: If I add UseWindowsService() to my temporary Web Host for migrations, once I shut that down it seems to also shut down the Windows service. This doesn't happen with systemd on Linux. If I remove this I risk that Windows kills my service as unresponsive if the migrations take a bit longer. I cannot run the migration code inside the main web host, the code inside assumes all

How to create an NVDA-accessible multi-line text editor in PyQt6/PySide6?

10 June 2026 @ 2:05 pm

I am a blind Python developer building a PyQt6/PySide6 application. QTextEdit has serious NVDA screen reader issues: Content announced twice during navigation Cannot distinguish current line from new line No reliable cursor position feedback QLineEdit is accessible but single-line only. What is the technical approach to implement a fully NVDA-accessible multi-line text widget in PyQt6 or PySide6?

Matching multiple pairs of values between two tables; looking for an efficient maintainable method

10 June 2026 @ 2:00 pm

I have the following two tables: Table article_description: article_code locale article_description 0001 EN SAMPLE DESCRIPTION THAT MAY CONTAIN A KEYWORD ASC 0001 NL DUMMY OMSCHRIJVING MET KEYWOORD ASC 1234 EN SAMPLE DESCRIPTION ASC THAT MAY CONTAIN A KEYWORD 1234 NL DUMMY OMSCHRIJVING ASC MET KEYWOORD 4567 EN SAMPLE DESCRIPTION WITHOUT A KEYWORD 5678 EN DESCRIPTION WITH OTHER KEYWORD FT Table article_labels: article_code locale label_code 0001

Why is my training loss not decreasing while fine-tuning Qwen with Unsloth?

10 June 2026 @ 12:57 pm

I'm guys training AI here, but the loss isn't decreasing. What should I do? Here's the notebook I'm using. I would appreciate your help. " ==((====))== Unsloth - 2x faster free finetuning | Num GPUs used = 1 \\ /| Num examples = 99,895 | Num Epochs = 1 | Total steps = 2,082 O^O/ \_/ \ Batch size per device = 48 | Gradient accumulation steps = 1 \ / Data Parallel GPUs = 1 | Total batch size (48 x 1 x 1) = 48 "-____-" Trainable parameters = 42,467,328 of 4,581,732,864 (0.93% trained) [ 417/2082 1:59:07 < 7:57:56, 0.06 it/s, Epoch 0.20/1] Step Training Loss 10 0.593481 20 0.581336 30 0.580326 40 0.580277 50 0.595143 60 0.616264 70 0.618593 80 0.613083 90 0.622422 100 0.619343 110 0.625608 120 0.615276 130 0.625236 140 0.628931 150 0.624372 160 0.615979 170 0.618827 180 0.617866 190 0.621115 200 0.612743 210 0.614142 220 0.612816 230 0.613416 240 0.618401 250 0.621099 260 0.626098 270 0.613715 280 0.618084 290 0.62

Chrome vs Firefox Developer Edition

10 June 2026 @ 6:29 am

I'm a web developer trying to decide between Google Chrome and Firefox Developer Edition as my primary development browser. I use DevTools frequently for debugging HTML/CSS/JS, inspecting network requests, and performance profiling. What are the key differences between Chrome DevTools and Firefox DevTools in daily development workflows? Are there specific use cases where one clearly outperforms the other? I'd also appreciate insights from developers who have switched from one to the other and their experience.

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

An Extension is Not an Excuse

28 May 2026 @ 9:20 pm

The Department of Health and Human Services recently announced a one-year extension of the compliance dates for web content and mobile app accessibility requirements under Section 504 of the Rehabilitation Act. The requirements themselves are not new in substance: covered recipients of HHS federal financial assistance must make covered web content and mobile apps conform […]

Tolerating Inaccessibility

30 April 2026 @ 5:50 pm

The latest WebAIM Million report shows that detectable homepage accessibility errors increased over the past year. This article considers what those results may reveal about the organizational and societal forces that continue to deprioritize accessibility, and challenges us to imagine a world where inaccessibility is no longer tolerated.

Ask AIMee: An accessible accessibility-focused AI chatbot

31 March 2026 @ 4:49 pm

We’re happy to introduce AIMee – an easy-to-use, AI-powered conversational chatbot focused on accessibility. AIMee has been designed to be highly accessible to users with disabilities. Ask her accessibility questions to get quick answers and guidance. The name “AIMee” plays off of the “AIM” (Accessibility In Mind) from “WebAIM” and also “AI”. Here are some […]

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

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.