Sign In
Fabulous Adventures In Coding
Eric Lippert's Blog
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Aargh! (8)
accuracy (6)
Arrays (8)
ASP (11)
AStar (5)
Async (15)
bad jokes (14)
Begging the question (4)
Benford's Law (3)
Best Of FAIC (12)
Big Words (5)
Books (23)
Breaking Changes (24)
Brittle Base Classes (6)
C# (326)
C# 4.0 (39)
C# 5.0 (10)
Cargo Cult Programming (4)
cast operator (3)
Channel 9 (6)
Charts (6)
closures (3)
Code Generation (10)
Code Quality (29)
COM Programming (57)
Conditional Operator (3)
Continuation Passing Style (11)
Conversions (16)
Covariance and Contravariance (22)
customer service (4)
declaration spaces (5)
definite assignment (3)
Dialogue (14)
English Usage (11)
exception handling (9)
Floating Point Arithmetic (15)
grammars (9)
graph colouring (5)
GUIDs (3)
Hashing (9)
High Dimensional Spaces (5)
Immutability (27)
integer arithmetic (5)
Interviewing (8)
Introduction (6)
It Hurts When I Do This (5)
Iterators (10)
JScript (93)
JScript .NET (29)
keywords (4)
Lambda Expressions (20)
Language Design (62)
local variables (3)
localization (3)
Mathematics (18)
Memory Management (13)
Metablogging (9)
Mistakes (6)
Music (6)
myths (7)
namespaces (5)
Non-computer (37)
Optional arguments (5)
Overload Resolution (9)
Pages (25)
Performance (48)
precedence (4)
precision (7)
protected (7)
Puzzles (49)
quotable quotations (4)
Rants (51)
Rarefied Heights (52)
reachability (4)
Recursion (26)
reference (4)
Regular Expressions (13)
Relationships (4)
Salt (4)
Science (12)
scope (5)
Scripting (189)
Security (46)
shadowcasting (6)
SimpleScript (30)
Software development methodology (13)
Static Methods (6)
Threading (18)
Topological Sort (4)
Type Inference (18)
type safety (4)
unsafe code (4)
Value Types (11)
VBScript (80)
Video (12)
virtual dispatch (9)
VSTO (10)
warnings (5)
What's The Difference? (11)
Zombies (4)
Archive
Archives
May 2012
(1)
April 2012
(5)
March 2012
(3)
February 2012
(7)
January 2012
(5)
December 2011
(9)
November 2011
(4)
October 2011
(3)
September 2011
(3)
August 2011
(2)
July 2011
(5)
June 2011
(3)
May 2011
(7)
April 2011
(6)
March 2011
(9)
February 2011
(8)
January 2011
(7)
December 2010
(4)
November 2010
(8)
October 2010
(11)
September 2010
(8)
July 2010
(7)
June 2010
(7)
May 2010
(10)
April 2010
(9)
March 2010
(10)
February 2010
(8)
January 2010
(8)
December 2009
(5)
November 2009
(9)
October 2009
(9)
September 2009
(8)
August 2009
(9)
July 2009
(9)
June 2009
(12)
May 2009
(9)
April 2009
(9)
March 2009
(10)
February 2009
(4)
January 2009
(7)
November 2008
(2)
October 2008
(5)
September 2008
(4)
August 2008
(1)
July 2008
(2)
June 2008
(3)
May 2008
(11)
April 2008
(3)
March 2008
(2)
February 2008
(5)
January 2008
(5)
December 2007
(7)
November 2007
(5)
October 2007
(13)
September 2007
(3)
August 2007
(6)
July 2007
(2)
June 2007
(7)
May 2007
(4)
April 2007
(9)
March 2007
(2)
January 2007
(5)
November 2006
(3)
October 2006
(1)
September 2006
(1)
August 2006
(1)
July 2006
(2)
June 2006
(4)
May 2006
(5)
April 2006
(3)
March 2006
(4)
January 2006
(1)
December 2005
(7)
November 2005
(7)
October 2005
(9)
September 2005
(8)
August 2005
(9)
July 2005
(7)
June 2005
(7)
May 2005
(7)
April 2005
(12)
March 2005
(7)
February 2005
(6)
January 2005
(13)
December 2004
(9)
November 2004
(3)
October 2004
(5)
September 2004
(7)
August 2004
(14)
July 2004
(10)
June 2004
(11)
May 2004
(20)
April 2004
(26)
March 2004
(32)
February 2004
(14)
January 2004
(16)
December 2003
(7)
November 2003
(13)
October 2003
(32)
September 2003
(36)
March, 2004
MSDN Blogs
>
Fabulous Adventures In Coding
>
March, 2004
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Fabulous Adventures In Coding
SimpleScript Part One: DllMain is Boring
Posted
over 8 years ago
by
Eric Lippert
21
Comments
In talking with our support engineer it's just become more muddled. I'm pretty sure now actually that the customer does not want to build a script engine, but whether they want to build a script editor, a script host or a script debugger is unclear. ...
Fabulous Adventures In Coding
dllmain.cpp
Posted
over 8 years ago
by
Eric Lippert
3
Comments
#include "headers.h" // // Helper methods // static long g_cReferences = 0; static long g_cLocks = 0; static HMODULE g_hmodule = NULL; static const WCHAR * pszEngineName = L"SimpleScript"; static const WCHAR * pszOLEScript = L"OLEScript"; static...
Fabulous Adventures In Coding
assert.cpp
Posted
over 8 years ago
by
Eric Lippert
5
Comments
#include "headers.h" static BOOL IsGoodPtr(void * pv, ULONG cb, DWORD dwFlags) { DWORD dwSize; MEMORY_BASIC_INFORMATION meminfo; if (NULL == pv) return FALSE; memset(&meminfo, 0x00, sizeof meminfo); dwSize = VirtualQuery(pv, &meminfo...
Fabulous Adventures In Coding
assert.h
Posted
over 8 years ago
by
Eric Lippert
0
Comments
#ifndef ASSERT_H // { #define ASSERT_H extern BOOL Debugger(); extern BOOL AssertProc(const char *pszFile, long lwLine, const char *pszMsg); extern BOOL IsValidReadString(const WCHAR * psz); extern BOOL IsValidReadStringN(const WCHAR * psz); extern BOOL...
Fabulous Adventures In Coding
guids.cpp
Posted
over 8 years ago
by
Eric Lippert
1
Comments
#include <initguid.h> #include <activscp.h> #include "guids.h"
Fabulous Adventures In Coding
guids.h
Posted
over 8 years ago
by
Eric Lippert
1
Comments
#ifndef GUIDS_H // { #define GUIDS_H DEFINE_GUID(CLSID_SimpleScript, 0x5ff86f82, 0x18fb, 0x4aff, 0x98, 0xba, 0x20, 0xfd, 0xf2, 0x48, 0xa9, 0x24); #endif // GUIDS_H }
Fabulous Adventures In Coding
headers.h
Posted
over 8 years ago
by
Eric Lippert
0
Comments
#ifndef HEADERS_H // { #define HEADERS_H // InitializeCriticalSectionAndSpinCount requires WinNT 4.0 SP3 or better. // UNDONE: Add code to registration, etc, that verifies that we are on the // UNDONE: right OS. #define _WIN32_WINNT 0x0403 #include...
Fabulous Adventures In Coding
SimpleScript.def
Posted
over 8 years ago
by
Eric Lippert
1
Comments
LIBRARY SIMPLESCRIPT EXPORTS DllGetClassObject PRIVATE DllRegisterServer PRIVATE DllUnregisterServer PRIVATE DllCanUnloadNow PRIVATE
Fabulous Adventures In Coding
SimpleScript, Part Zero
Posted
over 8 years ago
by
Eric Lippert
10
Comments
I'm going to embark upon something ambitious here. I got an email from Mike, our friendly support engineer on the east coast with the subject line " Need lots of info ". Apparently he was contacted by a customer who wants to implement a new script engine...
Fabulous Adventures In Coding
Aargh, Part Four: There is no part four
Posted
over 8 years ago
by
Eric Lippert
0
Comments
I've got all these little rants queued up for days when I'm too busy to post. And Raymond has all these little articles queued up while he's on vacation. And in one of those weird Brouwer Fixed Point Theorem moments of synchronicity, Raymond just beat...
Fabulous Adventures In Coding
Strolling Around VSLive
Posted
over 8 years ago
by
Eric Lippert
4
Comments
Yesterday I was taking a break from manning the Visual Studio booth down here at VSLive, and kind of wandering around saying hi to people. Had a nice chat with Mike , talked to some customers, checked out what the latest crop of productivity tools looks...
Fabulous Adventures In Coding
Aaargh! Part Three
Posted
over 8 years ago
by
Eric Lippert
8
Comments
I'm still at VSLive. Both my talks are done, so its just booth duty from here on in. The talks went... OK. Running VSTO on top of Virtual PC on a laptop was too slow; we'll have to devirtualize that for the next time. Unfortunately they put me in the...
Fabulous Adventures In Coding
I'm A Travelin' Man
Posted
over 8 years ago
by
Eric Lippert
1
Comments
I'm off to VSLive! in San Francisco , where I'll be giving a talk on Wednesday introducing VSTO2 and a talk on Thursday about security issues involving Office documents and managed code. I'll also be manning the Visual Studio portion of the Microsoft...
Fabulous Adventures In Coding
Aaargh! Part Two
Posted
over 8 years ago
by
Eric Lippert
12
Comments
I'm insanely busy prepping for VSLive! today, so, once more, I complain about coding practice that are drivin' me nuts . But first: why do pirates dislike Johnny Depp's Oscar-nominated performance in "Pirates of the Caribbean"? Because it wasn't...
Fabulous Adventures In Coding
Revenge of The Cycle Detector
Posted
over 8 years ago
by
Eric Lippert
3
Comments
Mike Schinkel takes even longer to get to the point than I do, and that's saying something! Mike tells a long story about another application of partial order sorts , and asks how to modify the partial order sort algorithm so that it has a new property...
Fabulous Adventures In Coding
School days, part two
Posted
over 8 years ago
by
Eric Lippert
1
Comments
Well that got quite a few lengthy and high quality comments in a short time. To briefly follow up on some of them: Professor Ragde queries: Erstwhile professor? I am still a professor. English has ambiguous lexical scoping. When...
Fabulous Adventures In Coding
School Days, School Days
Posted
over 8 years ago
by
Eric Lippert
15
Comments
Just a couple random notes today, following up on a few threads and reminiscing about school days. My old friend and erstwhile professor Prabhakar Ragde has some good comments and related links on my recent posting about trends in Computer...
Fabulous Adventures In Coding
Attack of the Undead Cycle Detector
Posted
over 8 years ago
by
Eric Lippert
6
Comments
My old friend Rob made some comments on yesterday's post which deserve to be called out: Consider a software application that is extensible with plug-ins. If some of the plug-ins are dependent on others, then a partial sort is required to...
Fabulous Adventures In Coding
I'm Putting On My Top Hat, Tying Up My White Tie, Brushing Out My Tails -- In That Order
Posted
over 8 years ago
by
Eric Lippert
8
Comments
I thought I might blog briefly on an interesting algorithm which can be implemented very elegantly in JScript, but a lot of scripters don't know about. Most scripters know about the sort method on the Array prototype -- you give it an array...
Fabulous Adventures In Coding
Things in my eyes!
Posted
over 8 years ago
by
Eric Lippert
11
Comments
Another quick non-technical post today. I was reading KC Lemson's blog and she mentioned that she's considering laser in-situ keratomileusis , also known as LASIK. I started to email her my experience, but then realized that I might as well...
Fabulous Adventures In Coding
Denne funksjonen er fullstendig ubrukelig!
Posted
over 8 years ago
by
Eric Lippert
14
Comments
I don't know about you guys, but here at Microsoft we hear a lot about “diversity in the workforce“. It's something I think about rather a lot -- it's hard not to when you work with smart, talented people who were born quite literally all...
Fabulous Adventures In Coding
Top Minds Are Working On It
Posted
over 8 years ago
by
Eric Lippert
18
Comments
Mike Schinkel writes a long, rambling blog about a long, rambling conversation we had regarding VBScript, novice programmers and .NET . I don't have time to respond at length today, but I wanted to make a couple quick points. First...
Fabulous Adventures In Coding
Aargh, Part One: A Pirate Walks Into A Bar…
Posted
over 8 years ago
by
Eric Lippert
15
Comments
One of my former housemates was fond of pirate jokes, as am I . My personal favourite of his was: A pirate walks into a bar, and the barkeep says " Excuse me, cap'n, but did you know that you've got your ship's wheel stuck in your pantaloons ?"...
Fabulous Adventures In Coding
OOP = Obviously Oxmoronic Posting
Posted
over 8 years ago
by
Eric Lippert
5
Comments
In double-checking today's entry, I see that I wrote: Saying that script is bad because spotty teenage vandals use it is obviously specious . Hmm. Is there such a thing as “obviously specious”, or is that an oxymoron?
Fabulous Adventures In Coding
The Fundamental Question of Biology
Posted
over 8 years ago
by
Eric Lippert
10
Comments
I think it was Gary Larson who said that the fundamental question of biology is " If I put these two life forms in a jar, which one wins?" The very nature of the question presupposes a bunch of stuff -- that there are winners and losers, that any two...
Page 1 of 2 (32 items)
1
2