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.

Model properties are not populating on form submission in my ASP.NET MVC mini project

18 December 2025 @ 10:53 pm

for some reason the properties of my FutureValueModel all stay at 0 even after I submit the form with input values filled in. Can someone please help me understand what I am doing wrong? Thank you. I tried running this through the debugger but can't see where the actual model object is being created so I suspect ASP.NET does it automagically. The properties I am interested in populating are MonthlyInvestment, YearlyInterestRate and Years and they are named the same in the model and in the view. The name of my project is FutureValue. Model Code: namespace FutureValue.Models { public class FutureValueModel { public decimal MonthlyInvestment { get; set; } public decimal YearlyInterestRate { get; set; } public int Years { get; set; } public decimal CalculateFutureValue() { int months = Years * 12; decimal monthlyInterestRate = YearlyInterestRate / 12 / 100; decima

Intel AMT / MeshCentral - Unable to connect from same machine

18 December 2025 @ 10:44 pm

So I have been trying to set this up for the past two days non-stop to no avail. Basically I have a computer running Ubuntu 24.04 LTS on an i5 8600T which I plan to always leave running. What I want is being able to remotely access the desktop over the internet. So what I planned to do is run MeshCentral or MeshCommander on nodejs on that same machine, and connect to the respective website when I am away. The computer is found and the hardware info are being sent back (ie. processor details, RAM etc.), however no remote action can be taken like powering it on/off and no possibility to connect to the desktop or SoL. Trying to connect to either the desktop or SoL would disconnect immediately. The website on port 16992 is working just fine. I have tried updating the BIOS but that didnt make any difference. Intel® ME version is v12.0.97 activated in Admin Control Mode (ACM). User Consent is set to not be required. Redirection Port, Serial-over-LAN, IDE-Redirect, KVM are activate

Unity errors about render packages seems to affect nothing

18 December 2025 @ 10:25 pm

My unity project constantly throws these errors. The thing is the project runs perfectly and apparently nothing happens. The errors persist between sessions enter image description here Should i be worried? Do i need to re-import some library? The problem didnt resolve itself but apparently doesnt matter too much

Paginated reports and multiple parameters

18 December 2025 @ 10:19 pm

I need to generate a work order form based on a complex query of very large tables. The user to enter the customer number first THEN select from a list of jobs THEN select from a list of employees to assign to the work. I tried to do this in Paginated Reports, using the customer number as a parameter which was then used in an SQL query which got the relevant data in fine however, I was not able to then find a way to select a specific work order from the list. I'm getting the impression from other posts here, that Paginated Reports is not able to handle multiple parameters very well. Would anyone else have come across this problem? Also I'm posting this question as best I can, I'm sorry if I don't know exactly how to ask this question in a more specific way.

OpenAI image input token caching

18 December 2025 @ 10:15 pm

OpenAI GPT-Image API: Image input tokens not caching despite documentation suggesting they should Problem Summary I'm using OpenAI's GPT-Image models (gpt-image-1.5, gpt-image-1, gpt-image-1-mini) to generate multiple scenes with consistent reference characters. According to OpenAI's documentation, image tokens can be cached, offering a 75% discount on cached image input tokens (e.g., $2.00 vs $8.00 per 1M tokens for gpt-image-1.5). However, I'm consistently seeing cached_tokens: 0 in my API responses, even when sending identical images across sequential requests. My input tokens are dominated by images, making caching critical for cost optimization. What I've Tried I've tested multiple approaches across both APIs: 1. Images Edit API (/v1/images/edits) Used toFile() to convert downloaded images Tested with

How to disable native Full Screen and implement custom "Zoom to Fill" with minimum window constraints in MacOs SwiftUI / Appkit

18 December 2025 @ 10:13 pm

I am creating a macOs SwiftUI document based app, and I am struggling with the Window sizes and placements. Right now by default, a normal window has the minimize and full screen options which makes the whole window into full screen mode. However, I don't want to do this for my app. I want to only allow to fill the available width and height, i.e. exclude the status bar and doc when the user press the fill window mode, and also restrict to resize the window beyond a certain point ( which ideally to me is 1200 x 700 because I am developing on macbook air 13.3-inch in which it looks ideal, but resizing it below that makes the entire content inside messed up ). enter image description here When the user presses the button, it should position centered with perfect aspect ratio from my content ( or the one I want like 1200 x 700 ) and can be able to click again to fill the available width and height excluding the

How to Download Large Zip (4GB>) Through aiofiles, aiohttp

18 December 2025 @ 10:02 pm

What happens? I get a timeout error most of the time. Sometimes, "Response payload is not completed". If I were to download this through the site button, it takes around an hour (no issue). I would like to do this through code because there are multiple different files which all take around at least an hour to download, and another hour to unzip. This is my first time attempting an async download, and I am not really sure. I set the timeout to 2 hours and it uses the whole two hours and only has 70% of the zip downloaded. (EVEN THOUGH, IT USING DOUBLE THE TIME OF JUST DROPPING THE LINK IN A BROWSER!!) I read on another post that increasing the TCPConnector limit could help, but its still timeouting. # connector=aiohttp.TCPConnector(limit=200) async with aiohttp.ClientSession() as session: try: chunksize = 8*1024*1024 ## 8 MB # , timeout=10800 async with session.get(base_link, params=payload, timeout=7200) as response

Take in multiple numeric inputs and sum in javascript automatically when input is changed

18 December 2025 @ 9:30 pm

As the title says, I would like to take in and display numerical inputs (specifically, square footage totals), and display them as a sum dynamically whenever the user updates them. There are two square footage sections, one for finished footage (interior first and second floors) and unfinished (garage and covered porches). The intent is that these can be entered dynamically, and then a total will be shown for each, and then an overall total. However, I am not experienced with Javascript, and I find a sort of tug-of-war going on between gathering up all the proper inputs and trying to add an event listener. I just know I'm missing something obvious. Sure, I could create variables for every single input and then add them all, but that's horribly clunky, and I refuse to believe that better programmers haven't figured out a solution for situations like this. Here is the code concerned. Note that the values set are just test values, and will start as 0 in the final code

Python 3.12 + pywin32 breaks when copied to network share under corporate proxy

18 December 2025 @ 7:20 pm

I’m developing some SAP and Excel automations for a bank using Python, but the network folders and the VM itself are under strict proxy restrictions. As a result, I’m unable to create virtual environments or install packages using pip. I considered creating a Docker container to work around this, but it feels like overkill for a relatively simple automation. The infrastructure team is very strict and not very automation-friendly, so I’m a bit stuck. Has anyone faced a similar situation? Any recommendations on how to handle Python dependencies and environments under these kinds of restrictions?

Website still running previous PHP version after update by Macports [closed]

18 December 2025 @ 7:00 pm

macOS High Sierra running PHP 7.1 which came installed with the o.s. Wanted to upgrade to PHP 7.4 which I did using Macports. Configured PHP ini files after PHP 7.4 installation as recommended. The following commands in the Terminal all reply PHP 7.4.33 as expected. php -v php --version php --ini Here is the problem : phpinfo() replies 7.1.33 instead of 7.4.33. Website still runs on 7.1 instead of 7.4. Of course I've read other posts on Stackoverflow and elsewhere discussing the issue. Of course answers to the question in those posts didn't help fixing my problem. Edit -- A few years ago I had an account on Stackoverflow, sometimes asking for help, sometimes offering help. I ended up closing my account, thinking that this service was really run by assholes, based on the way some questions were treated. I created a new account now, in need of help, but to see that it was closed and even noted negatively comf

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.