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.

Obtaining one type of forecasts from another one with the fable package

23 April 2026 @ 8:09 pm

I I have a data set (from https://fable.tidyverts.org/index.html) and I run the difference of the log of the dependent variable (Close) on the difference of log of a covariate(High) in order to forecast fit<- google_2015 |> filter(Date < "2015-12-23") |> model(ARIMA(log(Close) ~ log(High) + pdq(0, 1, 0))) forecast <- fit |> forecast(new_data = google_2015 |> filter(Date >= "2015-12-23"))|> mutate(.median=mean(Close)) forecast %>% as.data.frame() %>% select(.mean, .median) .mean .median 1 747.3169 761.455 2 744.1898 761.455 3 755.4646 761.455 4 771.9889 761.455 5 769.6716 761.455 6 761.7894 761.455 My question is what R code we can use in order to obtain the .mean column from the .median. column?

Visual Studio 2026 update broke autobuild of my project during debug

23 April 2026 @ 8:05 pm

After the latest update to Visual Studio 2026, my .NET 9 Maui project has stopped automatically building whenever I click the "Run" option while in debug mode. It also applies to when I clean the Bin and Obj folders, which do not get rebuilt, until I manually click build. enter image description here I have no idea where to even look to find why it no longer auto-rebuilds whenever I run the project after some code changes. I've looked in Options > Project & Solution, and the only things I've found, I didn't need to change as they were already on. enter image description here I've also tried to do CLI workload fixes as suggested as possible solutions, but neither dotnet workload repair or dotnet workload install maui had any effect I have no idea what happened, what

The workflow in subscription and resource group 'selfhostingresourcegroup' is currently locked

23 April 2026 @ 8:02 pm

I am trying to enable or save an automated Power Automate flow which contains connections to SharePoint & outlook, but i am getting this error:- The workflow '70ad9987-ce8b-4706-902e-ae4befa68eb7' in subscription '4f36630d-ee46-e9cd-85bc-5b25fec5240f' and resource group 'selfhostingresourcegroup' is currently locked. Please try again shortly.

Delete a section of a file Bash Script

23 April 2026 @ 7:51 pm

Last paragraph is my actual question, the rest of this post is just context. At my internship I have been asked to learn how to script (I’m terrible at it, assume I’m a beginner) I’m trying to remove 3 lines of code in a file so I thought at first to use sed and rm lines 1-3 like this: sed ‘1d;2d;3d’ file but then my lead system admin said I may run into issues because in another scenario there might be more code so that wouldn’t work. So then I thought maybe to match the lines like this: sed ‘/specific thingy/d’ file-path sed ‘/next thingy/d’ file-path sed ‘/last line/d’ file-path But then he said “what if the lines are different” and it dosent exactly match so then he gave me a hint to use grep. In the actual code the first and third line are comments so how would you grep the first comment, last comment, and then anything inbetween those comments delete?

Deeplinking to one of another Tab's screens and then be able to navigate back to the current one

23 April 2026 @ 7:36 pm

When using a NavigationStack with a TabView, like this: TabView(selection: $selectedTab) { Tab("MainTab", systemImage: "tray.and.arrow.down.fill", value: 0) { MainTabView(onDeepLink: { deepLink in if let moreDeepLink = deepLink as? MoreDeepLink { selectedTab = 1 moreDeepLinkHandler.handle(deepLink: moreDeepLink) } }) } Tab("More", systemImage: "magnifyingglass", value: 1) { MoreTabView(deepLinkHandler: moreDeepLinkHandler) } } struct MoreTabView: View { @ObservedObject var deepLinkHandler: MoreDeepLinkHandler @State var paths: [MoreDestinations] = [] var body: some View { NavigationStack(path: $paths) { VStack { }.navigati

Problem: Gupshup error 403 despite having the tokens [closed]

23 April 2026 @ 6:49 pm

I’m programming and using Gupshup’s partner APIs. I’m using the corresponding tokens, but I’m getting an “authentication failed: 403 forbidden” error. I don’t understand why this is happening if I’m complying with everything.

Playwright Automation Script

23 April 2026 @ 6:20 pm

Hey Hope you are doing well, I need swagger api automation done via playwright python automation script on chrome browser Also need python framework for Ansible tower automation Add your suggestions here with solution Thanks in advance

Can't get the right Charset on a Java app

23 April 2026 @ 4:13 pm

I am building a simple java app that uses a few rest webservices (that get parameters from the url) to insert into a database data that is relevant to the progress of some students in a course. This app is to be used by some employees to insert said data as students progress but it has come to my attention that the data (such as the course name) gets altered into funky chars as i have seen happing before, nothing new so far, where it gets interesting is... If i use UTF-8 encoding (on the webservice) without changes on the frontend (i only use base64 on the frontend to make the strings URL safe) computers where the Windows is in English work well but i get black diamond squares with interrogation points inside if the Windows where the app is being used is in Portuguese. So i tried using ISO-8859-1 instead of UTF-8... now it's the opposite, portuguese Windows work well and English ones don't but i thought UTF-8 was like some sort of super Chartset that it supported everything.

Explanation for RuntimeWarning

23 April 2026 @ 1:35 pm

Importing ruamel.yaml before pyqt causes warning, even if it's not used. I have this simple script, that illustrate my problem. import sys from ruamel.yaml import YAML as rYAML # important - do not delete from PySide6.QtWidgets import QApplication, QLabel # 1. Create the application instance app = QApplication(sys.argv) # 2. Create a widget (a label in this case) label = QLabel("Hello World!") label.resize(400, 200) # 3. Show the widget label.show() # 4. Start the event loop sys.exit(app.exec()) I want to modify the Pyside6 import to qtpy: from qtpy.QtWidgets import QApplication, QLabel When I do that, I get many runtime warnings, such as shibokensupport/signature/parser.py:265: RuntimeWarning: pyside_type_init:_resolve_value UNRECOGNIZED: 'PySide6.QtWidgets.QFileDialog.ViewMode' OFFENDING LINE: 'PySide6.QtWidgets.QFileDialog.viewMode(s

99 Bottle of Beer - Javascript ()

23 April 2026 @ 12:38 pm

I'm new to JavaScript and created the "99 Bottles of Beer"-lyrics in code. How to make this more professional? for (var numberOfBottles = 99; numberOfBottles >= 0; numberOfBottles-- ){ var bottleWord = " bottles"; if (numberOfBottles===1) { var bottleWord = " bottle" } console.log( numberOfBottles + bottleWord + " of beer on the wall, " + numberOfBottles + bottleWord + " of beer."); numberOfBottles--; if (numberOfBottles<=0) { var bottleWord = "No more bottles" var numberOfBottles = "" } console.log("Take one down and pass it around, " + (numberOfBottles) + bottleWord + " of beer on the wall. "); } console.log("No more bottles of beer on the wall, n

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

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

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