usability

Alternatives for reopening buffers from last session in VIM?

天大地大妈咪最大 提交于 2019-12-01 09:22:44
I know :mksession , and I use it, but sometimes, it's too much, it saves too much state, which is a problem, for example, when you update some plugins, and want to close/open VIM to start it in a fresh state, except you want to preserve the state for the current opened files, solely. Sometimes what :mksession saves conflicts with the new updated configuration, prevents from loading parts of it, etc. So, what are good alternatives (maybe including plugins) for reopening VIM and loading last buffer list, without that much extra state from :mksession ? I guess I figured what I wanted out going

Regex for username that allows numbers, letters and spaces

£可爱£侵袭症+ 提交于 2019-12-01 06:56:19
问题 I'm looking for some regex code that I can use to check for a valid username. I would like for the username to have letters (both upper case and lower case), numbers, spaces, underscores, dashes and dots, but the username must start and end with either a letter or number. Ideally, it should also not allow for any of the special characters listed above to be repeated more than once in succession, i.e. they can have as many spaces/dots/dashes/underscores as they want, but there must be at least

What are usability, accessibility, screen-reader or any other development, functionality, cross browser issue with iframe?

萝らか妹 提交于 2019-12-01 01:14:02
问题 What are the usability, accessibility, screen-reader, or any other development, functionality, or cross browser issues with <iframe> ? Is there any alternative for <iframe> ? And are there any JavaScript/jQuery or server-side techniques which can decrease the usability, accessibility, or screen-reader issues with <iframe> ? Why has the W3C not included <iframe> in XHTML Strict, while HTML 5 supports <iframe> ? update: I found some good thoughts here also : http://uxexchange.com/questions/1817

Best solution for a drop down list with over 300 rows?

☆樱花仙子☆ 提交于 2019-12-01 00:18:24
I have this problem, in a form I have a list of customers that could be more than 300 and, for me, it isn't very simple find over there because I should scroll all results for find a single row! On the old technology I had a button that opened a pop up where I should research which customer I should select and than I used a javascript for recording the selection on the first form, but It could be a good solution with new technology! How can I resolve this doubt? What is the best solution for big <select> tag? BalusC You basically want an autocomplete dropdown list. This does not exist in the

Why is debugging in eclipse/pydev so slow for my python program?

懵懂的女人 提交于 2019-11-30 15:07:48
问题 I have a relatively simple (no classes) python 2.7 program. The first thing the program does is read an sqlite dbase into a dictionary. The database is large, but not huge, around 90Meg on disk. It takes about 20 seconds to read in. After reading in the database I initialize some variables, e.g. localMax = 0 localMin = 0 firstTime = True When I debug this program in Eclipse-3.7.0/pydev - even these simple lines - each single-step in the debugger eats up 100% of a core, and takes between 5 and

Error Message Text - Best Practices

谁说我不能喝 提交于 2019-11-30 14:50:27
问题 We are changing some of the text for our old, badly written error messages. What are some resources for best practices on writing good error messages (specifically for Windows XP/Vista). 回答1: In terms of wording your error messages, I recommend referring to the following style guides for Windows applications: Windows user experience guidelines, and specifically the section on error messages here. Microsoft Manual of Style 回答2: The ultimate best practice is to prevent the user from causing

Why is debugging in eclipse/pydev so slow for my python program?

白昼怎懂夜的黑 提交于 2019-11-30 13:40:18
I have a relatively simple (no classes) python 2.7 program. The first thing the program does is read an sqlite dbase into a dictionary. The database is large, but not huge, around 90Meg on disk. It takes about 20 seconds to read in. After reading in the database I initialize some variables, e.g. localMax = 0 localMin = 0 firstTime = True When I debug this program in Eclipse-3.7.0/pydev - even these simple lines - each single-step in the debugger eats up 100% of a core, and takes between 5 and 10 seconds. I can see the python process goes to 100% cpu for 10 seconds. Single-step... wait 10

How to default the source folder for new JUnit tests in Eclipse?

对着背影说爱祢 提交于 2019-11-30 11:44:40
问题 Most of our Eclipse projects have multiple source folders, for example: src/main/java src/test/java When you right-click on a class and choose New JUnit Test, the default source folder for the new test is "src/main/java" (presumably the first source folder listed in the project properties). Is there any way to change the default source folder for new JUnit tests, so that when I do the above action, the new test will be created in say the "src/test/java" folder by default? 回答1: I use moreUnit,

Why WCAG made 3 level “A”, “AA” and “AAA”?

徘徊边缘 提交于 2019-11-30 11:37:50
问题 What is the purpose of making 3 priority level by WCAG? is it like? If client not paying extra or if we don't have much time then go for A If client paying then or if we have time to make site compatible go for at least AA If client paying and needed according to govt. rules then go for AAA If we are making site then which level we should we try to achieve, or we should do only on client request? Although i found these definitions on this site but these are confusing for me • Priority 1: For

Is there an Unobtrusive Captcha for web forms?

本小妞迷上赌 提交于 2019-11-30 11:08:35
What is the best unobtrusive CAPTCHA for web forms? One that does not involve a UI, rather a non-UI Turing test. I have seen a simple example of a non UI CAPTCHA like the Nobot control from Microsoft. I am looking for a CAPTCHA that does not ask the user any question in any form. No riddles, no what's in this image. I think you might be alluding to an "invisible" captcha. Check out the Subkismet project for an invisible captcha implementation. http://www.codeplex.com/subkismet Try akismet from wp guys I think asking the user simple questions like: "How many legs does a dog have?" Would be much