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.

x-modelable not working inside React component

17 December 2025 @ 7:42 pm

I am building a documentation page in MDX and I have a component that initializes a new Alpine tree. For some reason the exact example for x-modelable found in the Alpine documentation is not working. The internal count is updated but the outer number never updates. What am I doing wrong? Component Usage: <ComponentExample html={` <div x-data="{ number: 5 }"> <div x-data="{ count: 0 }" x-modelable="count" x-model="number"> <button @click="count++">Increment</button> </div> Number: <span x-text="number"></span> </div> `.trim()} /> Component Definition: import { useState, useEffect, useRef } from "r

SwiftUI Sheet with multiple detents and a text field in the safe area inset bug

17 December 2025 @ 7:33 pm

I have a very simple proof of concept: struct ContentView: View { @State private var selectedDetent: PresentationDetent = .medium var body: some View { VStack { Image(systemName: "globe") .imageScale(.large) .foregroundStyle(.tint) Text("Hello, world!") } .padding() .sheet(isPresented: .constant(true)) { Text("hi") .safeAreaInset(edge: .bottom) { TextField("", text: .constant("")) .border(.red) } .presentationDetents([.medium, .large], selection: $selectedDetent) } } } However, when the text field gains focus on tap, it animates up way too high and then animates back down to the keyboard height cause this really nasty looking jump. Because this is such a simple example, I suspect this is a

What are the pros and cons of a terse property/method-syntax?

17 December 2025 @ 6:57 pm

In designing a language from scratch, should methods use a self variable to access properties and other methods? Or should they imply their target with .prop? Or should they treat properties as local variables and methods as local functions? I'm currently leaning towards the latter option - i.e. method4/5 below - but I'm not certain about all implications of that choice. The main problem I foresee is that shadowing becomes cumbersome without a dedicated shadow-operator. Am I missing anything crucial? pseudo code: implement Type_with_properties { method1 (self: Type_with_properties, prop: Some_other_type) { print(self.prop, prop); self.prop = prop; self.other_method(); } method2 (prop: Some_other_type) { print(SELF.prop, prop); SELF.prop = prop; SELF.other_method(); } method3 (prop: Some_other_type) { print(.prop, prop); .prop = p

Issue with Query Store Showing “Restricted Text” in Azure SQL Managed Instance [duplicate]

17 December 2025 @ 6:56 pm

I am experiencing an issue with Azure SQL Managed Instance where some of the long-running queries in Query Store are displayed as “Restricted Text” instead of the actual query text. Details: Environment: Azure SQL Managed Instance I have admin access, but I am still unable to view the full query text. This behavior is impacting our ability to troubleshoot and optimize performance. Can someone please help me understand: Why Query Store is showing queries as “Restricted Text”? Is there any configuration or permission setting that needs to be adjusted to view the actual query text? Thank you for your assistance.

Set Data Twice in react-signature-canvas

17 December 2025 @ 6:47 pm

I have a signature canvas on a form. When the form loads an existing report, it may already have signature data to load. In that case, in a useEffect, I call fromData on the signature component to load the signature data. In Strict mode, React invoked this twice. The first time, it works, but the second time, the signature is cleared. Here is a minimum example: https://codesandbox.io/p/sandbox/brave-yalow-rglx3p In src/index.js, I have: const data = [[{ x: 90, y: 45.0625 }, {x:...... }]]; useEffect(() => { if (!sigCanvas.current) { return; } console.log("adding data"); sigCanvas.current.fromData(data); sigCanvas.current.fromData(data); }); ... (In my application, I don't call fromData twice, but react does. I couldn

Publish profiles are suddenly being ignored

17 December 2025 @ 6:34 pm

I have an existing solution with several projects. I have created publish profiles for some of those projects. This was done a long time ago and those publish profiles have been working well. But today, I went to publish one of those projects and I was prompted to create a publish profile for it. For some reason, it seems to no longer be finding my existing profiles. The only thing that has changed recently is that I moved my source control to a different GitHub repository. I thought maybe the publish profiles did not get checked in. However, looking closer, I can see that my profile file is there! I can look at the contents, and it appears to be my publish settings. But for some reason, Visual Studio doesn't think it exists. <?xml version="1.0" encoding="utf-8"?> <!-- https://go.microsoft.com/fwlink/?LinkID=208121. --> <Project> <PropertyGroup> <DeleteExistingFile

In Instagram whit a program Is possibile put the exactly second of a post or story?I know the time and the minute,but for seconds? [closed]

17 December 2025 @ 6:01 pm

When you make a post or a story on Instagram, is it possible with a paid programs that schedule the time or minute of the post also decide the seconds? enter image description here here an example I use insta navigation to see the seconds but I want to know if Is casual or you can schedule it whit a program

Unable to find method ''java.lang.String com.squareup.javapoet.ClassName.canonicalName()''

17 December 2025 @ 4:24 pm

The Gradle script syncs correctly, but when I try to run the application I get the following error: "Unable to find method ''java.lang.String com.squareup.javapoet.ClassName.canonicalName()'' 'java.lang.String com.squareup.javapoet.ClassName.canonicalName()' Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network) The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem. Stop Gradle build processes (requires restart) Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project. In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes." I have already tried all the suggestions that Android Studio give

Importing Large datasets into SQL and other programming languages:

17 December 2025 @ 3:23 pm

How does a one can import or upload large datasets into programming languages, like in all SQL, python? Is there any possibility to upload or import dataset in R programming language, from any sources? If so, how to do? Is dput function helps to import datasets? Does it require to enter code to upload or import datasets into it?

Calculated filter field not passing on only relevant values to another field

17 December 2025 @ 3:14 pm

I have a calculated field (total count) to sum the volume of a field called reason volume by an application id. {FIXED [APP ID]: SUM([reason volume]} This works great. It displays the number of reasons per each app id like it should. I included a filter to select apps that have a specific number of reasons. This was only allowed to be used as a Range of Values filter. So for instance, i want to only see apps that have 2 reasons. I select min 2 and max 2. This seems to work great. However! I have another filter that lists all the reason descriptions. Filter to 2 does not update the reason description filter to show only those values that are relevant to the two. It seems to show all the values. I want to select the descriptions, then if i select the number of reasons, it will only show those apps that qualify. E.g. If I select reason 1 and reason 2, then select the range to show those that only have 2, it should only show that population.

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

ThemeForest.net

VN:F [1.9.22_1171]
Rating: 7.0/10 (2 votes cast)

WordPress Themes, HTML Templates.

Interface.eyecon.ro

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

Interface elements for jQuery
Interface.eyecon.ro

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.