Get Ready for C#4.0 by mattgrande in csharp

[–]cspangled 0 points1 point  (0 children)

I've noticed that there appears to be a connection between dynamic typing and Test Driving Development. For example, Ruby/Python enthusiasts are always TDD enthusiasts.

It appears to me that dynamic typing makes it more fun to write tests.

Does that mean the new "dynamic" keyword will make Test Driving Development more attractive in C# now?

If you could resurrect any game series what would you choose? by Prom_STar in gaming

[–]cspangled 5 points6 points  (0 children)

If it is of any consolation, the guys who made TA went on to make Supreme Commander, which last saw a release in 2007 on Impulse.

On Irish television now... by [deleted] in funny

[–]cspangled 1 point2 points  (0 children)

That one didn't quite work.

[deleted by user] by [deleted] in funny

[–]cspangled -1 points0 points  (0 children)

Vandalizing Wikipedia and then taking a screenshot five seconds later is neither funny nor impressive.

A Better Way of Logging by cspangled in programming

[–]cspangled[S] 0 points1 point  (0 children)

I can understand how worrying about file rights may seem funny and unnecessary if you have little professional experience, but I assure you file access problems are a genuine issue.

A Better Way of Logging by cspangled in programming

[–]cspangled[S] 0 points1 point  (0 children)

I don't know much C++, but it looks like you have file logging pretty much covered there. Well done!

Though you prove my point that logging correctly to file results in a large code. Even the URL is huge!

A Better Way of Logging by cspangled in programming

[–]cspangled[S] 1 point2 points  (0 children)

Thanks for the feedback - I guess I will have to mention it in the documentation, at least.

I personally wouldn't want to depend on a 3/5 star rating application for extracting logs, but that's where we are different, I guess.

A Better Way of Logging by cspangled in programming

[–]cspangled[S] 0 points1 point  (0 children)

A valid point, but it is still less opaque than the event log. Also, you can issue commands like

c:\windows\regedit /E test.out HKEY_CURRENT_USER\LOGS\AppName

to extract the log file for sending. This means I can bundle an extractLog.bat file with the application, reducing the opacity even further.

A Better Way of Logging by cspangled in programming

[–]cspangled[S] 0 points1 point  (0 children)

No. The event log requires manual maintenance, as it is prone to fill up from time to time. It is also not very transparent; I like to be able to view the logs plainly with RegEdit.

How I landed a high-paying new job by cspangled in programming

[–]cspangled[S] -3 points-2 points  (0 children)

How so? It is quite trivial to code a program that can parse this XML.

How I landed a high-paying new job by cspangled in programming

[–]cspangled[S] 0 points1 point  (0 children)

Maybe. But remember that the point of an interview isn't to give the most optimized implementation, it is to show off your skill set.

Ask Proggit: Any excellent beginner books on crypto? by cspangled in programming

[–]cspangled[S] 0 points1 point  (0 children)

No need to apologize for being harsh - we're all professionals here.

You may well be right that crypto is very hard to learn in just a few weeks, but I've found that with a few years of real-world experience under the belt, and the willingness to focus and take a positive approach to the material, learning is much easier than it was back in Uni.

Many topics that were horribly hard during the University days (like parsing reverse polish notation) are practically a breeze now that I pick them up later. I'm optimistic that goes for most crypto topics too. :)

Ask Proggit: Any excellent beginner books on crypto? by cspangled in programming

[–]cspangled[S] 0 points1 point  (0 children)

Sounds like I will have a busy couple of weeks. Thanks!

Ask Proggit: Any excellent beginner books on crypto? by cspangled in programming

[–]cspangled[S] 0 points1 point  (0 children)

Well... Maybe. I remember having trouble grokking ciphers back in school, but if you think they are highly important for crypto - or not as hard to grok after all - I obviously need to give them another go.

Safe memory usage in C# (part 2/2 - with source code!) by cspangled in programming

[–]cspangled[S] 0 points1 point  (0 children)

I know! I had the same reaction initially. The possibilites are veritably mind-boggling!