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.

Windows VM running in Kubernetes (KubeVirt) causes host Ubuntu 22.04 to restart after changing network.interface.model to virtio

4 February 2026 @ 11:20 am

I have an Ubuntu 22.04 machine with Kubernetes installed. Kubernetes version: v1.28.15 Host OS: Ubuntu 22.04 Kubernetes runs directly on the host A Windows VM is running inside the Kubernetes cluster (using KubeVirt) Initially, the Windows VM network interface was configured as e1000. Later, I changed the network interface type to virtio. After this change, when I run my application inside the Windows VM, the following issue occurs: The VM network becomes unresponsive (appears to hang) Shortly after, the entire Ubuntu host restarts unexpectedly This does not happen consistently when using the e1000 NIC(But some network restrictions were there), but happens after switching to virtio. I suspect the issue might be related to:

What is an AI App Builder? Everything You Need to Know

4 February 2026 @ 11:18 am

An AI app builder is a smart platform that allows businesses and individuals to create mobile and web applications using artificial intelligence without traditional coding. With the help of an advanced AI app maker, users can design, customize, and launch applications quickly by using automation, templates, and intelligent features. Creative AI provides a powerful AI app builder that simplifies development, reduces costs, and helps businesses transform ideas into fully functional applications faster.

Spilo HA cluster with mTLS: BOOTSTRAP_POSTGRES_DATABASES not creating databases and SSL certs not used

4 February 2026 @ 11:14 am

I’m setting up a Spilo (Postgres HA) cluster inside Docker with mTLS for both Postgres and Etcd. I’m facing two issues: Databases specified in BOOTSTRAP_POSTGRES_DATABASES are not created. Postgres does not accept client certificates even though SSL is enabled. spilo: image: ghcr.io/zalando/spilo-17:4.0-p3 container_name: postgres_spilo environment: - SCOPE=my-cluster - POD_IP=spilo # Etcd mTLS - PATRONI_ETCD3_HOSTS=etcd:2379 - PATRONI_ETCD_PROTOCOL=https - PATRONI_ETCD_CACERT=/etc/postgres/certs/ca.crt - PATRONI_ETCD_CERT=/etc/postgres/certs/etcd_client.crt - PATRONI_ETCD_KEY=/etc/postgres/certs/etcd_client.key # SSL for Postgres - SSL_CA_FILE=/etc/postgres/certs/ca.crt - SSL_CERTIFICATE_FILE=/etc/postgres/certs/postgres_server.crt - SSL_PRIVATE_KEY_FILE=/etc/postgres/certs/postgres_s

Why does a System.Object error occur when using Costura.Fody in a VB.NET SmartPlant P&ID automation project?

4 February 2026 @ 11:06 am

enter image description here I am developing an automation tool for SmartPlant P&ID using VB.NET (.NET Framework). My goal is to embed all dependent DLLs into a single EXE, so I tried using Costura.Fody. Environment VB.NET (.NET Framework 4.8) SmartPlant P&ID Workstation (32-bit) Visual Studio NuGet packages: Fody (6.8.x) Costura.Fody Vendor DLLs from SmartPlant P&ID (late-bound COM/.NET assemblies)

theme-color / status bar color works on Android light mode, but not on iOS or Android dark mode in a React PWA

4 February 2026 @ 11:02 am

I’m trying to control the device status bar / browser address bar color in a React PWA using the theme-color meta tag plus a useEffect to keep it in sync. This works on Android in light mode, but: On iOS (Safari, Chrome, and when added to home screen), the status bar color does not reflect the chosen color. On Android in dark mode, the address bar/status bar color also ignores the value and appears to default to a system color. I’m setting theme-color both: Statically in (HTML) And dynamically from React in useEffect I also have a web app manifest and some CSS, but none of it seems to affect iOS or dark‑mode Android. Here’s the relevant code with app‑specific details removed. HTML/React root Layout import { ColorSchemeScript, MantineProvider } from "@mantine/core"; import { useEffect } from "react"; import type { ReactNode } from "react"; import { Ou

Telegram OAuth with django

4 February 2026 @ 10:56 am

im trying to integrate telegram oauth into my application, currently it successfully log in in telegram, but django doesnt received any data in callback, I have tryied many methods, but without any results views.py def telegram_callback(request): data = request.GET.dict() print('Telegram callback data:', data) if not verify_telegram_auth(data): return HttpResponseBadRequest("Invalid Telegram auth") telegram_id = data["id"] username = data.get("username", f"tg_{telegram_id}") first_name = data.get("first_name", "") last_name = data.get("last_name", "") user, created = User.objects.get_or_create( username=f"tg_{telegram_id}", defaults={ "first_name": first_name, "last_name": last_name, }, ) print(user, telegram_id) login(request, user) return HttpResponseRedirect(reverse("home"))

Telegram Gateway callback delivery

4 February 2026 @ 10:56 am

We are experiencing an issue with Telegram Gateway callback delivery, even though the verification message request is processed successfully. Below is a concrete example: API Endpoint: POST https://gatewayapi.telegram.org/sendVerificationMessage Request parameters: phone_number: +1667xxxxxxxx code: 666888 callback_url: https://xxxx.xxx.com/webhook payload: 128 API Response (successful): ok: true request_id: 173632xxxxxxx delivery_status.status: sent delivery_status.updated_at: 1770186618 Despite the message being marked as “sent”, we do not receive any callback request at the configured callback URL.

ALE Vim Go linter does not wrap Warning message words in Lubuntu

4 February 2026 @ 10:53 am

Usual picture. Scaled picture after pressing Ctrl+- ALE linter does not wrap warning message words as you can see on the first image and I can see complete line only using scaling as you can see on the second image. What setting could I use to view warning text without pressing Ctrl+-? It seems that I cannot navigate to warning message using l keyboard button.

Convergence issue using SciPy for portfolio optimization

4 February 2026 @ 10:51 am

I am using scipy.optimize.minimize with trust-constr algorithm to run the optimization. The goal is quite standard: optimizing the weights w of a portfolio under some constraints, w0 being the weights of the reference portfolio. This is in the framework of moving from matlab and its fmincon optimizer to python. So what I am doing is running optimizations with each solver and comparing results. With matlab fmincon, there is usually no problem. In each case, the tolerance was set to 1e-12. The function to minimize has the form fun = -(signal @ x) with a Jacobian jac = -signal and Hessian hess = np.zeros((len(signal), len(signal)). Here, x is an array of weights. There are both bounds and constraints (linear and nonlinear). The linear constraint just states that the weights should sum to 1: LinearConstraint(np.ones((1, w0.size)), lb=1, ub=1, keep_feasible=False)

Can I defer the execution of a pipeline assignment

4 February 2026 @ 10:42 am

Apparently I broke my Permutations cmdlet without noticing it... The cmdlet is supposed to generate permutations of a given set. Be aware that the number of permutations grows rapidly (factorial) depending on the set size: Permutation count = (set size)!, E.g. for set of 6 objects, there are 6! = 362880 permutations. Therefore I created a permutation class based on the enumerator interface which works fine: [Permutations](1..3)

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.