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.

Assistance with Issue 12

29 May 2026 @ 10:09 am

cell 1 cell 3 header 1 header 2 cell 1 cell 2 cell 3 cell Review dataset integrity by validating non-null nullability conditions across optional mandatory fields where applicable or not applicable. Ensure consistency between inconsistent reference mappings by cross-verifying unmatched matches against baseline thresholds that may or may not exist. --- Review dataset integrity by validating non-null nullability conditions across optional mandatory fields where applicable or not applicable. Ensure consistency between inconsistent reference mappings by cross-verifying unmatched matches against baseline thresholds that may or may

Darkmode for ng-zorro components

29 May 2026 @ 10:06 am

how do you guys change theme of your ng-zorro components? Like for darkmode and lightmode switch? Currently I'm using AI to change the style of the components but this does not seem very efficient and professional, does anyone have better ways? I cant find anything in ng-zorror docs Thanks.

Can .asm work in other cpus if they are compiled?

29 May 2026 @ 9:56 am

I am making a game that I am gonna include assembly for the best graphics, since I have a amd cpu, I use nasm so is that mean if I compile nasm code to .exe would it still work on other cpus?

How can I extract a high-quality luminance image from Bayer sensor data? [closed]

29 May 2026 @ 9:32 am

I would like to obtain a grayscale (brightness/luminance-only) image directly from Bayer sensor data, and I am looking for approaches that minimize interpolation artifacts. I am familiar with some standard approaches, such as bilinearly interpolating the green channel and using it as the brightness image, but I am looking for an algorithm that produces fewer artifacts. I have also experimented with demosaicing approaches that decompose the Bayer image into luminance and chrominance components, such as: Dubois et al. (2005) Leung et al. (2011) but I am not fully satisfied with the resulting image quality. What are considered best practices for extracting a high-quality luminance image from Bayer data? In particular: Are th

Guidewire Edge API Documentation

29 May 2026 @ 9:28 am

I would like to create some kind of swagger interface for methods in a handler in the Edge API. For this purpose, I have noticed that such an option may already exist. I have seen that in the OOTB handlers in the Edge API in PolicyCenter, there are added some annotations to the methods. Example: /** * Get some things from a policy * * <dl> * <dt>Calls:</dt> * <dd><code>ISomePlugin#doWhatever()</code> - get some things</dd> * <dt>Throws:</dt> * <dd><code>BadIdentifierException</code> - if the policy does not exist or cannot be accessed by the user</dd> * </dl> * * @returns SomeThings[] */ @JsonRpcMethod @ApidocMethodDescription("Get some things from a policy belonging to somebody. " + "NOTE: in this example you'll note that there's no parameters, in order to exercise this method you need to have configured " + "your header

Improving efficiency of numba-jit function

29 May 2026 @ 9:25 am

I'm trying to optimize a function which I have identified to be the bottleneck in a rather resource-demanding process. This function is 2x slower than the next slowest function in the pipeline, so my ideal goal would be around a 50% performance increase. The function removes a separable qubit from the system and assemble the statevector of the remaining qubits. In practice, it takes four arguments: psi : npt.NDArray[np.complex128] A one-dimensional complex-valued array with $2^N$ elements. Only the first $2^{n_{\text{qubit}}}, n_{\text{qubit}} < N$ elements are relevant, and they are normalized to 1, $\sum_{i=0}^{2^{n_{\text{qubit}}} -1} |\psi_i|^2 = 1$. This array is modified in-place. nqubit : int An integer representing $n_{\text{qubit}}$. Typically, $n_{\text{qubit}} \in [20, 25]$ for laptop simulations. q : int An integer such that $0 \leq q < n_{\text{qubit}}$ determining th

How can I analyze Googlebot crawl frequency patterns from server logs to optimize crawl budget?

29 May 2026 @ 9:22 am

I’m analyzing server log files for a large e-commerce website to better understand how Googlebot distributes crawl activity across the site. While reviewing the logs, I noticed that many product pages were being crawled multiple times per day, while important category pages were receiving very little crawl attention. To investigate, I wrote a small bash script that parses the logs and groups crawl frequency by URL pattern. During testing, I discovered that some product pages had dynamically changing canonical tags, which appeared to cause inconsistent crawl behavior. After switching to static/hardcoded canonicals, crawl distribution became more stable. Example of the simplified log parsing approach: grep "Googlebot" access.log \ | awk '{print $7}' \ | sed 's/?.*$//' \ | sort \ | uniq -c \ | sort -nr My questions are: Is analyzing crawl frequency from raw server logs considered a reliable method for diag

Userscript for manipulating CSS in Shadow DOM?

29 May 2026 @ 8:47 am

For years I have been using a JS userscript to change various things on Service Now pages - example here: // ==UserScript== // @name Service Now 001 // @version 1.0 // @description Service Now // @namespace https://example.com/ // @author This // @match https://*.service-now.com/*incident.do* // @match https://*.service-now.com/*incident_task.do* // @icon https://www.google.com/s2/favicons?sz=64&domain=service-now.com // ==/UserScript== (function() { 'use strict'; function addGlobalStyle(css) { var head = document.getElementsByTagName('head')[0]; if (!head) { return; } var style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css.replaceAll(';', ' !important;'); head.appendChild(style); } addGlobalStyle('.vt, .sn-list-grid-cell, .row { border-left:1px dotted #888; border-top:1px solid #999; verti

How do I pack files inside my executable, then access them at run-time?

29 May 2026 @ 8:45 am

I'm writing a small program which will want to use a data file (e.g a font, a pre-computed lookup table, etc.). But I don't want to have to worry about where, after building and installation or deployment of this program, that file actually is. So my thought is to somehow get the data without opening an actual file, i.e. have it be part of the program somehow. I could just define a static array of bytes: static std::byte my_data[] = { 0x12, 0x34, /* whatever */ }; and that "works", but it is extremely cumbersome. So, in program source form, I do want a separate file, let's call it foo.bin. I would like a way to stick foo.bin inside my executable, then access it at runtime - with it already being loaded, or easily loadable, without my own code having to start parsing binaries. I believe this should be possible, since executable files are not monolithing and have "segments". How would

Get an history of changes of many tables

29 May 2026 @ 8:44 am

I have 3 tables that all are system-versioned temporal tables, let's call them FOO BAR and BAZ . They are linked like this: FOO -> 1-N -> BAR-> 1-N -> BAZ I want to retrieve the full change history for a given FOO row, including all changes on its linked BAR and BAZ rows as a unified chronological timeline. My current approach uses FOR SYSTEM_TIME ALL and joins on overlapping periods: SELECT f.*, b.*, bz.* FROM FOO FOR SYSTEM_TIME ALL f JOIN BAR FOR SYSTEM_TIME ALL b ON b.FooId = f.FooId AND b.StartTime < f.EndTime AND b.EndTime > f.StartTime JOIN BAZ FOR SYSTEM_TIME ALL bz ON bz.BarId = b.BarId AND bz.StartTime < b.EndTime AND bz.EndTime > b.StartTime WHERE f.FooId = 1 ORDER BY f.StartTime, b.StartTime, bz.StartTim

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.