And, here's an image of what the illuminants look like using the 1964 observer:
Just a couple quick notes about this image: The spectra are rendered using a gamma of 1.8, which seems to work best, aesthetically, however, I do think they're meant to be rendered with a linear gamma. The first is the standard observer, second is CIE Illuminant A, and the third is D65, after that are the fluorescent illuminants, F1-F12 the first 6 are standard fluorescent illumination the next 3 are high CRI illuminants, and the final 3 are described as three band illuminants.
You'll note in all of the fluorescent samples that the light has strong peaks in the green and blue ranges, and with the exception of the 3-band examples, they all have a relatively weak yellow peak.
The high-cri examples do a little better than the standard fluorescent ones, but not much. I imagine you'd get less metameric failure with that lighting. This also explains the green cast in camera images recorded under fluorescent lighting conditions. It appears F3 and F4 maybe "warm white" while the rest are cool white.
Tuesday, May 22, 2012
Monday, May 21, 2012
CIE library: The Observers
First, this is not official CIE anything (except the data for standard observer, white points, and illumination sources)
As a test, I wrote a quick program to draw the standard observers from 250nm to 750nm on a window and compare the two, the top observer is the 1964 10° data, the bottom observer is the 1931 2° data. This is approximately how you perceive the spectrum. The colors have been converted from the CIEXYZ color space to the sRGB color space, and have been mapped using a source gamma of 1.8, which is likely incorrect, but gives a nice display for me.
This was a quickie, and I'm sure I could get a better rendering, but that wasn't the focus of this exercise. and yes, I realize that 250-750 is way overkill for these, but this gets into all of the UV and Near IR ranges common in such sources as sunlight.
As a test, I wrote a quick program to draw the standard observers from 250nm to 750nm on a window and compare the two, the top observer is the 1964 10° data, the bottom observer is the 1931 2° data. This is approximately how you perceive the spectrum. The colors have been converted from the CIEXYZ color space to the sRGB color space, and have been mapped using a source gamma of 1.8, which is likely incorrect, but gives a nice display for me.
This was a quickie, and I'm sure I could get a better rendering, but that wasn't the focus of this exercise. and yes, I realize that 250-750 is way overkill for these, but this gets into all of the UV and Near IR ranges common in such sources as sunlight.
Friday, May 11, 2012
Real Work Conversations
The other day, I was showing a coworker a REST api that I recently discovered and had been playing around with. I got a bit excited and lapsed into Previous-to-previous-employerspeak, and pronounced url like "Earl". This follows:
cw: The what?
me: Earl... sorry, a pronunciation that I got from a former job, I mean U R L.
cw: Don't ever do that again.
me: (laughs)
cw: The what?
me: Earl... sorry, a pronunciation that I got from a former job, I mean U R L.
cw: Don't ever do that again.
me: (laughs)
Monday, April 30, 2012
Molecular Mondays: Sodium Carbonate
Just a new "feature" I've been thinking of. I'm kicking it off with something rather mundane, but a bit interesting to me.
You have 2 very closely related compounds: Sodium Carbonate and Sodium Bicarbonate. A modern name for Sodium Bicarbonate is Sodium Hydrogen Carbonate.
So, structurally sodium carbonate looks a bit like this (actually there should be 2 Na+ ions):
And Sodium Hydrogen Carbonate is subtly different:
Can you spot the difference?
Sodium carbonate is a stronger base than sodium hydrogen carbonate, and it's all due to the hydrogen tacked to one of the oxygens. Adding another hydrogen makes it an acid:
Which is formed when carbon dioxide is dissolved in water:
Oh, and incidentally, the bi in bicarbonate has to do with the fact that the carbonate ion is attached both to the sodium and hydrogen.
You have 2 very closely related compounds: Sodium Carbonate and Sodium Bicarbonate. A modern name for Sodium Bicarbonate is Sodium Hydrogen Carbonate.
So, structurally sodium carbonate looks a bit like this (actually there should be 2 Na+ ions):

Sodium carbonate is a stronger base than sodium hydrogen carbonate, and it's all due to the hydrogen tacked to one of the oxygens. Adding another hydrogen makes it an acid:
Which is formed when carbon dioxide is dissolved in water:
Oh, and incidentally, the bi in bicarbonate has to do with the fact that the carbonate ion is attached both to the sodium and hydrogen.
Saturday, April 28, 2012
CareerSpammer
Received this happy pile-o-bullshit from CarreerBuilder, despite the fact that I have found a job, and have thus closed my resume, some still prefer to spam my e-mail with this. Lets do a blow-by-blow teardown of this spam.
If you actually took one freaking look at my resume you'd realize very quickly just how utterly irrelevant the rest of your spam would be. Either that, or your reading comprehension is so lacking you really belong in the 3rd grade, and not running a "recruitment" firm.
Did you mistake a resume for a technical person for that of a sales drone? It's a common mistake, I can understand...
Oh, good to know I won't have to pay you to have such a wonderful job
Red Flags! This is how i know you're a spammer:
"You can start Immediately" translates to "we have no screening process and need warm bodies that will hopefully take orders for us."
"Net Income up to $95,000 per year" translates to "You'll be lucky to make $100 per year, but we're not gonna tell you that, 'cuz the more people you rope in, the more you can make, amwayiright?
"You can work part-time or full-time" translates to "Really, we couldn't give a rats ass. If you're at least half-intelligent you'll realize this is a golden opportunity you shouldn't toss your day job for. We know this, so we're desperate enough to take on part-timers to take orders.
Seriously, Amway, is that you?
"We don't require much. Can you breathe without drooling? No? Well you're hired anyway!"
Not really a hard requirement, after all you can set your own hours. So long as you actually get something right once in a while, we'll cling to you desperately.
You're consuming oxygen, right? Great! you're hired! Enjoy your new career in telemarketing!
By "helping our company's financial system" we mean hard selling to people who never wanted our crappy products in the first place.
"Perform various basic financial tasks" Can you do order data entry and take people's credit card numbers without stealing too many of them? Great! you're an excellent fit!
Ready to climb the pyramid? We have some double-diamond(tm) opportunities waiting for you!
In other words, we warned you: "Don't quit your day job"; now our asses are covered.
Oh, and if you reply, thanks for helping us update our spam database. We need to confirm you e-mail is valid so our inbox on the crusty server at an undisclosed location somewhere in the Philippines stops flooding with invalid address messages. You're helping our spamming operations become more efficient and irritating.
Cute... They think they're people.
What annoys me most, I think, is the total lack of regard for the job seeker's skills and desires. It would be a cold day before I even considered something like this. Also, did the author of this message even notice when they were "reviewing" my resume that I had flagged myself as unavailable for hire because I found a job? Or did they harvest my account name from the system before they did that?
In short: No. I don't even consider opportunities like this for a second. They have demonstrated utter contempt for the potential "employee" --and I use that word loosely --by offering something that doesn't even remotely match their skill set or interests.
Dear Jobseeker,We have recently reviewed your resume on CareerBuilder.com and have decided to contact you with a rare job opportunity.
If you actually took one freaking look at my resume you'd realize very quickly just how utterly irrelevant the rest of your spam would be. Either that, or your reading comprehension is so lacking you really belong in the 3rd grade, and not running a "recruitment" firm.
What we are looking forOur company is currently hiring responsible and motivated individuals to help us improve our financial system and increase our cash flow. We are committed to improve ourselves and we value honesty and responsibility for which we reward our employees financially in a productive long-term employment.What we offerNew income system: commissions without sales
Very attractive income based on a standard salary plus commissions and bonuses with each order [emphasis mine]
Did you mistake a resume for a technical person for that of a sales drone? It's a common mistake, I can understand...
No fees ever required
Oh, good to know I won't have to pay you to have such a wonderful job
You can start immediately
Net income up to $95,000 per year
You can work part-time or full-time
Red Flags! This is how i know you're a spammer:
"You can start Immediately" translates to "we have no screening process and need warm bodies that will hopefully take orders for us."
"Net Income up to $95,000 per year" translates to "You'll be lucky to make $100 per year, but we're not gonna tell you that, 'cuz the more people you rope in, the more you can make, amwayiright?
"You can work part-time or full-time" translates to "Really, we couldn't give a rats ass. If you're at least half-intelligent you'll realize this is a golden opportunity you shouldn't toss your day job for. We know this, so we're desperate enough to take on part-timers to take orders.
Not necessarily a red flag, but shows desperation; what this really means is "We're desperate enough. if you decide to take a 6 month "vacation" while you're flipping burgers at Micky-D's we'll understand, after all, it's a much higher paying job that what we have to offer.Flexible vacations/holidays - you choose how much and when to work or have time off
Job for a large and stable company which means higher financial security
Seriously, Amway, is that you?
What is required?Microsoft Office (Word) - basic knowledge
Access to the Internet and e-mail
"We don't require much. Can you breathe without drooling? No? Well you're hired anyway!"
Good level of work ethics
Not really a hard requirement, after all you can set your own hours. So long as you actually get something right once in a while, we'll cling to you desperately.
Will to learn and perform tasks in a timely fashion
U.S. resident or green card holder
You are not required to quit your current job.
You're consuming oxygen, right? Great! you're hired! Enjoy your new career in telemarketing!
Obligations and responsibilitiesDedication in helping our company’s financial system and improving our business
Perform various basic financial tasks
Provide regular reports and updates on your orders and their status
By "helping our company's financial system" we mean hard selling to people who never wanted our crappy products in the first place.
"Perform various basic financial tasks" Can you do order data entry and take people's credit card numbers without stealing too many of them? Great! you're an excellent fit!
We are also offering the possibility of advancement inside our company for the more dedicated and ambitious employees. During the initial stage of this new job you will receive and depend upon precise instructions as well as help from our Support Department. Qualified candidates will be offered flexible schedules of work, competitive salary, bonuses and other benefits. Company covers all expenses needed to perform this job.
Ready to climb the pyramid? We have some double-diamond(tm) opportunities waiting for you!
This job entails only a few hours of work per week so you will be able to plan your work schedule with ease.
In other words, we warned you: "Don't quit your day job"; now our asses are covered.
Looking forward to working with you, reply to this e-mail if you are interested.
Oh, and if you reply, thanks for helping us update our spam database. We need to confirm you e-mail is valid so our inbox on the crusty server at an undisclosed location somewhere in the Philippines stops flooding with invalid address messages. You're helping our spamming operations become more efficient and irritating.
Human Resources
Cute... They think they're people.
What annoys me most, I think, is the total lack of regard for the job seeker's skills and desires. It would be a cold day before I even considered something like this. Also, did the author of this message even notice when they were "reviewing" my resume that I had flagged myself as unavailable for hire because I found a job? Or did they harvest my account name from the system before they did that?
In short: No. I don't even consider opportunities like this for a second. They have demonstrated utter contempt for the potential "employee" --and I use that word loosely --by offering something that doesn't even remotely match their skill set or interests.
Thursday, March 29, 2012
Discovery Reality Shows
So, taking a cue from Michael Mock's blog, I'm creating a pitch-list for programming shows that the discovery networks could air:
- Storm Chasers: Coders on the Road - A group of software developers join forces with one of the storm chasing teams and code up analysis software on the fly for their instruments.
- Industrial Refinery Programmers - Software engineers working on control systems in a refinery. What could go wrong?
- Timber Mill Coders - A group of programmers on a tecnical support mission to service the automated equipment used to cut various wood sizes (a spin-off of Extreme Loggers)
- ER: Code Blue - Programmers race against the clock to fix software bugs in life support equipment.
Thursday, March 22, 2012
What's wrong with this diagram?
Wednesday, March 14, 2012
A Rather Sobering Experiment
So, there was I was, minding my own business and browsing along on Wikipedia (which I tend to make a habit of, when I started reading about cognitive dissonance for no particular reason. A few clicks later, a came across this article. Go ahead, read it, then come back when you wipe the cold sweat from your brow.
The set up a fake prison with respondents on a prison study. Some were slated to be guards, some slated to be prisoners. There were very few rules, the most notable of which was that you shouldn't physically harm the prisoners if you're a guard. What followed was pure horror: Guards humiliated and psychologically tortured the prisoners. Early on, the prisoners staged a revolt. Eventually, 2 had to leave early because of severe psychological stress, and the experiment was cut short because an outsider began to question the morality of the study.
This study is a strong example of human nature, and our desire to fit within our respective groups. Things spiraled out of hand because of the lack of controls and the fact that the person conducting the experiment was also a participant. But, it shows what happens when people are left to their own devices, with only vague instructions, specifying the need to make life uncomfortable to the imprisoned. It's suggested that some of the behaviors seen at Guantanamo Bay were similar to what was seen in this experiment.
It's also chilling reminder of this statement (I forget who said it first): Power corrupts; Absolute power corrupts absolutely.
Truer words have not been spoken.
The set up a fake prison with respondents on a prison study. Some were slated to be guards, some slated to be prisoners. There were very few rules, the most notable of which was that you shouldn't physically harm the prisoners if you're a guard. What followed was pure horror: Guards humiliated and psychologically tortured the prisoners. Early on, the prisoners staged a revolt. Eventually, 2 had to leave early because of severe psychological stress, and the experiment was cut short because an outsider began to question the morality of the study.
This study is a strong example of human nature, and our desire to fit within our respective groups. Things spiraled out of hand because of the lack of controls and the fact that the person conducting the experiment was also a participant. But, it shows what happens when people are left to their own devices, with only vague instructions, specifying the need to make life uncomfortable to the imprisoned. It's suggested that some of the behaviors seen at Guantanamo Bay were similar to what was seen in this experiment.
It's also chilling reminder of this statement (I forget who said it first): Power corrupts; Absolute power corrupts absolutely.
Truer words have not been spoken.
Labels:
creepy,
evil,
human nature,
political,
psychology,
scary,
Science
Wednesday, January 18, 2012
Reviews of things that suck: KCl
Summary:
OK, SO! My ex was deeply offended when I stated that I did not like the salt free ketchup. I now know why.
Instead of salt, the ketchup uses a substitute: Potassium Chloride. Innocuous, food safe, but dangerous if you're on a potassium sparing diuretic. I'm not. My blood pressure stays just fine unaided (even on a CNS stimulant like Adderall), but, for kicks and because, I don't have very many salts of potassium, it was a cheap addition to my reagents collection (and I'm ALL about the cheap right now!) so, I decided to do a little taste test this morning. This strongly reaffirmed my belief that the addition of KCl to ANYTHING will render it unfit for human consumption.
OK, so, in my usual spice/seasoning tasting procedure, I shook out a small amount onto my hand. The crystals were just as cubic as our friendly NaCl salt that we all know and LOVE ♥. That, my dear friends, is where the similarity ends.
I wet my index finger, dipped it in the small pile to pick up a few crystals. I then placed my finger in my mouth and onto my tongue. For about the first 10ms it was kind of like salt, then it hit, an acrid, cloying, and gag inducing sensation of, "OH MY GOD, SOMETHING IS SERIOUSLY WRONG WITH this substance in my mouth" Yes, I gagged. Yes, my eyes squeezed down tight and my feeble brain tried to process this horror-inducing sensation in my mouth. I swallowed. The small amount won't actually hurt me, WILL IT? No, I'm reasonably sure it won't. The aftertaste, an impossible to describe, somewhat bitter, medicinal aftertaste permeated my mouth. If I didn't do something quick to neutralize the horror building in my mouth, I was sure to lose my breakfast. I grabbed the nearest drink. A freshly poured glass of cola, and chugged it down, to remove the ionic nightmare from my mouth.
I will never EVER ingest such a vile substance again. Into the reagent cabinet it goes, never to soil another morsel of food ever again.
Pros:
OK, SO! My ex was deeply offended when I stated that I did not like the salt free ketchup. I now know why.
Instead of salt, the ketchup uses a substitute: Potassium Chloride. Innocuous, food safe, but dangerous if you're on a potassium sparing diuretic. I'm not. My blood pressure stays just fine unaided (even on a CNS stimulant like Adderall), but, for kicks and because, I don't have very many salts of potassium, it was a cheap addition to my reagents collection (and I'm ALL about the cheap right now!) so, I decided to do a little taste test this morning. This strongly reaffirmed my belief that the addition of KCl to ANYTHING will render it unfit for human consumption.
OK, so, in my usual spice/seasoning tasting procedure, I shook out a small amount onto my hand. The crystals were just as cubic as our friendly NaCl salt that we all know and LOVE ♥. That, my dear friends, is where the similarity ends.
I wet my index finger, dipped it in the small pile to pick up a few crystals. I then placed my finger in my mouth and onto my tongue. For about the first 10ms it was kind of like salt, then it hit, an acrid, cloying, and gag inducing sensation of, "OH MY GOD, SOMETHING IS SERIOUSLY WRONG WITH this substance in my mouth" Yes, I gagged. Yes, my eyes squeezed down tight and my feeble brain tried to process this horror-inducing sensation in my mouth. I swallowed. The small amount won't actually hurt me, WILL IT? No, I'm reasonably sure it won't. The aftertaste, an impossible to describe, somewhat bitter, medicinal aftertaste permeated my mouth. If I didn't do something quick to neutralize the horror building in my mouth, I was sure to lose my breakfast. I grabbed the nearest drink. A freshly poured glass of cola, and chugged it down, to remove the ionic nightmare from my mouth.
I will never EVER ingest such a vile substance again. Into the reagent cabinet it goes, never to soil another morsel of food ever again.
Pros:
- It won't raise your blood pressure
- I'm sure it would be just as neat as sodium chloride for growing pretty cubic crystals
- It looks just like salt
- Has a nifty warning to consult your physician before using any sort of salt substitute
- Makes a fine addition to my reagents. I don't have any potassium compounds, and now I do
- An excellent source of potassium.
- A great way to pull cruel pranks on unknowing friends when they go to salt up their delicious fries.
- May induce vomiting
- Looks can be deceiving. It looks like salt, it shakes like salt, but unlike salt, it tests your gag reflex.
- It might kill you if you are on certain medications for the blood pressure you're watching so closely.
- It's not iodized like sodium chloride. Your thyroid will be angry.
- It has a highly disagreeable medicinal aftertaste that will leave you wishing you were dead.
Labels:
chemistry,
evil,
fun stuff,
Reviews of things that suck,
Science
Sunday, January 15, 2012
An update -- What is happening, projects, and stuff...
So, I discovered Monday that I'm no longer employed; that's always fun. On the bright side, it's an opportunity to find work closer to me, and possibly better pay.
I at one point started the design for a CPU, it's still in the back of my mind, and I'll get back to it.... eventually. And, I'm currently having a bit of fun trying to figure out how to separate copper sulfate from what appears to be a binder to keep it from crystallizing out of the solution. It's this that I want to talk about.
So, I picked up a bottle of algaecide at a store because it contained copper sulfate. I immediately knew something wasn't quite right, because the solution was green, rather than the characteristic blue that copper sulfate has. So, I looked on the ingredients, and most of the contents of the bottle are "stabilizers", polyacrylate, and another chemical that's escaping my memory at the moment. I went ahead and attempted to drive off the water, and see what happens. What I wound up with was essentially a useless green goo that smelled similar to something I had played around with as a kid, friendly plastic. I've given up on this being a useful form of copper sulfate to work with, the goo binds everything, I had a little luck with acetone, but the yield made it pointless.
There's a lesson here: If you're an amateur chemist looking for copper sulfate to grow blue crystals, buy the root killer stuff. It's already crystalline, and doesn't have the binders.
I at one point started the design for a CPU, it's still in the back of my mind, and I'll get back to it.... eventually. And, I'm currently having a bit of fun trying to figure out how to separate copper sulfate from what appears to be a binder to keep it from crystallizing out of the solution. It's this that I want to talk about.
So, I picked up a bottle of algaecide at a store because it contained copper sulfate. I immediately knew something wasn't quite right, because the solution was green, rather than the characteristic blue that copper sulfate has. So, I looked on the ingredients, and most of the contents of the bottle are "stabilizers", polyacrylate, and another chemical that's escaping my memory at the moment. I went ahead and attempted to drive off the water, and see what happens. What I wound up with was essentially a useless green goo that smelled similar to something I had played around with as a kid, friendly plastic. I've given up on this being a useful form of copper sulfate to work with, the goo binds everything, I had a little luck with acetone, but the yield made it pointless.
There's a lesson here: If you're an amateur chemist looking for copper sulfate to grow blue crystals, buy the root killer stuff. It's already crystalline, and doesn't have the binders.
Subscribe to:
Posts (Atom)





