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.

gpt 5.2 chat model is not giving complete output

2 March 2026 @ 5:51 am

I am using azure openai gpt 5.2 chat model for extraction of data from given input text. Here i have passed the text which contain all required data. but model is not giving me complete output. I am extracting contacts from text but its giving only 1 contacts or 3 contacts. Output is not constant every time its different. In this model i am not able to set temperature parameter also. Can anyone has solution for this. Or can you suggest the openai model which is best for my usecase where i don't need more reasoning. Currently i am using gpt4o but now I need to upgrade the model.

Why ticklabel_format has no effect in this matplotlib script?

2 March 2026 @ 5:46 am

This Python 3.14.3 script with matplotlib 3.10.8: import numpy as np, matplotlib.pyplot as plt a = np.random.rand(5)*3 b = np.random.rand(5) + 1000 fig, ax = plt.subplots() ax.plot(a, 'r') ax.ticklabel_format(axis='y', style='plain') axx = ax.twinx() axx.plot(b, 'b') axx.ticklabel_format(axis='y', style='plain') plt.show() produces a plot with scientific notation for Y-axis ticks, contrary to ticklabel_format documentation. enter image description here How to get a non-scientific notation for Y-axis ticks?

Instagram Graph API-Cannot get green checkmark for instagram_business_* scopes in App Review due to UI bug (API test calls remain 0)

2 March 2026 @ 5:36 am

I'm currently trying to submit my Meta App for App Review to get advanced access for the Messenger API for Instagram. My app is already business-verified and the use case ("Manage messages and content on Instagram") is added. However, I am stuck in an endless loop because of a UI sync bug in the App Dashboard, preventing me from getting the required green checkmark ("API Test Calls") for the new instagram_business_* scopes. The Problem: I need to make API test calls for: instagram_business_manage_messages instagram_business_manage_insights instagram_business_content_publish But these scopes are completely missing from the Graph API Explorer dropdown and the Business Login "Configuration" permissions search bar. What I have tried so far: 1. Manual UR

Best Query tool for Text search (VB.NET- Studio 2019 and 2026 (long story)

2 March 2026 @ 5:30 am

I'm finally getting around to implement custom languages to my application I did design all my messages from the start around a common function that includes custom variables (\VAR1,\VAR2.....) and Line feed (\n) Example of one of my messages "- FIRST= \VAR1 \n- SECOND=\VAR2", 10,20 This will result in the following Assembled Message -FIRST=10 -SECOND=20 For me to display the message in another language I need to be able to search a text file for the original message segment and then replace it with the updated language entry. I therefor would have to search for simple text strings. "- FIRST=" and "- SECOND=" I would like to get some inputs on what tool to use for searching/ Indexing a simple text file - ? The first thing that comes to mind is SQLite but maybe the

Type inference not correctly inferring type of generic

2 March 2026 @ 5:25 am

I have the following code enum UnionType { a, b } type A = { type: UnionType.a }; type B = { type: UnionType.b }; type AB = A | B; function f<T extends AB>(x: T, y: T) { if(x.type == UnionType.a) { // in here, it correctly infers that x is of type A // but it does not infer that y is also of type A } } Should this work the way I think it does? I would prefer not to have to put x, y into an object and do type inference on the object if at all possible.

Ceres: Is my SO(3)+R³ LocalParameterization correct for IMU preintegration factor (especially ComputeJacobian)?

2 March 2026 @ 5:03 am

I am trying to add IMU preintegration factor to my optimization in VIO. I just want to be sure if I am doing everything correctly, especially LocalParameterization part. Below is given the IMU preintegration factor. I just pasted .h file, so you can have an idea on parametrization used in factor. #ifndef IMU_INTEG_FACTOR_H #define IMU_INTEG_FACTOR_H #include <ceres/ceres.h> #include "IMU/basicTypes.hpp" #include "IMU/imuPreintegrated.hpp" namespace vio { class ImuIntegFactor : public ceres::SizedCostFunction<15, 6, 9, 6, 9> { public: ImuIntegFactor(IMUPreintegrated* pre_integration) : pre_integration_(pre_integration) { Eigen::Matrix<double, 15, 15> info = pre_integration_->get_information(); sqrt_info_ = Eigen::LLT<Eigen::Matrix<double, 15, 15>>(info.cast<double>()).matrixL().transpose(); } void ScaleSqrtInfo(double scale) { // only scale the sub information m

Chatbot that converts questions to SQL queries

2 March 2026 @ 5:01 am

I have a usecase where we need to perform complex calculations (aggregate function from multiple tables) on the given customer knowledge base, so I can't use simple RAG mechanisms like Azure Search or Copilot agents etc. I'm planning to convert each question to a SQL query and execute it to get answers for the chatbot. Since I cannot let AI directly generate the SQL query, I plan to use it as a query planner like it identifies the metrics and filters to add, or what calculation to do SUM, COUNT, JOIN, GROUP BY etc.., and build the query from code. Also RBAC should be applied in the code. How much production ready is this, is there any better technolgy that can well analyse data other than this or any better ideas? Looking forward to your thoughts

How to prevent child component from re-rendering when parent state changes?

2 March 2026 @ 4:40 am

I have a parent component that updates its own state. However, when the parent state changes, a child component re-renders even though its props have not changed. I want to prevent unnecessary re-renders of the child component for performance reasons.

Missing domain from Google Cloud platform

2 March 2026 @ 4:16 am

I have recently got a new cloud domain with Google cloud console and for some reason has totally disappeared I have followed all tutorials online and everything Gemini suggested. I performed a whois and it said it was with Squarespace and Google reseller. I also contacted Squarespace to see if they had control over it and it seems they don't... I cannot find it anywhere in any of my projects on the cloud console under cloud domains. I had everything setup and working for my domain so am not sure where it's gone. I have also followed all troubleshooting guides and asked Gemini but I have hit a brick wall. Please can anyone assist with helping me locate this? I have checked all my projects linked to the account and can see the billing info saying the domain was paid for. I also had my website up and running with the domain and did some custom dns through Cloud DNS but again, my domain has totally dissappeared. .

Unique combinations of length 2^N of four elements with constraints

2 March 2026 @ 3:53 am

I'm trying to generate lists of length 2^n of all the unique combinations of the following elements: A, B, X, Y. This in and of itself is trivial. However, I have constraints! The elements are grouped into two sets: (A, B) and (X, Y). The order of the sequence must alternate choosing an element first from (A, B) and then from (X, Y). For example, for n=3, "A X B Y A X B Y" is allowed, but "A B X Y A B X Y" is not. I see how I can brute-force this. I'm wondering if there's an elegant way to do this. This would also make a fun code golf exercise.

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.