I was having the toughest time trying to sync a new folder tree in my depot.
I was getting this error:
//depot/Some-path/some-sub-path/... - must refer to client 'myclient_February29th2012'.
Well, what I was doing wrong was that I was taking the depot path instead of my client path.
So when I did p4 client on the command line it listed my views including this one below:
//Some-path/some-sub-path/... //myclient_February29th2012/Some-path/some-sub-path/...
I updated my p4 sync to use the right side and then the problem went away.
Sometimes, a slight edit can make a world of difference.
Monday, April 29, 2013
Friday, April 19, 2013
OpenID Connect Testing
At my company we are early implementors for bleeding-edge protocols that some of our customers might want to use in an upcoming release.
One of these is OpenID Connect.
OpenID Connect leverages and builds upon OAuth 2.0. It uses the the same authorization server, some of the same endpoints as OAuth 2.0, an access token (in addition to the new id token), and builds upon OAuth use cases like auth code and implicit.
In my testing it seemed simpler to use, less heavyweight, more restrictive in claims/attributes sharing, and used some of latest technologies for its framework: REST, JSON, JWT, JWK, and newer cryptographic libraries like Elliptical curve.
One of these is OpenID Connect.
OpenID Connect leverages and builds upon OAuth 2.0. It uses the the same authorization server, some of the same endpoints as OAuth 2.0, an access token (in addition to the new id token), and builds upon OAuth use cases like auth code and implicit.
In my testing it seemed simpler to use, less heavyweight, more restrictive in claims/attributes sharing, and used some of latest technologies for its framework: REST, JSON, JWT, JWK, and newer cryptographic libraries like Elliptical curve.
Sunday, March 17, 2013
Two films this weekend
Watched two films this weekend. One quite good. The other monotonously weird.
The first I chose because it was a film noir mystery from the early 40s and it was a newer release from the Criterion Collection. The second because it was a David Cronenberg film, where he also wrote the screenplay.
Ministry of Fear:
Fritz Lang was the director of Ministry of Fear; an adaptation of Graham Greene's novel - written just a year or two earlier. Although not a classic film noir selection, I'd still recommend it to get an idea of a film noir piece placed within the context of World War II and Nazi spies.
Cosmopolis:
"All wealth has become wealth for its own sake." This is a quote from one of the characters in the film during the first third of the film. Maybe the film is the same way. It's too self indulgent and slick for its own sake. I think the self-indulgence is too much dialogue and the ostensibly, invariable ploddingly slow pace of the movie. I also believe the talk is too monotone with dialogue that just doesn't propel whatever plot there is to begin with at the start of the movie. Regardless, it still has some the telltale signatures of a Cronenberg film: general weirdness, plenty of violence, and examinations of fringe characters that may not represent mainstream society.
It's nothing if not a concept film
Ministry of Fear: B to B+
Cosmopolis: D+ to C
The first I chose because it was a film noir mystery from the early 40s and it was a newer release from the Criterion Collection. The second because it was a David Cronenberg film, where he also wrote the screenplay.
Ministry of Fear:
Fritz Lang was the director of Ministry of Fear; an adaptation of Graham Greene's novel - written just a year or two earlier. Although not a classic film noir selection, I'd still recommend it to get an idea of a film noir piece placed within the context of World War II and Nazi spies.
Cosmopolis:
"All wealth has become wealth for its own sake." This is a quote from one of the characters in the film during the first third of the film. Maybe the film is the same way. It's too self indulgent and slick for its own sake. I think the self-indulgence is too much dialogue and the ostensibly, invariable ploddingly slow pace of the movie. I also believe the talk is too monotone with dialogue that just doesn't propel whatever plot there is to begin with at the start of the movie. Regardless, it still has some the telltale signatures of a Cronenberg film: general weirdness, plenty of violence, and examinations of fringe characters that may not represent mainstream society.
It's nothing if not a concept film
Ministry of Fear: B to B+
Cosmopolis: D+ to C
Thursday, December 06, 2012
Fiddler debugging tool with HTTPS
I"m using Fiddler to look at HTTPS traffic between different application servers.
HTTPS isn't setup by default and the Fiddler2 website has information on setting it up correctly and exporting the certificate for Firefox to use.
I have some brief instructions below (for my own future reference and anyone else out there).
Start Fiddler 2.4x
The steps are to go to Tools, Fiddler Options > HTTPS. Check 'Decrypt HTTPS Traffic," under "Capture HTTPs Connects," and click Yes for the scary dialog box. This exports a root certificate for you Windows machine to use. I then chose ...from browsers only from the pull-down menu because I'm looking at HTTPS traffic only. Check the 'Ignore Server Certificate Errors,' too.
To make Firefox work with Fiddler I choose 'Export Root Certificate to Desktop.' Launch Firefox and go to Tools > Options. Select the Advanced tab and then the Encryption (or Certificates) tab and click the 'View Certificates ' and choose Import. Import the root certificate from the desktop.
Also, when I wanted to inspect traffic in Fiddler, I used the Inspectors view on the right and WebForms > WebView to see HTTPS browser responses. That wasn't as intuitive when I first started using the program, but was quite helpful when I needed to look at HTTPS html responses
HTTPS isn't setup by default and the Fiddler2 website has information on setting it up correctly and exporting the certificate for Firefox to use.
I have some brief instructions below (for my own future reference and anyone else out there).
Start Fiddler 2.4x
The steps are to go to Tools, Fiddler Options > HTTPS. Check 'Decrypt HTTPS Traffic," under "Capture HTTPs Connects," and click Yes for the scary dialog box. This exports a root certificate for you Windows machine to use. I then chose ...from browsers only from the pull-down menu because I'm looking at HTTPS traffic only. Check the 'Ignore Server Certificate Errors,' too.
To make Firefox work with Fiddler I choose 'Export Root Certificate to Desktop.' Launch Firefox and go to Tools > Options. Select the Advanced tab and then the Encryption (or Certificates) tab and click the 'View Certificates ' and choose Import. Import the root certificate from the desktop.
Also, when I wanted to inspect traffic in Fiddler, I used the Inspectors view on the right and WebForms > WebView to see HTTPS browser responses. That wasn't as intuitive when I first started using the program, but was quite helpful when I needed to look at HTTPS html responses
Friday, November 30, 2012
stopped 'filter' failed (Macbook Pro to Toshiba)
I tried to print today to a company Toshiba printer from my Macbook Pro.
Using this link apple support forum, I was able to delete the current printer list and add the Toshiba printer again via it's IP address and was able to print again.
You just need to go to System Preferences > Print & Scan > Right-click on your printers and choose Reset Printing System. Select OK for "Are you Sure...," and then reinstall the printer via the IP address and you should have success.
Not sure what might have happened. CUPs update?
Using this link apple support forum, I was able to delete the current printer list and add the Toshiba printer again via it's IP address and was able to print again.
You just need to go to System Preferences > Print & Scan > Right-click on your printers and choose Reset Printing System. Select OK for "Are you Sure...," and then reinstall the printer via the IP address and you should have success.
Not sure what might have happened. CUPs update?
Thursday, October 18, 2012
IPV6 Testing
Doing some IPV6 testing this week with our application server within a clustered setup.
IPV6 addresses can be a little intimidating.
For example would you like to connect to server with an address like this?
fe80::d12d:7656:6d3b:7e37
I can certainly remember 192.168.1.xxx a lot easier or a whole host of other IPV4 addresses compared to what in store for us down the road.
Thanks to DNS I won't have to remember too much, but still, it's nice to have some IP addresses committed to memory.
When I use the IPV6 I also have to put it in square brackets when using it in a browser.
For example
https://[fe80::d12d:7656:6d3b:7e37]:8888/
a little cumbersome.
Also there a %11 that needs to be appended to the address for Windows machines, it seems, in the hosts file.
Otherwise you might not see the machine when you try to ping it
fe80::d12d:7656:6d3b:7e37%11
Ping on the command line is also different
ping -6
instead of classic ping that doesn't have the dash 6.
IPV6 addresses can be a little intimidating.
For example would you like to connect to server with an address like this?
fe80::d12d:7656:6d3b:7e37
I can certainly remember 192.168.1.xxx a lot easier or a whole host of other IPV4 addresses compared to what in store for us down the road.
Thanks to DNS I won't have to remember too much, but still, it's nice to have some IP addresses committed to memory.
When I use the IPV6 I also have to put it in square brackets when using it in a browser.
For example
https://[fe80::d12d:7656:6d3b:7e37]:8888/
a little cumbersome.
Also there a %11 that needs to be appended to the address for Windows machines, it seems, in the hosts file.
Otherwise you might not see the machine when you try to ping it
fe80::d12d:7656:6d3b:7e37%11
Ping on the command line is also different
ping -6
instead of classic ping that doesn't have the dash 6.
Sunday, September 30, 2012
3rd Flatiron Climb
Did the 3rd Flatiron in Boulder today.
After a long hiatus I got to finally get back into climbing with an easy 5.2 to 5.4.
It was the classic standard route and I got to lead all 6 pitches. It had been awhile since I led a pitch but this was the perfect reintroduction to climbing at an appropriate experienced yet rusty level.
Although I did feel a little intimidated on the first two pitches due to the longevity of the rock climbing hiatus I started to feel my chops come back to me after the 3 to 5th pitches.
I'd definitely do this climb again; although not as much as the guy who has a plaque dedicated to him at the top where it said he climbed it 101 times.
After a long hiatus I got to finally get back into climbing with an easy 5.2 to 5.4.
It was the classic standard route and I got to lead all 6 pitches. It had been awhile since I led a pitch but this was the perfect reintroduction to climbing at an appropriate experienced yet rusty level.
Although I did feel a little intimidated on the first two pitches due to the longevity of the rock climbing hiatus I started to feel my chops come back to me after the 3 to 5th pitches.
I'd definitely do this climb again; although not as much as the guy who has a plaque dedicated to him at the top where it said he climbed it 101 times.
Subscribe to:
Posts (Atom)
Exploring ELK (Elastic) Stack for hack-a-thon
At my current gig, our group finally got to do hack-a-thon week and I joined a team project that tied together a few of the technologies I...
-
When I first started using WebEx 3 years ago for my current job I accidentally set the WebEx One-click meeting topic to my colleagues' n...
-
Java Server Faces supports localization or internationalization (I18N). You choose the term. I find them to be synonymous terms and will use...
-
I tried to print today to a company Toshiba printer from my Macbook Pro. Using this link apple support forum , I was able to delete the cu...