Small-to-medium sized projects do not deserve developers with small-to-medium qualifications. Code No Evil will provide the highest qualified developers for all projects.
User's Login

Create an Account

Categories Menu

· All Categories
· HOWTO
· News
· Weblog

Survey

What is your .NET language of choice?

C#
VB.NET
MC++
Perl
COBOL
Eiffel
Fortran



Results
Polls

Votes: 194
Comments: 0

Today's Big Story

There isn't a Biggest Story for Today, yet.

Shameless Self Promotion

Code No Evil Swag!

Contact Us

sales@codenoevil.com
ICQ #133644219 

PerlMonks

·search a particular file
·missing outputs
·storing system function output
·Perl58.dll & nt.dll crashes
·Help needed in Perl script!
·Authenticating the Mail Sent
·map array elements with single quotes
·Random Perl 6 notes or Dummy docs
·Script to display dates between range
·Return $self, but what if I don't wanna?

read more...

Sophos Virus Info

·302 Found

Found

The document has moved here.


Apache Server at www.sophos.com Port 80
" target="new">302 Found

read more...

Advertising





Main Menu

· Home

Our Sponsor

Dell Business Weekly Promo

Affiliations

Building Trust in Transactions (tm)

AnalogousMember

·Import PDF into Visio 2007
·SqlCeReplication PublisherSecurityMode
·Upgraded MT
·What Is The Right Foreground For a Given Background
·Request Tracker RT_SiteConfig.pm
·Eliot Spitzer and His Prostitute
·No Really, Apple TV Doesn't Suck
·Apple Mac Time Machine and iSCSI
·Avistar / FastTrack Airport Parking Sucks
·The well educated surfer

read more...

Sells Brothers

·Creating a Lazy Sequence of Directory Descendants in C#
·The incomplete list of impolite WP7 user feature requests
·"Deep Fried Bytes Podcast": Lars on SQL Server Modeling
·SQL Server Modeling CTP (November 2009 Release 2)
·Please don't run apps in the background on my WP7 phone!
·Update for SQL Server Modeling CTP and Dev10 RC
·Windows Phone Series 7 Link Roundup
·Entity Designer Database Generation Power Pack
·Data Binding, Currency and the WPF TreeView
·Telerik LINQ to M Refresh for Nov09 Modeling CTP

read more...

MSDN Just Published

Currently there is a problem with headlines from this site

News: A great embarrasment for Code No Evil
Code No Evil

I have to say a great appology for anyone reading our site. It appears that over the last few days, we were h4x0r3d. What is most ironic, is this comes on the eve of me receiving my H4X0R3D license plates.

This attack comes as a result of not updating to the latest version of PHPnuke soon enough. In fact, this is same type of behavior that caused proliferation of the slammer virus against SQL Server 2000®.

The only articles that were lost were unsolicited product announcements from Cape Clear. Again, I am sorry, and I hope this has not tarnished our imagine.

Posted by DrFooMod2 on Wednesday, July 02 @ 19:48:38 PDT (2119 reads)
(Read More... | 2 comments | News | Score: 0)



Correction in regards to .net Workspaces
.Net

Thanks to Jonathan Goodyear of www.angrycoder.com, I need to post a correction to my Sourceforge for Capitalists article. As it turns out, they also have a restriction on its use for commercial software. Jonathan pointed this out to me:

I thought that you would like to know that your article on CodeNoEvil.com about .NET Workspaces is incorrect. If you view the GotDotNet Workspace Use Agreement (http://www.gotdotnet.com/Community/Workspaces/licenses/OwnerAgreement.aspx), Section 5 (3rd paragraph), it clearly states: "Second, You also agree that You will not use the Workspace for any commercial purposes whatsoever." So, the capitalist folk will have to keep looking for a source-code collaboration environment for commercial code.

So, this is a bit unfortunate. But, the spirit of capitalism is still lives on.

Posted by DrFooMod2 on Monday, October 14 @ 08:06:20 PDT (1568 reads)
(comments? | Score: 0)



News: GDN Workspaces updates license language
.Net

In response to many users of GotDotNet Workspaces, Microsoft has updated the language they used in the licensing agreement governing code uploaded to the site. You can read about it here.

Basically, they are not claiming rights to user's code, as it may have sounded in the past. Check it out for yourself.

Posted by DrFooMod2 on Monday, September 30 @ 10:52:18 PDT (1554 reads)
(comments? | News | Score: 0)



SourceForge for Capitalists
.Net If you're not already familiar, SourceForge.net is a centralized repository of open source projects. They provide source control (CVS), discussion boards, project website hosting, and a number of other development project resources. A significant number of open source projects are hosted at SourceForge.

The greatest drawback of SourceForge is its restriction against commercial projects. This, by its very nature, would violate the sacred covenant of open source projects. Therefore, faced with this dilema, where can a capitalist go, to collaborate on a development project that will actually generate revenue?

GotDotNet (which is owned and operated by Microsoft) has come to the rescue for those of use who earn our living as software developers. The service is titled GotDotNet Workspaces, and it went into beta testing on 9/16/2002. The mission statement for Workspaces reads:

GotDotNet Workspaces is an online collaborative development environment where .NET developers can create, host and manage projects throughout the project lifecycle.

GotDotNet Workspaces was brought to my attention when a workspace was created in conjunction with the #C# channel on EFNet. The channel workspace is located www.efnetcsharp.net (which just redirects you to the workspace at GotDotNet).

Access to a given workspace requires a Passport account. Once inside, they provide source control, bug tracking, and message boards for your workspace. In addition, since the workspaces are hosted within GotDotNet, code samples, FAQ's, and tutorials are only a click away. It's obvious that Microsoft is making an honest effort to help their development community by providing this collaborative workspace.

A whitepaper discussing GotDotNet Workspaces can be either viewed online or downloaded now.
Posted by DrFooMod2 on Friday, September 20 @ 08:14:39 PDT (1602 reads)
(comments? | Score: 0)



Determining Unix Epoch in .NET
.Net

.NET does not make the number of seconds since 12:00:00AM 1/1/1970 readily available. This date and time is refered to the Epoch in the *nix world. It's primary use is for fix point date references.

I have wipped up some sample code that you can use to get this value in C#.

DateTime dtThen = new DateTime(1970,1,1,0,0,0,0);
DateTime dtNow = DateTime.Now;
TimeSpan span = dtNow - dtThen;
int timestamp = (int)span.TotalSeconds;


This example is quite simple. What I'm doing is first creating a DateTime object that represents 12:00:00AM 1/1/1970. I then retrieve a DateTime object from the static property Now of the DateTime object. The next step is to cast the difference in the DateTime objects into a TimeSpan object. The TimeSpan object's Seconds property represents the total number of seconds between the two dates.

DateTime manipulation within .NET is very sophisticated, but sometimes, what seems so easy, isn't. I hope you find this helpful.

Posted by DrFooMod2 on Thursday, September 12 @ 07:36:57 PDT (6655 reads)
(comments? | Score: 3)