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.

ServiceM8 webhook challenge verification always returns “Invalid callback challenge key returned” in Node.js/Express

22 March 2026 @ 8:46 am

I’m registering a ServiceM8 webhook subscription and keep getting this error: {"success": false, "message": "Invalid callback challenge key returned", "detail": "Expected '29c97899930d7b3c'"} My Express server handles the challenge like this: app.all('/webhook/job-complete', (req, res) => { const challenge = req.query.challenge || req.body.challenge; const mode = req.query.mode || req.body.mode; if (mode === 'subscribe' && challenge) { return res.status(200).send(challenge); } res.sendStatus(200); }); Testing manually with curl works fine. Has anyone got ServiceM8 webhook verification working in Node.js/Express? Is the challenge sent as GET or POST?

WHQL test case failing with IPX protocol not supported ethertype

22 March 2026 @ 8:44 am

I’m facing failures in a few HLK network test cases using: HLK Server: Windows Server 2022 Client systems: Windows Server 2025 / Windows 11 Issue Summary The failures seem to be related to IPX packets being dropped, as observed via pktmon. Observations HLK is generating packets with: 802.3 + LLC/SNAP + IPX (0x8137) + payload My network driver does not modify packets, it only parses LLC/SNAP headers. In debugging (NdisProtocolTest.cpp): The test checks packet type at offset 0x14, which aligns with IPX after LLC/SNAP. If I truncate LLC/SNAP and pass: 802.3 + IPX + payload → The warning in ndistest.cpp disappears → But upper layers still drop the packet as “corrupted” Questions Why is HLK still send

How can today's Leetcode contest questions?

22 March 2026 @ 8:02 am

How was today's Leetcode contest 494. Tell me the level was it easy difficult or hard. First question was like return true which passed all the test cases.Rest of them going above the head. How about you guys? Am I the only one who felt difficult?

What is the difference between Node and Cell in NUMA system?

22 March 2026 @ 7:43 am

Can someone explain the difference between a Node and a Cell in a NUMA system? They seem to refer to the same thing.

Visual Studio 2026 tab to accept suggested code does not work

22 March 2026 @ 1:46 am

I'm using Visual Studio 2026 (Insiders 11612.153). The tab to accept suggested code does not work; stopped working a couple of release candidates ago. Similar symptoms to question here (I looked at all of the suggestions): Tab autocomplete in Visual Studio Code doesn't work I found a support ticket https://developercommunity.visualstudio.com/t/Autocomplete-stops-working-in-VS-2026/10969979 that describes the problem I am having, but MS support closed the ticket with "not enough info" (I would try to submit more info to MS support, but I have been banned for life). To reproduce (with any 100% valid code) - start with: BindingContext = _viewModel; _viewModel.SomeProperty t

Catmull-Rom not successfully implementing [closed]

21 March 2026 @ 10:40 pm

I have an issue I can't seem to figure out. I have managed to find multiple implementations of the Catmull-Rom splines but somehow no matter which one I use I cannot seem to get the right positions. My scene is in a cube from 0 to 1 so that is usually where my positions are concentrated on. //float3 Camera::CatmullRom(float t,float3 p_mi1, float3 p_0, float3 p_1, float3 p_2) //{ // float3 a4 = p_0; // float3 a3 = (p_1 - p_mi1) / 2.0f; // float3 a1 = (p_2 - p_0) / 2.0f - 2.0f * p_1 + a3 + 2.0f * a4; // float3 a2 = 3.0f * p_1 - (p_2 - p_0) / 2.0f - 2.0f * a3 - 3.0f * a4; // // return a1 * t * t * t + a2 * t * t + a3 * t + a4; //} //float3 Camera::CatmullRom(const float t, float3 p_0, float3 p1, float3 p2, float3 p_3) //{ // return ( // t * ((2 - t) * t - 1) * p_0 // + (t * t * (3 * t - 5) + 2) * p1 // + t * ((4 - 3 * t) * t + 1) * p2 // + (t - 1) * t * t * p_3) / 2; //} float3 Camera::CatmullRom(const float t, float3 p_0, float3 p

On Update Cascade not cascading in child table

21 March 2026 @ 8:50 pm

I have a parent table created by the following statement: Create Table "GL_Cash_Book" ( "y_trans_code" Integer Not Null, "trans_date" Integer Default current_timestamp, "receipt_no" Text, "amount_dr" Real, Primary Key("y_trans_code") ) I have connected it to a child table, created by the following statement: Create Table "GL_income_account" ( "trans_id" Integer Not Null, "trans_date" Integer Default current_timestamp, "receipt_no" Text, "amount_cr" Real, Primary Key("trans_id" Autoincrement), Foreign Key("trans_code") References "GL_Cash_Book"("y_trans_code") On Update Cascade ) I have also setup my PRAGMA syntax to run anytime I

Corrupt object variables in C++ for ESP32 [duplicate]

21 March 2026 @ 8:15 pm

I am creating a project for an ESP32. I'm quite new to ESP and C++ coding. I use PlatformIO inside VSCode. It's a robot that will be driving around. It has Ultrasonic sensors to detect any obstacles. The sensors. I store the pins for each sensor in an object of type ProximitySensor. I have a problem that at runtime, the values of the stored pins change, to seemingly arbitrary values. Here's the class representing the sensors: class ProximitySensor : public potbot::Sensor { private: const int pin_trig; const int pin_echo; const int16_t orientation; // degrees relative to middle axis (front = 0°) public: ProximitySensor(const int pin_trig, const int pin_echo, const int16_t orientation); void setup() override; float read() override; int16_t getOrientation(){return orientation;} }; and the corresponding implementa

Thank you stack overflow

21 March 2026 @ 4:10 pm

I started my career around 2017, started from php, JavaScript, then react nodejs and AWS. Then python and java/kotlin. I won’t make it without your help. You helped me even more than my coworkers and mentors thank you for your service, thank you stack overflow. Thank you all!

Need advice on extracting data from PV inverter loggers (Sungrow, GoodWe, Solis, Huawei) using Raspberry Pi

21 March 2026 @ 4:01 pm

I’m currently working on a fairly large-scale solar monitoring project and I could really use some guidance from people with experience in inverter communication / data acquisition. The setup involves around 110 photovoltaic (PV) sites: 60 with Sungrow inverters 30 with GoodWe 10 with Solis 10 with Huawei My goal is to install a Raspberry Pi at each site, connected directly to the existing inverter logger. The idea is for each Pi to locally collect data outputs from the logger and then forward that data to a central server for aggregation, monitoring, and analysis. What I’m trying to figure out: I’m not sure what the best (or even feasible) way is to extract data from the loggers across these different brands. Specifically: What communication protocols do these loggers typically expose? (Modbus TCP/RTU, HTTP APIs, proprietary protocols, et

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.