At my last job, I never told my boss that I was miserable (I didn't start miserable; it was a program started by upper management that made me miserable). I quietly looked for another job, then gave my notice. After the fact, I felt like that was an unfair thing to do to him (he was a good boss, and the policy was not his fault).
Now, at my new job as a software dev, I'm working with a lot of non-devs that are fresh out of college and extremely frustrating to work with (some are barely literate). The other devs I work with are great, and not all of the non-devs are like that, but the bad ones are the ones that monopolize all of my time. I guess the reasons why I'm unhappy at this job, though, aren't really relevant to this particular question.
I'm not actively seeking another job right now, but there's a part of me that expects a ragequit any day. Should I tell my boss how unhappy I am at this job or should I just quietly take it while looking for another job?