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.9/10 (12 votes cast)

Random snippets of all sorts of code, mixed with a selection of help and advice.

Looking for software that finds Spotify playlists based on similarity in sound, not genre tags [closed]

21 November 2025 @ 1:06 am

I’m looking for a tool or platform that helps independent artists find Spotify playlists where their songs are likely to fit, but based on sonic similarity rather than broad genre labels. For example, instead of choosing “indie” or “rap,” I want something that looks at the actual audio profile or similar artists and suggests playlists that match that style. Requirements: must support Spotify playlists must allow search or matching based on sound / similar artists ideally lets you view playlist quality (real listeners vs bots) can be web-based or desktop Things I’ve already tried: SubmitHub (curator network, but mostly genre-based) Groover (similar issue, genre categories are broad) PlaylistPush (better search, but not fully similarity-based) Is there software that focuses more on sonic matching instead of

"No operations defined in spec!" when using MMLib.SwaggerForOcelot to build combined swagger for Ocelot

21 November 2025 @ 1:05 am

This is my ocelot configuration... { "Routes": [ { "UpstreamPathTemplate": "/api/test/{url}", "DownstreamPathTemplate": "/api/{url}", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "test-host", "Port": 8080, "SwaggerKey": "test" } ] } ], "SwaggerEndPoints": [ { "Key": "test", "Config": [ { "Name": "Test API", "Version": "v1", "Url": "http://test-host:8080/swagger/v1/swagger.json", } ] } ] } Testing results are as follows... The downstream endpoint: running in a container, without an external port forward is alive as a

Why does Vscode still give me package not found error with Weka after referencing the JAR file in classpath?

20 November 2025 @ 10:45 pm

This is my MRE. Here is how my project is structured Project structure here Settings.json file { "java.project.referencedLibraries": [ "lib/weka.jar" ] } Main.java import weka.core.Instances; public class Main { public static void main(String[] args) throws Exception { // Load a dataset (replace with your .arff file) System.out.println("Hello"); } } main.class // Source code is decompiled from a .class file using FernFlower decompiler (from Intellij IDEA). public class Main { public Main() { } public static void main(String[] var0) throws Exception { System.out.println("Hello"); } } The error coming from main.java is Unused Import(hints(1): 1:1-1:28) package weka.core doe

Using LibreOffice portable to convert Excel to PDF in an ASP.NET Core Web API (IIS and IIS Express for development)

20 November 2025 @ 1:20 pm

I had used LibreOffice portable a while back to convert documents to PDF and I cannot for the life of me figure out how to do it again. Every time I run this in IIS Express for development I am getting the error: ERROR: LibreOffice returned a non-zero exit code which is showing exit code -1. I have LibreOffice soffice.exe sitting in a folder parallel with where I write logs to in inetpub. Not sure if I need to grant some additional permissions or not. My code is as follows: using System; using System.Diagnostics; using System.IO; using System.Security.AccessControl; using System.Security.Principal; using System.Text; using System.Threading.Tasks; public static class MemoryStreamExtensions { // Fixed LibreOffice path for IIS private static readonly string LibreOfficeExePath = @"C:\inetpub\logs\LibreOfficePortable\soffice.exe"; /// <summary> /// Converts an Office file

How to perform LoD filtering in orthogonal projection mode?

20 November 2025 @ 1:11 pm

I have implemented point cloud rendering software based on Qt, referencing Potree. Its hierarchical filtering principle is as follows: First, the entire point cloud map is divided into small point cloud blocks of different levels, and then view-frustum culling is performed. Next, the size of each point cloud block projected on the screen is calculated to determine whether it needs to be loaded. Although Potree is open source, it does not provide a solution for the orthogonal projection mode. // TODO ortho visibility let bb = child.getBoundingBox(); let distance = child.getBoundingSphere().center.distanceTo(camObjPos); let diagonal = bb.max.clone().sub(bb.min).length(); //weight = diagonal / distance; weight = diagonal; In perspective projection mode, point cloud rendering shows a perspective effect where objects appear larger at a distance and smaller at a closer range. Therefore, the camera

Why does std::thread::Scope::spawn need the bound `T: 'scope`?

20 November 2025 @ 3:29 am

The signature of std::thread::Scope::spawn looks like this: pub fn spawn<F, T>(&'scope self, f: F) -> ScopedJoinHandle<'scope, T> where F: FnOnce() -> T + Send + 'scope, T: Send + 'scope, I understand why the requirement F: 'scope is there: the thread is only guaranteed to be joined by the time the call to scope returns, so it must not capture references with lifetimes smaller than the call to scope as it may otherwise use them from the child thread after the lifetime is exited on the parent thread. But I'm wondering about the requirement T: 'scope. I understand this to mean that the return type of F must

Geolocator flutter package: Location retrieving doesn't work without internet or cellular data on adroid [closed]

19 November 2025 @ 2:05 am

Location retrieving doesn't work without internet or cellular data on adroid. when I get the location once or if I had the wifi and location turned on together then turned off wifi it works, but if from the beginning I turned on location while wifi is off it never works. Actual results: location turned on together then turned off wifi it works, but if from the beginning I turned on location while wifi is off it never works Expected results: Want to lat and long when i turn off and on location on my phone while wifi is off. Code sample: _positionStreamSubscription = Geolocator.getPositionStream( locationSettings: locationSettings, ). final locationSettings = AndroidSettings( accuracy: LocationAccuracy.best, distanceFilter: 0, forceLocationManager: true, ); Version geolocator: ^13.0.2 Flutter Version: Flutter 3.32.5 • channel stable • https://github.com/flutt

.so file built on same CPU but different EC2 instances lead to missing symbols

18 November 2025 @ 9:40 pm

I am building a wheel of PyTorch from source, based on their https://github.com/pytorch/pytorch/blob/v2.6.0/.ci/manywheel/build_common.sh CI build script. I tested on a "local" instance of a g5.xlarge EC2 instance, I installed it with pip and everything works well. Then I built the same wheel on a g5.12xlarge instance to speed up the process, tested it on that machine and everything works. This leads to a problem when trying to install the g5.12xlarge wheel on a g5.xlarge instance: Python 3.11.11 (main, Nov 13 2025, 17:12:08) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import torch Illegal instruction (core dumped) After using gdb we see: Program received signal SIGILL, Illegal instruction. 0x00007f

Error LNK2001: unresolved external symbol __imp____iob_func

18 November 2025 @ 7:18 am

I am migrating a C++ project from VS2012 to VS2022. Here is the build error I have, pls let me know how to resolve this, Thanks. ##[error]FlexLib.lib(lm_redir_std.obj)(0,0): Error LNK2001: unresolved external symbol __imp____iob_func FlexLib.lib(lm_redir_std.obj) : error LNK2001: unresolved external symbol __imp____iob_func [d:\agent\_work\1\s\Creator\FlexAPI\winAPI\winAPI.vcxproj] ##[error]d:\agent\_work\1\s\Creator\FlexAPI\winAPI\..\bin_x86\winAPI.dll(0,0): Error LNK1120: 1 unresolved externals d:\agent\_work\1\s\Creator\FlexAPI\winAPI\..\bin_x86\winAPI.dll : fatal error LNK1120: 1 unresolved externals [d:\agent\_work\1\s\Creator\FlexAPI\winAPI\HPwinAPI.vcxproj] Here is the changes of the project file: From: <PlatformToolset>v110</PlatformToolset> To: <Platfor

How to build a single-file namespace library with uv?

20 October 2025 @ 6:45 am

I have a project structured like this: <project-root> ├── pyproject.toml └── src └── a_namespace └── a_module.py With Poetry, I can install and package this project using the following settings: [tool.poetry] packages = [ { include = "a_namespace/a_module.py", from = "src" }, ] However, I can’t get this to work with uv. According to the documentation, I need to do this: [tool.uv.build-backend] module-name = "a_namespace.a_module" But this results in the following error: × Failed to build ... @ file:///...` ╰─▶ Expe

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.