Users have problems finding elements Once again I have to turn to these boards for help :) We are implementing a web based RIA where users need to fill in a form and build a list of Products on it. The list of products is build by selecting desired products from the big products database. Each Product is characterized by only two attributes: Code and Name.   ATM we have a "type ahead" field which is used for Products' selection.  The field works similarly to the google search, i.e. users type fragment of the Product name or code and app suggests in a drop down the products which contain said fragment. For performance / screen real estate reasons the number of entries displayed in the drop down is limited to about 20.  But we found out that users have problems building the products lists as they need to know beforehand pretty well the products' names / codes (or fragments thereof).  Additionally, at the moment the type ahead does not support fuzzy / wildcard matching so users cannot make any misspellings when typing.  The first improvement proposed is to implement the wildcard / fuzzy search on the type ahead which would solve the issue of misspellings. But it would not solve the issue of users not knowing what they are looking for...   So the second improvement which was proposed was to implement a multi selection modal lookup of products, which would allow the users to scroll up / down and do a quick narrowing searches. As the products have only code / name, the product list would look like a very long list of phone contacts. The problem is that the large number of products (over 1.000) makes it hard to fit it on several manageable screens. Also, performance of such list might be a concern in web environment.  The question I have is: do you know of better ways of displaying / lookups on large data sets than long vertical scrollable lists?
Displaying and/or searching across thousands of contacts? The Need  Our application has a chat feature that allows our users to chat with other users within their database.   However, we're adding a feature that allows clients to share data between multiple databases as an "Enterprise" configuration, and we've been asked to update the design of the chat feature to allow users to chat with other users within any of those databases.   We've looked at the numbers of possible users in these scenarios, and the number of chat users in these shared database environments can be as many as 5,000.   Users need to be able find people they need to chat with out of these thousands of contacts. However, up til now, we've had a list of contacts the users can browse. Since that is a user expectation, we were hoping to still maintain a browse-able list of contacts. We have ruled out trying to display a list of 5,000 contacts, as this doesn't seem to be anywhere close to useful or usable.   We've come up with three approaches to solve the problem:  Option One  Show a list of contacts from the local database that user's can browse. Have a second tab that allows users to search the "Full Directory", returning results from multiple databases.     Pros:   Allows us to show a browse-able list of relevant contacts  Clearly indicates to users that another source of chat contacts are available   Cons:   Search would be limited to the current tab, meaning users would have to be in the right tab to return the right result Adds a possible source of user confusion: whats the difference between "contacts" and the "full directory"? Adds another tab to what should be a simple chat list     Option Two  Show a list of contacts from the user's local database, but if they search for a contact, include results from other databases as well.     Pros:   Maintains a list of contacts the user can browse Avoids adding adding another tab One search field searches all sources   Cons:   Searching a finite contact list and returning results that weren't in the contact list may defy user's mental model of how the search will work. Not clear that another source of contacts exist. May need to add explanatory text that says "Search to see contacts from the full directory".      Option Three  Add a dropdown that allows a user to select a what to search in: the local database, or the full directory.     Pros:    No additional tab required Indicates to users that another source of chat contacts are available, though not as clearly as option 1   Cons:    Search still isn't universal: the right search category must be selected to return the right result Users may not notice the dropdown or understand intuitively what its function is. May require explanatory text in search results, reminding the user they can expand the search to the full directory     Thoughts?  Right now I'm leaning towards option two, but is there another option I'm not considering here? Is there another alternative worth considering?   Thanks!
How does Incense work? AJAX select returns 'illegal choice detected' Create a settings form for a module in Drupal 8 - when a user selects a View from a list, the drop down under it should populate with the displays in that view.  While the form updates the option list for the user, it also throws an error message on the screen "Illegal choice has been detected".  Here is the code (it doesn't paste very well):    getViewDisplays is the ajax callback that is populating the options.  Some people who have posted about this around the internet say to set #validated on the select field to TRUE, though, that doesn't necessarily feel right. I still want to validate the submission to do some checks. Turning off and on images in figures Is it possible to prevent the contents of a figure from being rendered? I have a large book document, and to speed up compiling while working on a draft, I would like to have some way of ignoring the content of the images, but ensuring that the figure size remains.  In several cases I am using a line like:  \includegraphics[width=\linewidth]{figure.pdf}     so I do not know the actual size of the image. How do I handle the window close event in Tkinter? How do I handle the window close event (user clicking the 'X' button) in a Python Tkinter program? Can a monk make a bonus unarmed attack after using shocking grasp? I'm playing a 5e Wizard/ Monk build. My DM and I are questioning the viability of the cantrip Shocking Grasp. As a monk I can do another unarmed strike as a bonus action after I attack with a melee attack. Being a touch spell, can I punch (touch) with Shocking Grasp and then do my monk's bonus action? Punctuating a quoted question within a quoted statement I'm working on a story, and I find myself faced with something of a quandary.  Specifically, I need to know the proper style for the following:     “I have thousands of them,” the commissioner answered, “but I’ll start with ‘What do you need?’.”   Is it proper form to have both the question mark and period, or should one of them be dropped? Why Windows sets new created file's "created time" property to old time? I often need to make banner sets that consist of anywhere from 6-14 different sized banners. A lot of these banners have the same text (which I put in smart objects to work faster) and the same or different images. The placement and sizes of these elements differ according to the banner size though.  I find the process of 'copying' the content from one artboard to another to go a bit slower than I'd like it to. I can't simply copy/paste, I have to duplicate the layer and then drag it to the right artboard in the layer panel. Hoping I have closed all my folders or else I have to drag miles upwards ;)   There has to be a better way! Why can't I simply copy paste a layer anymore? I'm pretty sure this used to be the case in older versions of photoshop. float to int unexpected behaviour SElinux: allow httpd to connect to a specific port My system is running CentOS 6.4 with apache2.2.15. SElinux is enforcing and I'm trying to connect to a local instance of redis through my python/wsgi app. I get Error 13, Permission denied. I could fix this via the command:  setsebool -P httpd_can_network_connect  However, I don't exactly want httpd to be able to connect to all tcp ports. How can I specify which ports/networks httpd is allowed to connect to? If I could make a module to allow httpd to connect to port 6379 ( redis ) or any tcp on 127.0.0.1, that would be preferable. Not sure why my paranoia is so strong on this, but hey...  Anyone know? Is the set of all finite sequences of letters of Latin alphabet countable/uncountable? How to prove either? Today in Coding/Cryptography class, we were talking about basic definitions, and the professor mentioned that for a set $A=\left \{ \left. a, b, \dots, z \right \} \right.$ (the alphabet) we can define a set $A^{*}=\left \{ \left. a, ksdjf, blocks, coffee, maskdj, \dots, asdlkajsdksjfs \right \} \right.$ (words) as a set that consists of all finite sequences of the elements/letters from our $A$/alphabet. My question is, is this set $A^{*}$ countably or uncountably infinite? Does it matter how many letters there are in your alphabet? If it was, say, $A=\left \{ \left. a \right \} \right.$, then the words in $A^{*}$ would be of form $a, aa, aaa, \dots$ which, I think, would allow a bijection $\mathbb{N} \to A^{*}$ where an integer would signify the number of a's in a word. Can something analogous be done with an alphabet that consists of 26 letters (Latin alphabet), or can countability/uncountability be proved otherwise? And as mentioned before, I am wondering if the number of elements in the alphabet matters, or if all it does is change the formula for a bijection.   P.S. Now that I think of it, maybe we could biject from $\underset{n}{\underbrace{\mathbb{N}\times\mathbb{N}\times\mathbb{N}\times\dots\times\mathbb{N}}}$ to some set of words $A^{*}$ whose alphabet $A$ has $n$ elements? Thanks! Where can I find Obsidian in the Pocket Edition? I have looked everywhere for lava or obsidian in 0.7.1. I've looked all the way from top to bottom and all around, in about a 100 block diameter, but I can't find any. Where can I get some? Can anyone please help me with my problem regarding my WordPress left hand side admin menu. I want it collapsed at all times, how do I do that?  Well, I'm creating a WP Multisite so I want that menu bar to be always collapsed at all times.  Any help would be appreciated. Looking for code or if plugin exists, should be fine, too. Thanks. AngularJS leaves comments in HTML: is it possible to remove them? Integrity constraints in a relational database - should we overlook them? I’m in a permanent discussion with the developers of the company where I work because they say it is better to get rid of relationship enforcement (via FOREIGN KEY constraint definitions) in a relational database in order to speed up large queries and to gain better performance. The platform under consideration is MySQL 5.x, and no FOREIGN KEY has been set up, even some PRIMARY KEY constraints of the relevant tables are missing which, at least for me, is not reasonable. Maybe they’re right and I’m wrong, but I don’t have enough arguments to discuss about this situation. This has been the preferred approach for three years now. I’m new in this company (only one month) but, as the product “works”, there is hesitation to enhance the database; nevertheles, the first thing I noticed is one page taking 1 minute to load (yes, 60 seconds!). One of the claims behind the current state of affairs is that a “denormalized” database is faster than a normalized one, but I don’t believe that’s true. Most of the relevant queries include JOIN operations, which makes them run very, very, very slow with large amounts of data (the database contains millions of rows). Commonly, the handling of “CRUD” operations is implemented at the application program code level; for example, in order to DELETE some data FROM, let’s say, TableA:  it is necessary to first check on the fly if there is some relationship between the rows of TableA and TableB, in case that said relationship is “detected”, then the app program code won’t allow to DELETE the pertinent row(s), but if for some reason the app program code fails, then the DELETE operation will “succeed”, no matter if there is any relationship regarding the involved rows and tables.  Question Could you help me to elaborate a good, accurate and solid answer to enrich the debate?  Note: Maybe something like this has been asked (and answered) before, but I couldn’t find anything by means of Google. When I googled stomach flu, there were many questions and statements like      How do you get the stomach flu?    Or     Difference between a stomach flu and food poisoning    Or      Six facts about stomach flu   When do you use the, a or nothing? And which should I use for a sentence like "I got a stomach flu from someone" ? Can I transfer or sync purchased as well as non-purchased songs from my iPhone to my computer? Check for internet connection with Swift Re-mounting an un-mounted USB stick Is there a way to mount back a USB stick that is once ejected, without physically detaching it and then plugging it in?  It was a live-usb of Linux Mint 14 in it, if it helps. Does Metal have to be Hemalurgically charged for Ruin to control someone?