Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Philippe Mori

@Philippe Mori
About
Posts
183
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Throwing exception
    P Philippe Mori

    Well, at first it seems that a simple if statement would do… However, if the condition should not occurs, it might be easier to find the problem during debugging if the debugger stop on exception or write something to the output log. But let assume that some other code might also throw an Exception and if that case, you want to execute the code in catch clause too, then it might be acceptable after all if that code should not be executed if no exception are thrown. As shown in the above example, all code can be removed as nothing else is done. In real code, it would not be the case! And the **cleanest** code to write directly depends on what missing code do and if some other code could throw or not.

    Philippe Mori

    The Weird and The Wonderful

  • C# Book Recommendation
    P Philippe Mori

    We are in 2016... 1900 is 116 years ago meaning that you are 128 years old if you start programming at 12.

    Philippe Mori

    The Lounge csharp question learning

  • Parse 17,000 text files and insert into database
    P Philippe Mori

    - Your code is prone to SQL injection (if the source file can be modified). - You might want to process files in order. - Your code do not validate that the data is the expected one. - There are a bunch of hard-coded constant. If you do it one, then it does not matters much but it would also do not matters much that it would take about one hour to process the file. One thing that would have a significant impact on the performance is to keep the connection opened for the whole importation if it is not already done.

    Philippe Mori

    C# database question csharp json tutorial

  • Breaking News: Windows 8 / 10 calculator removes Natural Log (ln) button
    P Philippe Mori

    It is not vey much different that many hardware calculators that have a SHIFT button...

    Philippe Mori

    The Lounge android com question announcement learning

  • Microsoft did it again.
    P Philippe Mori

    Then report the problem to Microsoft... They probably delete the file to stop some attacks that target that file...

    Philippe Mori

    The Lounge sysadmin help database sql-server business

  • VisualStudio Live Event: No mention of UWA/UWP?
    P Philippe Mori

    If you click to get details, then it would mention Universal Windows apps and not WinRT...

    Philippe Mori

    The Lounge csharp visual-studio com html android

  • Evolution of the User interface
    P Philippe Mori

    In Office and in File Explorer, it works quite well. Often, you select the desired tab for the task you are doing and all useful tools are one-click accessible. And if you need to change the tab, you have 2 clicks as with older menu system. And usually, you can collapse the ribbon if you don't use it much! In File explorer, I really like that the show/hide extension is far more reachable than it used to be. But it does not works well with programs that should be minimalist (a single toolbar would do) or program that are too complex like an IDE...

    Philippe Mori

    The Lounge design question

  • What is the possible logic here?
    P Philippe Mori

    Most site use an email to identify the user so obviously, if you make a mistake, you won't receive the confirmation mail and it would create an orphan account... Obviously, one should do much less typing error on its own name... and he might be able to update it afterward. Even if it is possible to show the password, you would generally have 2 password box anyway. And you often have a confirmation for the email which is always shown.

    Philippe Mori

    The Lounge question design collaboration

  • What is the possible logic here?
    P Philippe Mori

    How a developer who does not use a password manager would have known of such issues. I am a developer and I don't trust much passwords manager so I never used one... (except the one in Windows for network drives) or individual site "remember my password" on some sites. I would never have though that a password manager would have rely on paste... In fact, copy and paste a password has not been allowed in many cases for so long that I haven't tried to copy a password into the confirm box since many years... if I have ever tried it. And obviously, I would have never tried the effect of pasting a password on web site I have developed. It does whatever the browser does by default for password field and I am not even sure of what is the default.

    Philippe Mori

    The Lounge question design collaboration

  • What is the possible logic here?
    P Philippe Mori

    Now I understand why the spelling corrector was not accepting fullproof... English is not my first language so I was thinking "full" like completly proof instead of idiot proof...

    Philippe Mori

    The Lounge question design collaboration

  • What is the possible logic here?
    P Philippe Mori

    Password are always hidden on Windows. Newer UI usually have a way to show password. Password being visible is only useful as long as you read what you type... The problem is that often you thing you have written right so you won't even bother to read what you have wrote. In my opinion UI like the iPad where one see the password while writing it (last character) make it a bit easier for someone to see your password that to see which letters you type...

    Philippe Mori

    The Lounge question design collaboration

  • What is the possible logic here?
    P Philippe Mori

    For those who trust password managers, then enabling Paste is a good compromise... User is still unable to copy a mistyped password in the first box... When filling a form, often I mistype my password in one box so they mismatch so I really find that the idea is useful...

    Philippe Mori

    The Lounge question design collaboration

  • What is the possible logic here?
    P Philippe Mori

    Well, at least it should not be possible to copy or cut a password... Only pasting them might be a good compromise for those who trust passwords managers... That way, you have the main advantage of making harder to users to manually copy one field to another while filling the form (those preventing mistyping to be permanent) while allowing pasting from other sources...

    Philippe Mori

    The Lounge question design collaboration

  • What is the possible logic here?
    P Philippe Mori

    Well, say that you find a password.txt file on someone else computer and it has about 10 passwords in it... It is not hard to imagine that some peoples might be tempted to try to copy and paste those passwords in some site... Thus, there are way that improve security for computer power users that are not real hacker or not even programmers...

    Philippe Mori

    The Lounge question design collaboration

  • What is the possible logic here?
    P Philippe Mori

    There is no point to have a Confirm password box if you can copy and paste the main password box... as an error in the first one would be duplicated in the second one. The purpose of the Confirm box is to ensure that you are able to write the same thing twice which is really a good thing as if you are not able to do that when you register, then how hard would it be to type the password when you login the next time?

    Philippe Mori

    The Lounge question design collaboration

  • What is the possible logic here?
    P Philippe Mori

    Obviously, if you want user to define a new password for a web site, he should not be able to reuse an existing password, so it really does make sense to prevent pasting password. And this is even more obvious for a confirm password box. If the user mistype its first password, the confirm box help ensure that he has entered the same password twice reducing the chance of an error. Well, in that case, a site should probably disable all copy operations : copy, cut and paste. This is not 100% full proof as it would fails if wrong keyboard is selected or if caps lock is active... If it is a pain to type a password twice, then it would be a pain in the future to retype that password whenever you have to. And for discouraging people to select insecure password, usually there is a minimal length (often 8 characters) and rules like having at least one digit, one characters, one uppercase character and a symbol... Thus, if fact, I would that the problem is that you don't really understand security issues as otherwise, you would not complain about having to type a password twice... Well, if you need to fill a form with many fields (like 10 fields or more) and the validation fails (say the site want phone numbers using 000-111-2222 format and you used (000) 111-2222 instead, or haven't filled a required field), then having to retype the password then begin to be somewhat painful... Although it is possible to make improvements to make the site more user friendly, you don't always want to take much more time to develop a page (or multiple pages) for marginal benefit.

    Philippe Mori

    The Lounge question design collaboration

  • Five surprises in the latest Windows 10 Insider build and what they mean
    P Philippe Mori

    Surprise #1 : Edge does not work properly anymore Surprise #2 : Link to Internet Explorer in start Menu Surprise #3 : iTunes does not seems to automatically open when connecting USB cable.

    Philippe Mori

    The Insider News com announcement

  • VS has broken the Google
    P Philippe Mori

    They are far more chance that the problem is in your own code... An object seems to be disposed twice! Maybe your connection? Maybe your code does not properly handle some events that occurs in a way you did not expect?

    Philippe Mori

    The Lounge

  • Shouldnt this work?
    P Philippe Mori

    I guess you need to also remove items that do not contains the selected string.

    Philippe Mori

    C# question

  • Form disappearing
    P Philippe Mori

    Then where is the code to display the form? It won't appears magically... (except for the initial form which is initialized by the application).

    Philippe Mori

    C# graphics help workspace
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups