Click here to Skip to main content
11,408,708 members (58,223 online)

Luc Pattyn - Professional Profile





Summary

    Blog RSS
17,477
Author
141,762
Authority
75,190
Debator
430
Editor
354
Enquirer
5,881
Organiser
8,631
Participant
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.
  • 31 Dec 2011: CodeProject MVP 2012
  • 31 Dec 2010: CodeProject MVP 2011
  • 31 Dec 2009: CodeProject MVP 2010
  • 21 Oct 2009: Code Lean and Mean
  • 31 Dec 2008: CodeProject MVP 2009
  • 31 Dec 2007: CodeProject MVP 2008

 
Articles 8 (Legend)
Tech Blogs 0
Messages 22,465 (Master)
Q&A Questions 2
Q&A Answers 103
Tips/Tricks 13
Comments 68

Reputation

For more information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege, and the given member types also gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilverAdmin
Store personal files in your account areaplatinumplatinumSitebuilder, Subeditor, Supporter, Editor, Staff
Have live hyperlinks in your biographybronzebronzebronzebronzebronzebronzesilverSubeditor, Protector, Editor, Staff, Admin
Edit a Question in Q&AsilversilversilversilverYesSubeditor, Protector, Editor, Admin
Edit an Answer in Q&AsilversilversilversilverYesSubeditor, Protector, Editor, Admin
Delete a Question in Q&AYesSubeditor, Protector, Editor, Admin
Delete an Answer in Q&AYesSubeditor, Protector, Editor, Admin
Report an ArticlesilversilversilversilverSubeditor, Mentor, Protector, Editor, Staff, Admin
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubeditor, Mentor, Protector, Editor, Staff, Admin
Edit other members' articlesSubeditor, Protector, Editor, Admin
Create an article without requiring moderationplatinumSubeditor, Mentor, Protector, Editor, Staff, Admin
Approve/Disapprove a pending QuestionProtector, Admin
Approve/Disapprove a pending AnswerProtector, Admin
Report a forum messagesilversilverbronzeProtector, Editor, Admin
Approve/Disapprove a pending Forum MessageProtector, Admin
Create a new tagsilversilversilversilverAdmin
Modify a tagsilversilversilversilverAdmin

Actions with a green tick can be performed by this member.


 
Answercode sniffer options for Q&A and T&T editor page PinmvpLuc Pattyn29-May-11 4:42 
right from the start I got confused by all the options that where offered (4 radio buttons, 1 check box) under the edit box in Q&A as well as in T&T. I never understood what they were meant to do, and why they all were required.

Today I investigated a bit and I don't like it at all. There are two problems:
1. the functionality is wrong IMO.
2. the wording is short and unclear.

OBSERVATIONS ON RADIO BUTTONS

I used two samples, shown here (warning: I did not HTML-escape the samples while composing this message so one needs to look at the message source to see what is really there, i.e. a real BOLD tag, and a plain for with less-than test):
	// this is a bold statement
	// does it HTML-encode?
	for (i=0; i<10; i++) log(i);
	// does it recognize the language?
	string rating="";
	m=rRatng.Match(article); 
		
	if (m.Success) {
		idx=m.Value.LastIndexOf(":")+2;
		rating=m.Value.Substring(idx);
		if (rating.StartsWith("0")) rating="";	// tips without any vote
	}

	Lorem Ipsum is simply dummy text of the printing and typesetting industry.
	Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
	when an unknown printer took a galley of type and scrambled it to make a type specimen book.
	// this is a bold statement
	// does it HTML-encode?
	for (i=0; i<10; i++) log(i);
	It has survived not only five centuries, but also the leap into electronic typesetting,
	remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset
	sheets containing Lorem Ipsum passages, and more recently with desktop publishing software
	like Aldus PageMaker including versions of Lorem Ipsum.

Both samples have all lines starting with a TAB; they both include an HTML tag and a less-than operator.
The four radiobuttons are numbered 1-4 left-to-right.

For the C# code sample the results were:
	adds PRE tags		with lang	moves left	HTML encodes		preserves HTML		
 
1	yes			yes		yes		yes			no
2	no			no		no		yes			no
3	no			no		no		no			yes
4	yes			yes		yes		yes			no

For the text sample the results were:
	adds PRE tags		with lang	moves left	HTML encodes		preserves HTML		
 
1	no			no		no		yes			no
2	no			no		no		yes			no
3	no			no		no		no			yes
4	no			no		no		yes			no

CONCLUSION ON FUNCTIONALITY:

it is all wrong IMO, for several reasons:
- 1 and 4 do exactly the same; I cannot force the adding of PRE tags (which 1 is supposed to do).
- the HTML encoding (handling of < > &) should be independent of the PRE choices. As is, I can't get it to
paste code that has HTML (say in comments), it will HTML encode or not give PRE tags.
- when HTML tags are to be preserved, the HTML encoding still needs to be applied, hence more intelligence seems required (which I was told is available in the forum message editor!)
- when PRE tags are present, none should be added (I tried paste code, cut the result which now has PRE tags, paste that again, and the outcome got its PRE tags doubled).

THE CHECKBOX

I haven't looked into the checkbox yet; I'm not happy it exists at all. One reason is: after all the attempts to make intelligent choices about PRE, HTML encoding, and preserving HTML tags, it looks like a main switch that turns it all off. Do we really want that? I have a feeling it relates to the way a forum message, its signature, and its "modified on..." remark are all stored in one field.

SUGGESTION

- list all relevant use cases
- then come up with the logical user interface that deals with those use cases

WORDING

as long as functionality isn't clear and settled, it is too early to discuss wording.
Once we agree on what it does, I could easily come up with wording that is both clear and concise (although I'm sure I will suggest a tooltip approach to allow for an alternative less-than-concise-but-absolutely-clear wording.

Hmmm | :|
Luc Pattyn [My Articles] Nil Volentibus Arduum
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Please use <PRE> tags for code snippets, they improve readability.
CP Vanity has been updated to V2.3

GeneralRe: code sniffer options for Q&A and T&T editor page PinadminChris Maunder28-Jul-11 10:24 
GeneralRe: code sniffer options for Q&A and T&T editor page PinmvpLuc Pattyn28-Jul-11 12:35 
GeneralRe: code sniffer options for Q&A and T&T editor page PinadminChris Maunder28-Jul-11 15:53 
Generalfeedback on new search facilities [modified] PinmvpLuc Pattyn7-Jan-11 2:47 
GeneralRe: feedback on new search facilities PinstaffMatthew Dennis11-Jan-11 16:38 
GeneralRe: feedback on new search facilities PinadminChris Maunder8-Apr-11 10:42 
GeneralRe: feedback on new search facilities PinmvpLuc Pattyn9-Apr-11 23:35 
GeneralRe: feedback on new search facilities PinadminChris Maunder20-Apr-11 4:01 
GeneralRe: feedback on new search facilities PinmvpLuc Pattyn20-Apr-11 4:25 
GeneralCP bugs [modified] PinmvpLuc Pattyn25-Dec-10 8:43 
GeneralRe: CP bugs PinadminChris Maunder9-Jan-11 22:23 
GeneralRe: CP bugs PinmvpLuc Pattyn10-Jan-11 18:23 
NewsCP Web Service Proposal PinmvpLuc Pattyn26-Sep-10 16:40 
GeneralRe: CP Web Service Proposal PinadminChris Maunder3-Oct-10 17:14 
GeneralRe: CP Web Service Proposal PinmvpLuc Pattyn3-Oct-10 17:32 
GeneralRe: CP Web Service Proposal PinmvpPIEBALDconsult3-Oct-10 17:29 
GeneralRe: CP Web Service Proposal PinmvpLuc Pattyn3-Oct-10 17:36 
GeneralRe: CP Web Service Proposal PinmvpPIEBALDconsult3-Oct-10 18:13 
GeneralRe: CP Web Service Proposal PinmvpPIEBALDconsult13-Oct-10 18:47 
GeneralRe: CP Web Service Proposal PinmvpLuc Pattyn13-Oct-10 18:52 
GeneralRe: CP Web Service Proposal PinmemberDaveAuld4-Oct-10 11:04 
GeneralRe: CP Web Service Proposal PinmvpLuc Pattyn4-Oct-10 11:22 
GeneralRe: CP Web Service Proposal PinmemberJohn Simmons / outlaw programmer4-Oct-10 13:51 
GeneralRe: CP Web Service Proposal PinmvpLuc Pattyn4-Oct-10 14:13 
GeneralRe: CP Web Service Proposal PinmemberJohn Simmons / outlaw programmer4-Oct-10 14:26 
GeneralRe: CP Web Service Proposal PinmvpLuc Pattyn4-Oct-10 14:31 
GeneralRe: CP Web Service Proposal PinmemberJohn Simmons / outlaw programmer4-Oct-10 14:44 
GeneralRe: CP Web Service Proposal PinmentorNicholas Butler5-Oct-10 23:48 
GeneralRe: CP Web Service Proposal [modified] PinmvpLuc Pattyn6-Oct-10 3:57 
GeneralRe: CP Web Service Proposal PinmentorNicholas Butler6-Oct-10 8:30 
GeneralRe: CP Web Service Proposal PinmvpNishant Sivakumar10-Oct-10 13:27 
GeneralRe: CP Web Service Proposal PinmvpLuc Pattyn10-Oct-10 14:44 
GeneralRe: CP Web Service Proposal PinmvpNishant Sivakumar11-Oct-10 3:30 
GeneralRe: CP Web Service Proposal PinmvpLuc Pattyn11-Oct-10 3:50 
GeneralRe: CP Web Service Proposal PinmvpNishant Sivakumar11-Oct-10 3:52 
Generalsig [modified] PinmvpLuc Pattyn19-Jun-10 2:33 
GeneralRe: sig PinmemberMoak12-Jul-10 4:13 
Generalsig PinmvpLuc Pattyn16-Jun-10 4:16 
Generalsig PinmvpLuc Pattyn13-Jun-10 5:47 
GeneralSIGs March 2010 [modified] PinmvpLuc Pattyn23-Mar-10 6:36 
GeneralJanuary 2010 PinmvpLuc Pattyn4-Jan-10 17:34 
GeneralSIG December 2009 PinmvpLuc Pattyn24-Dec-09 2:07 
General10 reasons why QA sucks (extended on 30-NOV-2009) PinmvpLuc Pattyn28-Nov-09 3:04 
GeneralRe: 10 reasons why QA sucks (extended on 30-NOV-2009) PinmemberJörgen Sigvardsson5-Dec-09 4:09 
GeneralRe: 10 reasons why QA sucks (extended on 30-NOV-2009) PinmemberThe Man from U.N.C.L.E.12-Dec-09 0:37 
GeneralRe: 10 reasons why QA sucks (extended on 30-NOV-2009) PinmemberMoak3-Jun-10 8:55 
GeneralRe: 10 reasons why QA sucks (extended on 30-NOV-2009) PinmvpLuc Pattyn3-Jun-10 9:10 
GeneralRe: 10 reasons why QA sucks (extended on 30-NOV-2009) PinmemberMoak23-Jun-10 9:28 
GeneralRe: 10 reasons why QA sucks (extended on 30-NOV-2009) PinmvpLuc Pattyn23-Jun-10 9:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150414.5 | Last Updated 24 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid