To make a GET request to an RQM server you need to set four HEADER values Accept: application/xml Content-Type: application/rdf+xml OSLC-Core-Version: 2.0 Authorization: Basic BASICAUTHTOKEN The generate the BASICAUTHTOKEN, perform the following operation [credit] String userpass = username + “:” + password; String basicAuth = “Basic ” + javax.xml.bind.DatatypeConverter.printBase64Binary(userpass.getBytes()); The endpoint will look something like… Continue reading How to access the RQM (Rational Quality Manager) API with Basic Authorization
Bosch EL-51253 Power Max 30 Amp Electric Vehicle Charging station wall installation
I had a very difficult time finding installation examples for the Bosch EL-51253 Power Max, so I want to add this image to the collection for future references: My house was pre-wired with 8 gauge wire to a 40amp breaker. The wires comes out at an electric box, so to run the flexible conduit into the… Continue reading Bosch EL-51253 Power Max 30 Amp Electric Vehicle Charging station wall installation
Oval clocks: realtors treat house images like online dating profile pictures
I’ve seen using Redfin and Zillow to look for houses. It seems that realtors like to lie about the size of the houses they are selling. It’s like someone taking a deceptive pictures to use in an online dating website. This has led to a rather funny item you always see in houses: oval clocks.… Continue reading Oval clocks: realtors treat house images like online dating profile pictures
Finding doctors and dentists for medi-cal and denti-cal
One of the things that really irks me is when well to-do people say shit like: “Poor people get free healthcare, why should I work. I should just quit my job and go on welfare so I can get free shit too”. It pisses me off because I’ve had experience looking for doctors and dentists… Continue reading Finding doctors and dentists for medi-cal and denti-cal
What it’s like to have a baby with acid reflux
Our newborn girl has a condition known as Gastroesophageal Reflux Disease (GERD), or simply known as “acid reflux”. This is how our days play out. 1. We feed her 2. Hold her for 30 minutes to prevent reflux 3. Doesn’t work, she vomits 4. We clean her 5. She’s hungry because she didn’t keep her… Continue reading What it’s like to have a baby with acid reflux
The naivety of youth
There is a common perception that young people are naive and that’s why they are so vocal about politics, social injustice, etc… But as I’ve grown older, I’ve realized that it’s not because the youth are naive, it’s because as you grow older, you realize people just don’t care. So you stop voicing your opinions.… Continue reading The naivety of youth
My letter to my congressman regarding the Syrian refugee bill
I have never written to any politician before, but I saw this an as opportunity to speak up. From what I know, my congressman, John Garamendi, is a pretty cool guy. He seems very progressive, and focused on serving his district. However, his support of HR 4038, the Syrian Refugee Bill, is very disappointing. Here… Continue reading My letter to my congressman regarding the Syrian refugee bill
How to sign aws elasticsearch service requests with elasticsearch-ruby using IAM
AWS ElasticSearch Service allows you to secure connections to your amazon elasticsearch servers in two ways: Restrict by IP Sign your request with IAM Using the restrict by IP option is easy, but it won’t work in places like Heroku, where you don’t have control of the IP address of your app. So you are… Continue reading How to sign aws elasticsearch service requests with elasticsearch-ruby using IAM
Pregnancy announcement and miscarriage
Whenever our friends and family find out they get pregnant, we get pictures of the pregnancy test. Every time I see one of those, I can’t help but think to myself, “Wow, how can you be so cavalier? Don’t you know what can happen?” It’s a really hurtful and sad thing to think, but as… Continue reading Pregnancy announcement and miscarriage
I am not a real man
He’s not a real man. His boys can’t swim. That’s nature way of telling them they shouldn’t reproduce. Those are some of the exact words that I said when I heard about friends who have a hard time getting pregnant. Right now, sitting here in my throne of humbleness and experience, those words feel like a… Continue reading I am not a real man