Open Side Menu Go to the Top

03-24-2012 , 06:39 PM
i guess this is the part of the story where i reveal that i've been working on some nasty deadlock or race condition for the past three days?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
03-24-2012 , 08:21 PM
I'll make the Freudian argument and say: previously bullied nerds getting even.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-24-2012 , 08:33 PM
When I first started posting on these forums it was primarily in the books and publications forum and one thing that really bothered me was the the very arroagant tone some posters replied with. Not towards me but to anyone who came in and started a thread asking for basic advice on books.

A lot of replies came from people who seemed extremely annoyed at anyone asking a basic question. "Use the search function" must be the most common type of reply there. Back then I couldnt understand why people would responded in that tone, but the more time Ive spent there and seeing the same questions asked over and over, Ive sort began to feel annoyed at it too. What is it about using the search function or scrolling through the first couple of pages that is so ****ing hard? I dont respond in that tone but I have begun to feel the same frustration. Growing impatient with people who cant even be bothered to try and find out for themselves before posting.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-24-2012 , 09:02 PM
There's lots be said for the power of knowledge, which for most nerds was the only power they ever had. Some can handle the power and not be dicks about sharing it, some can't.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-24-2012 , 09:59 PM
Quote:
Originally Posted by myNameIsInga
When I first started posting on these forums it was primarily in the books and publications forum and one thing that really bothered me was the the very arroagant tone some posters replied with. Not towards me but to anyone who came in and started a thread asking for basic advice on books.

A lot of replies came from people who seemed extremely annoyed at anyone asking a basic question. "Use the search function" must be the most common type of reply there. Back then I couldnt understand why people would responded in that tone, but the more time Ive spent there and seeing the same questions asked over and over, Ive sort began to feel annoyed at it too. What is it about using the search function or scrolling through the first couple of pages that is so ****ing hard? I dont respond in that tone but I have begun to feel the same frustration. Growing impatient with people who cant even be bothered to try and find out for themselves before posting.
perfectly understandable feeling. but the right response to that feeling, imo, isn't to post "use the search function" but to ignore the post.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-24-2012 , 10:21 PM
Quote:
Originally Posted by gaming_mouse
perfectly understandable feeling. but the right response to that feeling, imo, isn't to post "use the search function" but to ignore the post.
I agree and thats normally what I do or I just simply answer the question in a normal polite tone. I was new here once too.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-24-2012 , 10:26 PM
Quote:
Originally Posted by myNameIsInga
I agree and thats normally what I do or I just simply answer the question in a normal polite tone. I was new here once too.
yeah it's really refreshing when someone does that.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-24-2012 , 10:32 PM
buyvm gonna have stock 2x a day mon-fri at certain times so if you missed out those are good. i got a box but yea they were being DDOS all day must suck
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-24-2012 , 11:49 PM
yeah but what certain times? do they expect us to wait around all day? i guess the people buying $15/year hosting are the ones who are willing to sit around
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-25-2012 , 12:05 AM
ugh noobs (or carpal tunnels!) making unwanted noob threads! long post (rant) typed out / deleted lol
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-25-2012 , 12:32 AM
Quote:
Originally Posted by Neko
Code:
total_comp = salary + bonus*(result > 10000)
booyah.
btw I did something like this on a pen and paper math proof today true story

http://en.wikipedia.org/wiki/Indicator_function
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-25-2012 , 05:06 AM
I'm working on SDL now but I'm a little stuck on some maths. Any help?

I only want to load the maps that have a piece (or more) showing in the camera, but the maps can change size and so can the camera.
If the camera's area <= the area of that of a map, worst case is x is on like where it is so 4 boxes, and if the height of the camera is > the height of 1 map, worst case is 6, etc. But how can I make it work if the maps are anything from 2x as big as in the picture to 1/100th as big as they are in the picture? And now that I think about it what I said before isnt even right because what if my camera is a long skinny box rectangle instead of a square! math
edit: the way I have it now is I load the map that the top left corner of the screen is in, then the maps to the right of it, under it, and down-right.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-25-2012 , 12:41 PM
there should be algorithms for doing what you want but i can't think of the right keywords this morning. naively, i would:

visit each corner (start with A), determine which section of the map that corner is in (4), load that corner. now move over the map to the right, loading all sections, until you find the one with corner B. assuming your grid is uniform, you now know the left-most and right-most column of map sections that you want to load. now go row by row through those columns until you encounter corner C and corner D in map sections. congratulations, you've loaded the appropriate map sections!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-25-2012 , 07:08 PM
so i thought this was pretty cute:

http://www.themoviedb.org/account/signup

when you enter your passwords (which you ofc can't see as you type), there is a little rainbow created by somehow hashing what you've typed, so that if the passwords don't match you'll see different rainbows. and after you have an account, on the login page, if you remember what your rainbow looks like, you will know you've mistyped your password before you hit submit.

anyone seen this before?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-25-2012 , 07:37 PM
somewhere, there was a requirement: use rainbow tables to promote secure passwords. by the time the developers got through with it...
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-25-2012 , 07:41 PM
Quote:
Originally Posted by gaming_mouse
so i thought this was pretty cute:

http://www.themoviedb.org/account/signup

when you enter your passwords (which you ofc can't see as you type), there is a little rainbow created by somehow hashing what you've typed, so that if the passwords don't match you'll see different rainbows. and after you have an account, on the login page, if you remember what your rainbow looks like, you will know you've mistyped your password before you hit submit.

anyone seen this before?
If you know the number of characters and the rainbow are you well on your way to stealing the password? xD
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-26-2012 , 11:11 AM
Quote:
Originally Posted by Chips Ahoy
I haven't touched this in years so I just did a quick test project:
  • Create new MFC app, mostly defaults.
  • Right click on project in solution explorer, choose class wizard.
  • Add class / MFC class
    • class name foo
    • base class CDialogEx
    • otherwise defaults
  • Open resource file.
  • Open dialog IDD_FOO
  • Drop a button from toolbox on dialog.
  • Double click the button, a new handler appears in foo.cpp
  • Go back to class wizard
  • Select messages tab
  • in Search messages, start typing WM_CTLCOLOR
  • Double click WM_CTLCOLOR. A new handler appears in foo.cpp

I used VS2010. Got the features you mentioned right quick.

Basically MFC Class Wizard does the magic.
I am using visual studio 2008.

Yeah I have had no problems doing this in the past but now overrides is completely empty.
I also only see a solid white screen on the event handlers tab of the properties screen for a radio button.

I can however manually create the DDX_Control, declare the class variable, and create the handler and it does get called. I just don't understand. I am in the middle of redesigning a ton of screens and it really is a pain in the ass to do this by hand imo.

Anyone have a list of files I can delete and have visual studio recreate on a full rebuild?
I have been deleting the .NCB to "fix" intellisense whenever that stops working.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-26-2012 , 12:18 PM
Quote:
Originally Posted by gaming_mouse
so i thought this was pretty cute:

http://www.themoviedb.org/account/signup

when you enter your passwords (which you ofc can't see as you type), there is a little rainbow created by somehow hashing what you've typed, so that if the passwords don't match you'll see different rainbows. and after you have an account, on the login page, if you remember what your rainbow looks like, you will know you've mistyped your password before you hit submit.

anyone seen this before?
LoLtus notes does this, but with clipart images in place of rainbows. It's definitely not new.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-26-2012 , 01:31 PM
Hey all - longtime lurker, first time poster. I have a company I work with that tracks gps positioning for me. They only store 3 months worth of data on their site. They have a web services API that is available. I am proficient with XML and SQL, so working with the data locally will be no problem, but do you have anY recommendations on the easiest way for me to work with an WSDL API? I have some limited programming experience but I am not sure where to start. Basically the goal is just to connect once a day, grab the position history XML, but i am not sure the easiest way to do that and their documentation/support is nonexistant. Thanks for any advice.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-26-2012 , 01:56 PM
Quote:
Originally Posted by Cornboy
Hey all - longtime lurker, first time poster. I have a company I work with that tracks gps positioning for me. They only store 3 months worth of data on their site. They have a web services API that is available. I am proficient with XML and SQL, so working with the data locally will be no problem, but do you have anY recommendations on the easiest way for me to work with an WSDL API? I have some limited programming experience but I am not sure where to start. Basically the goal is just to connect once a day, grab the position history XML, but i am not sure the easiest way to do that and their documentation/support is nonexistant. Thanks for any advice.
http://www.w3schools.com/wsdl/wsdl_intro.asp
This describes wsdl. The wsdl document the gps tracking company publishes is the documentation/support.

I'd recommend using a scripting language to do your work. This will save you from getting tools, compiling, installing, ...

Picking a scripting language: vbscript and javascript come with windows. Perl is widely available and a natural choice if you are not using windows. There are many other scripting languages with varying levels if ease of deployment and command line use.

Here is an example using vbscript:
http://stackoverflow.com/questions/9...ce-by-vbscript

Something like that will get the data locally.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-26-2012 , 02:36 PM
Thank you!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-26-2012 , 05:34 PM
We're looking to hire more developers but we're trying to avoid using recruiters (we know we'll have to down the road, but for the first few it would be nice if we could avoid the hefty fee).

Where are good places to advertise for developers?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-26-2012 , 06:12 PM
Quote:
Originally Posted by jjshabado
We're looking to hire more developers but we're trying to avoid using recruiters (we know we'll have to down the road, but for the first few it would be nice if we could avoid the hefty fee).

Where are good places to advertise for developers?
StackOverflow
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-26-2012 , 06:33 PM
Quote:
Originally Posted by jjshabado
We're looking to hire more developers but we're trying to avoid using recruiters (we know we'll have to down the road, but for the first few it would be nice if we could avoid the hefty fee).

Where are good places to advertise for developers?
Github now has a careers section as well
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
03-26-2012 , 06:36 PM
Quote:
Originally Posted by jjshabado
Where are good places to advertise for developers?
http://careers.joelonsoftware.com/jobs

I would only post your ad if you hit a 10 or better on the Joel scale, though.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

      
m