How to represent a numeric input that is limited to increments of some number

I have a requirement for a form that restricts a field value to fixed increments of 50 and I’m not sure what would be the most elegant way to represent that constraint in a meaningful fashion.

The simplest solution that comes to mind is a jQuery validate method combined with some server-side logic that is tied to a normal text field input. Other alternatives that come to mind is a number picker of some sort (I don’t know of one currently) that advances in set increments or a drop-down list with a fixed number of values.

Any other ideas? What would feel most intuitive to you?

Adf.ly & x19 Limited is a Scam, Steal My Money, WARNING!

Hello mates,

Please not buy none, not use Adfly, this business or website is a Scam, very steal!!!!

I pay 50 USD. For Web Site Hosting Clear. And i waiting 2 week and the adf.ly not active my Campaign none. Send 5 tickets, in the 2 week's not reply, none!!!

I register a forum account on http://forum.adf.ly/

And to send a claim.

Telling the simple truth.

And provide proof.

banned:

Information
You have been permanently banned from this board.

Please…

Adf.ly & x19 Limited is a Scam, Steal My Money, WARNING!

Limited selection of ‘Person or Group’ pickable from mobile browser

I have a Sharepoint List with a “Person or Group” column (required, no multi-select, people only, all-users) and a default view.

On the desktop browser the name picker allows typing any name, with ‘Ctrl-k’ completion:

Screenshot from desktop browser

However, on a mobile (iOS Safari) the picker is displayed as a drop down list, with only a very limited number of name choices:

Screenshot from Safari browser

Question is, how can mobile users choose from the full selection of names? It’s only showing names up to “Andrew” but there are many more names in the org.

Thanks in advance!

Alt+Tab – want it limited to current monitor in Ubuntu 19.04

I generally use a quick flick of the mouse to switch focus between windows on different monitors. I generally keep the same application on a particular monitor so know where it ‘lives’. I usually use the Keyboard Alt+Tab to cycle between windows that are covered by others, so from that POV it’s quite confusing when Alt-Tab causes windows on the other window to the one I’m looking at gets cycled.

Is there any way to limit the list of Alt+Tab windows to only the current monitor that has focus?

I’m on gnome not compiz. Ubuntu 19.04

Limited offer get 500 backlinks with in hours. Limited prize for $6

500 Directory submission with in hoursHi First I will visit your site and collect your site information such as: After work done I will send you complete report with screenshots and submitted link. BENEFITS OF MY SERVICE I am very faster.500 Free Directory Backlinks with in hoursHigh PR Directories100% Real and active link 100% Satisfaction guaranteeGet more traffic or costumers Please contact me if you any question or ODDER NOW.

by: arifmuhd
Created: —
Category: Link Building
Viewed: 204


Limited Time- 100 Forum Posting Backlinks from High DA-40+ Domains-Skyrocket your Google RANKING for $50

Top Quality Forum Posting Backlinks Do you wish niche relevant high-quality prosecuting attorney and PA80+ Forum posting backlinks? therefore please contact with Maine. I will provide you with your any niche relevant topic post reply together with your links. I’m a frenzied and diligent skilled forum posting professional & All Off-page SEO link building service supplier. I will get real targeted organic traffic for your website terribly simply as a result of I’m an authorized forum backlink poster. I’m providing All links dofollow and manually topic post reply. All website completely different and high traffic. Forum posting link is incredibly abundant useful to rank your web site in the computer program and another vital SEO backlink technique that interacts with several users on the web. ⭐️⭐️ Knock me anytime about any SEO related issue.⭐️⭐️

by: MSRaihan
Created: —
Category: Forum Posts
Viewed: 121


How to practices user centered design with no / limited access to user?

We have an interesting project which is a prototype for a hypothetical domain specific userbase which does not currently exist.

I’d like to use good design practices and wish to adapt our existing user driven approaches to the absence of actual users.

A few things seems like actual users could be replaced with suitably researched / estimated persona’s but certain other techniques like validation of design decisions and gathering metrics seem near impossible.

Does anyone have any suggestions for this kind of situation?

Heavily limited premature compiler translates text into excecutable python code

My goal is to write a smaller compiler-like program, which allows me to draw geometric shapes into a 3D Diagram. There is no need for turing-completeness and the program should only be viewed as an exercise and not as a program used by anybody. However, I want the program to have a compiler-like nature.

At the moment the user provides a text file like this:

(1,45,6) (7,8,5) (10,77,88) (99999,1,1) (5,7,6) (1,2,3) (4,5,6) 

These points will be translated into a python file, which will later display all points in a 3D-Diagram when executed. For the moment, I just want it to print out a list of points when executed.

–> [(1, 45, 6), (7, 8, 5), (10, 77, 88), (99999, 1, 1), (5, 7, 6), (1, 2, 3), (4, 5, 6)]

Therefore, I build the following code using C (just to improve C-skills, I am aware that writing it in python would be more applicable)

#include <stdio.h> #include <string.h> #include <stdlib.h>  size_t seek(char* buffer, size_t start, const size_t end, char to_be_seeked); int translateString2Number(char* c, long length); int power(int base, int exponent);  int main(int argc, const char * argv[]) {     if(argc <= 2)return -1;      char file_name[100];     strncpy(file_name, argv[1], 100);     FILE* fp = fopen(file_name, "read");     if(!fp)return -1;      fseek(fp, 0, SEEK_END);     const size_t elements_num = ftell(fp);     rewind(fp);      remove("translation.py");     FILE * python_file_pointer = fopen("translation.py", "ab+");     fprintf(python_file_pointer, "list = []\n");      //Do parsing     char* buffer = malloc(sizeof(char) * elements_num);     fread(buffer, elements_num, 1, fp);      size_t start = 0;     while(start < elements_num){         if(buffer[start] != '(') return -1;         size_t end = seek(buffer, start, elements_num, ')');         if(end == -1) return -1;          size_t comma_pos[2];         comma_pos[0] = seek(buffer, start, end, ',');         comma_pos[1] = seek(buffer, comma_pos[0]+1, end, ',');         if(comma_pos[0] == -1 || comma_pos[1] == -1 )return -1;          char first_number_size = comma_pos[0]-start-1;         char first_number[first_number_size];         for(size_t i = 0; i < first_number_size; i++){             first_number[i] = buffer[start+1+i];         }          char second_number_size = comma_pos[1]-comma_pos[0]-1;         char second_number[second_number_size];         for(size_t i = 0; i < second_number_size; i++){             second_number[i] = buffer[comma_pos[0]+1+i];         }          char third_number_size = end - comma_pos[1]-1;         char third_number[third_number_size];         for(size_t i = 0; i < third_number_size; i++){             third_number[i] = buffer[comma_pos[1]+1+i];         }          if( (first_number_size < 0) || second_number_size < 0|| third_number_size < 0){             return -1;         }         if( (first_number_size > 11) || second_number_size > 11|| third_number_size > 11){ //Avoid potential overflow              return -1;         }          int first = translateString2Number(first_number, first_number_size);         int second = translateString2Number(second_number, second_number_size);         int third = translateString2Number(third_number, third_number_size);          fprintf(python_file_pointer, "list.append((%d,%d,%d))\n", first,second,third);         const size_t value = seek(buffer, end, elements_num, '\n');         if(value == -1)break;         start = value+1;     }      fprintf(python_file_pointer, "print(list)\n");     fclose(python_file_pointer);     system("python3 translation.py");     fclose(fp);  }  int power(int base, int exponent){     int result = 1;     for(int i = 0; i < exponent; i++){         result *= base;     }     return result; }  int translateString2Number(char* c, long length){     int res = 0;     for(int i = 0; i < length; i++){         res += (c[i]-'0')*power(10, (int)(length-i-1));         //printf("\n%d", res);     }     return res; } size_t seek(char* buffer, size_t start, const size_t end, char to_be_seeked){      do{         if(buffer[start] == to_be_seeked)return start;     } while(++start < end);      return -1; }