Context Queries in CSS

Media queries are firmly established methods for serving custom experiences based on the media being used to access content.

However, there’s no way to an experience based on the context being used. How crazy would it be would it be if this were possible?

Imagine some code that went like:

@context (currently-traveling:yes AND role:driver) 
{ * {display:none;} } /* hide app from a distracted driver }

That’s some scary stuff, privacy-wise, but you know if it were possible people’d be writing it. But just think of what you could do with

environment:outdoors
or
noise-level:loud

Phone as mobile’s days are numbered

The portrait-oriented, single column design approach that’s become so dominant since the advent of smart phones can only last for so long. The new paradigm of wearables, particularly visors/glasses, will see us return to landscape designs. Augmented reality will enable a screen of any size and format to appear in a multitude of contexts. The physical limitations of the handheld phone will become characteristic of a primitive era in the digital age.

On Netflix’s “The Social Dilemma”

It’s no wonder the machine (however you want to define that, the powers that be, the man, our corporate overlords) is mining our data. It’s always mining something: iron, gold, oil, electricity (although the more elegant term for that is harvesting) – it’s just incredible how much data we produce and how easy it is to mine it.

The Social Dilemna does a good job of exposing that, although I could have done without the cheesy scripted stuff. However, it fails to point out the counterpart to our data, and what is in fact infinitely more valuable: our content.

Every post we make-video, photo, rant, tweet, comment, is like food for the machine. Without content, there is no internet. No one logs into Facebook so they can click on ads or fill out surveys or practice browsing habits. They go for content–to consume others’ and to post their own.

Content self-propagates; the machine doesn’t have to invasively collect it, analyze it, reconfigure it, or present it to its paying advertisers, as it does with data. And there’s mountains of it, and we give it away for free!

One of the interviewees suggests that we tax the machine for its data. That sounds great in theory, but I have a hard time understanding how it could be enforced. Instead, they should be taxed on their content they collect. It’s far easier to monitor.

Better yet, we could demand compensation for the food we’re keeping the machine alive with. Kind of like selling the glut of solar power you’re harvesting with your roof panels back to the utility companies. Let’s figure out how to do this.

Stickball

We used to play this all the time growing up. I don’t see kids playing it anymore.

Other sports are easy to get pickup going. You can play one-on-one hoops. 2-hand-touch only really needs 4 players. Same with street hockey.

Baseball is so fun to play, but you never have enough kids, or equipment, or a field. That’s why stickball was invented. Heck, all you need is two kids, really. Offense and defense. One kid hits. One kid pitches and fields. Pitching, fielding, hitting; that’s baseball in a nutshell.

You don’t even need a field. You need a building, one with a nice flat wall (don’t they all have those?), with a parking lot or grassy area in front (again, don’t they all have those?)

I’ve been on a stickball obsession lately. I decided to act on it a bit today, and did a little shopping. Dick’s: various balls (they didn’t have handballs, which is what I really wanted. When I was a kid, the handball truck came around every day after school), hockey tape, orange cones. Michael’s: decent sidewalk chalk (gotta make sure it washes off). Home Depot: three different options for the bat; a dowel, a railing, and a broomstick.

Lastly, I registered stickballgame.com. Stay tuned on that one.

Chicken Picatta with Asparagus

This recipe is easy and quick, and a good way to feed a pile of people.

Ingredients

  • 1 lb. boneless skinless chicken breast
  • 1 bunch asparagus
  • 1 lb. penne pasta
  • 1 cup flour
  • 1 tbsp. black pepper
  • 1 tsp. salt
  • 1 lemon, juiced
  • 2 tbsp. capers
  • 1 cup white wine
  • 1 cup chicken stock
  • 1 stick butter (8 tbsp.)
  • 1 tbsp. olive oil
  • 1 onion or 2 shallots diced
  • Grated parmesan cheese to taste

Directions

  1. Fill a large pot halfway up with water. Add salt to taste. Cover and bring to a boil. Add penne and cook al dente.
  2. Cut or break off tough ends of asparagus. Cut into angled slices, 3 or 4 per stalk, so they are shaped like the penne.
  3. Dice up the onion.
  4. Cut the chicken breast into thin, flat pieces. Try to cut crossways as many times as you can to get wide, long but thin slices. I can usually get at least five from each breast. It helps if the chicken is partially frozen.
  5. Add 1/2 cup flour, salt and pepper to a large bowl and stir.
  6. Dredge chicken slices in flour mixture until coated.
  7. In a large pan, turn to medium-high and add olive oil. Once that’s hot, swirl in 2 tbsp. butter.
  8. When butter is melted, add chicken slices in a single layer, covering the entire surface of the pan.
  9. Brown for 3-4 minutes, turn and repeat.
  10. Set aside browned slices and repeat until all chicken has been nicely browned.
  11. Add 2 tbsp. butter to pan. Add onions/shallots and saute until soft. The pan should be really hot.
  12. Pour in white wine to deglaze pan, scraping browned bits up.
  13. Add the chicken broth and remaining butter.
  14. Whisk in remaining flour. Add water/wine/butter/broth to build up a nice sauce.
  15. Stir in the chicken, asparagus, and capers. Whisk remaining flour into chicken broth and remaining flour. Cover and turn heat to low.
  16. Check occasionally. It’s done when the asparagus is bright, green and tender.
  17. Serve with grated parm. I like red pepper flakes as well.

A theme for artists

WordPress is great place for writers. But what about for artists? Are your needs fulfilled by the built in tools WP provides, or do you rely on plugins to present your images the way you want them to look?

Is there a theme that works best for you, or does it lack certain features? Are you concerned about your images being copied or reused in some way without your consent?

Do you prefer to present your images on your site or on social media? What are the pros and cons of either approach?

These are some of the questions I’m hoping to answer over the next few months as I build a theme optimized for artists, and other folks for whom presenting their images online is the primary purpose for having a site.

Pizza is all about context

People who debate about whether or not this or that pizza is the best in the world are missing the point.

Pizza is all about context. It’s different in different places because it needs to be. It reflects the unique lifestyle of a particular area.

Here’s how I see the two styles I’m most familiar with: NYC and Buffalo

NYC

Thin, wide, flat, lots of surface area. Dry, dusty, charred (in places) crust. Fold it, always fold it, but watch out for that grease trough you just made; it’ll get on your favorite sweats and leave a stain; stuff a napkin back there, or better yet, sop up that grease with a few paper towel pats to begin with.

You eat it on the go; you just arrived for a weekend tryst, hungry and cramped from sitting in a plane, then a car, for hours. You need to get to the hotel, arena, playhouse, friend’s apartment, whatever, or you’ll “be late”; there’s always that delay of game penalty you’re running from.

You’re in between things; just been shopping but have some time to kill before the opening. You’re tired; walking all day will do that. You stumble across a glassy exterior with those levels of steamy goodness calling to you from the interior. People are standing in line. In you go, “a slice of plain please”. Whatever the word for pizza chef wields an enormous wooden paddle, slings a cold slice into gigantic steel multitiered cavern, from which emerges your piping hot slice. You shake on a mountain of flavor from the “free toppings tray” as my friend Kip always called it—garlic salt, parmesan cheese, oregano and crushed red pepper—and off you go, back into the maelstrom.

NYC Pizza is NYC. It’s delicious, hot, messy, and made for the constant onslaught of the masses, hungry and late, needing a full, hot belly to keep up.

Buffalo

Fat. Doughy. Thick. Soggy, but with crispy bits strategically implemented throughout; the edges of the pepperoni, the apex of the crust, which when examined resembles the surface the moon.

You’re at a gathering: a party, an event, a celebration, and expecting to eat something. You’re pretty hungry, hangry is more like it. After all, this is Buffalo. People get hangry a lot, driving to and from these gatherings, usually through layers of ice and wind that coat everything.

Eating is a respite. I don’t know how much I want; I just want to dive in. Show me to the party; let me get my party on.

You don’t buy a slice in Buffalo. You buy a pizza. It’s either a party pizza, or a sheet, or a half sheet. It doesn’t come round; if it does, it’s usually kinda squarish, like they are so used to doing angles and can’t shake off the muscle memory for the rare round order.

The pizza is cut up into little chunks. Nothing, really. So easy to grab another one. So likely a perfect bowl of heaven will reside there: that quarter sphere of pepperoni, the rim brown-almost-black, remnants of a combination of olive oil and liquid lard swirled at the bottom, so small it is likely completely uncut, posted there in glory on a field of mozzarella.

What’s that, over there? Wings! Of course. Let’s grab a few of those; some blue cheese as a rule. Oops; my pizza dropped into my dip (or was it the other way around? Queue the old Reeses PBC commercials). All the better; the tang of blue cheese is an amazing complement to the sweet, spiciness of Margherita pepperoni-laden Buffalo style pizza.

Bottom Line

Pizza is too general a term for that staple of our diets, and can’t be compared from one region to another. It’s all about how we eat it.

Lazy Chili

Just made this. It’s not quite bad.

  • 1lb ground beef
  • 1 jar salsa
  • 1 can baked beans
  • 1 tbsp chili powder
  • 1/2tbsp paprika
  • 1tsp cumin
  • 1tsp ground black pepper
  • 1/2tsp salt
  • 1 can beer

Brown and drain the beef. Mash it up with a fork or something.

Throw in the other ingredients. Simmer for an hour.

Contrast is the new context, which was the new content, which was the new format

In the beginning, format was king. The mere fact that we were reading something on the web made it important. It had somehow come to occupy this new medium, which in itself was novel and beautiful and confusing. Whoever put it there had to be smart, and therefore the content as well.

Then, at some point, maybe the early 2000’s, content became king. Your format is getting in the way of our content, we’d say. Enough of the tables, the flash, the jpeg-rendered text. Let us read <pre> formatted courier and be fulfilled.

Then context became king; it was more important where, when, and how readers got the content than what the content actually was. Can I read it on my iWatch? Because that’s how I read stuff nowadays. Is it RTL compatible? Pft, how dare we ignore half the world (if not more)’s readership.

Contrast is next. It’s all we have left. Is it different than what I’ve seen before? Does it stand out? In my daily sea-of-noise, what clambers to the surface, bobbing aggressively for attention like some snagged snapper float? That’s what I’ll read.

Newspaper

I don’t even know what that is
I read something about a 20 million dollar loss
Whose loss? How does one even lose 20 mill?

I spend the next 20 minutes looking for a new car
In the classifieds, and land on one like new
Kelly green
Olds, only 40k and just inspected

I call the number, Al answers
This is Al
Hi, can I see the olds?
Who is this? Jerry?
And I hang up

I settle on an editorial, someone thinks the war on milk needs to end

Teaching

I’m a professor, which I suppose makes me a professional teacher. I instead like to think of myself as a professional learner. I believe that teaching is an extension of learning. It enhances learning. If I can teach you how to do something, it means I have learned it myself. There are other ways to prove this to myself; if someone is paying me to do something, there’s a pretty good chance I know how to do it. But if I can observe you doing it, as a consequence of my having taught it to you, that’s exponentially better proof that I’ve learned it.

Blog link