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.

How to run grub on qemu?

15 February 2026 @ 2:11 am

I want to understand how grub works. I cloned source code, I built it with ./configure --with-platform=pc make -j($nproc) But I didn't get any loadable disk image, that I could run in qemu. In developers manuals I read: The following command is a simple illustration: qemu-system-i386 -drive file=disk.img,format=raw \ -device virtio-scsi-pci,id=scsi0 -S -s This will start a QEMU instance booting from disk.img. It will pause at start waiting for a GDB instance to attach to it. You should change disk.img to something more appropriate. So, how I get something like disk.img to run in qemu. Where I can read about it? And how is the process of running grub in qemu looks like? I mean should I launch it with an OS image to test it, or what? I thought, that the main purpose of bootloader transfer control to OS kernel.

Intrinsic content/system fitting size not propagating up to hosting controller

15 February 2026 @ 1:35 am

Overview I have the following view hierarchy that mixes SwiftUI and UIKit: AccordionView └─ VStack ├─ Text ├─ Button └─ UIViewRepresentable └─ UIStackView ├─ UILabel └─ UILabel When tapping the button, the UIViewRepresentable hides and shows its content. This all works as expected. However, in certain circumstances the view's sizing is rendered with the correct size, but the text can often render incorrectly, despite the frame seemingly looking as though it has enough room to render the text. More info Below you can see the UILabel has the correct frame height (the light grey background and coloured borders) but the text is rendered as though it has infinite width along one line. There's a few configurations of my view hierarchy that seem to have this effect. I've added a playground to the bottom of this

Input tables in xcode

15 February 2026 @ 1:29 am

Is there a way to make a table in x code similar to the ones in notes where the user fills it out and the data is saved in an array. Thank you in advance. here is the image of the table in notes

Linking attributes between classes

15 February 2026 @ 1:29 am

I'm writing a program that creates neural networks. Each neural network will have 26 neurons corresponding to letters of the alphabet. Right now, I'm stuck trying to create the first neuron of the first class. Once i get it to take the information from the Neural_Network class parameters to the Neuron class parameters, i can create multiple neural networks, each with its own set of pre-named neurons based on the attributes of the neural network it belongs to. #Namecode for the main operation of the lobes and the main data stream Main = "MAIN" Main_Stream = "STRM" Frontal = "FRNT" Parietal = "PART" Temporal = "TEMP" Occipital = "OCCP" #Namecode for the operations of the Frontal lobe Problem_Solving = "ProbSolv" Judgement = "Judge" Personality = "Person" Emotions = "Emote" Speech = "Speech" Motor_Function = "MotoFunc" #Namecode for the opera

Problem with connection to PostgreSQL through WireGuard

15 February 2026 @ 1:17 am

WireGuard settings: Server: wg0.conf [Interface] Address = 10.8.0.1/24 SaveConfig = false ListenPort = 51820 PrivateKey = <PrivateKey> [Peer] PublicKey = <PublicKey> AllowedIPs = 10.8.0.10/32 Client(Win10): [Interface] PrivateKey = <PrivateKey> Address = 10.8.0.10/32 DNS = 10.8.0.1 [Peer] PublicKey = <PublicKey> AllowedIPs = 10.8.0.1/32 Endpoint = <server ip> PersistentKeepalive = 25 Wireguard connection is established, ping to 10.8.0.10 from client is succeeded. PostgreSQL settings: postgresql.conf listen_addresses = '*' pg_hba.conf local all all trust host all all 0.0.0.0/0 trust ss -lntu | grep '5432' tcp LISTEN 0 200 0.0.0.0:5432 0.0.0.0:* tcp LISTEN 0 200 [::]:5432

Expo Go Not Showing Code Updates After Trying All Standard Fixes

15 February 2026 @ 1:13 am

I'm working on a React Native project with Expo, and my Expo Go app (on my phone) is stuck on an old version of my application. None of my recent code changes are showing up. The Problem: I can edit my files (like *.tsx files), and the code is definitely saved on my computer. However, when I run the app on my phone using the Expo Go QR code, the old version of the app loads every time. For example, text I have removed is still there, and new screens I have designed do not appear. What I Have Already Tried: I have tried all the standard solutions I could find, but the problem persists: 1. Stopping and restarting the Metro server. 2. Running the command npx expo start --clear to clear the bundler's cache. 3. Completely uninstalling the Expo Go app from my phone and reinstalling it from the app store. 4. Scanning the new QR code after each of these steps. Even after a fresh install of Expo Go, it still loads t

How do I link C symbols in my C++ program?

15 February 2026 @ 12:43 am

I'm working on a C++ project to process 3D meshes. (https://github.com/blackears/cyclops_tetrahedralizer). I want to add a public domain C file that implements some advanced floating point mathematics. (https://github.com/libigl/libigl-predicates) I'm using cmake to build the project and running into an issue where it says it can't find the symbol to link from the predicates file. unresolved external symbol orient3d referenced in function "public: static double __cdecl CyclopsTetra3D::Math::test_orient_3d(struct CyclopsTetra3D::Vector3 const &,struct CyclopsTetra3D::Vector3 const &,struct CyclopsTetra3D::Vector3 const &,struct CyclopsTetra3D::Vector3 const &)" (?test_orient_3d@Math@CyclopsTetra3D@@SANAEBUVector3@2@000@Z) The method is

How can I check CPU usage and Disk space without polling with C# (Windows 10) [closed]

14 February 2026 @ 12:38 pm

I want to improve my system resource check on Windows 10. Currently I use the PerformanceCounter to get the core values. I read the information every second and show a little message when the usages is very high. For example, I display a warning if a ProcessorCoreTime is more then 90%. Is there any way to remove the polling mechanism? Can I observe something that give me an event if the ProcessorCoreTime reach a specific limit?

Raku regex solution for discovering words for word puzzle

13 February 2026 @ 10:50 pm

I would like to develop a raku script that can search a word list for words of the same length which contain the same characters except for one. For example 'castle' and 'cattle' would be appropriate output. If possible, I would like to be able to specify the letters that differ. In the preceding case I should be able to specify 's/t'

Do you feel that AI tools are replacing the need for Stack Overflow?

13 February 2026 @ 8:58 pm

Do you feel that the rise of AI tools is replacing the need to find answers here on SO? In my experience, AI tools are helpful in many cases, but they often lack the deep, nuanced context we find here. Depending on the data the AI was trained on, the answers can sometimes feel like those irrelevant posts we see that don't actually address the original question. I believe this platform still has a lot of potential as a space to exchange experiences and ideas that AI simply can't replicate as it needs to train on that new data overtime. I’d welcome your thoughts on this!

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.