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.

Is there a Database First approach in Java like Entity Framework in C#?

21 November 2025 @ 2:07 pm

I’m used to working with a Database First approach in C#. I design my database schema (often with MySQL Workbench) and do a forward engineering, then generate my C# models using Entity Framework’s. This way, I get classes matching my tables automatically and can use LINQ to manipulate data without writing all the objects manually. I’m looking for something similar in Java a tool or framework that can generate Java classes from an existing database and let me easily work with data through an ORM. Does Hibernate or JPA support this? What’s the best way to do “Database First” in Java? Thanks for your help!

How can I make sphinx latex builder add alt texts to sphinxincludegraphics?

21 November 2025 @ 2:01 pm

I am tasked creating accessible documentation (PDF UA) from rst. The idea was to use DocumentMetadata to enable tagging in general with something like a caption or :alt: to achieve this. However I cannot find a way to insert the Alt text into latex currently. Any idea on how to achieve this? Latex should look like this: \begin{figure}[H] \centering \capstart \noindent\sphinxincludegraphics[alt={a screenshot of foo},width=0.800\linewidth]{{foo}.png} \caption{A screenshot of foo}\label{\detokenize{foo:id10}}\end{figure} \noindent\sphinxincludegraphics[alt={a screenshot of foo}]{{foo}.png} .. figure:: ../images/foo.png :width: 80% :align: center A screenshot of foo .. image:: ../images/foo.png :alt: A screenshot of foo

Incorrect display of the TabBar when selecting a tab with scroll view inside

21 November 2025 @ 1:52 pm

I'm trying to implement a tab bar on iOS 26 like the Music or Health apps on iPhone. On a white background this is not noticeable, but when changing the background color to dark at the start of the application, as well as when selecting a tab with a scroll view (Home tab), I observe a change in the background of the tab bar to white (sometimes the color returns to dark, and sometimes remains white). If you switch between tabs without scroll view (Account, Settings, Favorites), this behavior is not observed. TabBar I have tabBar view: struct MainTabView: View { @State var selection: Int = 0 var body: some View { TabView(selection: self.$selection) { Tab("Account", systemImage: "person.crop.circle", value: 0) { AccountView() } Tab("Settings", systemImage: &

How to remove unused JavaScript and CSS files from my website? [closed]

21 November 2025 @ 1:51 pm

I’m trying to improve my website performance and Google PageSpeed Insights shows that many JavaScript and CSS files are unused or partially unused. I want to remove or disable these unnecessary files, but I’m not sure what the correct or safest method is. My setup: Platform: PHP Issue: Unused JS/CSS increasing load time and negatively affecting performance scores What I want to achieve: Remove or stop loading unused JS/CSS Load only required assets on specific pages Avoid breaking theme functionality What I have tried: Checking PageSpeed “Remove unused CSS/JS” section Tried disabling some files, but some parts of the site break Searched documentation but did not find a clear solution

Dynamic Forms in ADO.net

21 November 2025 @ 1:30 pm

i am a newbie in .net can someone tell me about dynamic forms. I have done master detail and simple crud should I go for dynamic form r practice more in master details. I want to know about dynamic form what are the uses of dynamic form where they are typicaaly used .

Filling the `entityIds` property in EF Core

21 November 2025 @ 1:20 pm

I am currently developing a module for an ASP.NET Core Web API that uses EF Core to talk to MySQL. The problem is I have no idea how to make EF Core fill the entityId property. Here is the example what I mean: class Entity { // some other props... public ICollection<ChildEntity> Children { get; set; } // I want this to be filled by ef core automatically public ICollection<string> ChildIds { get; set; } } class ChildEntity { // also some other props... public string ParentId { get; set; } public Entity Parent { get; set; } } The ParentId prop is filled and there is no problem, but on the parent side, I found no way to achieve this automatically, in the docs I found nothing about this scenario, either. Would appreciate any suggestions or a link to the docs if I just didn't find it. The only way I found without creating a custom

Issue with Template.Json not excluding files

21 November 2025 @ 11:05 am

I have built a template project with a Template.json and this will generate the template fine ( no errors at all ) ive also managed to add some choices to the symbols that will add or hide code snippets as needed what im now trying to achieve is removing classes and interfaces based on those same choices I have added a sources block with the exclude and the condition but it appears to be simply ignored when i generate the project. the files are in the project created in infrastructure/mongo but i have also tried with the following **/MongoRepository.cs ive included the sources block below as it appears to be the issue as far as i can see ( the rest of the file works fine ) "sources": [ { "modifiers": [ { "condition": "(!Mongo)", "exclude": [ "**/Infrastructure/Mongo/**" ] } ] },

Python library recommendation for the implementation of a neural network modification algorithm

21 November 2025 @ 9:50 am

I want to implement in python some algorithms from a paper that allow for a pre-trained neural network to be modified (adding or removing neurons or layers) conserving (theoretically) the outputs of the network over the training data. I've researched a bit on pytorch, keras and tensorflow and I'm not sure which one is more efficient for implementing this algorithms. For instance, in pytorch I've created a function that implements the neuron addition algorithm by cloning the pre-trained network to a bigger network and adjusting the weights. This approach seems rather inefficient to me. I think that implementing this algorithms from scratch in numpy wouldn't be as useful for further research. Do you know of a library in which I could freely add and remove neurons and change weights while being efficient?

Add a NotMapped field to my model or create a view model to interface between the model and view?

20 November 2025 @ 10:43 pm

I come from a MVVM in WPF background moving towards ASP.NET MVC. I have a model that is composed of another model called Message, like so: public class User { public int Id { get; set; } [Required] [Display(Name = "Register Date")] public DateTime RegisterDate { get; set; } [Required] [StringLength(100)] public string Username { get; set; } = string.Empty; [Required] public Role Role { get; set; } public List<Message> Messages { get; set; } = new(); } I am looking to display the latest message on the index page. If this was WPF, I would create a view model to expose this as a new attribute to interface with the view. In MVC, this could be incorporated into the controller as such: public async Task<IActionResult> Index() { var users = await _context.Users .Include(u => u.Messages) .ToListAsync();

Storing store time of day ranges where timezone matters

20 November 2025 @ 6:28 pm

I need to store some store hours that exist in different time zones and may be interacted with in different timezones through an admin portal where it will display store time and local time. I know timetz is terrible to use so I'm trying to get an idea of what the right way to do this is. It seems like one of those edge cases because time isnt meant to be used with timezones and I don't need the date of timestamp. I can store the hours in UTC in time with a timezone column or should I use timestamptz while ignoring the date, which is entirely unneeded. Here is my current expectation of the table: create table site_operation_hours( site_operation_hours_id serial primary key, site_id int not null references sites, days_id smallint not null references days, timezone_id smallint not null

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.