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.

Expo Router: Is there a way to specify swipe direction when navigating to a new screen

15 January 2026 @ 6:08 pm

I want to be able to navigate to a new screen that is not yet in the history stack while still having it appear as if the screen is being navigated back to (i.e. swiping from left to right) the way it does when calling router.back() Ideally I would want something like this: router.dismissTo('/myScreenPath', { swipeDirection: 'leftToRight'}) There seems to be no way to configure this behavior from what I could find in the expo router and react navigation docs. They seem to reserve control over the swiping behavior to the use of the specific navigation methods themselves. Am I missing something here? This feels like a fair ask for applications that have fixed step-driven navigation logic. For example, an app where you can jump to the intermediary step in an activity, but still want to allow users to navigate "back" to the previous step in that flow even though that screen is not yet in the history stack

Access violation code when starting a debugging session of a Visual Studio Add-in for Office

15 January 2026 @ 6:08 pm

I have installed: Visual Studio 2026 Office Developer Tools for Visual Studio 18.0.36609.00 Microsoft 365 Apps for business Excel Version 2512 (Build 19530.20144) An access violation occurs when starting a debug session of personal add-in I've built. The program '[42780] excel.exe' has exited with code 3221225477 (0xc0000005) 'Access violation'. Placing a breakpoint after the successful build and before the add-in is invoked by Excel does not trip, so the problem doesn't appear to be my code. I can install the add-in thru the debug folder using the .vsto file and it will operate normally. Am I missing some configuration or need to reinstall office?

Shadow rendering issue on Liquid Glass iOS 26.0 system UI elements

15 January 2026 @ 6:00 pm

On white backgrounds (at least this is when it's most clear) all ui elements that use Liquid Glass, system or custom using UIGlassEffectView, have a glitchy shadow effect for a half second when the VC they are in appears on screen when switching between tabs. I made a short sample project to showcase this issue with a video of the issue in the readme, but the code is basically just doing this while running iOS 26.x. let button = UIBarButtonItem(image: UIImage(systemName: self.barButtonSystemName)) navigationItem.setRightBarButton(button, animated: true) // and let effect = UIGlassEffect(style: .regular/.clear) let glassEffectView = UIVisualEffectView(effect: effect) view.addSubview(glassEffectView) first frames as view appears

Is it possible to use an HTML canvas as a CSS mask?

15 January 2026 @ 5:42 pm

I am working on a website, and I want to make the headings have an underline with an animated fog mask so random parts gradually fade in and out. Below is a mock-up of what I want to achieve: Animated GIF of a line with the effects described above. I was able to get pretty close to the effect I want using SVG feTurbulence filters as CSS masks, but it absolutely tanks the performance of the webpage. While looking for more performant options for creating animated image noise I found jwagner's simplex-noise.js project, which seems to be substantially more efficient than SVG filters as well as much more flexible. However, it uses the HTML <canvas> element, and I can't figure out how to make that element act as the CSS mask.

9920043 Message from SilverLake ACHFileInq field ValidConsmName

15 January 2026 @ 5:35 pm

Docs: https://jackhenry.dev/jxchange-soap/api-reference/core-services/achfileinq/ I'm sending the Consumer Name I was given but I'm getting an error about it being too long. <ACHFileInq> <MsgRqHdr> <jXchangeHdr> ... <Ver_5/> <ValidConsmName>TrialExxxxSxxxxxxxx</ValidConsmName> ... <MsgRec> <ErrCode>9920043</ErrCode> <ErrCat>Warning</ErrCat> <ErrDesc>The element's value is greater than the provider allows. Element was truncated.</ErrDesc> <ErrElem>MsgRqHdr.jXchangeHdr.ValidConsmName</ErrElem> <ErrElemVal>TrialExxxxSxxxxxxxx/TrialExxxxSxxxx</ErrElemVal> <ErrLoc>SetProviderValue</ErrLoc> <Ver_1></Ver_1> </MsgRec> I don't

Why partial sums doesn't improve performance on M2?

15 January 2026 @ 5:08 pm

I have a loop that counts the newlines in a string. I played with the loop unrolling and I saw an improvement in performance. Then I thought that the CPU won't be able to utilize its pipelining because I use the same register to count the new lines in every condition. So I tried to use 4 registers (x9-x12) to accumulate into them separately. And at the end I'd sum up the 4 register. But this resulted in 15% reduction in performance. Does M2 somehow figure out it can do partial sums w/o us explicitly doing it? Still, why the drop in performance? At least it should be the same. Here's the unrolled loop with the partial sums: .global _main .data line: .asciz "\nHlo\n world\n\n" lineEnd: msg: .asciz "Number of newlines: %lu\n" .text _main: mov w0, 0 ; int newLines = 0 mov x9, 0 mov x10, 0 mov x11, 0 mov x12, 0 mov x1, 1 lsl x1, x1, 30 start_repeat: ; repeat it ~1 billion times

How to read array size from over-allocated memory block?

15 January 2026 @ 4:25 pm

I am trying to understand how delete[] arr knows the size of arr. And read here about over allocation. When testing this char* a = new char[24]; char* b = new char; printf("a = %p\n", a); printf("b = %p\n", b); size_t n = *(size_t*)(a-8); printf("%zu\n", n); // also tried different format specifier, output is always 33 it shows that additional 8 bytes where allocated, but the value read from (a-WORDSIZE) does not make any sense to me. a = 0x7d7c2c0 b = 0x7d7c2e0 33 So my question is how can I read the number of elements in array/memory block from the pointer (if over-allocation is used)? Edit: As others pointed out, it is not guaranteed t

Need help regarding open source contribution as a beginner

15 January 2026 @ 3:51 pm

I am in a phase where I select a repo that is perfect for me. A problem arises when I pick an issue from the repo, then I go blank on how to approach it. So my main question is how to solve that issue, how to take help from AI, and how to break it down. Because my main fear is the flow, what if I break some critical flow that might break the whole app? And how do I understand the flow, such as whether the issue might be connected to several folders/files? I hope I am clear with my problem.

Suggest optimization for apache camel cartridge code

15 January 2026 @ 11:41 am

CartridgeException.java package com.example.transformation.cartridge; public class CartridgeException extends RuntimeException { public CartridgeException(String message) { super(message); } public CartridgeException(String message, Throwable cause) { super(message, cause); } } CartridgeYamlRouteRegistrar.java package com.example.transformation.cartridge; import java.io.InputStream; import org.apache.camel.CamelContext; import org.apache.camel.RoutesBuilder; import org.apache.camel.dsl.yaml.YamlRoutesBuilderLoader; import org.apache.camel.support.ResourceHelper; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.core.io.Resource; import org.springframework.core.io.support.PathMatchingResourcePatternResolver; import org.springframework.stereotype.Component; /** * Ensures cartridge YAML routes are loaded at runtime. *

provisioning-profile invisible devices, no add device [closed]

15 January 2026 @ 11:15 am

I am a beginner apple developer, I need help building my profile. I used to use Xamarin for development. When creating the provisioning-profile I can't add a device, probably because of xcode, because it says the device already exists. How can I unbind the device?

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.