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.

When using ShapeFix_Shape,given no face merging,how to find out corresponds new face's index in fixed shape?

5 January 2026 @ 7:23 am

my question like this: //I have an old top level shape TopoDS_Shape oldTopShape=.....;//top level shape //create a face index map TopTools_IndexedMapOfShape shapeIndexMap; TopExp::MapShapes(oldTopShape, TopAbs_FACE, shapeIndexMap);//used the oldTopShape here TopoDS_Face oldFace=.....;//belongs to top level shape(oldTopShape) //by this, we can find the index of oldFace in not fixed old shape auto indexInOldTopShape = shapeIndexMap.FindIndex(oldFace); //then we push faces of oldTopShape into a map TopTools_DataMapOfIntegerShape topoFacesBeforeFixIntToShape_; for (TopExp_Explorer explorer(oldTopShape, TopAbs_FACE);explorer.More(); explorer.Next()) { const TopoDS_Face &topoFace = TopoDS::Face(explorer.Current()); const int oneFaceID = topoFacesBeforeFixIntToShape_.Size(); topoFacesBeforeFixIntToShape_.Bind(oneFaceID, topoFace); }

Valid values for mandatory loan/credit account fields in Jack Henry SilverLake APIs? [closed]

5 January 2026 @ 7:21 am

While creating loan or credit accounts for test customers using SilverLake APIs, we are encountering canonical field-mapping errors. Could someone provide the valid and supported values for the following mandatory fields required to create a loan or credit account? CollatCode PurpCode CallRptCode PmtCode TermUnits ProdCode Additionally, are these values institution-specific, or is there any standard reference or catalog available for integrators?

why I am getting the error pack already exists while I am trying to create the dataset out of the LLama-cpp intsall

5 January 2026 @ 7:11 am

Ohk I was on kaggle and I wanted to create the dataset of LLama_cpp file like I downloaded inorder to use it for internet off submissions but it keeps giving me the error of pack already exists , I tried changing name , tried creating it with different account , can somebody explain me whats the issue and why its happening

Error connecting to Redis on redis:6379 (SocketError) at aws, ecs

5 January 2026 @ 7:03 am

I am using Rails 6 with sidekiq and redis: The Redis container starts, but the Sidekiq container does not start: My Docker configuration is as: version: '3' services: redis: image: redis:alpine container_name: redis command: redis-server --bind 0.0.0.0 ports: - "6379:6379" networks: appnet: aliases: - redis healthcheck: # Crucial for AWS/Sidekiq stability test: ["CMD", "redis-cli", "ping"] interval: 5s timeout: 3s retries: 5 opal_web: build: . container_name: opal_web command: > bash -c " until nc -z redis 6379; do echo 'Waiting for redis...' sleep 1 done; rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0' " volumes: - .:/app ports: - "3000:3000" depend

How to convert EPUB to PDF in GitHub Actions CI?

5 January 2026 @ 7:02 am

In CI environments, you need to install Calibre explicitly. GitHub Actions example - name: Install Calibre run: sudo apt-get update && sudo apt-get install -y calibre - name: Install epub-to-pdf-cli run: npm install -g epub-to-pdf-cli - name: Convert EPUB to PDF run: epub2pdf input.epub output.pdf This setup: Works on Ubuntu runners Produces deterministic output Is suitable for automated pipelines

Flutter + GetX + Firestore: .collection('attendance_report').get() returns empty snapshot even though data exists

5 January 2026 @ 5:13 am

I’m building an admin attendance viewer in Flutter using GetX and Cloud Firestore. The UI uses cascading dropdowns (Department → Semester → Section → Subject → Class Date → Attendance list). Problem: Nothing is fetched from Firestore. The very first dropdown (Department) stays empty, and the log shows: attendance_report collection snapshot: [] Departments: [] Firestore Structure : attendance_report (collection) └── CST (document) └── semesters (collection) └── 2nd (document) └── sections (collection) └── A (document) └── subjects (collection) └── English-II (document) └── classes (collection) └── 2025-12-15 (document)

Make Pdf LTV without CRLs using DSS 6.0

5 January 2026 @ 4:56 am

I am using DSS 6.0: <dependency> <groupId>eu.europa.ec.joinup.sd-dss</groupId> <artifactId>dss-pades</artifactId> <version>6.0</version> </dependency> My Pdf successfully signed and LTV. But I see 1 kb Pdf become 7mb, then we diagnose that it's due to CRL stored into pdf. But now we have decide no to store CRLs but OCSP. For this I made two changes: Set certificateVerifier.setCrlSource(null); and this to avoid exception: certificateVerifier.setAlertOnMissingRevocationData(new LogOnStatusAlert(Level.WARN)); But I see document signed and valid but it's not LTV. Then I change code to see, either ocsp urls are calling by DSS or not, I made a change to see the result as follows: //OnlineOCSPSource OnlineOCSPSource ocspSource = new OnlineOCSPSource() { @Override public OCSPToken getRevocatio

Gap between ELF sections of different permissions

4 January 2026 @ 9:30 pm

When looking at an simple elf binary on my system (wc), I noticed the gap between the sections .eh_frame and .init_array. Ther permissions change between these two sections from RX to RW which is also reflected by the Program headers. In my understanding there is not good reason for this gap as permissions only apply when being loaded into memory and permissions can only be applied on the granualarity of pages. However, inside the file there seems to be no good reasons for a gap. It might be related to the Program headers. But it's not obvious for me either why the RW header starts at 0x00abb0 instead of 0xa000 (page aligned) or 0x10000 (header alignment). I like to understand the reason for this gap and why the next section is not simply adjacent. > readelf -eW wc Section Headers: [Nr] Name

gRPC client in PHP

4 January 2026 @ 8:31 pm

I created a gRPC server using RoadRunner and tested it by sending requests via Postman and everything works fine. The server is already running, but how can I make a request to it from a Symfony application? I’ve found a few old examples online, but when I generate files using protoc, I only get interface, and there is no *Client.php file generated. How do I create and use a gRPC client in Symfony to communicate with this server? Or should I do something else?

Sample simple GTK 3.0 GUI code that compiled fine last week now has numerous header compile errors even on re-installation of the GTX 3.0 libraries

4 January 2026 @ 12:15 pm

Following the instructions below, last week I was able to compile and run a basic Hello, but this morning I cannot even get the simplest application below to compile: g++ reallysimple.cpp -o gtk_app 'pkg-config --cflags --libs gtk-3.0' reallysimple.cpp:1:10: fatal error: gtkmm/main.h: No such file or directory 1 | #include <gtkmm/main.h> | ^~~~~~~~~~~~~~ compilation terminated. The isolated code being compiled is reallysimple.cpp: #include <gtkmm/main.h> #include <gtkmm/window.h> #include <gtkmm/button.h> #include <iostream> #include <cstdlib> #include <string> int main(int argc, char* argv[]) { Gtk::Main app(argc, argv); Gtk::Window window; window.set_default_size(200, 200); window.set_title("Hello Ubuntu GUI"); Gtk::Main::run(window); // Start the main event loop return 0; } I had started with the instruc

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

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.