ReadWriteWeb.com

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

Web Apps, Web Technology Trends, Social Networking and Social Media

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: 9.4/10 (10 votes cast)

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

How do I fix this compilation error, which involves BOOST_PP_ITERATE and luabind?

2 May 2024 @ 12:50 am

I'm upgrading a project from VS2013 to VS2022. I downloaded the latest luabind and boost libraries and added them to my project. I am getting an error in a luabind source file that is related to a boost facility that I haven't worked with before, and it has left me really scratching my head. namespace luabind { namespace operators { #define BOOST_PP_ITERATION_PARAMS_1 (3, \ (0, LUABIND_MAX_ARITY, <luabind/detail/call_operator_iterate.hpp>)) #include BOOST_PP_ITERATE() }} // namespace luabind::operators The above code produces these two errors: Error C2006 '#include': expected "FILENAME" or <FILENAME> Error C1083 Cannot open include file: '': No such file or directory I bet it is something simple, but I'm hoping someone out there has run into this before and can give me a hand.

Only do this action once in a for loop

2 May 2024 @ 12:50 am

I need to do this action once under certain conditions in a for loop to stop duplicates appearing in the checkboxes. Theoretically, this should work I believe but when the conditions are met for this if statement (cycles == 1 & len(tasks) > 1) it skips over it to the else statement anyway which really confuses me. I have been trying to debug this with breakpoints but I can't figure it out. def addToList(): currentListInput = listInput.get() if(len(currentListInput) >= 1): tasks.append(currentListInput) messagebox.showinfo('', 'Added to list!') listInput.delete(0, 'end') print(tasks) cycles = 0 for x in range(len(tasks)): cycles += 1 print(len(tasks)) if cycles == 1 & len(tasks) > 1: checkList.destroy print(cycles) else: print(cycles) checkList = Checkbutton(viewTab,text=tasks[x])

Is there a menu bar widget in Qt Design Studio?

2 May 2024 @ 12:49 am

I just installed Qt Creator and Qt Design Studio today and I can't, for the life of me, find a widget for a menu bar in Qt Design Studio. I've used Qt before and I know there's a menu bar widget in Qt. The vast majority of search results are about Qt Creator, and the ones referring to Design Studio aren't helpful either. Is this just an artifact of many "modern" applications being streamlined and not having menu bars, or am I missing something here? Any help is appreciated, thanks!

Automation Testing in Gmail OTP Code Verification using Cypress

2 May 2024 @ 12:49 am

everyone! I want to automate Gmail OTP verification password using Cypress Automation. I've tried Mailslurp and Mailosour for testing, but they don't seem to work for going through Gmail's OTP verification process. Do you have any other references or suggestions to consider regarding this issue? Thank you!

Why do we need smaller integer types in java, if it's eventually will be type casted to int?

2 May 2024 @ 12:46 am

According to the one of the type casting rules in Java: If an expression only has integer literals and/or variables up to the type int, inclusive, then the result of the expression will be int. In other words, even if the expression does not have variables of the type int, the result of the expression will be int anyway. If byte/short data types are type casted to int. What is the point of using them? I tried to google this question. But because of my bad english, I couldn't find an answer.

Cython hello world returns segmentation fault

2 May 2024 @ 12:45 am

I'm trying to use the .so file generated by cython in my cpp file but it gives me a segmentation fault error. So, I have this code into a test.pyx file: #distutils: language=c++ #cython: language_level=3 cdef public void teste(): print("helloooooo") I'm compiling using this setup.py file: from setuptools import setup, Extension from Cython.Build import cythonize import numpy ext_modules = [ Extension('teste', sources=['teste.pyx'], language='c++', # Se você estiver usando C++ include_dirs=[numpy.get_include()] # Se seu código usar numpy ) ] setup( ext_modules=cythonize(ext_modules) ) The command I'm using is: python3 setup.py build_ext --inplace And it generates a .so file. Right, I have a c++ project which I would like to use to run this .so lib, so in my cmake file I have these lines to properly link the library:

how to make login page as first page to display with angular

2 May 2024 @ 12:45 am

hello I want the login page to display first ,and in this login page i don t get the header and side bar this is the app comp html app-userheader class="app-header"/app-userheader app-sidebar class="sidebar" /app-sidebar router-outlet /router-outlet enter image description herehere what i mean about login page without header and side bar .any help please

IncorrectCellLabel: (1, 0) after using d2g.upload()

2 May 2024 @ 12:43 am

any code i tright gives me same error for example: df_reset = df.reset_index(drop=True, inplace=True) d2g.upload(df_reset, table_name, sheet_name, credentials=credentials, row_names=False) Or this d2g.upload(df,table_name,sheet_name, credentials=credentials,start_cell='A1') im always getting same error: IncorrectCellLabel: (1, 0) How to solve it? Im trying to upload my df to Google SpreadSheets. My code can makes new spreadsheet and worksheet so my Api works correct. But the df data is not loaded into the table couse of error IncorrectCellLabel: (1, 0)/

C# How to overcome Interface Nullability for getters

2 May 2024 @ 12:41 am

Given: //Common interface for objects that may have an Id value Interface IMaybeHasId { public Int? Id {get;} //Note this is a GET only } //Object A never has an Id, this code works fine Class ObjectA : IMaybeHasId { Int? Id => null; } //Object B always has an Id //This code will not work as Id here is Int not Int? Class ObjectB : IMaybeHasId { public Int Id => 10; } I need this because when my code works with a pure reference to Object B The code can expect that Id is always available. When working with a pure reference to Object A, the Id may not be available. But I want to place them into a common collection ie List() When working with the items in the list its ok to worry about Id possible being null as per the interface. Ie we would have an object reference via the interface contract where Id is Int? Totally fine. The compiler will stop the above code from compiling

Right syntax of a constructor of a class in php 8.3

2 May 2024 @ 12:40 am

I would like to know if this syntax is correct in php8.3 : class cpm { // Constructor gets initiated with userid function cpm($user,$date="d.m.Y - H:i") { // defining the given userid to the classuserid $this->userid = $user; // Define that date_format $this->dateformat = $date; //we initiate with new messages //$this->getmessages(0); //we get the email $this->useremail = $this->getemail($this->userid); //printf("email es : %s\n", $useremail); //we get the possible receivers; $this->getMessageReceivers(); } ... I think it isn't, because when I pass the parameters: $pm = new cpm(1010); // 1010 is just an example of user id it turns out that that $this->userid is not receiving the value 1010 I am expecting that $this->userid equals 1010.

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

Web Accessibility in the 2024 Presidential Campaigns

30 April 2024 @ 7:10 pm

There’s nothing quite like a presidential campaign year to gin up comparisons between rivals on a seemingly endless inventory of attributes, whether it’s their condiment preference, choice in footwear, or agility in ascending a set of stairs. Unable to resist the temptation to pile on to the bandwagon, we here at WebAIM would like to […]

Screen Reader User Survey #10 Results

22 February 2024 @ 9:27 pm

The results of WebAIM’s 10th Screen Reader User Survey are now available. This survey was conducted in December 2023 and January 2024 and had 1539 respondents. Supported by BrowserStack Support for this research is funded in part by a donation from Here are some of the notable items from this survey: We hope the survey […]

WebAIM and BrowserStack: Allies for Digital Accessibility Excellence

19 January 2024 @ 4:49 pm

WebAIM is thrilled to announce a strategic collaboration with BrowserStack, which shares our objective of creating an accessible digital world. WebAIM + BrowserStack = A shared vision for accessibility Late last year WebAIM Director Jared Smith sat down with the co-founders of BrowserStack to discuss our shared vision for inclusion and digital accessibility testing. He […]

An Evolution in Microsoft Office Accessibility

31 October 2023 @ 8:35 pm

In the early years of Microsoft Office, support for screen reader users was limited, and in most cases required third-party software and workarounds. In Office 2007, the Ribbon interface was introduced. This “Fluent UI” was a boon to productivity for some users, but it initially posed significant challenges for screen reader users. To its credit, […]

WebAIM’s Response to ADA NPRM

4 October 2023 @ 7:23 pm

In August 2023, the U.S. Department of Justice issued a Notice of Proposed Rulemaking soliciting feedback on its plans to define requirements and technical standards for making the web and mobile services, programs, and activities offered by State and local Government entities accessible to individuals with disabilities. The notice poses 67 questions regarding the implementation […]

Four Reasons to Give WCAG AAA a Second Look

29 September 2023 @ 2:21 pm

Remediating a website’s accessibility barriers can be a daunting effort. As WebAIM’s evaluation lead, I’ve worked with scores of companies, nonprofits, universities, and school districts to help them close existing accessibility gaps and avoid creating new ones. Naturally, one of the first questions a site owner asks is what they need to do. The answer […]

Decoding WCAG: “Alternative for Time-based Media” and “Media Alternative for Text”

31 August 2023 @ 6:23 pm

WCAG terms often come in pairs There are several places in Web Content Accessibility Guidelines (WCAG) where two terms are commonly used together–label/name, contrast/color, change of context/content, and bounding box/perimeter are examples. While these pairs may share some properties, understanding the differences between the terms in each pair is essential to understanding the requirements of […]

Top Tips from a Web Accessibility Evaluator at WebAIM

26 June 2023 @ 1:06 pm

Introduction I’ve been evaluating websites for accessibility with WebAIM for nearly two years. Evaluating a website can be a daunting task, as there are many components to evaluate: images, color, page structure, and more. Other important aspects to test include keyboard navigation, reflow, and screen reader compatibility. So, where should you begin? Here are a […]

A New, Exciting Era for WebAIM

30 May 2023 @ 8:00 pm

Cyndi’s Friends and Colleagues Virtual Gathering As we recognize Cyndi for her career and vast contributions to the web accessibility field, we invite friends and colleagues to join Cyndi for a virtual gathering to share their best wishes and memories. This Zoom meeting will be held June 22nd at 3pm US Eastern Time. If you’d […]

Captioning and Sign Language Interpretation in Zoom: Features and Pitfalls

21 December 2022 @ 8:39 pm

Introduction In the past couple of months, Zoom has made significant improvements to their support for captions and sign language interpreters. Automated captions are now available by default (without needing to be enabled by the host) in multiple languages and with more intuitive controls. Speaker identification within captions is scheduled to be added soon. Sign […]