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.

How to calculate a control's screen position (in pixels) in WinUI 3

30 December 2025 @ 8:15 am

My goal is to calculate the screen position of the left edge of the Middle block. This is used to position a floating window exactly along the left edge. The problem is that the value I get when calculating the screen position is not what is expected. This test application shows the calculated position "From Screen" and what the floating windows actual screen positions are when dragged into place. Different values in screen positionsCalculations of coordinates in the windows application Below “ControlBlock” is the width of the ControlBlock and “Window Pos” is the screen coordinates calculated with: //Application window position var mainWindow = (Application.Current as App)?._window; PointInt32 windowPos = mainWindow.AppWindow.Position; //Get monitor from a window IntPtr hwnd = WinRT.Interop.Window

GitHub Copilot error during student registration

30 December 2025 @ 8:15 am

I'm a student and I'm trying to register for the GitHub Copilot student plan. I've had four previous errors and corrected them. This time, I filled in all the required information and there were no more errors, but I was still rejected for no apparent reason. Could you please help me identify the cause and how to fix this error? Thank you. enter image description here

Form submission not working on Stack Overflow Ask Question page

30 December 2025 @ 8:06 am

I’m trying to post a new question on the Stack Overflow Ask Question page, but the form does not submit after filling in all required fields. I have selected the question type, entered a title (more than 15 characters), and written a detailed body (more than 30 characters). However, when I click the submit/post button, nothing happens and no error message is shown. I’ve tried refreshing the page and using a different browser, but the issue still occurs. I’m not sure if this is a browser-related problem, a JavaScript error, or something else I’m missing in the form requirements. What could cause the Stack Overflow question form not to submit, and how can I fix it?

How to deploy and run era file in intellij with glassfish server and debug it

30 December 2025 @ 8:04 am

Problem I successfully deployed a EAR file on GlassFish 4.1 and the application runs correctly. However, when I try to run the same WAR in debug mode from IntelliJ (by configuring a GlassFish server in IntelliJ and deploying the WAR), the deployment fails with the following error. Environment Java: JDK 8 Application type: Java EE (WAR) Application server: GlassFish 4.1 IDE: IntelliJ IDEA ULTIMATE OS: Windows Error message (from IntelliJ / GlassFish logs) [glassfish 4.1] [WARNING] [AS-DEPLOYMENT-02016] [javax.enterprise.system.tools.deployment.javaeefull] Error occurred MultiException stack 1 of 4 java.lang.NoClassDefFoundError: sun/security/util/CurveDB at sun.security.ec.SunECEntries.putEntries(SunECEntries.java:74)

Uninitialized variable in c++ outputs 0 to the console, not a garbage value, why? [duplicate]

30 December 2025 @ 7:56 am

I mean yes 0 is a possible garbage value but if i recompile the program and run it again it always outputs 0 even in a new terminal. why? i am using mingw gcc btw. also if i remove the return 0 at the end it still persists #include <iostream> int main() { int x; std::cout << x << '\n'; return 0; } ---------------------------------- output: 0

Angular plugin throws error moment is not a function

30 December 2025 @ 7:48 am

I'm implementing a plugin for displaying gantt chart. https://github.com/abhishekjain12/ngx-time-scheduler package.json "dependencies": { "@angular/animations": "^16.2.12", "@angular/cdk": "^16.2.9", "@angular/common": "^16.2.12", "@angular/compiler": "^16.2.12", "@angular/core": "^16.2.12", "@angular/forms": "^16.2.12", "@angular/localize": "^16.2.12", "@angular/platform-browser": "^16.2.12", "@angular/platform-browser-dynamic": "^16.2.12", "@angular/router": "^16.2.12", "@okta/okta-angular": "^6.3.2", "@okta/okta-auth-js": "^7.13.1", "@types/moment": &quo

What we can do for css and layout of this website (https://npmexplorer.netlify.app)

30 December 2025 @ 7:33 am

Hey i am 14 year old developer , currently i need advice and suggestions for my website npmexplorer, kindly explore webiste and suggest what we can do in css, js Layout to make it attractive and better , please suggest.

How to use an incremental DELETE+INSERT without unique_key?

30 December 2025 @ 6:08 am

I just started a new position in a company, and they're asking me to migrate their old SQL queries to DBT, the problem is that I'm trying to do a DELETE+INSERT on a range of dates without a unique_key or column to do it. I've been looking for a way to avoid the unique_key to do it, but no luck so far. Here is the old delete section of the code: DELETE FROM {{params.db}}.{{params.schema}}.SEGMENTATION_{{params.country}} WHERE COALESCE(TRANSACTION_DATETIME::date, TLZ_MS_FECHA::date) BETWEEN {{start_date}} AND {{end_date}};

Returned from Postgres timstamptz always in UTC

30 December 2025 @ 6:06 am

I'm a little confused. I have a Spring Boot application (Spring Boot version 4.0.1). There's a simple DDL: create table foo ( id serial not null primary key, dt timestamptz not null ); And an entity: @Getter @Setter @Entity public class Foo { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; private OffsetDateTime dt; public Foo() {} public Foo(OffsetDateTime dt) { this.dt = dt; } } I've got an API: @GetMapping public List<Foo> getAll() { return repository.findAll(); } After calling the API I expect a dt field returned in a timezone specified by JVM (or from -Duser.timezone). But it's returned always in UTC. I tried to use ?serverTimezone in a JDBC connection url, set -Duser.timezone, use explicitly set timezone in Postgr

Assign colors of geom_lines with multiple legends by group in a nested facet_wrap

30 December 2025 @ 5:29 am

As Stefan suggested here, splitting the legend into multiple rows on a nested facet_wrap using legendry::guide_legend_group works well. However, the colors are inconsistent (e.g., see the left graph below), and I would like to assign them to the geom_lines and respective legends according to the analyzers within each site: shades of green for site x (SX), of blue for site Y (SY), and of orange for site z (SZ). I can set the colors manually for a given analyte (e.g., the CCC analyte on the right graph below), but the trick is that the number of analyzers varies depending on the analytes (in my real data, there are more than 100 different analytes, distributed differently depending on the analyzers and the sites). Question: Considering the colors provided for the analyzers (df0$color_analyzer),

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

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.