Click here to Skip to main content
15,881,852 members

Articles by Qwertie (Articles: 33, Project: 1, Technical Blogs: 9, Tip/Tricks: 5)

Articles: 33, Project: 1, Technical Blogs: 9, Tip/Tricks: 5

RSS Feed

Average article rating: 4.79

All Topics
20 Aug 2014   Updated: 21 Aug 2014   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: LGPL3    Views: 15,823     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
GitHub has a "built-in" simple content management system called Jekyll. It's unobtrusive; you can put ordinary HTML files in your webspace and they will be served unchanged, or you can create Jekyll files, which are text files that start with a header block that the Jekyll documentation calls "front
Desktop Programming
Windows Forms
12 Nov 2008   Updated: 12 Nov 2008   Rating: 4.82/5    Votes: 60   Popularity: 8.49
Licence: MIT    Views: 391,434     Bookmarked: 194   Downloaded: 23,418
Please Sign up or sign in to vote.
Use TextEditorControl to put a syntax-highlighting editor in your application.
General Programming
Parser
14 Jun 2013   Updated: 27 Jun 2013   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: CPOL    Views: 22,620     Bookmarked: 14   Downloaded: 0
Please Sign up or sign in to vote.
LLLPG is a recursive-decent parser generator, with a feature set (and syntax) comparable to ANTLR version 2.
Programming Languages
C#
25 Mar 2008   Updated: 25 Mar 2008   Rating: 4.99/5    Votes: 145   Popularity: 10.73
Licence: MIT    Views: 1,032,681     Bookmarked: 480   Downloaded: 14,463
Please Sign up or sign in to vote.
Demonstrates a variety of Windows Forms data binding features through several simple examples.
1 Apr 2009   Updated: 25 Feb 2014   Rating: 4.43/5    Votes: 9   Popularity: 4.23
Licence: MIT    Views: 101,353     Bookmarked: 29   Downloaded: 305
Please Sign up or sign in to vote.
Use the Symbol class for enum-like values that can be extended by other classes.
1 Mar 2016   Updated: 1 Mar 2016   Rating: 4.72/5    Votes: 7   Popularity: 3.99
Licence: LGPL3    Views: 15,580     Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
How to write a program to generate C# code
8 Mar 2016   Updated: 8 Mar 2016   Rating: 5.00/5    Votes: 9   Popularity: 4.77
Licence: LGPL3    Views: 24,441     Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
Well, not literally. Enhanced C# supports pattern matching, ADTs, and tuples, so Plain C# gets all that by transitivity.
15 Jun 2010   Updated: 13 Aug 2010   Rating: 4.31/5    Votes: 11   Popularity: 4.49
Licence: LGPL3    Views: 62,542     Bookmarked: 34   Downloaded: 374
Please Sign up or sign in to vote.
A library inspired by the Go language that lets you adapt any object to an interface if it has the methods of that interface.
24 Aug 2013   Updated: 25 Aug 2013   Rating: 4.85/5    Votes: 29   Popularity: 7.02
Licence: CC (ASA 3U)    Views: 173,313     Bookmarked: 56   Downloaded: 0
Please Sign up or sign in to vote.
Protobuf-net is a fast and complete .NET library for serialization based on Google's Protocol Buffers. And this is a really short manual.
10 Jan 2017   Updated: 13 Jan 2017   Rating: 3.46/5    Votes: 7   Popularity: 2.93
Licence: CPOL    Views: 16,390     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
With this library,"from x in list select x.Property" returns another list.
15 Jan 2017   Updated: 15 Jan 2017   Rating: 4.95/5    Votes: 8   Popularity: 4.47
Licence: CPOL    Views: 12,100     Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
A very small logging library
13 Jan 2017   Updated: 2 Feb 2019   Rating: 4.74/5    Votes: 9   Popularity: 4.53
Licence: CPOL    Views: 22,702     Bookmarked: 23   Downloaded: 0
Please Sign up or sign in to vote.
No matter how lazy you are
10 Jan 2017   Updated: 10 Jan 2017   Rating: 4.56/5    Votes: 5   Popularity: 3.18
Licence: CPOL    Views: 10,041     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Want to square-root an arbitrary type T in your generic code and multiply it by its natural logarithm? No problem.
19 May 2008   Updated: 28 Oct 2010   Rating: 4.53/5    Votes: 18   Popularity: 5.58
Licence: MIT    Views: 81,064     Bookmarked: 34   Downloaded: 619
Please Sign up or sign in to vote.
A way to use LINQ to Objects in C# 2.0 with .NET Framework 2.0
24 Feb 2010   Updated: 31 Mar 2010   Rating: 4.98/5    Votes: 54   Popularity: 8.58
Licence: LGPL3    Views: 66,077     Bookmarked: 67   Downloaded: 813
Please Sign up or sign in to vote.
A memory-efficient Patricia trie that implements IDictionary and supports the "find nearest key" operation.
7 Dec 2016   Updated: 7 Dec 2016   Rating: 4.76/5    Votes: 7   Popularity: 4.02
Licence: CPOL    Views: 9,511     Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Using dependency injection with frequently-used background services can be a hassle. The Ambient Service Pattern is an easier alternative.
20 Jun 2015   Updated: 24 Aug 2015   Rating: 4.96/5    Votes: 16   Popularity: 5.83
Licence: LGPL3    Views: 22,361     Bookmarked: 11   Downloaded: 1,041
Please Sign up or sign in to vote.
Concerned about regular expressions being unintelligible, repetitive, hard to get right and non-recursive? Read part 5, possibly the most useful part yet!
26 Mar 2013   Updated: 20 May 2016   Rating: 4.97/5    Votes: 21   Popularity: 6.58
Licence: LGPL3    Views: 37,011     Bookmarked: 40   Downloaded: 161
Please Sign up or sign in to vote.
The A-list is an all-purpose list, a data structure that can support most standard list operation in O(log n) time and does lots of other stuff, too
22 Nov 2013   Updated: 22 Nov 2013   Rating: 4.95/5    Votes: 11   Popularity: 4.95
Licence: LGPL3    Views: 46,786     Bookmarked: 16   Downloaded: 835
Please Sign up or sign in to vote.
A technique for installing "Custom Tools" in all VS versions from 2008 to 2013
6 Aug 2008   Updated: 6 Aug 2008   Rating: 4.67/5    Votes: 15   Popularity: 5.49
Licence: MIT    Views: 44,764     Bookmarked: 27   Downloaded: 0
Please Sign up or sign in to vote.
How to make the debugger give the same special treatment to your custom IList as it gives to List.
15 Jun 2013   Updated: 15 Jun 2013   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: CPOL    Views: 9,560     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
The root of all evil is optimization... or apathy
C# 4.0
26 May 2015   Updated: 10 Dec 2016   Rating: 4.95/5    Votes: 22   Popularity: 6.65
Licence: LGPL3    Views: 28,584     Bookmarked: 21   Downloaded: 208
Please Sign up or sign in to vote.
The Lexical Macro Processor transforms your C# code with a LISP-inspired macro system. Nice substitute for T4 templates, with Visual Studio integration and a Linux-compatible editor.
25 Feb 2014   Updated: 25 Feb 2014   Rating: 4.92/5    Votes: 4   Popularity: 2.96
Licence: LGPL3    Views: 14,610     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
The ambivalent world of ambiguity, the slash, greedy and nongreedy. At the end, in lieu of refreshments, there will be an API reference.
23 Feb 2014   Updated: 25 Feb 2014   Rating: 4.84/5    Votes: 6   Popularity: 3.77
Licence: LGPL3    Views: 25,110     Bookmarked: 9   Downloaded: 1,191
Please Sign up or sign in to vote.
Lots of new stuff this time, including an (almost) complete C# parser demo
26 Nov 2013   Updated: 13 Jan 2016   Rating: 4.98/5    Votes: 20   Popularity: 6.37
Licence: LGPL3    Views: 52,643     Bookmarked: 36   Downloaded: 306
Please Sign up or sign in to vote.
The new parser generator for C#: now with syntax highlighting.
7 Oct 2013   Updated: 5 Mar 2016   Rating: 4.96/5    Votes: 68   Popularity: 9.08
Licence: LGPL3    Views: 315,053     Bookmarked: 167   Downloaded: 1,360
Please Sign up or sign in to vote.
LLLPG, the Loyc LL(k) Parser Generator: now parsing C# itself!
7 Sep 2013   Updated: 7 Sep 2013   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: LGPL3    Views: 28,573     Bookmarked: 12   Downloaded: 315
Please Sign up or sign in to vote.
The BDictionary is like a Dictionary mashed up with List. BList and BMultiMap also say hello.
12 Aug 2014   Updated: 12 Aug 2014   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: LGPL3    Views: 11,552     Bookmarked: 14   Downloaded: 0
Please Sign up or sign in to vote.
SparseAList and some AList benchmarks
13 Aug 2014   Updated: 13 Aug 2014   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: CPOL    Views: 13,001     Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
In the netherworld between T[] and List
13 Aug 2014   Updated: 13 Aug 2014   Rating: 4.85/5    Votes: 14   Popularity: 5.56
Licence: LGPL3    Views: 22,743     Bookmarked: 14   Downloaded: 0
Please Sign up or sign in to vote.
Creating the AList data structures for my "list trifecta" series must have taken hundreds of hours. The DList is a vastly simpler beast, but in certain cases will boost your insert/remove speed a lot.
Security
Blockchain
2 Apr 2009   Updated: 14 Dec 2009   Rating: 4.85/5    Votes: 13   Popularity: 5.24
Licence: LGPL3    Views: 72,512     Bookmarked: 28   Downloaded: 339
Please Sign up or sign in to vote.
A family of array-like list structures that let you take fast snapshots at any instant in time.
Web Development
HTML
17 Jun 2011   Updated: 4 Jul 2011   Rating: 4.64/5    Votes: 338   Popularity: 11.73
Licence: LGPL3    Views: 1,129,118     Bookmarked: 202   Downloaded: 2,346
Please Sign up or sign in to vote.
How fast is C++ compared to C#? Let's compare code ported directly between the two languages.
HTML5
18 Aug 2014   Updated: 25 Aug 2014   Rating: 4.58/5    Votes: 5   Popularity: 3.20
Licence: LGPL3    Views: 20,082     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
A LINQ-to-XML example

Average blogs rating: 4.61

23 Nov 2013   Updated: 23 Nov 2013   Rating: 4.83/5    Votes: 3   Popularity: 2.31
Licence: CPOL    Views: 7,191     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
I decided to write this post to help people understand the theoretical representation of grammars.
All Topics
9 Jun 2013   Updated: 9 Jun 2013   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 11,730     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Ranges are the most important concept in the design of modern D collection code, and I want them to be included under the Loyc umbrella (but for now, don't worry what Loyc is.) As I wrote in an as-yet unpublished article on about the design of my new language, Enhanced C#:
18 Aug 2014   Updated: 12 Sep 2014   Rating: 4.62/5    Votes: 10   Popularity: 4.41
Licence: LGPL3    Views: 19,922     Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
.NET just keeps getting more annoying
22 Apr 2014   Updated: 22 Apr 2014   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 6,610     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
This is a letter that I would like to send to relevant leaders at Google and Mozilla, but I'm not sure to whom I should send it.
Desktop Programming
Windows Forms
6 Apr 2011   Updated: 9 Apr 2011   Rating: 3.00/5    Votes: 2   Popularity: 0.90
Licence: CPOL    Views: 16,031     Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
UpdateControls not only keeps your GUI up-to-date, but it also separates the GUI from the rest of the code better than any framework I have seen before.
Programming Languages
C#
12 Aug 2010   Updated: 12 Aug 2010   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 10,680     Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
Dependency Injection aids loose coupling. But there are some services that are pervasive, services that you would have to pass to a hundred different constructors if you want to use DI "properly". Is there an alternative?
27 Jul 2011   Updated: 27 Jul 2011   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 18,481     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
I want a conditional dot operator
Go
25 May 2010   Updated: 25 May 2010   Rating: 4.00/5    Votes: 4   Popularity: 2.41
Licence: CPOL    Views: 10,741     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
I recently wrote a class called CPTrie that stores a sorted collection of strings or integers in less space than a Dictionary or SortedDictionary. It took a long time to develop this data structure in .NET while minimizing memory and CPU usage. I am fairly convinced that without some of .NET's restr
Javascript
18 Aug 2014   Updated: 13 Jan 2016   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: LGPL3    Views: 16,331     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Building a table of contents in JavaScript

Average tips rating: 4.44

C#
9 Nov 2016   Updated: 9 Nov 2016   Rating: 4.71/5    Votes: 13   Popularity: 4.90
Licence: CPOL    Views: 18,762     Bookmarked: 13   Downloaded: 0
Please Sign up or sign in to vote.
An alternative set of StringBuilder Extension methods that is closer to the methods of System.String.
15 Mar 2017   Updated: 15 Mar 2017   Rating: 4.19/5    Votes: 9   Popularity: 3.99
Licence: Public Domain    Views: 27,291     Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
A trick you can do with enhanced C#
12 Oct 2011   Updated: 12 Oct 2011   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: CPOL    Views: 9,360     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Shuffle in O(N) time, vastly faster than the original version that calls RemoveAt().static Random r = new Random();public static IEnumerable Randomize(this IEnumerable source){ var list = source.ToList(); for (int i = 0; i < list.Count; i++) Swap(list, i,...
1 Jun 2013   Updated: 4 Jun 2013   Rating: 4.43/5    Votes: 3   Popularity: 2.11
Licence: CPOL    Views: 32,542     Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
A fast and simple algorithm.
12 Oct 2011   Updated: 12 Oct 2011   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: CPOL    Views: 9,810     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
Assuming you are writing a class (not a struct), you can basically get a fixed random hashcode simply by NOT overriding GetHashCode() but inheriting the implementation from System.Object. Unfortunately the System.Object implementation is not documented in the standard .NET documentation[^] but I...

Average reference rating:

No reference articles have been posted.

Average project rating: 5.00

C# 6.0
11 Jun 2017   Updated: 12 Jun 2017   Rating: 5.00/5    Votes: 25   Popularity: 6.99
Licence: CPOL    Views: 27,804     Bookmarked: 37   Downloaded: 0
Please Sign up or sign in to vote.
It has 41 features in about 1000 lines of code* - but only 3 lines are needed to parse the expressions you type in. Uses WinForms, BackgroundWorker, GDI+ and LES.
Software Developer None
Canada Canada
Since I started programming when I was 11, I wrote the SNES emulator "SNEqr", the FastNav mapping component, the Enhanced C# programming language (in progress), the parser generator LLLPG, and LES, a syntax to help you start building programming languages, DSLs or build systems.

My overall focus is on the Language of your choice (Loyc) initiative, which is about investigating ways to improve interoperability between programming languages and putting more power in the hands of developers. I'm also seeking employment.