Click here to Skip to main content
15,868,016 members

Articles by Luc Pattyn (Articles: 7, Tip/Tricks: 13)

Articles: 7, Tip/Tricks: 13

RSS Feed

Average article rating: 4.89

Operating Systems
Windows
30 Jul 2007   Updated: 30 Jul 2007   Rating: 4.90/5    Votes: 16   Popularity: 5.62
Licence: CPOL    Views: 39,510     Bookmarked: 29   Downloaded: 290
Please Sign up or sign in to vote.
ow to copy code snippets with Internet Explorer while preserving newlines and indentation
Programming Languages
C#
24 Jul 2007   Updated: 24 Jul 2007   Rating: 4.76/5    Votes: 45   Popularity: 7.63
Licence: CPOL    Views: 92,141     Bookmarked: 64   Downloaded: 652
Please Sign up or sign in to vote.
Delegates: how to add them to an event, how they get removed and when that is necessary
2 Feb 2007   Updated: 2 Feb 2007   Rating: 4.82/5    Votes: 72   Popularity: 8.93
Licence: CPOL    Views: 199,389     Bookmarked: 98   Downloaded: 3,596
Please Sign up or sign in to vote.
A simple app demonstrates unexpected behavior of .NET timers and Thread.Sleep(); native multimedia timers come to the rescue.
16 Jul 2007   Updated: 21 Dec 2014   Rating: 4.91/5    Votes: 25   Popularity: 6.77
Licence: CPOL    Views: 108,300     Bookmarked: 41   Downloaded: 5,127
Please Sign up or sign in to vote.
A utility that removes phantom icons from the Icon Tray
22 Mar 2010   Updated: 8 Jun 2011   Rating: 4.93/5    Votes: 80   Popularity: 9.39
Licence: CPOL    Views: 197,125     Bookmarked: 67   Downloaded: 1,768
Please Sign up or sign in to vote.
A viewer for CodeProject's recently introduced reputation information; futile, but fun
C# 4.0
27 Aug 2009   Updated: 31 Aug 2009   Rating: 4.89/5    Votes: 39   Popularity: 7.73
Licence: CPOL    Views: 86,995     Bookmarked: 64   Downloaded: 968
Please Sign up or sign in to vote.
My entry to the lean-and-mean programming competition.
Web Development
ASP.NET
4 Jan 2010   Updated: 24 Feb 2010   Rating: 4.98/5    Votes: 32   Popularity: 7.35
Licence: CPOL    Views: 48,506     Bookmarked: 32   Downloaded: 259
Please Sign up or sign in to vote.
From automatic code recognition to fully automated code snippet pasting; no more missing PRE tags!

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.96

Programming Languages
C#
10 Jan 2012   Updated: 10 Jan 2012   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 9,940     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative to "Counting Lines in a String".
11 May 2011   Updated: 11 May 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 5,210     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative to "See If a Flags Enum is Valid".
9 Oct 2011   Updated: 9 Oct 2011   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 4,850     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative to "Partial DateTime Object Equality".
13 May 2010   Updated: 13 May 2010   Rating: 4.98/5    Votes: 32   Popularity: 7.43
Licence: CPOL    Views: 25,290     Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative to "Validating Dates in dd-MMM-yyyy format"
10 Jun 2010   Updated: 11 Jun 2010   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: CPOL    Views: 27,514     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Showing an image in a WinForm WebBrowser without using files
25 Jul 2010   Updated: 25 Jul 2010   Rating: 4.93/5    Votes: 7   Popularity: 4.17
Licence: CPOL    Views: 7,740     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative to "Following Object Inheritance"
31 Aug 2011   Updated: 6 Sep 2011   Rating: 4.94/5    Votes: 7   Popularity: 4.18
Licence: CPOL    Views: 25,032     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative to "How to Generate Many Random Various Numbers?"
13 Jan 2012   Updated: 13 Jan 2012   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 9,961     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative to "Convert RGB to Gray Scale Without Using Pointers".
1 Jan 2011   Updated: 1 Jan 2011   Rating: 4.83/5    Votes: 5   Popularity: 3.38
Licence: CPOL    Views: 11,220     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative to "Extension Methods to Reverse a String and StringBuilder Object".
1 Jan 2011   Updated: 1 Jan 2011   Rating: 4.88/5    Votes: 9   Popularity: 4.66
Licence: CPOL    Views: 17,950     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
And even simpler, faster and better would be this:public static string ReverseCA(string s) { char[] chars=s.ToCharArray(); Array.Reverse(chars); return new string(chars);}Whatever the string's length, only three objects get created; and all characters get copied three...
C# 4.0
7 Jun 2011   Updated: 13 Jun 2011   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: CPOL    Views: 15,370     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative to "L33t Tr4nsl4t0r (Leet Translator)".
Java
7 Mar 2010   Updated: 7 Mar 2010   Rating: 5.00/5    Votes: 15   Popularity: 5.88
Licence: CPOL    Views: 20,141     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative to "Week Numbers According to ISO8601".
Web Development
HTML
3 Sep 2009   Updated: 16 Mar 2011   Rating: 4.93/5    Votes: 66   Popularity: 8.90
Licence: CPOL    Views: 163,039     Bookmarked: 41   Downloaded: 0
Please Sign up or sign in to vote.
How to use PRE tags to preserve formatting, and improve readability of code snippets or tabular data in posts.

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
Software Developer (Senior)
Belgium Belgium
I am an engineer with a background in electronics, software and mathematics.

I develop technical software, both for embedded systems and for desktop equipment. This includes operating systems, communication software, local networks, image processing, machine control, automation, etc.

I have been using all kinds of microcontrollers and microprocessors (Intel 4004/8080/8051/80386/Pentium, Motorola 680x/680x0/ColdFire/PowerPC, Microchip PIC, Altera NIOS, and many more), lots of programming languages (all relevant assemblers, Fortran, Basic, C, Java, C#, and many more), and different operating systems (both proprietary and commercial).

For desktop applications and general development tools I have been using both UNIX systems and Mac/MacOS for many years, but I have switched to x86-based PCs with Windows, Visual Studio and the .NET Framework several years ago.

I specialize in:
- cross-platform development (making software that runs on diverse hardware/OS combinations)
- instruction set simulation
- improving software performance, i.e. making sure the software runs the job at hand in as short a time as possible on the given hardware. This entails algorithm selection, implementation design, accurate measurements, code optimisation, and sometimes implementing virtual machines, applying SIMD technology (such as MMX/SSE), and more.