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.

JPA/Hibernate: Backfill process generates duplicate primary keys (id=1) when deleting and recreating child entities

5 May 2026 @ 3:05 am

I'm implementing a backfill process to re-enrich old commit data in my application. This involves: Marking old commits as "BACKFILL_PENDING" For each commit: delete existing enrichment data, then re-enrich with new data Entities: @Entity public class Commit { @OneToMany(mappedBy = "commit", cascade = CascadeType.ALL, fetch = FetchType.LAZY) private List<CommitFileCategory> fileCategories; @OneToMany(mappedBy = "commit", cascade = CascadeType.ALL, fetch = FetchType.LAZY) private List<CommitTechnology> fileTechnologies; } @Entity public class CommitFileCategory { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @ManyToOne @JoinColumn(name = "commit_reference_id") private Commit commit; } @Entity public class CommitTechnology { @Id @GeneratedValue(strategy = Generatio

Programatically written (Maui) UraniumUI TabItem does not inherit Xaml style override for TabView

5 May 2026 @ 3:02 am

I have a custom bit of code in App.xaml that creates an override for my TabView. It is a hard style application without being referenced, which I assumed would propagate to other elements within it. <Color x:Key="TabViewBackgroundLight">lightGrey</Color> <Color x:Key="TabViewBackgroundDark">#1f1f1f</Color> <Style TargetType="Layout" Class="TabView.Header" ApplyToDerivedTypes="True" x:Key="TabViewHeaderOverride" > <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource TabViewBackgroundLight}, Dark={StaticResource TabViewBackgroundDark}}" /> </Style> <Style TargetType="ContentView" Class=&quo

cpp issue with a vector<node*> pointers

5 May 2026 @ 3:00 am

I'm trying to make a doubly linked hash table, sort of. At least, within each bucket it is doubly linked. My issue is when I am trying to assign the next/previous pointer to of the top of the bucket. The code that is causing the issue is below. At first, I thought it was because I was trying to manipulate a vector directly, so I made a temp pointer, but the same issue arose. Specifically, when I was trying to manipulate the next or previous pointer of the node at buckets[h]. I get the feeling that the issue is quite basic, but I can not figure out what it is. Node* new_node = new Node; new_node->data = x; new_node->next = buckets[h]; new_node->prev = NULL; buckets[h]->prev = new_node; // this is the problem line buckets[h] = new_node;

How to integrate NestJS with Ecuador SRI electronic invoicing (XAdES-BES signature, SOAP, multitenant)?

5 May 2026 @ 2:56 am

Context Building an electronic invoicing integration for Ecuador's SRI (Servicio de Rentas Internas) tax authority in NestJS involves several non-trivial challenges: Generating valid XML documents for different voucher types (invoices, credit notes, debit notes, receipts, delivery notes) Signing XML with XAdES-BES using a .p12 certificate Communicating with SRI's SOAP Web Service (reception + authorization) Handling asynchronous authorization with retry logic Supporting multiple tenants (companies, branches, emission points) from a single API instance Generating RIDE PDFs (Representation of Electronic Documents) using dynamic templates What is the best architecture to implement this in NestJS, and is there an open-source solution available? Additional context The SRI

How to track assumptions and display the turnstile (⊢) in a Python Hilbert-style proof assistant?

5 May 2026 @ 2:49 am

I am building a small Hilbert-style proof assistant in Python. Each proof is a list of lines, where every line records a line number, a proposition, and a justification string. There are three kinds of justification: axiom instantiation, modus ponens (which I call impl_elim, for "implication elimination" - a more pedagogical term), and arbitrary substitution into a prior line. I recently added an assume method that lets me introduce a proposition as a hypothesis mid-proof. The current output for the last few lines of a sample derivation looks like this: 12. ((C → D) → (B → (C → D))) 1.[B:=(C → D), C:=B] 13. (C → D) assumption 14. (B → (C → D)) MP[13, 12] I want two things, and I am not sure how to approach either of them. First, when a line is introduced by assume, I want the justification to read prop ⊢ prop — that

How should I follow up on a pending YouTube Data API quota/compliance review after submitting the requested screencast?

5 May 2026 @ 12:54 am

I am working on a private internal publishing tool that uses the YouTube Data API to upload videos to our own organization’s YouTube channel. The client uses OAuth 2.0 authorization and `videos.insert` to upload our own educational videos. The tool is not public-facing, does not manage third-party channels, and does not commercialize YouTube data. Because uploads from unverified API projects are restricted, we submitted the YouTube API Services Audit and Quota Extension form to complete the compliance review and request additional quota. Timeline: - We submitted the audit/quota request through the official form. - The YouTube API Services team replied asking for a screencast/video recording showing how the API client uses YouTube API services to upload videos, including the end result. - We provided the requested screencast and supporting material. - They later asked us to confirm the quota amount, since the minimum quota allocation

Are lookup tables for case-converting, ASCII only characters [0,127] faster than arithmetic operation?

5 May 2026 @ 12:43 am

Imagine I have a long string 10 kb characters, filled with random ASCII characters. And I want to lowercase them. One way i could do that is by using a simple operation like: inline char lowercase(char c) { return c + 0x20 * (c >= 'A' && c <= 'Z'); } Another way would be to create a lookup table like: constexpr unsigned char table[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, ..... } Given some std::string src = "some_random_characters"; This would require memory accesses like table[src[i]] and the other would require lowercase(src[i]) which do you expect to be faster? Whats a good startegy to implement lookuptable for fast accesses?

6.2 DecisionTreeRegressor

5 May 2026 @ 12:35 am

Develop a function that receives a dataset (df) and that: Removes null values ​​from the dataset. Removes columns ["name"] Converts categorical columns ["mfr"], ["type"] to numeric. Considers the ["rating"] column as ground truth. Allocates 90% of the dataset for the training process, also using the parameter random_state=21 Trains a DecisionTreeRegressor estimator with parameters max_depth=100 and random_state=21 Returns the mean_absolute_error for this estimator. Return the mean_squared_error for this estimator. Note: You can use pandas' pd.factorize function to convert categorical columns to numeric.

Learning C# (Day 2): Recommendations on my code + what to learn next

4 May 2026 @ 9:53 pm

I'm currently learning C# (Day 2) and experimenting with building small utility components. I wrote a simple file‑system wrapper with interfaces, and I’d appreciate feedback on: Whether the structure makes sense Naming conventions Whether the interfaces are meaningful What concepts I should learn next to improve this kind of code using System; using System.IO; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace EngineTools2 { public interface IFileSystem { bool pathExists(string path); void deleteFile(string file); void createFile(string file); void moveFile(string source, string destination); void deleteFolder(string directory); }; public interface IFileStreamer { }; public class FileStreamer : IFileStreamer

GCC rejects passing function pointer as argument to variadic function template parameter with const parameter

4 May 2026 @ 4:54 pm

I wrote the following program, which is accepted by clang and msvc, but is rejected by gcc. Demo template<typename... T> double BigFunction(double (*func)(const T...), double var) { return {}; } double f3(double, int) { return {}; } int main() { BigFunction(f3, 3);// GCC: no but Clang + MSVC: ok } GCC says: <source>: In function 'int main()': <source>:15:16: error: no matching function for call to 'BigFunction(double (&)(double, int), int)' 15 | BigFunction(f3, 3);// GCC: no but Clang + MSVC: ok | ~~~~~~~~~~~^~~~~~~ • there is 1 candidate • candidate 1: 'template<class ... T> double BigFunction(double (*)(const T ...), double)' <source>:3:32: 3 | template<typename... T> double BigFunctio

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

Tolerating Inaccessibility

30 April 2026 @ 5:50 pm

The latest WebAIM Million report shows that detectable homepage accessibility errors increased over the past year. This article considers what those results may reveal about the organizational and societal forces that continue to deprioritize accessibility, and challenges us to imagine a world where inaccessibility is no longer tolerated.

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

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.