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.

WooCommerce Extra Product Options: Radio button image replacement always uses thumbnail (blurry). How do I force full-size image?

4 December 2025 @ 4:28 pm

I’m using ThemeComplete – TM Extra Product Options (v7.5.3) with WooCommerce and Flatsome. I have a radio-button field that replaces the main product image when selected. The functionality works, but the plugin always switches the product image to a thumbnail-sized version of the image (e.g., -300x127.jpg). The full-size file is high resolution, but TM Extra Product Options only outputs the resized version, so the result is blurry. I want the plugin to use the full-size image instead of the thumbnail. I checked the plugin settings and there is no option for controlling the replacement image size. I found filters like wc_epo_image_size and woocommerce_tm_epo_image_size, but they don’t affect this behavior. It appears the plugin is using its own logic to grab the thumbnail and not the original file. Question: What is the correct hook or method to force TM Extra Product Options to use the full-size product option image when replacing the main pr

How to simulate BLE mesh using zephyr babblesim

4 December 2025 @ 4:26 pm

I am trying to run the "samples/bluetooth/mesh" code in zephyr using babblesim: west build -b nrf52_bsim samples/bluetooth/mesh I am able to run this code with babblesim PHY: simulation output But I am not sure how to proceed further. I tried adding code to send message at the end of the main method, but its not doing anything: code addition How can I proceed further to test communicate via mesh? Can some share some relevant tutorial?

ZeRO Stage 3 Communication Volume Result

4 December 2025 @ 4:24 pm

I'm doing a project comparing different distributed training libraries. One of the ones I'm looking at is DeepSpeed, and I'm specifically focusing on the improvements in memory utilization that occur when using ZeRO. I read their paper ZeRO: Memory Optimizations Toward Training Trillion Parameter Models and had a question regarding their result concerning ZeRO stage 3 and the total volume of data that gets sent between devices. I understand why the total volume sent with ZeRO stage 1 and 2 is 2x the non-distributed parameter size, but with ZeRO stage 3 they say that the volume is 3x the non-distributed parameter size. This is confusing to me since they also state that they need an all-gather for both the forward pass and the backwards pass, so wouldn't the total volume be 4x the non-distributed parameter size? As an aside, I'm not entirely sure this is the best place to post this, but I figured that some

raspberry pi zero installs old version of pymodbus

4 December 2025 @ 4:20 pm

i have a raspberry Pi Zero V.1. I have pymodbus installed but struggle to get the latest version. On pypi.org the latest version is 3.11.4. The version on my pi is 3.0.0-7 If i type sudo apt install python3-pymodbus i get the answer: python3-pymodbus is already the newest version (3.0.0-7) Why does the pi reference an old version?

Works with 48.0. Why does this fail

4 December 2025 @ 4:16 pm

double x = 4320000000.0; x = x*48; makes x end up a smaller number than originally set but if i change the code to double x = 4320000000.0; x = x*48.0; it works I understand this is a floating point issue and some sort of overflow but just trying to understand what C is doing that causes this

MySQL Eloquent ORM - where clause: value could be null

4 December 2025 @ 4:14 pm

I'm a bit unsure about how to proceed with Eloquent ORM (Laravel 12) queries when a value COULD be NULL. Normally, you would check for a NULL value with: ->whereNull("column") But if you don't know whether the value is NULL at all, that's nonsense, of course. So you would use: ->where("column",value) Laravel (I think from version 8 onwards?) automatically translates this into ‘column IS NULL’ in MySQL. Should you rely on this? To test it out, I like to check with Google Gemini, which offers the following option: // app/Models/YourModel.php public function scopeWhereXIs($query, $search_value) { //if $search_value is NULL, use whereNull if ($search_value === null) { return $query->whereNull('x'); } //otherwise use where clause return $query->where('x', $search_value); } So, the use of scopes. This means that in the quer

Android Studio - Fail to load plugin descriptor from file smalidea.zip

4 December 2025 @ 4:10 pm

I want to use smalidea plugin in Android Studio (version 4.1.1) from this github repo but after downloading many version of smalidea (.zip file) using their DOWNLOAD LINK and installed plugin from disk in Android Studio. AS returned the same error: "Fail to load plugin descriptor from file JesusFreke-smalidea-xxx.zip". I tried to use the some solution like changing version of Android Studio (3.5.1, 3.6.3) but it's not working. I also tried to Download smalidea-0.05.zip from bitbucket Extract the plugin.xml in smalidea/META-INF/ somewhere you can edit Add the following tag under the tag: < depends>com.intellij.modules.androidstudio</ depends> Please help me to fix this, I appreciate any answer.

two sources and two destinations in dbt

4 December 2025 @ 4:08 pm

I have two source schemas: source_prd source_dev I also have two targets schemas: target_prd target_dev All the tables are the same between dev and prd. I am essentially creating bunch of views from the source and inserting them to target. I have defined two targets in my profiles.yml. and I have the following on my sources.yml: schema: {{ "source_prd" if target.name == "prd" else "source_dev" }} but I am getting a parse error on my schema definition.

What signs indicate that Python's dataclasses are NOT a good fit for a particular use-case?

4 December 2025 @ 3:44 pm

I find Python's dataclasses to be incredibly convenient. They cut out a ton of boilerplate code (no more needing to write self.foo = foo for every __init__ parameter, and no more needing to spell out attribute after attribute in the rich-comparison methods) They cut out code maintenance when a new attribute is added to a class (the automatic __eq__, __repr__, etc. will all automatically incorporate the new field) They make it easy to inspect classes or their instances (dataclasses.fields, dataclasses.asdict, etc.) It's easy to pick-and-choose functionality; if you need something more specific than its default __eq__, just write it yourself and the @dataclasses.dataclass decorator incorporates it seamlessly They're so good, in fact, that I find myself using them all over the place for new code, and looking

Error while deploying python code to linux based azure function

4 December 2025 @ 3:42 pm

I am trying to deploy python code to azure function (linux based, python 3.12).However, I am getting the following error on azure: > ImportError: Unable to import required dependencies: numpy: Error > importing numpy: you should not try to import numpy from > its source directory; please exit the numpy source tree, and relaunch > your python interpreter from there. Cannot find module. Please check the requirements.txt file for the missing module. For more info, Azure function app is using App Service plan. Please find below python code and other dependent files: function_app.py import azure.functions as func import logging import json import pandas import numpy import statsmodels.api as sm from scipy import stats @app.route(route="health_check", methods=["GET"]) async def health_check(req: func.HttpRequest) -> func.HttpResponse: # Basic usage of panda

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.