|
|
beetle on a bank card Wednesday, December 14 2016
This afternoon I drank kratom tea and then became obsessed with fussy little details in the reporting tool, which is my favorite thing to work on at The Organization. I had trouble figuring out how to actually test for permissions when the two permissions being compared (one for an activity and one possessed by a user) are actually decimal representations of multi-bit permission maps. I tried ANDing the two values, but then that failed if there were no permissions requirements at all. [The insight I needed, which would have to incubate overnight, was that I should AND the permissions of the activity to those of the user and see if the result was any smaller than the permissions of the activity. If not, the user would be allowed to do it.]
Later, of course, I painted a relatively loose painting of a rhinoceros beetle on a debit card (one dating to my brief life in Brooklyn, when I banked at Astoria Bank).
I returned to the painting a couple times in the evening after I'd begun to drink from my laboratory booze supply.
For linking purposes this article's URL is: http://asecular.com/blog.php?161214 feedback previous | next |