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.

Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:

27 November 2025 @ 1:36 pm

I'm using an old version of Android Studio, 3.1.6. This error appears when the gradle project sync failed. I also have a new version of android studio installed, I dont know if this could be related, I have apps in both versions. Here i pasted part of the error because is longer but it's the same error but with another url. I pasted another screenshots of my gradle version, I'm not an expert so i dont know if it's all the info I should give. Build.Gradle screenshot Android Gradle Plugin Version > Could not resolve all artifacts for configuration ':classpath'. > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72. Required by: project : > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72. > Could not get resource

Google map displays the message "This page did not load Google Maps correctly."

27 November 2025 @ 1:36 pm

My Google map displays the message "This page did not load Google Maps correctly." But enabled Billing in Google Cloud but I'm still getting the error BillingNotEnabledMapError. Any idea what could be causing this error?

How to install league/csv bundle with Doctrine v3.3 on Symfony?

27 November 2025 @ 1:23 pm

I am having a problem today installing the league/csv bundle (v9.27) on my Symfony (v7.2) project with doctrine/orm (v3.3)! When I run command php require league/csv, I get this message: Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires clickandmortar/import-bundle ^1.0 -> satisfiable by clickandmortar/import-bundle[1.0, 1.0.1]. - clickandmortar/import-bundle[1.0, ..., 1.0.1] require doctrine/orm ^2.4.8 -> found doctrine/orm[v2.4.8, ..., 2.20.8] but it conflicts with your root composer.json require (^3.3). Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. You can also try re-running composer require with an explicit version constraint, e.g. "composer require league/csv:*" to figure out if any version is installable, or "composer require league/csv:^2.1" if you know w

Filter on worksheet columns re-triggering excel office.js custom functions even when it is not volatile functions

27 November 2025 @ 1:17 pm

Excel re-triggers custom functions created in office.js api addin, but from documentation it should only re-trigger the formulas which are volatile function and in office.js api to specify custom function as volatile it should be specified as @volatile which is not there in this case. what my guess is it is because of invocation object but still it should not re-trigger as filter only hides the row and not changes the value but still it is getting re-triggered. the strange part is it only re-triggers when there is cell-reference passed as arguments in custom function. I am attaching how we have setup our custom function. Need to know if this can be fixed ? if yes how and if not then what is the root cause ? @customfunction Q.GET @param en * @param attri * @param [date] * @param [period] * @param [fu] * @param [Up] * @param [uploadDate] * @param [ver] * @param [curr] * @param [uni] * @param [seg] * @param [sec] * @param [fx]

Huawei devices open Huawei Pay instead of my Flutter NFC app when scanning a tag during on my app

27 November 2025 @ 1:17 pm

I’m building an NFC app in Flutter, and on Huawei devices I have a problem: when I scan any NFC tag, Huawei Pay automatically opens, and my app goes to the background. My app receives the NFC event, but Huawei Pay still takes over the screen. I’m using standard NFC reading (no payment protocols), and this does not happen on Samsung/Pixel devices. How can I prevent Huawei Pay from launching and force my Flutter app to stay in the foreground when an NFC tag is scanned? Is there any way to override this behavior via Flutter or Android native code?

Recommended RStan compiler flags for gcc

27 November 2025 @ 1:14 pm

I need to install RStan and I want to make sure that it's as efficient as possible. I'm using gcc. I'm reading this guide from 2022. Luckily, the Stan developers built an option called STAN_CPP_OPTIMS which implements recommended compiler flags. The guide is from 2022, is this option still current? How exactly do I implement this? The guide says you can enable these by adding to make/local This is not enough information for me. I haven't seen any more information about this file, and exactly where it should go. I tried editing the ~/.R/Makevars , but it seems like RStan is ignoring this.

How to display a lot of line_strips efficiently with ModernGL

27 November 2025 @ 1:14 pm

I need to display many (a lot) 3d trajectories with modernGL. For now, I chain the trajectories and I create two arrays only (one for all the vertices and one for their colors) that I pass as params of context.vertex_array. See the code below: vao = ctx.vertex_array(prog, [(ctx.buffer(all_vertices.tobytes(), "3f", "in_vert"), (ctx.buffer(all_colors.tobytes(), "4f", "in_color")] ) vao.render(mode=mGL.LINE_STRIP_ADJACENCY) To avoid "color gradient lines" in-between each trajectory, I double the last and the first point of each trajectory, and I give to these new points a transparent color. I also fight with the dedicated shader to give these points a far z-depth. I wonder if another solution exists, more efficient, without fps loss ? For exemple providing one vertex_array and several index buffers ? Thanks in advance for your answers !!

Flummoxed by problem with javascript setInterval [duplicate]

27 November 2025 @ 1:13 pm

I am trying to call an object method every X milliseconds (in order to increment a counter every X milliseconds). This const x = { _count: 0, inc(){ this._count = this._count + 1; console.log(Date.now()); console.log(this._count); }, }; setInterval(x.inc(), 1000); returns the two lines: 1764248031172 1 while the removal of the brackets from the (first) setInterval parameter .... const x = { _count: 0, inc(){ this._count = this._count + 1; console.log(Date.now()); console.log(this._count); }, }; setInterval(x.inc, 1000); returns 1764248289636 NaN 1764248290638 NaN 1764248291655 NaN 1764248292656 NaN 1764248293657 NaN 1764248294657 NaN ... ... ... ... ... ... ... ... Obviously neither works for my needs. Any advice would be gratefully received!

CircleMarker SVG classes/animations not updating reliably when reactive state changes (Vue 3 + Vue-Leaflet)

27 November 2025 @ 1:03 pm

I’m using Vue-Leaflet + Leaflet to display dynamic CircleMarkers whose styling depends on reactive Vue state. When a marker enters the list, it should fade in via CSS. When it leaves the list, it should get a fade-out class, animate, and only be removed afterwards. This works except for one thing: the fade-out animation never plays — the marker disappears instantly, even though the correct CSS class is applied. Here’s how the markers are rendered: <LCircleMarker v-for="item in displayItems" :key="item.url" :lat-lng="[item.lat, item.long]" :radius="6" :class-name="[ 'map__circle-marker', item._fadeOut ? 'map__circle-marker--fadeout' : 'map__circle-marker--fadein' ].join(' ')" :color="'#FE581B'" :fill-color="'#000'" :fill-opacity="1" :layerType="'overlay'" :pane="'marker

How to open Outlook Web with a pre-filled search query (Gmail-style email filtering link)?

27 November 2025 @ 1:01 pm

I’m implementing a password-reset and email-verification flow. After we send an email to the user, we want to provide quick-access links such as: “Search this email in Gmail” “Search this email in Outlook (Web)” Here is the code we currently use: public openGmailSearch(): void { const gmailQuery = encodeURIComponent(`from:${this.domain} subject:"${this.subject}"`); window.open(`https://mail.google.com/mail/u/0/#search/${gmailQuery}`, "_blank"); } public openOutlookSearch(): void { const outlookQuery = encodeURIComponent(`from:${this.domain} AND subject:"${this.subject}"`); window.open(`https://outlook.live.com/mail/0/search?keyword=${outlookQuery}`, "_blank"); } For Gmail, this works perfectly. I can open Gmail with a pre-filled search filter, for example: https://mail.google.com/mail/u/0/#search/

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

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.