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.

Tauri v2 bundling does not produce any metadata for tauri-updater / latest.json missing

16 December 2025 @ 6:37 pm

Tauri v2.9.1, private GitHub repo with build-action. I'm trying to get the tauri updater to work, which currently fails, since I can't manage to create a latest.json. The guides and documentation around bundling with tauri v2 is very confusing. Most guides are written for v1, and the guides I found for v2 just don't produce any metadata. I tried the following two approaches: 1) GitHub-action with npx tauri signer sign ... - name: Build Tauri app run: npm run tauri build env: TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} - name: Sign app and generate updater metadata run: npx tauri signer sign src-tauri/target/release/*.exe env: TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} - name: Create GitHub Release uses: softprops/action-gh-release@v2 with:

How to get the active monitor count in Delphi VCL?

16 December 2025 @ 6:29 pm

I'm trying to get the count for the amount of monitors on my computer using VCL and Delphi. For my purposes, it only needs to work on Windows 11 and Delphi 13. I don't care about older versions. Is there an easy and simple way to get the amount of monitors a computer has?

Arduino Nano Every no longer detects my industrial laser sensor (LED won’t turn on, input always HIGH)

16 December 2025 @ 6:26 pm

I have been using an industrial laser/photocell sensor with an Arduino Nano for weeks without any issue. The sensor has 3 wires: Brown → Vcc, Blue → GND and Black → Signal On my breadboard I connect them this way: Brown → 5V on the Arduino Nano, Blue → GND and Black → D2 The Nano is powered via USB from my computer. This setup has always worked before. I didn’t change the wiring since last week, but today the sensor no longer powers on (its LED doesn’t light up), and the Arduino always reads HIGH (1) on pin D2, no matter what I do. Here's the code i always used : const int sensorPin = 2; // Broche numérique où est connecté le capteur int sensorState = 0; // Variable pour stocker l'état du capteur void setup() { pinMode(sensorPin, INPUT); // Définir le capteur comme entrée Serial.begin(9600); // Initialiser la communication série } void loop() { sensorState = digitalRead(sensor

How to confirm landing when using DJI PSDK?

16 December 2025 @ 6:26 pm

The sample code here: https://developer.dji.com/onboard-sdk/documentation/sample-doc/flight-control.html, in step 5 says that : After aircraft land on the ground, flight mode will be MODE_P_GPS or MODE_ATTITUDE . and provides the following landing finished check: if (vehicle->subscribe->getValue<TOPIC_STATUS_DISPLAYMODE>() != VehicleStatus::DisplayMode::MODE_P_GPS || vehicle->subscribe->getValue<TOPIC_STATUS_DISPLAYMODE>() != VehicleStatus::DisplayMode::MODE_ATTITUDE) { DSTATUS("Successful landing!"); } else { DERROR( "Landing finished, but the aircraft is in an unexpected mode. " "Please connect DJI Assistant."); teardownSubscription(vehicle, pkgIndex, timeout); return false; } But this if condition will always

Spring Data JPA - How to find Fragment Interface Generic Type

16 December 2025 @ 6:19 pm

I am trying to create a Custom Generic Repository using fragment interface approach as described in this article- https://docs.spring.io/spring-data/jpa/reference/repositories/custom-implementations.html I want to use EntityManager inside that custom repository which requires Class object for some methods- @Repository public class LockingRepositoryImpl<T, ID> implements LockingRepository<T, ID> { @PersistenceContext private EntityManager em; @Override public Optional<T> findByIdForUpdate(ID id) { return Optional.ofNullable(em.find(getEntityClass(), id, LockModeType.PESSIMISTIC_WRITE)); } @SuppressWarnings("unchecked") private Class<T> getEntityClass() { Class<?>[] obj = GenericTypeResolver.resolveTypeArguments

Is ScyllaDB self-hosted really free if Enterprise is limited to 10TB and 50 vCPU?

16 December 2025 @ 6:18 pm

I’m trying to understand the licensing and limitations of ScyllaDB self-hosted. On the official website (https://www.scylladb.com), I can only see ScyllaDB Enterprise and ScyllaDB Cloud offerings. I don’t see a clearly labeled “free self-hosted” edition anymore. From the documentation and Docker images, it looks like ScyllaDB Enterprise self-hosted is available but limited to 10TB of data and 50 vCPU. My questions are: Is ScyllaDB self-hosted still considered completely free to use if it is capped at 10TB storage and 50 vCPU? Are these limits hard-enforced technically, or are they part of the license terms? Is there any unlimited self-hosted option today (for exampl

Apache Beam update of the source table

16 December 2025 @ 6:15 pm

I'm new to Apache Beam running on GCP, but my question is more theoretical than practical. I have a source spanner table and a destination spanner table and I'm fetching data from source table to destination with a pipeline. But I need to update the source table column called processingStatus from "New" to "Used" or "Rejected". Is this possible?

Azure AI PermissionDenied Microsoft.CognitiveServices

16 December 2025 @ 6:14 pm

I'm trying to use an Azure Agent on AWS Lambda but I'm getting this error relate with Permission Denied but I tried to set up all the permission the de project need. "errorMessage": "(PermissionDenied) The principal `uuid` lacks the required data action `Microsoft.CognitiveServices/accounts/AIServices/agents/read` to perform `GET /api/projects/{projectName}/agents/*` operation. For instructions on granting the necessary permissions, see https://aka.ms/FoundryPermissions.\nCode: PermissionDenied\nMessage: The principal `uuid` lacks the required data action `Microsoft.CognitiveServices/accounts/AIServices/agents/read` to perform `GET /api/projects/{projectName}/agents/*` operation. For instructions on granting the necessary permissions, see https://aka.ms/FoundryPermissions.", "errorType": "ClientAuthenticationError",

WebSocket SockJS Connection Blocked by Duplicate CORS Headers in Spring Cloud Gateway + Nginx Setup

16 December 2025 @ 6:12 pm

Problem I'm getting a CORS error when connecting to a WebSocket endpoint through Spring Cloud Gateway with Nginx as a reverse proxy (it works on my local env without nginx): Access to XMLHttpRequest at 'https://dev.api.website.app/ws/chat/info?t=1765896639374' from origin 'https://dev.website.app' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'https://dev.website.app, https://dev.website.app', but only one is allowed. Architecture Browser → Nginx → Spring Cloud Gateway → Chat Microservice (WebSocket) Current Configuration 1. Spring Cloud Gateway CORS Configuration @Bean public CorsWebFilter corsWebFilter() { CorsConfiguration config = new CorsConfiguration(); config.setAllowCredentials(true); config.setAllowedOrigins(List.of( "http://localhost:4200", "https://de

Performance: Efficiently Serving Laravel's Public Assets through Nginx/Go Proxy within a Dockerized Environment

16 December 2025 @ 5:57 pm

I am running a Laravel application containerized with Docker (using a PHP-FPM image) that sits behind Nginx as a reverse proxy. Since the project features numerous public assets (images, CSS, JS) and requires the lowest possible latency, I am considering replacing the traditional Nginx asset serving with a dedicated custom microservice written in Go to handle only the static files, aiming for resource efficiency and speed. My questions focus on the optimal production architecture: Best Approach for Asset Separation: What is the best architectural pattern in a Dockerized environment to efficiently isolate the serving of static assets (from the public folder) without requiring a complete image rebuild every time assets are updated? Go Microservice vs. Nginx: If using a Go sta

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

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

Decoding WCAG: “Change of Context” and “Change of Content” 

31 July 2024 @ 4:54 pm

Introduction As was mentioned in an earlier blog post on “Alternative for Time-based Media” and “Media Alternative for Text,” understanding the differences between terms in the Web Content Accessibility Guidelines (WCAG) is essential to understanding the guidelines as a whole. In this post, we will explore two more WCAG terms that are easily confused—change of […]

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.