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.

boot_devices in terraform script not working

15 April 2026 @ 8:44 am

I am using the following snipplet to create a simple vm on libvirt ``` libvirt = { source = "dmacvicar/libvirt" version = "~> 0.9.7" } ..... resource "libvirt_domain" "vm" { name = local.config.name memory = local.config.memory memory_unit = "MiB" vcpu = local.config.vcpu type = "kvm" os = { type = "hvm" type_arch = "x86_64" type_machine = "q35" # boot_devices = ["hd"] } cpu = { mode = "host-passthrough" } devices = { disks = [ # Main system disk sda { source = { volume = { pool = libvirt_volume.sda.pool volume = libvirt_volume.sda.name } } target = { bus = "sata" dev = "sda" } driver = { type = "qcow2" }

How to draw an area around a set of points on a graph?

15 April 2026 @ 8:44 am

I need to draw this graph. I have the points as just x,y coordinates (values are irrelevant). I need some thing to help me draw the bounding area. There will be ability to add/remove points for different sets so I need to be able to redraw the boundary dynamically. I'm thinking D3.js. I need some help finding the right library. A scatter chart with a boundary line surrounding the points in a rectangular fashion

How to choose trucks based on cost/capacity in AnyLogic ResourcePool?

15 April 2026 @ 8:42 am

I am using AnyLogic with a ResourcePool of trucks (same type), but each truck has different attributes like fuel consumption and driver cost. Currently, the Seize block selects any available truck randomly. I want to select a specific truck based on attributes (e.g. lowest cost or best efficiency). How can I customize the selection logic in a ResourcePool or Seize block? Additionally, can anyone recommend a simple heuristic or rule-based approach to select trucks in a more optimal way (e.g. based on capacity, cost, or efficiency), without using complex optimization algorithms?

Reordering DOM results in some attributes being shifted between elements

15 April 2026 @ 8:31 am

I have a function which takes an array of SVG elements (polygons in this case), arranges them by a metric and appends them back into the SVG, the objective being to control the draw order of the polygons, given that SVG has no z-index attribute. At first, the function works as intended. But when I run it again, the order changes... sort of. The spooky part is, that even though the desired polygon is no longer on top, the fill colours change so that the polygon that is now (mistakenly) on top is the colour of the polygon that should be on top. In other words, only the fill attributes are being arranged correctly, divorces from their elements! What the heck is going on? Ok, details (paraphrased): class Model{ constructor(){ this.hiddenPolygons = []; // used for doing mathy stuff like determining draw order this.screenPolygons = []; // the actual polygons drawn to SVG } function createPolygon(){ // doStuff(); let mark

Distance gallery tags, name and header in Wordpress

15 April 2026 @ 8:26 am

I set up the following homepage in WordPress https://milana-fotografie.com/ There is only one issue. The gallery and gallery name overlapping with header and logo/company name. Especially if you look on a smartphone. I checked all boxes, but couldn't figure out how to settle this issue. I would appreciate any ideas. Thank you in advance!

Flutter can’t read GPS EXIF from image, but Windows properties shows latitude and longitude

15 April 2026 @ 8:26 am

Why would Flutter/Dart fail to read GPS EXIF data from an image that clearly has latitude and longitude in Windows properties? Is this a limitation of the EXIF package, a problem with the image picker returning a stripped copy, or an issue with how GPS tags are stored in the image? How to reliably extract GPS latitude/longitude in Flutter? Whether I should use a different package or a different import approach? How to debug what EXIF data Flutter is actually receiving I’m building a Flutter app that imports photos and reads EXIF metadata using Dart. The issue is that the same image clearly contains GPS data when I check it in Windows file properties, but my Flutter app cannot extract the latitude/longitude. import 'dart:developer' as dev; import 'dart:io'; import 'package:native_exif/native_exif.dart'; class ExifService { Future<void> extractMetadata(String filePath) async {

E5 Embedding model vertex AI endpoint not working anymore (429 errors)

15 April 2026 @ 8:13 am

I'm using this model endpoint: https://console.cloud.google.com/vertex-ai/publishers/intfloat/model-garden/multilingual-e5-large-instruct-maas But keep getting 429 errors since yesterday. Did google silently dropped this endpoint?

how to make a cell with a image that changes according to whats written in another cell in google sheets

15 April 2026 @ 8:11 am

for example I enter "hello" in a cell and it shows a waving photo but if I enter "goodbye" it shows a completely different photo I need it to call from a seperate sheet where it has all the icons and the name that goes with it I've tried =vlookup and it didnt work, I am very new to sheets

How to create a simple phishing detection and awareness system

15 April 2026 @ 7:32 am

I am a beginner student working on a mini project about a "Phishing Detection and Awareness System". I want to create a simple system that can: - Check whether a URL is safe or suspicious - Alert the user if the link is phishing I am not using advanced machine learning. I prefer a simple method using basic programming (Python or JavaScript). Can anyone suggest: Simple techniques to detect phishing URLs? Any beginner-friendly approach or example code? What features should I include in a basic project? Thank you.

Which is better - Java or python?

15 April 2026 @ 6:14 am

I have learned and worked as a web developer for two years. I know Javascript, TypeScript and ReactJS for frontend, NodeJS for backend. For databases I have worked on both MongoDB and postgreSQL. I also know about mongoose and prisma. Now I'm confused about which one is better, python or Java? I like AI systems and enterprise level softwares systems. Can anyone give me a suggestion?

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

Ask AIMee: An accessible accessibility-focused AI chatbot

31 March 2026 @ 4:49 pm

We’re happy to introduce AIMee – an easy-to-use, AI-powered conversational chatbot focused on accessibility. AIMee has been designed to be highly accessible to users with disabilities. Ask her accessibility questions to get quick answers and guidance. The name “AIMee” plays off of the “AIM” (Accessibility In Mind) from “WebAIM” and also “AI”. Here are some […]

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> […]

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.