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.

Big Cartel- making each page custom

14 February 2026 @ 12:04 am

Im looking for help/ advice in changing the background color and text color on each of the pages on my Big Cartel site. I am not educated in coding at all. If I got that far I'd be really happy, if I could take it to the next step it would be to customize the background of each page with an original image. For now I only see the the option to upload an image to the home page, but I could be missing other options. Thank you in advance!

Specific Documentation on TPU v5p, v6e, and v7x SparseCores and Vector Units

13 February 2026 @ 11:40 pm

I have been looking all over for documentation on the Google TPU SparseCores and Vector Units. Things like how to write code specifically to use them, flops, executions, scratchpad size, and JAX interoperability. That being sad I can't find any documentation on it whatsoever. Could anybody familiar with the subject or any Google insiders help me with this?

need to set greater than or equal to in batch file

13 February 2026 @ 11:37 pm

I have a batch file shown below where I compare the target date to the current date. The batch file works as long as the target date and current date are equal. What I need is to set up so that if the current date is equal to or greater than the target date it will run the script, but no matter what syntax I use the script fails to run. So, I need to know how to set it up to be greater than or equal to and not just equal to. @Echo Off SET TARGET_DATE=15-02-2026 set MM=%date:~3,2% set DD=%date:~0,2% set YYYY=%date:~6,4% set CURRENT_DATE=%DD%-%MM%-%YYYY% Echo Current Date %DD%-%MM%-%YYYY% if "%CURRENT_DATE%"=="%TARGET_DATE%" ( goto :RUN_SCRIPT ) else ( goto :Delete_SCRIPT ) :RUN_SCRIPT Echo Yes Run Script goto :EOF :Delete_SCRIPT Echo No do not run script :EOF Pause

What are the main differences between the dtplyr and dbplyr packages in their usage?

13 February 2026 @ 7:15 pm

I've recently started working with larger databases in R, and I'm quite unsure if I'm using the right package. When and in what cases should I use one or the other package? Can you give me examples based on your own experience?

How to generate a matrix with every offset of vector without using a for loop

13 February 2026 @ 7:08 pm

For a given vector like v <- c(1,3,7,2,5), I want to create a matrix that repeats that vector with every possible offset, like this: NA NA NA NA 1 NA NA NA 1 3 NA NA 1 3 7 NA 1 3 7 2 1 3 7 2 5 3 7 2 5 NA 7 2 5 NA NA 2 5 NA NA NA 5 NA NA NA NA I could obviously do this with a for loop, but I am wondering if there’s a way to do this with a vectorized function or similar, because for loops are very slow. I was very impressed by the answers to this question, for example. As a specific example, the for-loop solution I wrote takes over 30 seconds to finish a 3000-long vector, while ideal solutions would return in a few seconds or less. For a 10,000-long vector, my for loop didn’t manage to finish after 15 minutes (at which point I gave up).

AWS sdk waiter method always reaches timeout

13 February 2026 @ 4:39 pm

I'm implementing a flow for recreating a DynamoDB table with the following steps: check if the table exists, if not go to step 4 run the delete table command wait until table is deleted run the create table command wait until table is created Here is simple code of given flow const recreateTable = async (tableName, tableDefinition) => { // step 1 const command = new ListTablesCommand({}); const { TableNames } = await dynamoDb.send(command); const tableExists = TableNames.includes(tableName); if (tableExists) { // step 2 const command = new DeleteTableCommand({ TableName: tableName }); await dynamoDb.send(command); // step 3 await waitUntilTableNotExists({ client: dynamoDb, minDelay: 5, maxDelay: 30, maxWaitTime: 120 }, { TableName: tableName }); } // step 4 const definition = { ...tableDefinition, TableName: tableName, }; await dynamoDb.send(new Cr

Reducing memory usage when writing chunks in order with Go parallel workers

13 February 2026 @ 3:15 am

I have a Go function for encrypting data in parallel using AES-GCM: func encryptParallel(ctx context.Context, aead cipher.AEAD, w io.Writer, r io.Reader, workers uint64) error The design is: One goroutine reads chunks from r and sends them to a channel. workers number of goroutines read chunks, encrypt them, and send them to a write channel. The main goroutine writes chunks from the write channel to w. The problem is chunks are encrypted concurrently, so they can arrive out of order. I currently use a map buffer to write them in order: encryptedChunksBuf := make(map[uint64]*chunk) var counter uint64 for encryptedChunk := range writeRequestChan { encryptedChunksBuf[encryptedChunk.counter] = encryptedChunk for { encChunk, ok := encryptedChunksBuf[counter]

What is the difference between 'Map.entry(k, v)' and 'AbstractMap.SimpleImmutableEntry::new'?

12 February 2026 @ 4:09 am

What is the difference between Map::entry and AbstractMap.SimpleImmutableEntry::new? I tried to do research, and I really couldn't find much. It seems like Map::entry is a factory method, while AbstractMap.SimpleImmutableEntry is a class, but I don't really know the logic behind it or anything. While this question sounds like something that would have already been asked, I surprisingly couldn't find anything. If I just failed to find it, please let me know, and I will take down this question.

Unexpected targets in project.assets.json

6 March 2025 @ 3:27 pm

<PropertyGroup> <TargetFrameworks>net48;net8.0-windows</TargetFrameworks> <OutputType>Exe</OutputType> </PropertyGroup> <PropertyGroup Condition="'$(TargetFramework)'=='net48'"> <RuntimeIdentifiers>win7-x64;win7-x86</RuntimeIdentifiers> </PropertyGroup> After running dotnet restore I see win-x86 in project.assets.json while I would expect only win7-.. targets. "targets": { ".NETFramework,Version=v4.8": {}, ".NETFramework,Version=v4.8/win-x86": {}, ".NETFramework,Version=v4.8/win7-x64": {}, ".NETFramework,Version=v4.8/win7-x86": {}, "net8.0-windows7.0": {}, "net8.0-windows7.0/win-x86": {}, "net8.0-windows7.0/win7-x64": {}, "net8.0-windows7.0/win7-x86": {} }, And then on build I'm getting er

How to run a preinstall-like script in Yarn Berry?

24 October 2024 @ 6:31 am

I don't need to support this behavior as a library author or anything, but if I wanted to run something in my own project before yarn install, is there really no way to do that anymore since preinstall was removed?

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.