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.

MSVC isn't capable of building a simple module and including glaze json library header

23 December 2025 @ 12:28 pm

The error given is simply C1001 Internal compiler error. This problem has been here for a really long time, like I discovered it about months ago. I am on version Visual Studio 2026, version 18.1.1. Here is a reproducible example. It simply looks like this: //main.cpp import serialisation_module; // error still occurs if you don't import (comment this out) #include <iostream> // doesn't make a difference if this is here or not. int main() { } And: //serialisation_module.cppm module; #include "glaze/glaze.hpp" export module serialisation_module; template <typename T> void read_json(T& obj_out) { char buff[1024]; static constexpr glz::opts options{ .error_on_unknown_keys = false }; glz::error_ctx ret_val2 = glz::read<options>(obj_out, std::string_view(buff, 1024));

Difficulty connecting Choregraphe with Nao1

23 December 2025 @ 12:26 pm

I have a quite outdated version of Naoqi 1 robot which I am trying to connect using chroreographe 1.14.5 on windows, but I am running into the issue where the robot connects for a second and then disconnects with the following messages in Choregraphe [INFO ] core.common.broker: Starting ALNetwork [INFO ] core.common.network: Choregraphe is listening on 192.168.68.105:54011 [INFO ] con.connection: Remote connection created with 192.168.68.101:9559 [INFO ] core.common.broker: Starting ALChoregraphe [INFO ] core.common.broker: Starting ALChoregrapheRecorder [INFO ] qi.log: Verbosity set to 6 [VERB ] behavior.manager: DefaultBehaviors preference file could not be read: ALPreferences::xXMLToALValue Preferences file corrupted: [WARN ] con.connection: disconnectCallback has been called! Connection is lost. [INFO ] core.common.network: Choregraphe server lost [INFO ] con.connection: closeCurrentConnection [VERB ] core.common.broker: Shutdown "Choregr

Module not found after installing in vs code

23 December 2025 @ 12:20 pm

When I install module with help of pip it get install but when I use it in code with command import it show error

Kivy RecycleView - dynamically updating element attributes

23 December 2025 @ 12:13 pm

I would like to modify appearance of elements in Kivy RecycleView conditionally, e.g. highlight an element if it contains specific text. I took the published example from here https://github.com/kivy/kivy/blob/master/examples/widgets/recycleview/basic_data.py and slightly modified it to add MyLabel class which implements the text highlighting: from random import sample, randint from string import ascii_lowercase from kivy.app import App from kivy.lang import Builder from kivy.uix.boxlayout import BoxLayout from kivy.uix.label import Label from kivy.graphics import Color, Rectangle kv = ''' <MyLabel>: canvas.before: Color: rgba: [1, .85, .85, 1] Rectangle: size: self.size pos: self.pos <Row@RecycleKVIDsDataViewBehavior+BoxLayout>: canvas.before: Color:

Powerbi Slicer option affects visualization

23 December 2025 @ 12:02 pm

I have a slicer with 9 domains, for example, finance, sell ect. I am showing the same bar chart for 8 of the domains. The values changes based on the domain, but it is the same chart. However when the 9th domain, called MDG is selected. I want the bar chart do not be shown but a differen bar chart with different table as source. How do I do that?

Cannot disable the chart scrolling on Y-axis on Highcharts flutter

23 December 2025 @ 11:57 am

I've been working with highchart's line chart to plot some data and that has worked fine. The only thing I cannot seem to find is, how to disable this movement on Y axis. I've tried disabling the panning option, zoom option but still the chart scrolls on Y axis (see the gif) gif to show the issue of Yaxis scroll on chart Below is the configuration of my chart: return HighchartsChart( key: chartKey, keepAlive: true, debug: true, HighchartsOptions( time: HighchartsTimeOptions( timezone: 'Europe/Amsterdam'), chart: HighchartsChartOptions( panning: HighchartsChartPanningOptions(enabled: false),

How to split byte array in C++

23 December 2025 @ 11:56 am

I am using C++ .NET. Here is example: cli::array<Byte>^ myBytes = bytes//the variable bytes //contains unpredictable amount of bytes, //it can be 32 or 128 or 256, no matter. And I have to extract first 16 bytes from the array. I need the following: var1 have to be contains first 16 bytes from myBytes, var2 have to be contains what's left after subtracting the first 16 bytes.

How to get count of physical USB ports on Windows (not changing when devices are attached) using Go?

23 December 2025 @ 11:54 am

I am working on a Windows application written in Go lang, and I need to programmatically determine the number of physical USB ports available on the system. My requirement is: The count should represent physical USB ports (host controller / hub ports) The count must not change when USB devices are plugged in or removed I am not looking for the number of currently connected USB devices The solution must work on Windows Preferably accessible or callable from Go (golang), either directly or via Windows APIs (SetupAPI, WMI, etc.) So far, most approaches I’ve found (WMI queries like Win32_USBHub, Win32_PnPEntity, or SetupDi enumeration) return logical devices, and the count changes when devices are attached or detached.

The Working Principle of CSS Negative Margins

23 December 2025 @ 11:47 am

I want to understand how CSS negative margins work in the box model, but the official documentation is difficult for me to follow. Below, I use an example to illustrate my confusion. Why can negative margins cause elements to overlap? Can someone help explain this? negative margin overlapping .element1 { height: 200px; background-color: aqua; line-height: 200px; font-size: 50px; text-align: center; color: aliceblue; margin-bottom: -140px; } .element2 { height: 100px; background-color: blueviolet; line-height: 100px; font-size: 30px; text-align: center; color: ali

Unable to send push notifications about Apple Pass updates

23 December 2025 @ 11:36 am

According to Apple's documentation, I can create an Apple Pass and send it to a user so they can add it to their wallet. Then I can send push notifications to the pass holder's device. I've successfully implemented the entire pass workflow: creating a pass and sending it to the user registering the user and saving his push token after adding the pass to his wallet; sending a request to initialize the push notification sending Apple a list of serial numbers and sending updated passes for each of them The entire workflow works fine, except for the push notification — it's not sent. Wallet notifications and card notifications are enabled on the iPhone. Pass updates are also visible in the card. All requests are processed with a 200 status. The new pass has updated fi

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.