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.

LightGBM regression on rank-transformed target: “No further splits with positive gain” and nearly-constant predictions

26 January 2026 @ 12:29 pm

I’m training a LightGBM model where the evaluation metric is Spearman correlation (rank-based). To better align training with the metric, I transform the continuous target y into ranks scaled to [0,1]: y_rank = pd.Series(y).rank(method="average") y_rank = (y_rank - 1) / (len(y_rank) - 1) I then train LGBMRegressor on y_rank (features are all numeric, no categorical). Dataset is ~7,500 rows and ~18 numeric features. However, during training I often see: \[LightGBM\] \[Warning\] No further splits with positive gain, best gain: -inf and the model ends up producing nearly constant predictions (almost no variance), which makes the Spearman score poor. Questions: What are the most common causes of best gain: -inf / “no positive gain” in this setup (rank targ

How to start learning NestJS [closed]

26 January 2026 @ 12:26 pm

I am an experienced Laravel developer and now I want to start learning NestJS. I am looking for the I want advice based on real-world experience, not AI-generated tutorials. Recommended project setups, learning paths, or common pitfalls for someone coming from Laravel are especially helpful. Thank you in advance for sharing your insights!

Window force close on fedora [closed]

26 January 2026 @ 12:22 pm

I just switched my Lenovo laptop to fedora a day ago and it was really good (though the boot take more time than window on my laptop). But i faced a problem whenever I open zoom meeting app (installed from fedora software installer) and try to connect my device to a bluetooth earphone. The screen suddenly becomes black and it goes back to the lock screen. All of the process that are running got stopped and this notif shows up like the images below. It only happen on zoom so far Anyone has ever experienced this? enter image description hereenter image description here

What is the reason Maven is downloading whole range of POM files instead of the latest one?

26 January 2026 @ 12:16 pm

I'm trying to import mapdb 3.1.0 which has an open version range for Guava: <guava.version>[15.0,)</guava.version> ... <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${guava.version}</version> </dependency> I know it is generally discouraged to use version ranges, but no more than that. What I would expect happen in this case: Maven will download maven-metadata.xml for this artifact, sort versions using version sorting rules, pick the last one (observing bounds). Then download and use it. It is not what happens (Maven 3.9): Instead, it seems to download every version in the range, 200 of these, POM and parent-POM. In the middle of the list there is a problematic version for whose parent-POM does not exist, which causes the whole build to fail without

facebook Graph API App Review Catch-22: Webhooks only fire in Live mode but messaging blocked without approval

26 January 2026 @ 12:11 pm

I’m implementing an Instagram Auto-DM system using Meta Graph API and hit a serious App Review deadlock. What works ✅ In Live Mode: Webhooks fire correctly Payload reaches server BUT sending messages fails with: (#3) Application does not have the capability to make this API call What doesn’t work ❌ In Development Mode: Admin + IG Tester account IG Professional account Page subscribed to app Webhook verified /subscribed_apps confirms subscription ➡️ Webhook never fires Why this is a problem Meta App Review requires a video showing: Trigger Webhook reception Message send Message delivered in Instagram app But: Live Mode → webhook works, API blocked Dev Mode → API allowed, webhook dead Questions Is this expected Meta behavior? Are Instagram webhooks disabled in Dev mode? How are devs

emcc: compiling with fsanitize=address and async function raises compile error

26 January 2026 @ 12:02 pm

I have an emscripten project which relies on the -sASYNCIFY features. Trying to compile it with fsanitize=address as additional argument to reveal problems fails because the functions wrapped with the EM_ASYNC_JS macro are then not seen by the compiler anymore. I have a function EM_ASYNC_JS(void,addPersistentDirsInt,(),{ and the compiler raises error: undefined symbol: addPersistentDirsInt (referenced by root reference (e.g. compiled C/C++ code)) warning: To disable errors for undefined symbols use `-sERROR_ON_UNDEFINED_SYMBOLS=0` warning: _addPersistentDirsInt may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library Error: Aborting compilation due to previous errors at finalCombiner (file:///Users/leo/w/github/emsdk/upstream/emscripten/src/jsifier.mjs:889:13) at Module.runJSify (file:///Users/leo/w/github/emsdk/upstream/emscripten/src/jsifier.mjs:925:5)

Laravel View Composers with Layouts

26 January 2026 @ 11:59 am

Description I have recently updated my code to put layouts in resources/views/layouts instead of resources/views/components/layouts. This means I have also updated all pages that use these components to use Blade's layout namespace. Example Rendering a layout in resources/views/layouts/app/sidebar.blade.php used to be done by... <x-layouts.app.sidebar> ... </x-layouts.app.sidebar> Now after the migration... <x-layouts::app.sidebar> ... </x-layouts::app.sidebar> The Problem I have a View composer setup for my sidebar to populate the sidebar with data. Before the migration the composer was called in AppServiceProvider like so... Facades\View::composer('components.layouts.app.sideba

Combining to tables for all possible options

26 January 2026 @ 11:56 am

I have 2 tables which I need to combine in 1 table. Table 1 contains working units. (e.g. A, B, C) Table 2 contains working roles. (e.g. 1, 2, 3) I want to combine these 2 in a new table where every working unit is combined with all the working roles, 1 row for each unique combination: A1 A2 A3 B1 B2 B3 etc. I how I can achieve this result with vba?

what is use of javascript ? where we actually use it in web development?

26 January 2026 @ 11:13 am

I am starting javascript from scratch. To learn javascript as single language i need better context and background. I want to create story out of it. I want to learn it very deeply so asking very simple qustion or may be my question can be in how many parts we can learn javascript

Excel Locking folder prevents deletion

26 January 2026 @ 9:29 am

I have a VBA project to assist Sage users by making upload files. As part of this the finished workbook is saved to a temp folder. Once the onward work is completed. I want to delete the file and the folder. I can delete the file, but deleting the folder is locked as in use (by Excel and my workbook containing my project) I proved this by closing Excel, then re-opening and the deletion works fine. However, in use by the end user restarting Excel is not acceptable. I've tried two methods, both without success. How do I unlock the folder? Sub DirDel() 'Method 1 Dim MyPath As String 'Checks if Dir exists deletes it. MyPath = "C:\Sage Test" If Not (Len(Dir(MyPath, vbDirectory)) = 0) Then MsgBox Len(Dir(MyPath, vbDirectory)) & "dir" 'Kill MyPath &"\*.*" Currently disabled as no file present. RmDir MyPath MsgBox "Deleted" Else MsgB

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.