usability

How do you control what monitor your application opens on?

社会主义新天地 提交于 2019-12-20 10:10:51
问题 As a two-monitor user at work, I've noticed that applications behave differently with regards to what monitor they open on (primary or secondary monitor, the last monitor the application opened on, and so on). To be honest, some applications annoy me because I want them to open on my primary monitor and I'll move them to my secondary if I want them there. However, these applications are done and out of my control, so I want to ask about my own applications that might be run by people using

H1 in article page - site title or article title?

心不动则不痛 提交于 2019-12-20 09:21:44
问题 Within an article-oriented page (such as a blog post), the <h1> element (level 1 heading) is commonly used to markup either: the blog title (i.e. the often-large site title at the top of the page, not to the <title> element), or the article title What is the best choice and why? To the site owner, who may want to shout out to the world the name of their site/blog, using a level 1 heading around the site title might seem to make sense. From the perspective of what you are trying to communicate

Eclipse's Ctrl+click in Visual Studio?

半世苍凉 提交于 2019-12-20 08:21:10
问题 After working for a few days with Eclipse Java I totally got addicted to pressing Ctrl and clicking on an identifier to go to its definition. Since then I've been looking for a way to achieve this in Visual Studio as well. I realize VS has right click, Go to definition, and that F12 does the same. I also realize that Visual Assist does something similar with Alt + G . Yet none of these are as perfect as Ctrl + click. I've actually tried my luck for a few hours trying to write a VS plugin to

POS UI design & development: what should be included & avoided? [closed]

空扰寡人 提交于 2019-12-20 08:07:37
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . I'm having to design & develop UI for a Point of Sale (POS) system. There are obvious features that need to be included, like product selection & quantity, payment method, tender amount, user login (as many users will use one terminal), etc. My question is related more towards

Human-readable, current time sensitive date and time formatting in PHP

匆匆过客 提交于 2019-12-19 10:30:35
问题 Is there a painless way to convert unix timestamps, MySQL timestamps, MySQL datetimes (or any other standard date and time format) into strings in the following form: Today, 6:00pm Tomorrow, 12:30pm Wednesday, 4:00pm Next friday, 11:00am I'm not sure what to call these - I guess conversational-style, current time sensitive date formats? 回答1: As best I can tell, there is no native function for this. I have created (the start of) a function to do what you are wanting. function timeToString(

Human-readable, current time sensitive date and time formatting in PHP

谁说我不能喝 提交于 2019-12-19 10:30:03
问题 Is there a painless way to convert unix timestamps, MySQL timestamps, MySQL datetimes (or any other standard date and time format) into strings in the following form: Today, 6:00pm Tomorrow, 12:30pm Wednesday, 4:00pm Next friday, 11:00am I'm not sure what to call these - I guess conversational-style, current time sensitive date formats? 回答1: As best I can tell, there is no native function for this. I have created (the start of) a function to do what you are wanting. function timeToString(

Alternatives for reopening buffers from last session in VIM?

感情迁移 提交于 2019-12-19 09:57:16
问题 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

Alternatives for reopening buffers from last session in VIM?

会有一股神秘感。 提交于 2019-12-19 09:57:01
问题 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

Is there an Unobtrusive Captcha for web forms?

﹥>﹥吖頭↗ 提交于 2019-12-18 14:10:44
问题 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. 回答1: 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 回答2: Try

document.write() vs inserting DOM nodes: preserve form information?

十年热恋 提交于 2019-12-18 06:16:07
问题 Consider two web pages with the following in their body respectively: <body> <script> document.writeln('<textarea></textarea>') </script> </body> and <body> <script> var t = document.createElement('textarea'); document.body.appendChild(t); </script> </body> (think of them as part of something larger, where the textareas have to be generated from JavaScript and can't be hard-coded into the page). They both produce the same output, but the former is considered "bad", while the latter is