This is a classic “you failed us” post. I’m so disappointed.
Recently a friend of mine typed that line in chat. I asked “what do you mean”? And he talked about how slow it was, how the updates have been flawed and people are having trouble, and even a few other things I forgot now. And I feel the same way! The update issue didn’t really matter to me but the ONE THING I care about most is quickly taking pictures. I double tap the power and half the time it doesn’t work and I see the camera for a second and then it goes away and the phone is locked. And then of course the fingerprint sensor is trash so I can’t get it unlocked and then by the time I get the camera going the moment is over.
Did I mention the fingerprint unlock is bad? It’s so bad I just have the phone unlocked all the time at home otherwise I would throw this phone at the wall it’s so frustrating. I’m considering just removing the fingerprints and just using a number every time.
If only I could switch to the S21 Ultra. I sent my Pixel 3 XL to a friend in Africa so I can’t switch back to that either.
Yeah, the Jan update is going to fix it all. I heard that before. Why do I do this to myself?
I like to tell my google home “find my phone” and then BOOM, my phone is ringing. Oh yeah, that’s broken sometimes too!
That’s it. Also I’m just a Google fanboy. This makes no logical sense.
URL rewriting always stumps me. I never remember the details and have to rely on search or looking at old .htaccess files I’ve done before to get what I need for a new project. I’m not sure it’ll ever be something I’ll “master” (in that I can write the code and not need to search for examples).
ANYWAY, the last time I was stumped was where I needed to redirect requests from /faculty/bio.php?id=45 to /people/bio.php?id=45. Seems simple enough. The problem is that regular redirects don’t work for items in the query string so something like this won’t work:
Instead I needed to use a Rewrite instead of a Redirect which are far more complicated. I found a few great resources but I couldn’t get it to work. I decided that instead copy/paste I would type out what I read so that maybe I could master the syntax.
Long story short that was ALL WRONG. Because of one reason. The problem was that I kept using $1 instead of %1. $1 is matches on the first RewiteRule pattern (of which I didn’t have any) and %1 matches to the first RewriteCond pattern (the pattern in parentheses or course).
The problem with that rule is the slash at the beginning of the url match (plus the $1 instead of %1 . . . it’s always compounding errors that take the longest to fix). The “match” in the rule always starts from the current folder and you can’t tell it to start at the root from some other folder (which makes sense . . . imagine I had a /stuff folder and it it was some redirect rule that matched on /faculty . . . that would NEVER match since you are already in the /stuff folder).
Anyway, a few tough lessons I’ll probably forget soon. Maybe writing it out here will help with my memory issues.
I’m a big fan of Rob Conery. I like his honesty. I like that he’s a “rabble rouser” (I was going to link to a controversial post but there are so many!). And since Scott Hansleman considers him a friend I know he’s a good guy.
Two years ago I won a free year of Tekpub by answering a trivia question of Rob’s on twitter. It came at a GREAT time since I was recently out of work and trying to learn as much as I could. By the time my year had expired I had a new job and I didn’t think twice about handing over $200 during the two for one promotion in December.
Now it’s a year later and I blew $1000 on black Friday (mostly for a new TV . . our first flat screen!) and another $200 a few days later on a Lego train (which, so far, gave me way more joy than the TV . . it’s awesome!).
Needless to say I gotta watch the budget. Do I really want to spend the $200 for Tekpub this year? If I were to purchase every production from 2011 independently, here is how it would break down:
Mmmm, $171 . . . over the course of a year. Way less than I thought. This is an easy decision. For 2012 I’ll buy the ones I really want to see and save that $200 for another Lego set.
Got this in an email from “Republican John” and this was my response.
What about taking half and giving it to disabled kids? Or taking half and using it as payment for cleaning the sidewalks? Or taking half and giving it to kids in neighborhoods where everyone is poor and hardly anyone hands out candy?