Skip to main content

Home/ Coders/ Contents contributed and discussions participated by Fabien Cadet

Contents contributed and discussions participated by Fabien Cadet

Fabien Cadet

10 Useful Usability Findings and Guidelines « Smashing Magazine - 2 views

  •  
    1. Form Labels Work Best Above The Field
    2. Users Focus On Faces
    3. Quality Of Design Is An Indicator Of Credibility
    4. Most Users Do Not Scroll
    5. Blue Is The Best Color For Links
    6. The Ideal Search Box Is 27-Characters Wide
    7. White Space Improves Comprehension
    8. Effective User Testing Doesn't Have To Be Extensive
    9. Informative Product Pages Help You Stand Out
    10. Most Users Are Blind To Advertising
Fabien Cadet

The Duct Tape Programmer - Joel on Software - 0 views

  •  
    « A 50%-good solution that people actually have solves more problems and survives longer than a 99% solution that nobody has because it's in your lab where you're endlessly polishing the damn thing. Shipping is a feature. A really important feature. Your product must have it. »
Fabien Cadet

Quirks or Standards Mode Bookmarklet - dorward.me.uk - 0 views

  •  
    « These days, many browsers can function in Standards Mode and Quirks Mode. In a nutshell, they perform an intelligence test based on the document author's choice (or lack thereof) of Doctype. If they see a "good" Doctype, they enter Standards mode and more closely follow standards, otherwise they enter Quirks and … don't. »
  •  
    These days, many browsers can function in Standards Mode and Quirks Mode. In a nutshell, they perform an intelligence test based on the document author's choice (or lack thereof) of Doctype. If they see a "good" Doctype, they enter Standards mode and more closely follow standards, otherwise they enter Quirks and … don't.
Fabien Cadet

Stop data inserting into a database twice - Stack Overflow - 0 views

  •  
    * HTTP `Location: ...´ header to redirect ; known as the Post/Redirect/Get design pattern.
    * Nonces (Number used only once) included in the page as a hidden form field (client-side) ; and server-side: Either stored in the user-session or in the database as the primary key (or at least a unique field) of the table you insert into.
    * Disable the submit button (drawbacks for the user).
    * md5 hash on the content of the submitted data.
Fabien Cadet

Dégage, sale programmeur ! « Codingly - 0 views

  •  
    This article is in french, sorry for that but I could find no relevant group to share this. Briefly it talks about how programmers (those who actually code) are perceived here in France: As guys dwelling the bottom of the hierarchy, whom only ambition *should be* to become lead progr. or better (architect, project lead, ...). i.e. programmer is not really seen as a career.
  •  
    A brief translation of the intro.: « Yes, being a programmer when you're 30+ yo in France is worst than being a 40+ yo cashier. Most of the people who spend 90% of their time programming will try to be perceived as R&D engineers, project lead, solution architect, consultant, etc.. The best, when you're a poor contractor of an "software engineering company", in mission for a banque, et that you spend you days coding, is telling people that you are Engineer in finance. »
Fabien Cadet

MIT's Introduction to Algorithms, Lectures 22 and 23: Cache Oblivious Algorithms - good... - 0 views

  • Cache-oblivious algorithms should not be confused with cache-aware algorithms. Cache-aware algorithms and data structures explicitly depend on various hardware configuration parameters, such as the cache size. Cache-oblivious algorithms do not depend on any hardware parameters.
  • An example of cache-aware (not cache-oblivious) data structure is a B-Tree that has the explicit parameter B, the size of a node. The main disadvantage of cache-aware algorithms is that they are based on the knowledge of the memory structure and size, which makes it difficult to move implementations from one architecture to another.
  •  
    « Cache-oblivious algorithms take into account something that has been ignored in all the lectures so far, particularly, the multilevel memory hierarchy of modern computers. Retrieving items from various levels of memory and cache make up a dominant factor of running time, so for speed it is crucial to minimize these costs. The main idea of cache-oblivious algorithms is to achieve optimal use of caches on all levels of a memory hierarchy without knowledge of their size. »
Fabien Cadet

WTFPL - Do What The Fuck You Want To Public License - 0 views

  •  
    There is a long ongoing battle between GPL zealots and BSD fanatics, about which license type is the most free of the two. In fact, both license types have unacceptable obnoxious clauses (such as reproducing a huge disclaimer that is written in all caps) that severely restrain our freedoms. The WTFPL can solve this problem.
Fabien Cadet

Software Engineering: Dead? @ Coding Horror - 0 views

  • The guys and gals who show up every day eager to hone their craft, who are passionate about building stuff that matters to them, and perhaps in some small way, to the rest of the world -- those are the people and projects that will ultimately succeed.
  • Everything else is just noise.
  • If you want to move your project forward, the only reliable way to do that is to cultivate a deep sense of software craftsmanship and professionalism around it.
  •  
    « I'm gradually coming to the conclusion that software engineering is an idea whose time has come and gone.

    Software development is and always will be somewhat experimental. The actual software construction isn't necessarily experimental, but its conception is. And this is where our focus ought to be. It's where our focus always ought to have been. » __ Tom DeMarco
Fabien Cadet

SitePoint HTML / CSS / Javascript Reference - 0 views

  •  
    Companion site for the "Ultimate CSS/HTML Reference" books. Comprehensive documentation.
Fabien Cadet

XRAY :: for web developers - 0 views

  •  
    XRAY is a bookmarklet for Internet Explorer 6+, and Webkit and Mozilla based browsers (including Safari, Firefox, Camino or Mozilla). Use it to see the box model for any element on any web page.
Fabien Cadet

Sonar : Code quality management platform - 0 views

  •  
    "Sonar enables to collect, analyze and report metrics on source code. Sonar not only offers consolidated reporting on and across projects throughout time, but it becomes the central place to manage code quality."
Fabien Cadet

Why Ugly Teams Win - Scott Berkun's Essay from `Beautiful Teams` - 0 views

  •  
    "Nietzsche would have been right at home on an ugly team: what does not kill the ugly team makes the ugly team stronger."
    "Real heroes are ugly. [...] In spite of their failings, they find ways to achieve, betting everything on passion, persistence, and imagination. [...] For these reasons, when things get tough, it's the ugly teams that win. People from ugly teams expect things to go wrong and show up anyway. They conquer self-doubt, make friendships under fire, and find magic in ideas that others abandon."
Fabien Cadet

Threads Cannot be Implemented as a Library - Boehm, Hans-J. - 0 views

  •  
    Abstract: In many environments, multi-threaded code is written in a language that was originally designed without thread support (e.g. C), to which a library of threading primitives was subsequently added. [...] We provide specific arguments that a pure library approach, in which the compiler is designed independently of threading issues, cannot guarantee correctness of the resulting code. [...]
Fabien Cadet

A Really Gentle Introduction to Data Mining | Regular Geek - 0 views

  •  
    Excerpt: "Data mining is the process of extracting hidden patterns from data. As more data is gathered data mining is becoming an increasingly important tool to transform this data into information. It is commonly used in a wide range of profiling practices, such as marketing, surveillance, fraud detection and scientific discovery."
Fabien Cadet

Use your singletons wisely - 0 views

  • I know where you live anti-pattern
  • Liskov Substitution Principle
  • the easier it is to test a class, the more likely a developer will test it.
  • ...3 more annotations...
  • Don't worry: the code will always tell you what to do. Just listen.
  • The key points here are that a class is only a singleton if all applications treat it exactly the same and if its clients can use the class without an application context.
  • "[c]ode wants to be simple."
  •  
    "singletons are unnecessarily difficult to test and may make strong assumptions about the applications that will use them [...] I know where you live anti-pattern [...] Liskov Substitution Principle".
    "To decide whether a class is truly a singleton:
    * Will every application use this class exactly the same way? (exactly is the key word)
    * Will every application ever need only one instance of this class? (ever and one are the key words)
    * Should the clients of this class be unaware of the application they are part of?"
Fabien Cadet

Why Singletons Are Controversial - google-singleton-detector - A brief explanation of t... - 0 views

  •  
    * Introduce a global state in the program, hide the dependencies.
    * Test-driven development: classes become tightly coupled with the singleton. Need to test the singleton along with the class to be tested initially.
« First ‹ Previous 281 - 300 of 304 Next ›
Showing 20 items per page