DIC Newsletter: Call for Articles

Page 1 of 1

7 Replies - 12977 Views - Last Post: 24 December 2011 - 05:04 AM

#1 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1868
  • View blog
  • Posts: 20,280
  • Joined: 17-March 01

DIC Newsletter: Call for Articles

Posted 11 April 2008 - 08:56 AM

Would you like your name and blog/web site featured in the upcoming Dream.In.Code Newsletter? We're looking for original articles to share with all 80,000 members.

We'll be picking one article a month to include in the DIC newsletter. You can write about anything related to the programming world. From interviewing tips, to new technology news, how to implement a technology in an organization, problems to avoid, techniques and best practices, etc.

The newsletter will go out the third Wednesday of every month (this coming Wednesday, April 16).

Keep articles concise and to the point. There's no set length, but it should be informative, interesting, or controversial.

Include a link to your web site, or a short bio about you for readers to click/read.

Post your articles here and I will select one for the upcoming newsletter.

We'll also feature your article on the homepage for discussion and link to it from the newsletter.

Is This A Good Question/Topic? 0
  • +

Replies To: DIC Newsletter: Call for Articles

#2 MarkoDaGeek  Icon User is offline

  • Dirty Technophile
  • member icon

Reputation: 11
  • View blog
  • Posts: 11,158
  • Joined: 13-October 01

Re: DIC Newsletter: Call for Articles

Posted 11 April 2008 - 09:05 AM

Great idea!


I recently wrote about the response to a comment made by Bill Gates last week about the upcoming Windows 7. A lot of sources around the internet we're taking the comment far too seriously.

It's a short entry but it's somewhat controversial.

http://www.marklange...ear-not-likely/
Was This Post Helpful? 0
  • +
  • -

#3 orcasquall  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 12
  • View blog
  • Posts: 158
  • Joined: 14-September 07

Re: DIC Newsletter: Call for Articles

Posted 11 April 2008 - 08:39 PM

Here's my submission. Chris, you might want to edit a little on the display of links, line breaks or the code display. Because it's written for the newsletter, I hope the mentors cut me some slack for not
:code: :)

/*-----------------------------------------------
Use Format(), don't concatenate
-----------------------------------------------*/
Do you concatenate your SQL statements?

string sSQL = "update BlameLog"
+ " set me = '" + txtBlameDesc.Text + "'"
+ " where user_id = '" + txtUserID.Text + "'";

Oh the horror! The ugliness! Apparently you haven't read
about the exploits of a mom (http://xkcd.org/327/).

Nor have you maintained any applications where you need to
debug an SQL statement. Apparently. Try copying that into
your database editor and run it. Oh you can't? Because
you've got to remove all the idiotic plus signs and figure
out where all the single quotes are and where the double
quotes start and end.

Since you're obviously intent on exposing yourself to
SQL injection attacks and invite maintenance nightmares,
let me show you a better way.

string sSQL = string.Format("update BlameLog set me = '{0}' where user_id = '{1}'", txtBlameDesc.Text, txtUserID.Text);

Now at one glance, you know the structure of the SQL statement.
You can also easily copy the entire statement into your database
editor, make small changes to the parameters and you can run it.

The Format() function can take up to 3 parameters this way.
If you have more, then use this

object[] oaParams = { "up", "orcasquall" };
string sSQL = string.Format("update BlameLog set me = '{0}' where user_id = '{1}'", oaParams);

Dump your parameters into the object array. Then continue
numbering up the format items, so {6} refers to the 7th item.

I still hope you see the error of your ways, and use
proper SQL parameters...


Vincent (aka orcasquall)
http://polymathprogrammer.com/
Was This Post Helpful? 0
  • +
  • -

#4 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 180
  • View blog
  • Posts: 4,667
  • Joined: 26-November 04

Re: DIC Newsletter: Call for Articles

Posted 13 April 2008 - 12:47 AM

I had written a short article about 2 weeks back for my college Magazine.
It's called Linux For Dummies???

I've attached a DOC file to this post.
You can also find it here.

Attached File  LINUX_FOR_DUMMIES.doc (25.5K)
Number of downloads: 112
Was This Post Helpful? 0
  • +
  • -

#5 .Maleficus.  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 129
  • Joined: 07-March 08

Re: DIC Newsletter: Call for Articles

Posted 15 April 2008 - 03:27 AM

I wrote a tutorial on my website called Linux in a Nutshell (A Beginner's Guide).

Don't worry about header error on the page, it'll still load. I haven't had time to work that bug out yet.
Was This Post Helpful? 0
  • +
  • -

#6 Core  Icon User is offline

  • using System.Linq;
  • member icon

Reputation: 774
  • View blog
  • Posts: 5,097
  • Joined: 08-December 08

Re: DIC Newsletter: Call for Articles

Posted 25 January 2009 - 03:32 PM

Just curious, can I still contribute with articles to the Dream.In.Code newsletter? I have some articles regarding my XNA work, so if it is possible, I would like to contribute.
Was This Post Helpful? 0
  • +
  • -

#7 firebolt  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 92
  • View blog
  • Posts: 5,561
  • Joined: 20-February 09

Re: DIC Newsletter: Call for Articles

Posted 02 April 2009 - 11:27 PM

You could also publish this in a PDF and place it on DIC or whatever.
Was This Post Helpful? 0
  • +
  • -

#8 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6058
  • View blog
  • Posts: 23,496
  • Joined: 23-August 08

Re: DIC Newsletter: Call for Articles

Posted 24 December 2011 - 05:04 AM

Locked topic...spambots have got their scummy hooks into this one.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1