Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please use the programming forums.


 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
GeneralRe: What to make of the poll results.adminChris Maunder20 Jan '13 - 15:48 
To me, the most notable result is that most people don't want to allow their code to be used with absolutely no restrictions (including for illegal or immoral use), which is one of the main questions I wanted answered.
 
A fundamental complaint that the Open Source movement has regarding the CPOL is that they forbid Open Source code to be restricted in any manner whatsoever. Our lawyers say they too would love to live in a world like that, but there have been court cases over this very issue, hence the clause.
 
Our #1 goal is to protect our authors, and to do this we have provided a solid license that covers them. However, another result from the survey that's interesting is that many don't care to have the jurisdiction of the agreement stated, which (to me) means that most developers aren't considering what would happen should they be sued by a nutcase who used their code. Balancing this is a desire by most to be protected, but even that score is lower than I would have expected (or hoped? Or Anticipated?)
cheers,
Chris Maunder
 
The Code Project | Co-founder
Microsoft C++ MVP

GeneralRe: What to make of the poll results.memberSoMad20 Jan '13 - 16:03 
I read that thread that prompted this weeks poll. It seemed to me that "Ivan" expects every developers goal to be to contribute to Open Source projects.
 
I wonder if people might have been confused about the wording of "That it can be used with absolutely no restrictions (including for illegal or immoral use)" and exactly how to rate that. I know I read it several times before i clicked the box and even then I was not sure I chose correctly.
 
Perhaps there should be some sort of wizard based on these questions, aiding an author to select the best fitting license for their contribution.
No, I would not like to be the one to put this logic together - the number of licenses out there is just incredible and wading through them to link up the various factors would be quite a task.
 
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

GeneralRe: What to make of the poll results.adminChris Maunder20 Jan '13 - 16:05 
A wizard is an interesting idea, but I really don't want to steer people towards licenses that don't protect them - which includes the vast majority.
 
Pretty much any license out there will be enough to say: here! use it! Enjoy! It's when things go sour that things get messy.
 
No one ever believes that things can go sour.
cheers,
Chris Maunder
 
The Code Project | Co-founder
Microsoft C++ MVP

GeneralRe: What to make of the poll results.memberSoMad20 Jan '13 - 16:12 
Excellent points. Thumbs Up | :thumbsup:
 
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

GeneralRe: What to make of the poll results.memberSuper Lloyd20 Jan '13 - 16:13 
I don't really understand how you can be liable for anything when you just release a "sample app"?!?!?
 

But I missed that poll! Yeah, I want to be protected (I mean I don't see the need but one can never be too careful, right? !:P) and if I released it publicly it can be used for whatever purpose, though I'd like to be given some credit! Smile | :)
Although, hey, if it's a library, it's just going to be buried in the libraries list, that's fine I guess!! ^^
My programming get away... The Blog...
Taking over the world since 1371!

GeneralRe: What to make of the poll results.adminChris Maunder20 Jan '13 - 16:24 
I can't understand how you can sue someone for tripping over on a perfectly serviceable path because you were too busy texting instead of watching where you were going.
 
But people do that all the time.
cheers,
Chris Maunder
 
The Code Project | Co-founder
Microsoft C++ MVP

GeneralRe: What to make of the poll results.memberSuper Lloyd20 Jan '13 - 16:55 
Mm... Damn Americans! :P
How come they win such stupid cases!!!
My programming get away... The Blog...
Taking over the world since 1371!

GeneralRe: What to make of the poll results.adminChris Maunder20 Jan '13 - 17:00 
It bothers me. It really does.
 
I totally understand about duty of care, but I am constantly flabbergasted that the requirement to use one's Common Sense isn't as strictly enforced.
cheers,
Chris Maunder
 
The Code Project | Co-founder
Microsoft C++ MVP

GeneralRe: What to make of the poll results.memberJim Meadors20 Jan '13 - 20:04 
Chris: Thanks for your answers on this subject. I'm certain that most if not all who submit articles are only thinking of helping their "team-mates" and those who are trying to improve their coding (and of course, the CP mug and goodies for the best articles!) I'm glad that you are looking out for us because I for one wasn't thinking about the loonies when I turned in my article. I was about to suggest some checkboxes on the Article Submission Page that add "disclaimers" into the article as chosen by the author, but I would get tired of seeing such on every page! Just keep up the good work!
GeneralRe: What to make of the poll results.memberMark_Wallace20 Jan '13 - 20:58 
Chris Maunder wrote:
No one ever believes that things can go sour.

You don't appear to have the same customers that we do.
I wanna be a eunuchs developer! Pass me a bread knife!

GeneralRe: What to make of the poll results.memberPIEBALDconsult20 Jan '13 - 16:31 
I agree with Chris' point about protecting the author. I really don't care about licensing at all, but if checking a checkbox might protect me from idiots and lawyers, then I'll go with it.
GeneralRe: What to make of the poll results.memberPhil Martin20 Jan '13 - 18:20 
While the averages are interesting and offer some insight, I also think some more data would help understanding things a bit more.
 
Chris: Could we get the count of each votes on each question pretty please? Or even more betterer a histogram for each question?
 
I would be fun to have all the original submissions (anonymous of course) and see if there was any correlation between each of the questions. For example, do people who want clear indemnification also care that things can be used anywhere?
GeneralRIP Richard Garneau...memberMaximilien20 Jan '13 - 15:26 
Gone is one of the best sport news caster, commentator and TV personality that French Canada and Québec in particular even knew.
 
He covered 23 Olympic games and numerous other local and international sport events including doing the comments for the "Les Canadiens" hockey games on the TV.
 
Richard Garneau[^]
 
Rose | [Rose]
Nihil obstat

GeneralRe: RIP Richard Garneau...memberRage20 Jan '13 - 21:27 
Maximilien wrote:
He covered 23 Olympic games

Made a quick estimate of his age with 43 x 4 year between Olympics, went WTF | :WTF: , and remembered that there are indeed only 2 years between each ( well, at least for the recent ones) Blush | :O .
~RaGE();

I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb


GeneralExplain to me about C# and X509 certificates.memberWolfram Steinke20 Jan '13 - 14:33 
To many of you who have been dealing with the ins and outs of certificates for some time you will probably consider this rather mundane question.
 
Initially I didn't think it to be a complex issue either, but recent events, or the people I've had to deal with made it very frustrating to say the least.
 
When I wish to load a certificate, in my application, that needs to be used for a secure communications I call the follow function:
 
certStore.Certificates.Find(X509FindType.FindByThumbprint, _thumbprint, true);
 
Can someone please explain the flow of what happens when the last parameter is set to true and if it is set to false. Why would it work when set to false and not when it is set to true? It has something to do with CA certificates, but what exactly? When true does it actually go off to an external server for the validation or does it all happen locally?
 
The reason I ask is because I've been getting conflicting information and I'd like a better understanding.
 
Hoping someone can assist me.
Happy programming!!

GeneralRe: Explain to me about C# and X509 certificates.memberGarth J Lancaster20 Jan '13 - 17:46 
well, if its 'true', the certificate needs to be a valid certificate - if its false, the certificate must match the thumbprint, but need not be valid ...
 
.. so, the interesting question is, what constitutes a valid certificate ?
 
I can think of two possibilites off hand, a) one that has not expired, b) one that has not been revoked - sorry I dont have enough cycles spare right now to look it up - those are just the obvious ones
 
btw .. http://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.x509certificate2collection.find.aspx[^]
 

Wolfram Steinke wrote:
When true does it actually go off to an external server for the validation or
does it all happen locally?

 
Im pretty sure its up to {whomever} maintains the certificates on a machine to download and apply CRL's/revoke certificates manually - so Im pretty sure that the system doesnt go off to a remote machine - some PGP frameworks could be set up like this iirc
GeneralRipper Street railway electrification.memberPHS24120 Jan '13 - 12:42 
I'm being anal but I'm curious to ask something about tonight's Ripper Street on BBC. Part of the plot involved the electrification of an underground railway line. I recall that electrification of lines was only feasible using alternating current which Nikolai Tesla is credited. The series is based in London during the 1880-1890s thereabouts and it's possible alternating current was available then but I have a suspicion that only direct current was used. Searching for information is a little vague on the year when steam trains started to be decommisioned from use on the underground system.
 
Could it have been possible that something as long as an underground line could have been powered by direct current alone? I'm just wondering if Auntie didn't commit an historical error or not using electrification in the period the program is set.
 
Despite the critical reviews of the program and the wanton violence and abused women portrayed during the period it's set in it's a jolly fine period drama, something that once again, only the BBC can produce. Smile | :)
"I do not have to forgive my enemies, I have had them all shot." — Ramón Maria Narváez (1800-68).
"I don't need to shoot my enemies, I don't have any." - Me (2012).

GeneralRe: Ripper Street railway electrification.memberDalek Dave20 Jan '13 - 13:33 
It is set in 1889 and the tunnel shown was for the City and South London Railway which started operating in 1890.
 
It did indeed use DC to begin with, but soon switched over to AC.
 
It was the world's first all electric line.
 
Here is a wiki[^]
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
 
CCC Link[^]

GeneralRe: Ripper Street railway electrification.memberPHS24120 Jan '13 - 21:46 
(slaps forehead) Of course, the year is quite specific as the inspector's office has pictures of the Ripper's victims on the board so it dates quite exactly. I know in the US, Edison and Tesla locked horns over AC and DC and Tesla won the day but Edison seemingly tried to discredit Tesla's system. I think I read or watched somewhere that Edison's use of DC in New York would have required a DC generator every mile or so. That's what got me thinking about Ripper Street's historical accuracy but it seems Auntie was correct.
"I do not have to forgive my enemies, I have had them all shot." — Ramón Maria Narváez (1800-68).
"I don't need to shoot my enemies, I don't have any." - Me (2012).

GeneralRe: Ripper Street railway electrification.memberColin Mullikin21 Jan '13 - 4:20 
PHS241 wrote:
I think I read or watched somewhere that Edison's use of DC in New York would have required a DC generator every mile or so.
I think I read or watched the same thing at some point, but I thought it was something even shorter than a mile, like 2-3 blocks.
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
 
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
 
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin


GeneralRe: Ripper Street railway electrification.memberPHS24121 Jan '13 - 21:51 
Colin, you are absolutely right. It was something like a few blocks indeed. I can't be certain but did it feature in Auntie's Seven Wonders Of The Industrial Age series they aired about three years ago? I know I saw something about Edison/Tesla on TV.
"I do not have to forgive my enemies, I have had them all shot." — Ramón Maria Narváez (1800-68).
"I don't need to shoot my enemies, I don't have any." - Me (2012).

GeneralHorse contamination - further newsmemberDalek Dave20 Jan '13 - 12:25 
After the revelation that Tesco burgers have been found to contain horsemeat, there comes further evidence of contamination...
 
These gherkins have been found to contain traces of zebra[^]!
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
 
CCC Link[^]

GeneralPaging he who must not be namedmemberDan Neely20 Jan '13 - 12:23 
There's a stack exchange question asking for "the most human language like programming language"[^], and we all know that's exactly what his construct was intended to achieve.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
 

Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt

GeneralRe: Paging he who must not be namedadminChris Maunder20 Jan '13 - 12:52 
I'm so glad I added back upvoting.
cheers,
Chris Maunder
 
The Code Project | Co-founder
Microsoft C++ MVP

GeneralRe: Paging he who must not be namedmemberahmed zahmed20 Jan '13 - 13:49 
Thumbs Up | :thumbsup: Thumbs Up | :thumbsup:
If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

GeneralRe: Paging he who must not be named [modified]memberJimmyRopes20 Jan '13 - 13:58 
Plain English of course.
 
I will refrain from naming he who must not be named. Big Grin | :-D
 
The Manifesto. Roll eyes | :rolleyes:

The report of my death was an exaggeration - Mark Twain

Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems

I'm on-line therefore I am.
JimmyRopes



modified 20 Jan '13 - 20:08.

GeneralRe: Paging he who must not be namedmemberPIEBALDconsult20 Jan '13 - 14:09 
Oh, you don't mean me?
 

The other other day I was thinking of saying "Luc" three times to see whether or not he would respond.
GeneralRe: Paging he who must not be namedmember_Josh_20 Jan '13 - 15:08 
OMG, haven't thought about him in a long long time.
JokeTwo idiotsmemberRavi Bhavnani20 Jan '13 - 11:31 
Two roofers, Larry and Joe were on the roof laying tile, when a sudden gust of wind knocked down their ladder.  "I have an idea", said Larry.  "We'll throw you down, and then you can pick up the ladder."
 
"What do you think, I'm stupid?", said Joe.  "I have an idea.  I'll shine my flashlight, and you can climb down on the beam of light."
 
"What do you think, I'm stupid?  You'll just turn off the flashlight when I'm halfway there."
 
/ravi
My new year resolution: 2048 x 1536
Home | Articles | My .NET bits | Freeware
ravib(at)ravib(dot)com

GeneralRe: Two idiotsmemberRoger Wright21 Jan '13 - 16:49 
Our long friendship makes me want to upvote this, Ravi, but I fear that this would only encourage you. Sigh | :sigh:
Will Rogers never met me.

GeneralRe: Two idiotsmemberRavi Bhavnani21 Jan '13 - 18:41 
Someone has to maintain the high standards of the Lounge. Smile | :)
 
/ravi
My new year resolution: 2048 x 1536
Home | Articles | My .NET bits | Freeware
ravib(at)ravib(dot)com

QuestionSubscribing to ForumsadminChris Maunder20 Jan '13 - 9:28 
We currently have a "Subscribe" button on the Lounge that allows you to subscribe to the Lounge Lizard to get your daily fix of the top lounge posts.
 
Is there interest in having notifications sent at the time new posts and/or replies are posted on the Lounge? On the programming forums? On any forum you care to name?
 
Or is a Daily Digest better?
 
Or the choice of both?
cheers,
Chris Maunder
 
The Code Project | Co-founder
Microsoft C++ MVP

AnswerRe: Subscribing to ForumsmentorDaveAuld20 Jan '13 - 9:33 
Not for me. The only notifications I would continue to use is the one when some one posts a reply to a message or posts a message to an article of mine.
 
The only thing I think is missing, is notification when an article I have bookmarked has been updated.
Dave
Find Me On: Web|Facebook|Twitter|LinkedIn

Folding Stats: Team CodeProject


GeneralRe: Subscribing to ForumsmemberAndré Kraak20 Jan '13 - 9:47 
I would like to second the option for notifications on bookmarked items (not only articles).
0100000101101110011001000111001011101001

GeneralRe: Subscribing to ForumsmemberRavi Bhavnani20 Jan '13 - 11:33 
DaveAuld wrote:
notification when an article I have bookmarked has been updated
Thumbs Up | :thumbsup:
 
/ravi
My new year resolution: 2048 x 1536
Home | Articles | My .NET bits | Freeware
ravib(at)ravib(dot)com

GeneralRe: Subscribing to ForumsmvpShemeer NS22 Jan '13 - 22:59 
In addition to this I would like to get notified when,
 
1. an article which I have voted/bookmarked has been updated
2. Comments modified where I have replied already
3. Option to subscribe/follow a member so that I will get notified when that member posts anything relavent.
Shemeer NS

AnswerRe: Subscribing to ForumsmentorDaveAuld20 Jan '13 - 9:35 
Just another thing that popped into my head was user subscriptions or follow.
 
i.e. I could visit a users profile and flag a follow, this would then notify me if that user posts a new article or tip, as sometime I miss them due to all the other traffic on the site.
Dave
Find Me On: Web|Facebook|Twitter|LinkedIn

Folding Stats: Team CodeProject


GeneralRe: Subscribing to Forumsmember_Maxxx_20 Jan '13 - 11:51 
Sort of like a Stalking button ?
MVVM# - See how I did MVVM my way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
 
.\\axxx
(That's an 'M')

GeneralRe: Subscribing to ForumsmemberMycroft Holmes20 Jan '13 - 12:08 
Wheres the 5 - I want a stalking button!
Never underestimate the power of human stupidity
RAH

GeneralRe: Subscribing to Forumsmember_Maxxx_20 Jan '13 - 12:44 
The little green arrow on the left is the button you're looking for (for the '5' not the stalking(
MVVM# - See how I did MVVM my way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
 
.\\axxx
(That's an 'M')

AnswerRe: Subscribing to ForumsmemberRutvik Dave20 Jan '13 - 9:49 
Chris Maunder wrote:
having notifications sent at the time new posts and/or replies are posted on the Lounge?

I think, this will make CP email server scream, when The Lounge is busy.
 
I do not have problem, checking the lounge time to time, the notifications when someone post reply on my post are enough for me.
 
Thanks for bringing back the voting, everything is colorful now. Smile | :)
AnswerRe: Subscribing to ForumsmemberSoMad20 Jan '13 - 9:50 
I thought that is what the "Watch" feature was for. You bookmark something and click the "Watch" thing.
Granted, I have never actually been able to get any hits/results from this, but I thought that is what it was supposed to do and just blamed my old browser for messing something up.
 
BTW, I just noticed the hover menu for the user name on the top right has a "My Watched Items" entry, but it goes to an "Unable to load the requested member's information." message.
 
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

GeneralRe: Subscribing to ForumsmemberPIEBALDconsult20 Jan '13 - 10:46 
No. But if you did could it filter by reputation or something?
GeneralRe: Subscribing to ForumsadminChris Maunder20 Jan '13 - 12:54 
As in: subscribe to messages from members who have X or greater rep?
 
(and I thought I'd explored all ways of melting our database)
 
Interesting. I give it some ponder time.
cheers,
Chris Maunder
 
The Code Project | Co-founder
Microsoft C++ MVP

GeneralRe: Subscribing to ForumsmemberPIEBALDconsult20 Jan '13 - 14:00 
Right, though that may not make sense for the programming fora; only for Lounge etc.
AnswerRe: Subscribing to ForumsmvpChristian Graus20 Jan '13 - 14:11 
If I could subscribe to, say, unanswered MVC3 questions in the QA forum, I'd do that for sure.
Christian Graus
 
Driven to the arms of OSX by Vista.
 
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

AnswerRe: Subscribing to ForumsmemberRage20 Jan '13 - 21:13 
None of them, but then I am not that "notification" type of guy.
~RaGE();

I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb


AnswerRe: Subscribing to ForumsmemberRoger Wright21 Jan '13 - 16:53 
If the Subscribe function allowed a filter to be set to narrow results, it would be useful. For instance, if I've wasted the weekend trying to get a serial port class to control a MODBUS RTU, and I could subscribe to Serial && MODBUS in the C# forum, that would be useful. But simply subscribing to the forum itself would only add to the huge amount of email I have to wade through every day.
Will Rogers never met me.

RantSystem.Xml.Linq.....memberBrisingr Aerowing20 Jan '13 - 8:27 
Is a Pain-In-The-Posterior.
 
I was trying to load an XML document, get an element, and loop through some sub elements of that element, using the Local Name of the element. Well, I was getting a NullReferenceException, and found that the Elements() method requires a FREAKING FULLY QUALIFIED NAME! IT WON'T TAKE A LOCAL NAME OF THE ELEMENT! I tried the XmlDocument class, but that was even worse! I finally ended up using a few Where clauses to filter out the elements I needed.
 
You would think the Elements() method would allow a local name, or have a parameter that specifies that the passed in name is a local name, but noooooooooooooo!

Bob Dole
The internet is a great way to get on the net.

D'Oh! | :doh: 2.0.82.7292 SP6a

GeneralRe: System.Xml.Linq.....memberSuper Lloyd20 Jan '13 - 11:11 
Programming question alert!!!
 
Anyway, you can try to list all elements and filter your self! Poke tongue | ;-P
 
from node in doc.Root.Elements()
where node.Name.LocalName = "ICanDoIt"
select node;
 
QED!!! Poke tongue | ;-P
My programming get away... The Blog...
Taking over the world since 1371!

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 19 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid