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, no programming
questions and please don't post ads.
ditto to what the others have said. Do not send code from work. Especially if you signed any papers at work(NDA).
Where I currently work has a very light NDA policy but it is very explicit for code written for the company, as I'm sure most would be. Basically, any code for the company is the express property of the company etc, and should not be disclosed to ANY outside parties.
Even if you didn't sign one, 10 to 1 says they could still pork you pretty badly for it if they found out.
Stick with your own code for something, or ask for a specific type of example that you could write for them.
Common sense is not a gift it's a curse. Those of us who have it have to deal with those that don't....
Be careful which toes you step on today, they might be connected to the foot that kicks your butt tomorrow.
I always take a laptop with me to interviews so they can peruse the code and watch the program run. If they want code ahead of time, I point them here and tell them to download source code from an article or two.
".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
While I won't take online code tests and in-general don't provide sample code, if a potential client has an interesting problem and it has no real commercial application (ie, they can't steal it and not hire me) I have been known to provide code for an interview.
I remember once when I solved a very hard problem before this was my policy. Magically the position dried up.
I stumbled on this article[^], and as amusing as I find Apple's mistakes (especially when their response is essentially "you're holding it wrong", sound familiar?), what I really wonder is if someone here can test something someone brought up in the comments: that it's likely a result of the new lens not filtering out UV like normal glass does; and a reply to that as a way to test the theory: if you use the iPhone 5 to take a picture through a window of normal glass, does the purple go away?
Someone here must have access to both an iPhone 5 and the sun, does anyone care to test it?
So my company deals with providing market data from vendors to customers. Sometimes this involves news stories. Well a vendor (from England) asked us today to remove a news story that was a "test page"- it is actually a personal rant from someone I assume is a soon to be former employee (of the vender). It contains his full name and phone number and a lot of personal insecurities so I'm sure he's mortified.
Here's a sample of how epic it is: Dan wants to take photos of me in my lederhosen for the fashion issue... I haven't trimmed my beard in a month! Partly because I forgot my clippers at Neil's, partly because I'm curious to see how long I can let it grow before it gets ridiculous.
... I wish I had a new job every year! Please god let me get my novel published, at least I might get a job at an agency or something.