Skip to main content

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

Contents contributed and discussions participated by Fabien Cadet

Fabien Cadet

You can always do less [2010-01-14] - (37signals) - 3 views

  • The hardest part about making good software that ships on time is knowing what and when to sacrifice.
  • We mistake what we said we’ll do with what must be done.
  • you can always do less.
  • ...2 more annotations...
  • What stops most people from doing less is the fear of failure. The misconception that if you don’t get it all done, the rest is worth nothing at all.
  • For every 1 day estimates of a task, there’s a simpler version of that you can do in 3 hours, and an even simpler still you can do in 30 minutes.
  •  
    « We mistake what we said we'll do with what must be done. »
    « For every 1 day estimates of a task, there's a simpler version of that you can do in 3 hours, and an even simpler still you can do in 30 minutes. »
Fabien Cadet

Fire your best people...reward the lazy ones | (blog) Integrate Button: Continuous Inte... - 4 views

  • Before you start thinking that I’m trying to gather together a group of slackers, I’m suggesting the complete opposite of this. I just want people to think about the total time involved, not just fixing the symptom.
  •  
    « In my experience, what most people consider to be their "best" people are often the root of most problems. It's the difference between troubleshooters and troublepreventers. »
Fabien Cadet

« 20/20: Top 20 Programming Lessons I've Learned in 20 Years », by Jonathan D... - 13 views

  •  
    "This post could be viewed as hard lessons learned for newly graduated college students, entry-level programmers, or advanced developers who just want a chuckle."
Fabien Cadet

UML Jokes (.com) - 5 views

shared by Fabien Cadet on 13 Jan 10 - Cached
Fabien Cadet

Ajax.org - The real-time collaborative application platform - 8 views

  •  
    « Ajax.org Platform is a pure javascript application framework for creating real-time collaborative applications that run in the browser. Ajax.org Platform radically changes the way you write applications. »
Fabien Cadet

Doctrine - PHP Object Relational Mapper - 2 views

  •  
    Doctrine is an object relational mapper (ORM) for PHP 5.2.3+ that sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.
Fabien Cadet

Parsing Html The Cthulhu Way @ Coding Horror (Jeff Atwood) - 1 views

  •  
    « Among programmers of any experience, it is generally regarded as A Bad Ideatm to attempt to parse HTML with regular expressions. How bad of an idea? It apparently drove one Stack Overflow user to the brink of madness [...] »
Fabien Cadet

WTF Code .net - 10 views

  • The trouble with programmers is that you can never tell what a programmer is doing until it’s too late. Seymour Cray
  • Good code is its own best documentation. Steve McConnell
  • Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves. Alan Kay
  • ...1 more annotation...
  • Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. Martin Golding
  •  
    " The trouble with programmers is that you can never tell what a programmer is doing until it's too late. "
    __ Seymour Cray __
Fabien Cadet

vimperator : Firefox addon for vim-like browsing - 3 views

  •  
    « Writing efficient user interfaces is the main maxim, here at Vimperator labs. We often follow the Vim way of doing things, but extend its principles when necessary.
    Towards this end, we've created the liberator library for Mozilla based applications, to encapsulate as many of these generic principles as possible, and liberate developers from the tedium of reinventing the wheel. »
Fabien Cadet

What Beautiful HTML Code Looks Like, by Chris Coyier | CSS-Tricks [2009-11-09] - 3 views

  •  
    « It gets me to thinking, what makes beautiful code? In HTML, it comes down to craftsmanship. Let's take a look at some markup written they way markup should be written and see how beautiful it can be. » [ + PNG image ]
Fabien Cadet

utf 8 nbsp - RE: nbsp is not that hard, folks ; reply by: Américo Albuquerque... - 0 views

  • " " " " and "\u00A0" have nothing, NOTHING to do with UTF-8.
  • There is a character -- an abstract unit in a "script" (a writing system; we are using Latin right now) -- called NO-BREAK SPACE by the Unicode Standard and ISO/IEC 10646. Unicode and ISO/IEC 10646 assign this character an integer number, 160, which is A0 in hex.
  • UTF-8 is an encoding scheme that provides a way of representing any of the approximately 1.1 million possible abstract characters in Unicode as a sequence of 1 to 4 bytes.
  • ...8 more annotations...
  • The UTF-8 representation of the Unicode character 160 (no-break space), is the pair of bytes C2 A0, in that order.
  • This thing: \u00A0
  • the no-break space character
  • This thing:   or this thing:  
  • is to SGML applications like HTML and XML what \u00A0 is to Java & Python;
  • is called a character reference (or "numeric character reference").
  • This thing:  
  • is to SGML applications like HTML and XML an "entity reference";
  •  
    « [...] " " " " and "\u00A0" have nothing, NOTHING to do with UTF-8 [...] Unicode and ISO/IEC 10646 assign this character an integer number, 160, which is A0 in hex [...] UTF-8 is an encoding scheme [...] The UTF-8 representation of the Unicode character 160 (no-break space), is the pair of bytes C2 A0. »
Fabien Cadet

FireQuery : Firebug extension for jQuery development - 1 views

  •  
    Features :
    * jQuery expressions are intelligently presented in Firebug Console and DOM inspector
    * attached jQuery datas are first class citizens
    * elements in jQuery collections are highlighted on hover
    * jQuerify: enables you to inject jQuery into any web page
Fabien Cadet

Programming as if Performance Mattered, by James Hague [2004-04-04] - 3 views

  • I frequently see bare queries from programmers in discussion forums, especially from new programmers, who are worried about performance. These worries often stem from popular notions about what operations are "slow." Division. Square roots. Mispredicted branches. Cache unfriendly data structures.
  • Inevitably someone chimes in that making out-of-context assumptions, especially without profiling, is a bad idea. And they're right.
  • The golden rule of programming has always been that clarity and correctness matter much more than the utmost speed. Very few people will argue with that. And yet do we really believe it? If we did, then 99% of all programs would be written in something like Python. Or Erlang.
  • ...5 more annotations...
  • At the same time, such concerns and advice seem to remain constant despite rapid advances in hardware.
  • That tempting, enticing, puzzle-solving activity called "optimization," it hasn't gone away either.
  • Only now the process is on a different level. It isn't machine level twiddling and cycle counting, but it isn't simply mathematical analysis of algorithms either.
  • The big difference is that the code changes I made are substantially safer than running a program and having it silently hang the system. All array accesses are bounds-checked. There's no way to accidentally overwrite a data structure. There's no way to create a memory leak.
  • Really, this is what those cycle-counting programmers from 1985 dreamed of.
  •  
    « I frequently see bare queries from programmers in discussion forums, especially from new programmers, who are worried about performance. These worries often stem from popular notions about what operations are "slow." Division. Square roots. Mispredicted branches. Cache unfriendly data structures. »
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. »
« First ‹ Previous 281 - 300 of 324 Next › Last »
Showing 20 items per page