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.

Script for disabling mac OS daemons/features (Siri, Apple Intelligence, Liquid Glass, telemetry,etc) on M4/M5

9 March 2026 @ 4:28 am

I’m trying to optimize M4 Mac Mini to make it run faster by reducing background tasks that I don’t use things to disable: Siri / Assistant Apple Intelligence / Smart Suggestions Liquid Glass / SwiftUI visual effects Telemetry / analytics / product improvement reporting File polling services Etc any ideas about script to run for this.

Bubble Sort for Banking History

9 March 2026 @ 4:22 am

I'm trying to make it so my history entries from my save file are being sorted properly but nothing displays. The first option does work, however, as it displays all 50 history entries randomly as expected. I cannot find out why it's not sorting. Here are my 2 main files. (Sorry if I'm missing something or sound stupid, I'm very new to sorting.) Snippet 1 of the method I'm trying to do the sorting in: else if (choice == 2) { // sort by account types for (int i = 0; i < HistoryManager.globalTransHistory.size() - 1; i++) { for (int j = 0; j < HistoryManager.globalTransHistory.size() - i - 1; j++) { String entry1 = HistoryManager.globalTransHistory.get(j); String entry2 = HistoryManager.globalTransHistory.get(j + 1); String[] parts1 = entry1.split("\\|"); String[] parts2 = entry2.split("\\|"); if (parts1.length < 2 || pa

Extract the selected text in custom iOS keyboard extension

9 March 2026 @ 4:04 am

I am trying to retrieve the selected text inside a custom keyboard extension. Using textDocumentProxy.selectedText only provides the prefix and suffix sentences of the selected text, rather than the complete content. I also tried programmatically moving the cursor and then accessing the truncated parts of the text. However, even while moving the cursor programmatically during text selection, reading documentContextBeforeInput or documentContextAfterInput still does not return the truncated sentences. How can I reliably obtain the full selected text in a custom keyboard extension?

Inquiry on HTTP Endpoint Support in IBM API Connect for SAP Integration

9 March 2026 @ 3:47 am

My team is currently implementing an integration between an SAP system and an API platform managed using IBM API Connect. In our current setup, the SAP system can only communicate using the HTTP protocol for this integration scenario and is not able to consume services via HTTPS. Meanwhile, the APIs published through IBM API Connect are currently exposed using HTTPS endpoints. Therefore, we would like to request clarification on the following points: Is it possible to expose an API endpoint using HTTP in IBM API Connect, in addition to or instead of HTTPS? If HTTP is supported, could you provide guidance on the configuration steps required to enable HTTP endpoints?

Inject with Data Mask and Keep Calling Context

9 March 2026 @ 3:37 am

Background I am trying to create a simple function which takes a data.frame and evaluates an expression in the context of that data—specifically an expression involving a quasiquoted column. Currently I can do this with expr() and eval_tidy()... fn_eval <- function(x, col) { eval_tidy(data = x, expr( # Some expression involving the column. max({{ col }}) )) } ...so it unquotes the column and evaluates the expression. df <- data.frame(A = 1:5) fn_eval(df, A) #> [1] 5 I would like to avoid the clutter of wrapping in eval(). But when I inject() directly, with as_data_mask(x) for the environment... fn_inj <- function(x, col) { inject(env

Resolving Concurrency Bottlenecks in LangChain's RunnableParallel with ChromaDB PersistentClient

9 March 2026 @ 3:01 am

I am implementing a production-ready RAG pipeline using LangChain and ChromaDB (PersistentClient). To minimize latency, I use RunnableParallel to execute the similarity search and initial metadata filtering simultaneously. However, under high concurrency (multiple simultaneous user requests), we are encountering intermittent Timeout or Locked errors from ChromaDB's local persistence layer. Is it a known limitation of ChromaDB's PersistentClient when handled via async Python workers? Is there a way to optimize connection pooling within a local LangChain setup?

Python list from input converting to an actual list

9 March 2026 @ 1:02 am

I am trying to complete a task where you create an input that takes in an array (eg [1, 2, 3, 4, 5]) and prints the total of the numbers. I have tried the built in sum() function, but since an input defaults to a string it doesn't work, and I also tried converting it to a list using list(), but that also doesn't work. Here is my current code, any help is appreciated: numbers = list(input("Enter an array of numbers: ")) added = sum(numbers) print(added)

Not receiving webhook call from azure open ai realtime model

9 March 2026 @ 12:39 am

I've been following this documentation here: https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/realtime-audio-sip#connect-to-sip In twilio I created an elastic sip trunk for my phone number and set the origination url to what the documentation suggests by passing my azure foundry project internal id. sip:[email protected];transport=tls I found the internal id in the azure resource json under properties/internalId. I use the azure open ai webhook api to create a webhook for the model here: https://{{my project}}.openai.azure.com/openai/v1/dashboard/webhook_endpoints that is successful. I put a breakpoint on my app and call my twilio number and all I get "Welcome to versizon wireless, the call cannot be completed because the called party

Pandas groupby monthly within date range of dataframe, start date and end date

8 March 2026 @ 11:33 pm

My groupby monthly, displays the graph from start of month, which has a sales value of Zero, because there are no records for that date. I need the graph to show from date of first record in dataframe. And likewise for last date in dataframe. df_monthly = ( df_output .groupby([pd.Grouper(key='date', freq='MS'), 'region']) .agg( sales=('sales', 'sum'), last_date=('date', 'max') # last actual date in the bucket ) .reset_index() ) fig1 = px.line( df_monthly, x="last_date", # ← use actual date instead of month start y="sales", color="region", markers=True, hover_data={ "last_date": "|%d %b %Y", "sales": ":,.0f" } ) # ###################### # fig1.update_xaxes(range=["2018-02-06", "2022-02-14"]) # fig.update_xaxes(autorange=<VALUE>) # fig1.update_xaxes(autorange=True) # #######################

Should I use AI to learn?

8 March 2026 @ 6:02 pm

I'm sure the topic of AI for coding has been discussed many times. Nevertheless, I have a question. I'm a complete beginner and I'm currently working on a project to detect objects using a camera. I've been using documentation and advice from experienced people to help me with my programme, but for certain parts where I got stuck, I used AI, either by asking it where the problem was and not giving me the answer but making me think about it, or directly for a small piece of code that I couldn't figure out. Do you think I should avoid using AI altogether and, even if it takes longer, do more in-depth research, ask questions on forums, or does using it as described above pose no risk to learning? Thank you in advance.

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

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

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

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.