Skip to main content

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

Contents contributed and discussions participated by Fabien Cadet

Fabien Cadet

prog21: Tales of a Former Disassembly Addict - 1 views

  • In fact, generated code can be so ridiculous and verbose that I finally came up with an across-the-board solution which works for all compilers on all systems:

    I don't look at the disassembled output.
  • I still see people obsessed with picking a programming language that's at the top of the benchmarks, and they obsess over the timing results the way I used to obsess over disassembled listings. It's a dodge, a distraction...and it's irrelevant.
Fabien Cadet

Design Patterns: 15 Years After the Revolution, by Danny Kalev @ InformIT [2009-10-30] - 1 views

  • by defining a description template that included among the rest:

    • Known uses.
    • Sample code (as opposed to a typical algorithm which were often described in plain English and perhaps a few sketchy lines of pseudo-code).
    • Collaboration (A description of how classes and objects used in the pattern interact with each other).
    • Consequences (results and side-effects).
    • Related patterns.
  • Would a 2009 catalog of the 23 classic design patterns look much different? According to the authors of Design Patterns: Elements of Reusable Code, the answer is no.
  • The authors would reclassify certain patterns and omit a few of the original patterns but the design and implementation would remain pretty much the same: "We have found that the object-oriented design principles and most of the patterns haven't changed since then" says Erich Gamma. You can't escape the feeling that patterns are frozen in time
  • ...2 more annotations...
  • In the meantime, in the C++ world the tide has turned towards a completely different paradigm known as generic programming (and to some extent, functional programming). Instead of plain classes and a complex inheritance chain, C++ these days uses templates, meta-programming and static type checking. The C++ Standard Library is the most prominent showpiece of the generic and functional programming idioms.
  • Over-engineering is another source of criticism. Programmers who become acquainted with patterns are often tempted to solve every problem using a pattern, even when a much simpler solution would probably be a better choice.
Fabien Cadet

PHPExcel - www.phpexcel.net - 3 views

shared by Fabien Cadet on 27 Oct 09 - Cached
  •  
    Project providing a set of classes for the PHP programming language, which allow you to write to and read from different file formats, like Excel 2007, PDF, HTML, ... This project is built around Microsoft's OpenXML standard and PHP.
Fabien Cadet

Git Magic [ebook] @ www-cs-students.stanford.edu - 4 views

  •  
    « Git is a version control Swiss army knife. A reliable versatile multipurpose revision control tool whose extraordinary flexibility makes it tricky to learn, let alone master.

    As Arthur C. Clarke observed, any sufficiently advanced technology is indistinguishable from magic. This is a great way to approach Git: newbies can ignore its inner workings and view Git as a gizmo that can amaze friends and infuriate enemies with its wondrous abilities. »
Fabien Cadet

Front Page - css-discuss - 2 views

  •  
    « This Wiki is dedicated to real-world (and ideally, browser-neutral) application of CSS. (Cascading Style Sheets) Topics include: techniques for page-layout and special display-effects, testing and validation, workarounds for limitations and bugs, CSS code-editors, beginner and advanced tutorials, and to a lesser extent pure CSS theory, and pure CSS power-demonstrations. Discourse on (X)HTML, DOM, and other webpage-technology areas is not forbidden, but keeping it associated with CSS is encouraged. »
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."
« First ‹ Previous 281 - 300 of 310 Next ›
Showing 20 items per page