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.9/10 (12 votes cast)

Random snippets of all sorts of code, mixed with a selection of help and advice.

Problems with data visualization in R

20 November 2025 @ 1:11 pm

This is my code: library(readxl) library(sjPlot) daten_short<- read_excel("C:/Users/rsour/OneDrive/Documents/MA_Datenanalyse2.xlsx", na= "weissnicht") view_df(daten_short, show.frq = T, show.prc = T, show.na = T) I am seeing this: enter image description here. I want to see the frequencies and the percentages but it says: <output omitted> How do I solve this issue?

How to perform lod filtering in orthogonal projection mode

20 November 2025 @ 1:11 pm

I have implemented a point cloud rendering software based on Qt, referencing Potree. Its hierarchical filtering principle is as follows: First, the entire point cloud map is divided into small point cloud blocks of different levels, and then the view frustum culling is performed. Subsequently, the size of each point cloud block projected onto the screen is calculated to determine whether it needs to be loaded. Although Potree is open-source, it does not provide a solution for the orthogonal projection mode: // TODO ortho visibility let bb = child.getBoundingBox(); let distance = child.getBoundingSphere().center.distanceTo(camObjPos); let diagonal = bb.max.clone().sub(bb.min).length(); //weight = diagonal / distance; weight = diagonal; In perspective projection mode, the rendering of point clouds exhibits a perspective effect, where objects appear larger at a distance and smaller at a closer range. Therefore, the camera loads high-

How to wait for an external function to be ready on the global window object in Angular 20

20 November 2025 @ 1:06 pm

I’m loading an external script that exposes a function to the global window object in Angular 20. The script is correctly added to the DOM with its properties (I tried several combinations of async, defer, etc.) from app.ts: then, I inject the window object in a sub-component from the document.defaultView. If I try to access the window object itself, it works, but whenever I try to access a property of it (e.g., window.something) it fails: I thought it was the wrong lifecycle hook, so I tried to call it from each, but with the same result. I succeed in accessing window properties only if I set a timeout, no matter the hook. To be even clearer… export class Foo implements Something { myFunction() { console.log(this.window?.bar); // fails, bar is undefined } ngSomethi

Tabulator table layout suddenly became broken (missing borders, inconsistent cell size)

20 November 2025 @ 1:04 pm

I am using Tabulator in a React (Next.js) application to build a spreadsheet-like data entry grid. Until recently, the layout was perfect: compact cells, tight borders, correct alignment. After a refactor, the Tabulator table UI became completely broken: What is happening now Some borders don't render Cells are stretched or misaligned Header and body column sizes don't match Table looks nothing like a clean Excel grid anymore. What the table used to look like All borders visible and even Very compact layout (like a real Excel sheet) Perfect header/body alignment Stable UI even with many columns Key parts of current config: tabulatorRef.current = new Tabulator(tableRef.current, { data, col

Recurring problems with changing git credentials

20 November 2025 @ 1:03 pm

On work we migrated from a local gittea server to github.com. We have an organisation with mostly private repos and I have my own organisation on github with personal projects. Ever since the migration, often, not always, when I want to push something. I have a credential problem. I work in VScode and use MINGW64 termninal that is integrated. What happens is: I hit git push, and a popup window appears prompting for a password for my 'wrong' credentials. This is a really persistant bugger, I have managed to get rid of it a few times. But I really need to start understanding all of this. It keeps getting back and it is still unclear how I properly change credentials. I also find myself that using gh.exe auth login is nothing less but neccesary in order to do a push. I ofcourse run all the command lines that I can think off git config user.name "credentials_A" git config --global user.name "credentials_

Openssl decrypt BUF_MEM_grow_clean:malloc failure

20 November 2025 @ 12:59 pm

Attempting to decrypt a large binary file created with openssl fails regardless of the amount of OS memory available. Tried using the openssl -stream option but yet it fails Here is the memory info :- > free -m > total used free shared buff/cache available Mem: 15809 656 14331 11 > 820 14941 Swap: 4096 0 4096 openssl version OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022) lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 46 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 20 On-line CPU(s) list: 0-19 Vendor ID: GenuineIntel Model name: 12th Gen Intel(R) Core(TM) i7-12800H CPU family: 6 Model: 154 Thread(s) per core: 2

How to used parameterized CDS view as ValueHelp?

20 November 2025 @ 12:58 pm

First I'll describe my case: I'm doing the booking functionality of a Room Booking System. Each room will be booked by slots, so I'll get the total slots of the room on a specific date subtracts the booked slots of the room on that date. This'd require me to pass into the CDS view 2 parameters: Date and Room, and I'll use this CDS view as the value help to help users find the available slots. I tried to test parameterized value help using 2 dummy objects: ZHEAD and ZITEM, with ZITEM was the child of ZHEAD and I'd used a parameterized value help (named ZSH_HEAD_P) in ZITEM to find ZHEAD upon creation or edition. ZC_HEAD: ... define root view entity ZC_HEAD provider contract transactional_query as projection on ZI_HEAD { key ID, Title, IssueDate, IssueLoc } ZSH_HEAD_P: (used as value help) ... @Metad

PaddleOCR is returning extracted data from a previous document

20 November 2025 @ 12:47 pm

I've implemented an OCR queue using PaddleOCR and noticed that some documents are receiving the same extracted data as the previously processed document. So far, this behaviour seems to be isolated to each process. After investigating, it appears that PaddleOCR maintains some form of global state or caching mechanism. Versions paddlepaddle==3.0.0 paddleocr==2.10.0 I attempted to clear it, but without success. import paddle from paddleocr import PaddleOCR import gc paddleocr = PaddleOCR(use_angle_cls=True, lang='french', show_log=False) content = paddleocr.ocr(file_path, cls=False, det=True, rec=True) content = "\n".join(line[1][0] for region in content if region is not None for line in region) # ... cleaning attempt ... paddle.device.cuda.empty_cache() del paddleocr gc.collect() I

Can multiple Firebase projects be linked to a single Google Cloud project?

20 November 2025 @ 12:39 pm

I am working with Firebase and Google Cloud Platform, and I need clarification on the relationship between Firebase projects and Google Cloud projects. Specifically, I want to understand if it's possible to link multiple distinct Firebase projects to a single underlying Google Cloud project. My understanding is that a Firebase project is essentially a Google Cloud project with additional Firebase-specific configurations and services enabled. This suggests a one-to-one relationship. **Based on this understanding, my questions are:** 1. Is it possible to have two or more distinct Firebase projects share the same underlying Google Cloud project? 2. If not, what are the implications of this one-to-one relationship regarding shared identity, unified resources, and managing different environments (e.g., development, staging, production)? 3. What is the recommended practice for managing multiple distinct applications or environments if a single Google Cl

Zeppelin Helm installation behind a client proxy

20 November 2025 @ 12:28 pm

I have installed Zeppelin with Helm, using the duyet/zeppelin chart on a client's Microk8s cluster and this client has a proxy configured. When I try to run a notebook that installs packages, %python # Install packages in the current Python environment !pip install --upgrade pip !pip install pyais pandas minio pyarrow it correctly creates the interpreter pod, but fails due to the proxy: WARNING: The directory '/opt/zeppelin/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. Requirement already satisfied: pip in /opt/conda/envs/python_3_with_R/lib/python3.9/site-packages (24.2) WARNING: Re

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.