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.

Load data to DT_TEXT from SSIS Script Component

10 December 2025 @ 10:18 am

I am trying to load data from a data source via REST API in an SSIS Script Component into a flat file. On of the columns of said data source contains a large string that must not be truncated. I am failing to implement this. What I have tried: Setting the Output columns in the script component to DT_TEXT. Then a) Directly assigning the column Output0Buffer.Applicationname = item.Application_name; -> Error "The value being written to the column of type DT_TEXT or DT_NTEXT is neither a string nor a byte array." b) Next I tried converting the string to byte string desc = item.Application_name; byte[] descBytes = Encoding.UTF8.GetBytes(desc); Output0Buffer.AddBlobData(descBytes) -> Error CS1061 'Output0Buffer' does not contain a definition for 'AddBlobData' and no accessible extension method 'AddBlobData' accepting a first argument of type 'Output0Buffer' could be

How to reduce the logging of OpenTelemetry with ASP.NET Core and Azure web service

10 December 2025 @ 10:10 am

I have an ASP.NET Core web application running as an Azure App Service. Recently I have noticed our costs for Application Insights has rocketed up. I think this might be due to upgrading to a newer implementation of the .NET Core Open Telemetry/Azure Monitor packages. I would like to configure the Traces that are being logged so that anything below a warning level is not logged as a trace unless I alter the configuration to turn that on. I have the following code in my Program.cs to configure open telemetry and logging: builder.Services.AddOpenTelemetry().UseAzureMonitor(); // setup logging - read from configuration var seriLog = new LoggerConfiguration() .ReadFrom.Configuration(configuration) .Enrich.FromLogContext() .WriteTo.Console(outputTemplate: "[{Timestamp:HH:mm:ss} {Level:u3} {Service} {Version}] {Message:lj}{NewLine}{Exception}") .CreateLogg

Polars: out-of-memory problem of groupby-max

10 December 2025 @ 10:09 am

I have several ndjson files that are nearly 800GB. They come from parsing the Wikipedia dump. I would like to remove duplicates html. As such, I group by "html" and pick the json with the most recent "dateModified". from pathlib import Path import polars as pl inDir = r"E:\Personal Projects\tmp\tarFiles\result2" outDir = r"C:\Users\Akira\Documents\out_polars.ndjson" inDir = Path(inDir) outDir = Path(outDir) schema = {"name" : pl.String, "dateModified": pl.String, "identifier" : pl.UInt64, "url" : pl.String, "html" : pl.String} lf = pl.scan_ndjson(inDir / "*wiktionary*.ndjson", schema=schema) lf = lf.group_by(["html"]).agg(pl.max("dateModified").alias("dateModified")) lf.sink_ndjson(outDir, mai

Hilt compilation error : Android BaseExtension not found

10 December 2025 @ 10:07 am

Following this tutorial https://medium.com/@mohit2656422/setup-of-hilt-with-ksp-in-an-android-project-2025-e76e42bb261a to add Hilt to my project, I get this error when compiling the code : * Exception is: org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'com.google.dagger.hilt.android', version: '2.57.2'] at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.exceptionOccurred(DefaultPluginRequestApplicator.java:183) at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.access$400(DefaultPluginRequestApplicator.java:54) at .... org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47) at org.gradle.

Error 0x80010135: Path too long Sentinel-1 Data Extraction

10 December 2025 @ 10:06 am

‎Error 0x80010135: Path too long. ‎ ‎I keep getting this error while trying to extract my Sentinel-1 datasets zip folder ‎ ‎Note that I am using Windows 11 PC.

Rust Iced Markdown View isn't Showing in the window

10 December 2025 @ 10:06 am

I've tried the rust iced framework and tried to create a markdown view from the documentation and the code compiles and renderes the windows but the code pub fn new() -> Self { Self { markdown: markdown::parse("this is some **markdown** ").collect(), } } does not show on the window. i'm not sure what am i doing wrong but the window doesn't show for me here is the full code down. use iced::{ Border, Element, widget::markdown::{self, Highlight}, }; #[derive(Debug, Default)] struct Editor { markdown: Vec<markdown::Item>, } #[derive(Debug, Clone)] enum Message { LinkClicked(markdown::Url), ButtonPressed, } impl Editor { pub fn new() -> Self { Self { markdown: markdown::parse("this is some **markdown** ").collect(), } } fn update(state: &mut Self, message:

Strange behaviour: FastAPI and Curl not working with "localhost" but ok with 127.0.0.1

10 December 2025 @ 10:02 am

When I run my first sample (first official tutorial) using FastAPI and I notice something weird with the test using curl. Launch the server with: fastapi dev main.py and to test the endpoint, I execute curl http://127.0.0.1:8000 and I logically receive the output: {"Hello":"World"} but If I execute using the localhost instead 127.0.0.1, I get: curl: (52) Empty reply from server Note that if I use wget wget -qO - http://localhost:8000 it returns the proper hello world json body (works). I saw many po

Ionic + Cordova Android build fails: "A problem occurred evaluating project ':app' — DependencyHandler.module(Object)"

10 December 2025 @ 9:59 am

I’m working on an Ionic + Cordova project. After adding the Android platform and trying to sync/ build with Gradle, I keep getting this error: A problem occurred evaluating project ':app'. > 'org.gradle.api.artifacts.Dependency org.gradle.api.artifacts.dsl.DependencyHandler.module(java.lang.Object)' I’ve tried multiple approaches but nothing helped so far: manually changing the Gradle version switching Java versions switching Node.js versions updating Cordova (from v12 to v16) regenerating the Android platform The error still appears every time I run the build. Do you have any idea what might cause this and how I can resolve it? Thanks!

Firebase manual initialization

10 December 2025 @ 9:57 am

I’m using multiple Firebase configurations in my project that change at runtime. The setup follows the approach described here: https://github.com/firebase/firebase-android-sdk/issues/66 — meaning I’m using a ResourcesWrapper, removing the Google Services plugin, and not using any google-services.json files. The issue is that when I run the Gradle task uploadCrashlyticsMappingFile, I get the error “Google-Services plugin not configured properly”, which happens because the google-services plugin is removed. Has anyone encountered this problem and managed to solve it? I tried restoring the plugin and adding the following to the manifest: <provider android:name="com.google.firebase.provider.FirebaseInitProvider" android:authorities="${applicationId}.firebaseinitprovider" tools:node="remove" />

stuck at error code 21 using Dahua Java NetSDK

10 December 2025 @ 9:56 am

So I'm trying to read the thermal data from the Dahua IP Cam model TPC-BF5401. I couldn't find any comprehensive documents so I just read the manual tried to follow the examples bundled with the SDK at https://depp.dahuasecurity.com/integration/guide/download/SDK (I'm using the x64 Java version on Linux). I managed to read the point-wise temperature using this script package com.netsdk.demo.frame; import java.io.File; import java.util.Scanner; import com.netsdk.lib.NetSDKLib; import com.netsdk.lib.NetSDKLib.*; import com.netsdk.lib.ToolKits; import com.sun.jna.Pointer; import com.sun.jna.ptr.IntByReference; /** * Console demo: * - Init SDK * - Login to camera * - Query temperature at a given (x,y) pixel coordinate on a channel * - Print the result */ public class QueryTempEx { public static final NetSDKLib netSdk = NetSDKLib.NETSDK_INSTANCE; pri

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

ThemeForest.net

VN:F [1.9.22_1171]
Rating: 7.0/10 (2 votes cast)

WordPress Themes, HTML Templates.

Interface.eyecon.ro

VN:F [1.9.22_1171]
Rating: 6.0/10 (1 vote cast)

Interface elements for jQuery
Interface.eyecon.ro

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.