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.

iOS App Store build Failed due to react-native-fbsdk-next pacakge

24 January 2026 @ 8:49 am

enter image description hereI am facing the issue in EAS build for iOS App Store build (Production), this is created due to Pacakge "react-native-fbsdk-next": "^13.4.1". My Environment is "expo": "^54.0.12", "react": "19.1.0", "react-native": "0.81.4",

How to convert the "\t" string to '\t' character in c

24 January 2026 @ 8:42 am

I want to convert the string "\t" to the real value of character '\t' in c. Here is the test program: int main() { char *read_tab_from_file="\\t"; printf("read_tab_from_file: [%s]\n", read_tab_from_file); char *real_tab = "\t"; printf("real_tab: [%s]\n", real_tab); int x = strcmp(read_tab_from_file, real_tab); printf("x: %d\n", x); char *converted = "<how to convert the 'read_tab_from_file' to the 'real_tab' here>"; int y = strcmp(converted, real_tab); printf("y: %d\n", y); return 0; } Here is the output: read_tab_from_file: [\t] real_tab: [ ] x: 83 y: 51 Here is the code for converting the string "\t" to the real value of character '\t': char *converted = "<how to convert the 'read_tab_from_file'

How To Avoid Circular Dependency Without Container Query?

24 January 2026 @ 8:41 am

I'm trying to make a responsive layout that maximizes the size of "top panel" while satisfying the following criteria. Card's height is equal to that of the viewport Card's width is equal to that of the top panel Top panel always has an aspect ratio of 3 / 2 Bottom panel's height is at least 40% of the card's height This is proving surprisingly difficult and I'm not entirely satisfied with the solution I found. It involves the use of a container query on an element devised for solely this purpose, which seems unnecessary. <style> :root { --desired-aspect-ratio: 3 / 2; --bottom-panel-min-height: 40%; } body { margin: 0; width: 100vw; height: 100vh; } #sizer { aspect-ratio: var(--desired-aspect-ratio); max-height: calc(100% - var(--bottom-panel-min-height)); container-type: inline-size; } #

Date subtraction error in Apache IoTDB when dates cross year boundary

24 January 2026 @ 8:37 am

I am using the Table Model in Apache IoTDB 2.0.5 and need to calculate the number of days between two dates. My approach is to first convert the DATE type to an int64 format (like 20251226), then perform a simple subtraction. I found that when the two dates are within the same calendar year, the query result is perfectly correct. However, when the dates cross a year boundary, the calculation produces a very large and incorrect value, which does not match the expected result. Here are my table and query statements: Calculation within the same year (Correct Result): select CAST(CAST('2025-12-26' as DATE) AS int64) as endDate,CAST(CAST('2025-12-25' as DATE) AS int64) as startDate,CAST(CAST('2025-12-26' as DATE) AS int64)-CAST(CAST('2025-12-25' as DATE) AS int64) from ht_boar Returned Result (Correct): +-----------+-------------+--------+ | endDate| startDate| _col2| +------

Cannot open jqt in Mac

24 January 2026 @ 8:37 am

I installed J according to MacOS instructions in this page: https://code.jsoftware.com/wiki/System/Installation/J9.6/Zips I moved the j9.7 folder to Applications and I was able to open jconsole in bin. jqt is in the j9.7 folder but clicking on it does open the IDE. I see the J icon on the Dock but nothing opens. I have two questions. How can I open jqt and if it is possible to install J on a M1 MacBook Pro? This is the machine I tried to install it: Macbook Air (Intel) running Sequoia 15.7.3

"preferred_username" and Email are present in token, but show null in claims .NET 4.8

24 January 2026 @ 8:34 am

I am using a .NET 4.8 application with Angular v22. When I try to login via a controller method, it always throws an exception that the email claim is missing. But it is present in the JWT token. Here is my code: Tokenvalidation var identity = (ClaimsIdentity)User.Identity; foreach (var claim in identity.Claims) { Console.WriteLine($"{claim.Type} = {claim.Value}"); } var email = identity.FindFirst("preferred_username")?.Value ?? identity.FindFirst("upn")?.Value ?? identity.FindFirst(ClaimTypes.Email)?.Value ?? identity.FindFirst(ClaimTypes.Name)?.Value; here email is always missing. public void ConfigureAzureJwtBearer(IAppBuilder app) { var tenantId = ConfigurationManager.AppSettings["ida:TenantId"]; var audience = ConfigurationManager.AppSettings["ida:Audience"]; app.UseJwtBearerAuthentic

UTF-8 Unicode characters that contain high data

24 January 2026 @ 7:48 am

Is there a single character or set of characters that have the highest data per character for text using UTF-8 encoding. I've tried to look across forums such as reddit but find mixed, confusing, or contradicting answers.

Is instruction-level pattern compression with SIGILL-based runtime expansion viable on modern ELF systems? [closed]

24 January 2026 @ 7:48 am

When working with very small or size-constrained ELF binaries (static or mostly-static), I am exploring whether it is technically viable to compress repeated instruction sequences post-link, rather than compressing the binary as data. The idea is roughly: 1. Perform static analysis on a fully linked ELF binary. 2. Detect frequently repeated instruction sequences (e.g. function prologues/epilogues, common ADRP+LDR+ADD sequences on AArch64, error handling blocks, etc.). 3. Replace each occurrence of such a sequence with a single-byte illegal instruction (chosen to reliably trigger SIGILL). 4. Embed a small dictionary mapping these opcodes to the original instruction sequences. 5. At runtime, install a SIGILL handler that: identifies the opcode, executes or emulates the original instruction sequence, resumes execution after the replaced site. This i

Update MS Access db with SQL that includes selects [closed]

24 January 2026 @ 7:27 am

I'm using NodeJS and node-adodb to try to run an update on a MS Access database that includes selects. I tried this: UPDATE [Objects] SELECT DISTINCT 1 AS [object], (SELECT id FROM Oracle WHERE name = 'mycard') AS [cardid], NULL AS [cardid2], 1034 AS [setid], 1 AS [langid], 'a' AS [version], 'mycard' AS [name] FROM objects AS t WHERE id = 502561 But I get: unexpected end of statement: required: SET I'm not sure what it's looking for.

Most practical data structure for successive levels of filtering

24 January 2026 @ 7:25 am

I'm writing a program to find substitution ciphers of a test_phrase that themselves are valid English phrases. Example: test_phrase = 'x marks the spot' → ['a whole sky ends', 'I stage our echo', ...] My approach I filter a wordlist to get candidates (correct structure) for each word in the phrase. Example: candidates['x'] = {'a', 'i'}, candidates['marks'] = {'adopt', 'angle', 'begin', ...} But the candidates for a word depend on which candidate we use for another word. Example: For 'x marks the spot', if we sub 'x' with 'a', the remaining words can't have 'a' in them. So I store rules for each word saying which position each of its letters must first appear in each other word.

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.