How to access the RQM (Rational Quality Manager) API with Basic Authorization

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

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

Published
Categorized as Politics

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

Published
Categorized as Politics

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

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

Published
Categorized as Personal