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 
AdminAzure Challenge: Spot Challenge has been postedadminChris Maunder8 May '13 - 23:51 
The spot challenge for stage 2 of the Azure challenge has been posted[^].
 
Remember: if you missed out on completing challenge 1 you can still enter and be in the running for the remaining challenges.
cheers,
Chris Maunder
 
The Code Project | Co-founder
Microsoft C++ MVP

AdminPosting rules for The Lounge [modified]adminChris Maunder2 Jul '11 - 15:48 
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
 
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
 
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
 
3. No sys-admin, networking, "how do I setup XYZ" questions. For those use the SysAdmin[^] or Hardware and Devices[^] forums.
 
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions. Or if you must, use the Back Room[^] - but enter at your own risk.
 
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen. For those discussions where you wish to be a little more frank, use the Soapbox[^]
 
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
 
7. Not everyone's first language is English. Be understanding.
 
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
 
We are a community for software developers. Leave the egos at the door.
cheers,
Chris Maunder
 
The Code Project | Co-founder
Microsoft C++ MVP


modified 9 Dec '11 - 16:59.

GeneralEuropean Cup Final. Kraut .v. Kraut. Spoiler alert...memberPHS2414hrs 1 min ago 
I just watched the final between Borussia .v. Bayern and Bayern won 2-1. I usually never bother watching soccer but bloody 'eck those Krauts know a thing or two about playing it. I was completely hooked on tonight's game. Even Herr Merkel was at Wembley (or is it Vembley?) to watch the game. When the cameras recorded the emotions of the crowed, there was some half-decent totty on show.
 
It was a very good game to watch. It won't convert me to soccer as I'm a rugger man myself but after this evening's game Germany has proved that world soccer is in very good hands.
 
Well done the Krauts. Smile | :) Thumbs Up | :thumbsup:
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

GeneralJavascript is CRAPmemberJohn Simmons / outlaw programmer4hrs 18mins ago 
That's all I wanted to say...
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

GeneralRe: Javascript is CRAPmemberPHS2414hrs 8mins ago 
Indeed it is.
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

GeneralRe: Javascript is CRAPprofessionalMike Hankey3hrs 50mins ago 
That's the reason I went to JQuery. Went to MooTools first because I found JQuery difficult but once I bit the bullet I settled on JQuery.
VS2010/Atmel Studio 6.1 ToDo Manager Extension
Some days, it's just not worth chewing through the restraints.

GeneralRe: Javascript is CRAPmemberAndy_L_J14mins ago 
While I cant be arsed to look myself, I strongly suspect this may be related to Leslie Nielsen Blush | :O
I don't speak Idiot - please talk slowly and clearly
 
"I have sexdaily. I mean dyslexia. Fcuk!"
 
Driven to the arms of Heineken by the wife

GeneralWindows 8 GripeprofessionalBrisingr Aerowing8hrs 53mins ago 
I still don't understand why M$ took out DVD playback in Windows 8. So I am now downloading VLC media player to play a Mythbusters DVD I want to watch.
 
Dammit, M$.
 
Don't get me wrong, I like VLC, as it plays pretty much everything under the sun, and it can play regionalized DVDs without having to change the DVD drive's region settings! That is a handy thing to have.
Gryphons Are Awesome! ‮Gryphons Are Awesome!‬

AnswerRe: Windows 8 GripeprofessionalRavi Bhavnani8hrs 27mins ago 
Brisingr Aerowing wrote:
I still don't understand why M$ took out DVD playback in Windows 8.
Cost[^].
 
/ravi
My new year resolution: 2048 x 1536
Home | Articles | My .NET bits | Freeware
ravib(at)ravib(dot)com

GeneralRe: Windows 8 GripememberLloyd Atkinson8hrs 22mins ago 
It's Microsoft, they have to remove at least one useful feature on every release.
           .-.
          |o,o|
       ,| _\=/_      .-""-.
       ||/_/_\_\    /[] _ _\
       |_/|(_)|\\  _|_o_LII|_
          \._./// / | ==== | \
          |\_/|"` |_| ==== |_|
          |_|_|    ||" ||  ||
          |-|-|    ||LI  o ||
          |_|_|    ||'----'||
         /_/ \_\  /__|    |__\

GeneralRe: Windows 8 GripeprofessionalDavid_Wimbley5hrs 23mins ago 
Didn't Vista take out DVD play back as well? Maybe it is every other version of windows they remove dvd playback...test the waters...see who still finds it useful.
GeneralRe: Windows 8 GripememberPHS2414hrs 10mins ago 
Brisingr Aerowing wrote:
o play a Mythbusters DVD

Come to the UK and subscribe to Sky Shite TV. You'll see all MiffBusterz episodes again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again day after day, week after week and sooner or later you'll get the playback loop over and over. Why waste good money on a DVD.
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

GeneralRe: Windows 8 GripeprofessionalBrisingr Aerowing1 hr 28mins ago 
I already had the DVDs. I got them for my birthday a few years ago.
Gryphons Are Awesome! ‮Gryphons Are Awesome!‬

GeneralAnxiety levels proportial to email distribution list size [modified]protectorDaveAuld13hrs 58mins ago 
On a Saturday and Sunday morning (seeing as the onshore office is 'closed'), we are required to produce the daily region report to send out to all the big hitters in the company around the world, This ranges from the Chairman/CEO, numerous VPs etc. at present the distribution list is in the region of 80+ people.
 
We use a spreadsheet to collate the relative numbers and compose the required narratives before copying into an email. There is lots that can go wrong and sometimes does. Especially when the numbers don't balance.
 
It doesn't matter how many times, I check, re-check, re-re-check, re-re-re-check etc. (think you know what I mean), I still absolutely brick myself that moment before the SEND button is clicked.
 
Then there is that period of anticipation from the moment it is sent to late on in the day, when you are just waiting for someone to notice a mistake. Fortunately it has only happened to me a couple of times over the last 18 months.
 
So, I have just sent the report.......Unsure | :~
Dave
Find Me On: Web|Facebook|Twitter|LinkedIn

Folding Stats: Team CodeProject



modified 9 hrs ago.

GeneralRe: Anxiety levels proportial to email distribution list sizememberGary R. Wheeler13hrs 46mins ago 
I'll ask the obvious question: isn't there a way to at least automate the validation and warn you when the numbers don't balance?
Software Zen: delete this;

GeneralRe: Anxiety levels proportial to email distribution list sizeprotectorDaveAuld13hrs 17mins ago 
No, because the numbers they need to balance are changing daily and subject to variance depending on ongoing operations. Mystical powers are sometimes needed to get it right. (That's why oil is expensive Laugh | :laugh: )
 
A few weeks ago I spent about 2.5 Hours trying to get the numbers to balance and had to contact various people to send their relevant justifications for their numbers. The computer did nearly leave via a window that day D'Oh! | :doh:
Dave
Find Me On: Web|Facebook|Twitter|LinkedIn

Folding Stats: Team CodeProject


GeneralRe: Anxiety levels proportial to email distribution list sizememberH.Brydon13mins ago 
DaveAuld wrote:
The computer did nearly leave via a window that day

Let me guess ... "Windows on Windows", the 2 bit edition.
--
Harvey

GeneralRe: Anxiety levels proportial to email distribution list sizeprofessionalMike Hankey9hrs 45mins ago 
I know the feeling; It don't take but 1 aw sh*t to wipe out a whole bunch of atta boys!
VS2010/Atmel Studio 6.1 ToDo Manager Extension
Some days, it's just not worth chewing through the restraints.

GeneralRe: Anxiety levels proportial to email distribution list sizesubeditorWalt Fair, Jr.8hrs 33mins ago 
You must be too hungry. I figure if you aren't hungry, you wouldn't be concerned about such things.
 
I had to coordinate a major oil company budget about 30 years ago - no internet, email, etc. At the end, part of the budget didn't balance and I had no idea what was wrong. The regional manager started to berate me, so I listened calmly, then asked him to show me how to fix the error and offered to resign if he thought that would fix the problem.
 
His response: "You're never going to work on a budget again."
 
I could live with that ... and was perfectly happy not working on the rest of the budgets for the last 5 or 6 years I worked there.
CQ de W5ALT

Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software


GeneralPonta, the Pereptual Robot : Multimodality incorporated [modified]groupGrasshopper.iics14hrs 31mins ago 
Ponta with multimodality in PerC[^]
 
It's day ten since we started with Ponta project. Things are as rough as we thought they would be. We have used OWI kit so far. It is closest to one used in practical robot and industries. I wanted to avoid Lego at all costs. Arduino gives me better flexibility than Lego. One more problem I faced with it is integrating two cameras. I want to fit a camera in the robot and other might be used for remote control. So I did a little work to get two camera's working simultaneously with the interface.
 

So at second week Ponta has started responding to voice, face ( head ) movement and hand gestures. The response so far is not really outstanding and lot of polishing and filtering is required at this stage to get a clean nice response from the robot. However seeing it responding to all modalities is still a great fun.
 
There is one thing though! Ponta is not yet detecting and recognizing objects. I want it to recognize spoons, tea pot and so on. I want it to identify and get the things of it's own rater than waiting for me to give command.
 
So I would work with object detection. I am not sure if the SDk provides object recognition! If it does not, then I will use simple k-nearest neighbor classifier rather than using something like SVM. KNN will save time. If detection is perfect, recognition shouldn't be any problem.
 
[Update: Object detection added]
Ponta with Object detection[^]
 
A night's coding was all needed to integrate basic object tacking. PerC does not come with an object tracking. So I have mapped the depth map image and RGB image, find out the distance between both sensors and aligned feed from rgb and depth sensors. Now, PerC does not give accurate World image coordinates. But the depth values changes with change in Z. Hence I put a simple technique of analyzing the pixel value of depth data and then filter values bellow 240, which return objects closer to camera. Now based on the bounding box of this depth data, I segment the RGB image. This segmented image is acting like the training image.
 
Next I use GPU based SURF detector to find the location of the object in the scene and threshold on returned Polyline area of remove small area which are result of misdetection. I can say, the overall detection is of about 60% accuracy.
 
I would now make some changes in the algorithm. Rather than checking each frame, I will first track 20 frames and the maximum area returned will be taken as basis point. From next frames it should search around basis point rather than whole image.
 

I would appreciate your critics and suggestions.

modified 49 mins ago.

QuestionMug placement when typing?protectorDaveAuld15hrs 46mins ago 
So, who all when sat at their desk while drinking tea/coffee or other beverage and typing on the keyboard, sits with the drink between their arms and works round the drink to reach the keyboard?
 
This is a more efficient placement of mug, as when you want to drink, your hand simply comes towards you and picks up mug on the way, rather than having to reach somewhere else for it. It also means that when you reach for the mouse, the mug doesn't get in the way.
 
It does carry some inherent risk, as if you get distracted and swing round on your chair, it is possible to side swipe the cup.
 
I do believe the benefits outweigh the risks.....I have found that my natural keyboard to edge of mug distance is approx 6".
 
Just my useless obeservation of the day!
Dave
Find Me On: Web|Facebook|Twitter|LinkedIn

Folding Stats: Team CodeProject


AnswerRe: Mug placement when typing?memberNaerling14hrs 56mins ago 
Where would she place her mug?[^] Poke tongue | ;-P
Personally I put it to my left, just next to the keyboard. I can't risk knocking it over, which I certainly will since I'm a two-finger-typing kind of guy Wink | ;)
It's an OO world.
public class Naerling : Lazy<Person>{
    public void DoWork(){ throw new NotImplementedException(); }
}

AnswerRe: Mug placement when typing?protectorOriginalGriff14hrs ago 
Off to my right, on a coaster, under my Globe. This ensures that it is to the right of my trackball, and so I can't "catch it" when transferring from mouse to keyboard or vice versa. I also means that I tend to lean back to reach for it, so I don't move liquids over or near the keyboard. (I've cleaned enough sticky, near-verminous keyboards thank you).
 
It's also a special mug: 425ml of brain juice, (3/4 pint in old money) plus it's double skinned stainless steel with a vacuum between the skins. It keeps liquid thought fluid at a comfortable temperature for around half an hour. Big Grin | :-D
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

AnswerRe: Mug placement when typing?memberGary R. Wheeler13hrs 50mins ago 
To my left, since I drink left-handed.
Software Zen: delete this;

AnswerRe: Mug placement when typing?professionalMycroft Holmes13hrs 26mins ago 
Coffee bah, I keep the red wine glass off to the right, it can never be mistaken for a mouse then (something that used to happen when I smoked, there is nothing more daft than a bloke scraping a cigarette packet round the desk wondering why the pointer won;t move on the screen.
 
The glass is kept well away from the keyboard so I consciously have go and take a sip, it has been known that the glass may be left in peace for hours if I have an interesting problem to solve.
 
Never underestimate the power of human stupidity
RAH

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


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