Hogan

New York, NY

Age: 48

25+ years...
ASM, C, C++, C#, VB, ASP.NET, TSQL +many more


The postings on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.


Programmer, Architect, Team Lead, Director, CTO
MS Comp. Sci @ NYU '95
hoganlong at us.ibm.com // hoganlong at gmail.com

2d
revised Redirect to new page after video is paused for more than 1 minute
deleted 62 characters in body
2d
comment Redirect to new page after video is paused for more than 1 minute
ejohn.org/blog/how-javascript-timers-work
2d
comment Averaging In SQL When Multiples Values Possible In A Row
an sql fiddle for ms-access is not possible :D
2d
comment Averaging In SQL When Multiples Values Possible In A Row
[Average Unit Price]
2d
comment Does Linq-to-Sqlite support dynamic table creation using Code First approach?
I don't understand the question because I believe "Code First" is an Entity Framework only term. Is that what you are asking? If so then no - you need entity framework. But you have entity framework as a tag so you already know that. I'm just not clear on the question.
2d
comment Does Linq-to-Sqlite support dynamic table creation using Code First approach?
dude... you need a question. What is your question?
2d
comment Slow dynatable and fast query
how can we possibly help you with this if you don't show us the code?
2d
comment C# Class Library for Data Layer - DataTable conversion
you don't show the code that gets the error. also your "table" looks like a row to me.
Mar
24
comment Directory.Exists hold directory handle for several seconds
Here is the reference source for the system directory object if that helps : referencesource.microsoft.com/#mscorlib/system/io/directory.cs
Mar
24
comment Directory.Exists hold directory handle for several seconds
@jimmy - I understand that. This is why I said "If" in my comment. If as in change your code to do the following. I could have said "Rewrite your code to explicitly make the connection then you can explicitly close it."
Mar
24
comment SQL column value as a Value of a JSON to be inserted into a SQL column
naw... The source columns only have whole numbers encoded as a string of digits. Remember @NorbertvanNobelen I made up this example and the OP gave no details.
Mar
24
answered SQL column value as a Value of a JSON to be inserted into a SQL column
Mar
23
comment Step n before an operation in a C# for loop
Why not @Servy -- ++ should work on an rvalue.
Mar
23
comment Step n before an operation in a C# for loop
if you want to use pre-increment you can do it twice like this ++(++i)
Mar
23
awarded Good Answer
Mar
23
awarded Editor
Mar
23
comment Directory.Exists hold directory handle for several seconds
you are using a network connection to the drive to see if it exists -- the connection has to time out before it releases the lock. If you explicitly make the connection then you could explicitly close it.
Mar
23
comment Pop function not working in stack
@LEONARDO - print it in the calling function (eg printf("%d\n",s.show());)
Mar
23
comment Pop function not working in stack
@haccks not universal, I'd say there are two ADT -- in one pop returns the value after poping it. in the other there is another function (named show or peek) that looks at the top value and pop just removes the top value unconditionally.
Mar
23
comment Pop function not working in stack
I guess, every stack type I've seen pop returns the value not prints it.
1 2 3 4 5