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.

Mapperly from Linq join ignores subsequent object property mapping

3 June 2026 @ 2:38 pm

I am having trouble with Mapperly mapping a DTO whose source is a JOIN of two objects. public class A { public int Id { get; set; } public string AA { get; set; } } public class B { public int AId { get; set; } public string BB { get; set; } } public class TheDTO { public string AA { get; set; } public string BB { get; set; } } [Mapper] public partial class TheDtoMapper { public partial TheDTO Map(A a, B b); } And then I call the mapping as follows: List<A> AA = new List<A> { new A { Id = 1, AA = "alpha" }, new A { Id = 2, AA = "beta" } }; List<B> BB = new List<B> { new B { AId = 1, BB = "gamma" }, new B { AId = 2, BB = "delta" } }; var mapper = new TheDtoMapper(); var result = AA .Join(BB, (a) => a.Id, (b) => b.AId, (a, b) =>

Issue with initState() in flutter

3 June 2026 @ 2:28 pm

Issue with the build method when using Widget? to declare activeScreen I get the error as follows - A value of type 'Widget?' can't be returned from the method 'build' because it has a return type of 'Widget'. I'm learning flutter at the moment and trying to figure out how to lift state up and render content conditionally. Please advise what am I missing here. My code base is as below - import 'package:adv_basics/home_screen.dart'; import 'package:adv_basics/questions_screen.dart'; import 'package:flutter/material.dart'; class QuizPage extends StatefulWidget { const QuizPage({super.key}); @override State<QuizPage> createState() { return _QuizPageState(); } } class _QuizPageState extends State<QuizPage> { Widget? activeScreen; @override void initState() { super.initState(); activeScreen = HomeScreen(switchScreen); } void switchScreen() { setState(() { activeScreen = const QuestionsScreen(); });

How to make PublicClientApplication from @azure/msal-browser perform a successful loginPopup in Angular v20+

3 June 2026 @ 2:17 pm

Does someone have ever managed to make PublicClientApplication from @azure/msal-browser perform a successful loginPopup in Angular v20+ ? Whatever I've tried so far, it opens the popup, successfully authenticates and redirects popup window with the access code in location.hash , but the popup never closes, as if MSAL was unable to read it from main window. My case: I don't need MSAL to perform my main API authentication, nor route protection. I only need to retrieve some information using Microsoft Graph API for a specific functionality inside my Angular App. So I don't need all the bells and whistles of @azure/msal-angular. What I did so far: I initialized an Angular Application with these dependencies in package.json: "@angular/cdk": "^21.2.13", "@angular/common": "^21.2.0", "@angul

Opinion about Le Wagon

3 June 2026 @ 2:15 pm

Could anyone share their experience or opinion about Le Wagon's online courses? I am particularly interested in the Data Analyst track and would love to hear some real feedback from alumni of this program. I have a few specific questions: 1.How effective is the online learning format? Is it well-structured, and do you get enough hands-on practice and feedback from the mentors? 2.Does the bootcamp actually provide strong career support and help with job placement (e.g., CV building, interview prep, connecting with partner companies)? 3.Realistically, how quickly do graduates manage to land their first job in the field after finishing the course? I would really appreciate your honest opinions and any pros and cons you personally experienced! Thanks in advance!

Unable to get a valid response from Sailpoint Identities API endpoint

3 June 2026 @ 2:10 pm

I have API credentials created with the scopes idn:identity:read and idn:identity:manage. I'm able to get the Bearer token by accessing the tenant's endpoint (https://<tenant>.api.identitynow.com/oauth/token). But when I access the list identities endpoint (https://<tenant>.api.identitynow.com/v2026/identities) using this Bearer token, I get the below response: { "detailCode": "403 Forbidden", "trackingId": "<trackingid>", "messages": [ { "locale": "en-US", "localeOrigin": "REQUEST", "text": "The server understood the request but refuses to authorize it." }, { "locale": "en-US", "localeOrigin"

Run Konsole, Split, and Focus with one shortcut

3 June 2026 @ 2:03 pm

I am using Fedora KDE Plasma Wayland. I am very new to this. In Fedora 43, I was on X11 and the script below worked perfectly. The thing I am trying to accomplish is when I hit Meta + Return; - If Konsole not running, launch - If Konsole running in background, focus - If Konsole running in focus, run split automatically function which has a default shortcut of ctrl + * #!/usr/bin/env bash set -euo pipefail split_key='ctrl+KP_Multiply' # Görünür herhangi bir Konsole var mı? if xdotool search --onlyvisible --class konsole >/dev/null 2>&1; then active="$(xdotool getactivewindow 2>/dev/null || true)" active_class="$(xdotool getwindowclassname "$active" 2>/dev/null || true)" if [[ "$active_class" == "konsole" ]]; then # Zaten Konsole odakta -> split xdotool key --window "$active" --clearmodifiers $split_key else # Konsole var ama odakta değil

If you had to learn JavaScript again from absolute scratch, what would be the fastest path to becoming highly skilled in record time?

3 June 2026 @ 1:45 pm

I'm currently learning JavaScript and my goal is not only to learn the syntax, but to develop a deep understanding of how the language works and become a highly skilled developer as efficiently as possible. There is a huge amount of content available online, and many learning roadmaps seem to focus on frameworks and tools before covering some of the language fundamentals in depth. If you had to start over today and learn JavaScript from scratch, what topics would you study first, and in what order? Some questions that might help guide your answer: Which JavaScript concepts provide the highest return on investment early on? What fundamentals should be mastered before moving on to frameworks like React, Vue, or Angular? Which advanced topics are essential for becoming a strong JavaScript developer? What common mistakes do beginners make when learning JavaScript? How much time would

How do I generate SEO-friendly meta tags in React?

3 June 2026 @ 1:40 pm

I'm developing a React-based website and want to improve its SEO performance. Since React applications often render content on the client side, I'm looking for the best way to manage dynamic meta tags for different pages. Specifically, I need to: Set unique page titles for each route. Add dynamic meta descriptions. Configure Open Graph and Twitter Card tags for social sharing. Ensure search engines can properly crawl and index the pages. I've seen solutions such as React Helmet and server-side rendering frameworks like Next.js, but I'm not sure which approach is recommended for modern React applications. Could someone explain the best practices for implementing SEO-friendly meta tags in React and provide an example of how to do it effectively?

XmlSerializer does not serialize a derived value

3 June 2026 @ 1:25 pm

(Code example is in .NET 8) I have an XmlSerializer which is supposed to give a formatted version (only 2 decimal digits) of a decimal. But when I run the code shown here, the fields IAmString and IAmAlsoString are completely ignored. For completeness' sake: removing the "c2" in the ToString() does not change the result. using System.Xml; using System.Xml.Serialization; namespace ConsoleApp3; [XmlRoot(Namespace = "urn:iso:std:iso:20022:tech:xsd:pain.008.001.08")] public class DecimalTestCase { [XmlElement("IAmDecimal")] public decimal Value { get; set; } [XmlElement("IAmString")] public string AmountAsString => Value.ToString("c2"); [XmlElement("IAmAlsoString")] public string AnotherTry { get { return Value.ToString("c2");

Architecture best practice: Pre-defined quick-expor vs dynamic user selected column export for excel in laravel

3 June 2026 @ 12:48 pm

i am building an export-to-excel feature for an admin panel using laravel and ui with tailwind css. i am debating between two different architecture approaches for user experience and backend query design Approach 1: The "Quick Export" (Pre-defined Schema) How it works: The system automatically exports a curated, highly relevant subset of data fields determined by the developer. Pros: Very fast to implement, predictable database queries, and consistent payload sizes. Cons: Inflexible. If an admin needs a specific niche column that wasn't included, they cannot access it without a code change. Approach 2: The "Dynamic Export" (Admin-Defined Schema) How it works: The frontend features a Tailwind-styled modal or multi-select dropdown allowing the admin to check/uncheck columns before firing the export

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

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.

WebAIM.org

VN:F [1.9.22_1171]
Rating: 4.0/10 (1 vote cast)

Web Accessibility In Mind

An Extension is Not an Excuse

28 May 2026 @ 9:20 pm

The Department of Health and Human Services recently announced a one-year extension of the compliance dates for web content and mobile app accessibility requirements under Section 504 of the Rehabilitation Act. The requirements themselves are not new in substance: covered recipients of HHS federal financial assistance must make covered web content and mobile apps conform […]

Tolerating Inaccessibility

30 April 2026 @ 5:50 pm

The latest WebAIM Million report shows that detectable homepage accessibility errors increased over the past year. This article considers what those results may reveal about the organizational and societal forces that continue to deprioritize accessibility, and challenges us to imagine a world where inaccessibility is no longer tolerated.

Ask AIMee: An accessible accessibility-focused AI chatbot

31 March 2026 @ 4:49 pm

We’re happy to introduce AIMee – an easy-to-use, AI-powered conversational chatbot focused on accessibility. AIMee has been designed to be highly accessible to users with disabilities. Ask her accessibility questions to get quick answers and guidance. The name “AIMee” plays off of the “AIM” (Accessibility In Mind) from “WebAIM” and also “AI”. Here are some […]

A New Path for Digital Accessibility?

27 February 2026 @ 7:02 pm

Please note This post will explore how an adaptive, intelligent system could empower users with disabilities to optimize their experience in digital environments. Even were such a system available tomorrow, developers of digital content, services, and products would still be responsible for providing equal access to ALL users. Consider a few of the many exciting […]

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 […]