mailto: blog -at- heyrick -dot- eu

The sensory symphony of pasta

If you know me, you'll know that I consider linguine to be comfort food. Not cake or chocolate, linguine.

Yesterday, I made myself a big bowl of fresh tagliatelle because it was getting late and I wanted to not spend forever in the kitchen. Three minutes of boiling (well, somewhere between three and five, I got sidetracked) and it was done. I would have done linguine, but it takes quite a bit longer being dried pasta.

A lovely bowl of pasta
Lightly buttered and peppered tagliatelle with a melted grated cheese on top.

Look closely. See how the light catches the curves of each strand? You can almost feel the texture looking at this picture - because this isn't just a boring bowl of pasta, it's a sensory experience.

The pasta is tossed in butter (proper butter) which makes it shiny, helps stop it clumping together in a heap, and makes the slight roughness of the pasta become smoother. Imagine the slight give as the firmness of the pasta yields to the pressure applied by a well-placed fork. Notice, also, the contrasts between the shiny cream-coloured pasta and the shadows that are cast by the light. There is a comforting uniformity to the pasta itself intermingled with the chaotic nature of the shadows, each one a mesmerising visual texture that avoids hard edges and sharp contrasts. Nothing is rigidly defined, but it isn't without form.

On top of the pasta is grated cheese - a mixture of three types of cheese intended to enhance pasta meals. Gently melted, the colours and textures almost match the pasta, but impart a different, deliciously cheesy taste. Not to mention the stringiness of the texture of cheese when it is pulled apart.

Finally, there is the pepper. Fine ground black pepper carefully scattered amongst the strands of pasta (and not at all just haphazardly tossed in and stirred, no, not like that). The pepper is not just there to provide taste, it is there to provide a counterpoint. Like black stars suspended in a cream universe, just the right amount of pepper dispersed into the pasta provides an important visual texture, an interference with the pale creaminess. This juxtaposition isn't jarring nor is it intended to be. It is a nuanced and carefully balanced visual texture, with each speck both distinct and a part of the overall pattern.

The image itself brings a sense of warmth and confort. The lighting, the shades and shadows, the colours, it all contributes to a great visual satisfaction. I am almost inclined to call it a "holistic sensory experience". But I won't because that sort of rubbish sounds like advertising blurb for an overpriced set of headphones. But just know that this isn't just a plate of food thrown together by a tired human in the late evening, it is a carefully curated sensory experience. A picture one can almost taste, and an invitation to close your eyes and just imagine.

And that is just the picture. Now consider the calming satisfaction of eating it when one can bring in all of the other senses. How it smells, how it feels in the mouth, how it tastes, all of that.

One does not simply scoff a bowl of pasta.
One experiences a bowl of pasta.

 

(and hopefully now you understand why I consider drowning it in some sort of tomato-based slop to be an unforgivable act of cruelty)

 

Livebox power

The Livebox 6 claims to use 3A, but the power supply doesn't get warm. I'm guessing maybe it's 3A with all of the ethernet sockets in use, something sucking at least 500mA from the USB port and... and...

This is important as my 12V battery backup is rated 2A. So I didn't hook the battery backup to the Livebox.

Just like the previous Livebox, the slightest disturbance the the power, those brownouts that occur at least once a day (sometimes more), that don't faze the two Pi machines at all, cause the Livebox to immediately reboot.

I came home today and found that my Pi had lost all connectivity. So I had to run my "Rejoin" script to do the ifconfig call to reconnect to the network, then waste some time so DHCP can get a new address in the background.

And, well, I snapped. I'd lost internet on Sunday in the middle of streaming a movie. And, okay, first world problems as it only took about five minutes to come back up and I used the time to make a tea, but still, it really interfered with my immersion into the story.

A mini UPS beside a Livebox 6
A Mini UPS beside a Livebox 6.

So I left the dinky UPS plugged in all yesterday to charge it up, and then patched it in between the Livebox's power supply and the Livebox itself. I then flicked off the power for a couple of seconds and the Livebox kept on going. That's all I need. We don't have actual powercuts, the last one was for half and hour during a violent storm, so all it needs to do is see me through the brownouts. And, well, it looks like this will be a solution even for the more recent Livebox.

 

On the other hand, given that modern infrastructure is coming to depend upon things like this, upon having the telephone plugged into the internet box; it does seem something of a flaw that internet boxes aren't capable of riding out brownouts, never mind actual powercuts. Maybe with the gradual disappearance of copper wires, we might one day get to see these things with LiPo cells inside them. After all, I've just stuck four beside it and that seems to work.

On the other other hand, maybe it would be less of a problem if these things didn't take an eternity to reboot?

 

YT Studio's grammar fail

Something that bugs me is when a string that has a singular number has a plural word. Maybe I'm not explaining that very well, so take a look at this capture from the "YT Studio" app.
First 1 minutes
No, this isn't good.

And here's another, that is replete with wrongness.

My channel attracted 1 new subscribers.
This is just tragic.

The bottom picture, "You've got"? How about simply "You have"?

And in both cases... "1 new subscribers" and "First 1 minutes".

This is easy-enough to handle in a language like C. Off of the top of my head, something like this, perhaps?

if ( daycount > 1 )
{
   // First X day[s], X hour[s]
   snprintf(outstr, SLEN, "First %d day%s, % hour%s",
            daycount, ( (daycount==1) ? "" : "s"),
            hourcount, ( (hourcount==1) ? "" : "s") );
}
else
{
   if ( hourcount > 1 )
   {
      // First X hour[s], X minute[s]
      snprintf(outstr, SLEN, "First %d hour%s, % minute%s",
               hourcount, ( (hourcount==1) ? "" : "s"),
               minutecount, ( (minutecount==1) ? "" : "s") );
   }
   else
   {
      // First X minute[s]
      snprintf(outstr, SLEN, "First % minute%s",
               minutecount, ( (minutecount==1) ? "" : "s") );
   }
}

What we are doing here is inserting a ternary conditional into a statement that supplies parameters to a string. Yes, you can IF...THEN...ELSE directly into a (s)printf statement. C is nice like that.

If we take a look at:

      snprintf(outstr, SLEN, "First % minute%s",
                 minutecount, ( (minutecount==1) ? "" : "s") );

This is functionally equivalent to the following BASIC:

   outstr$ = "First "+STR$(minutecount%)+" minute"
   IF (minutecount% = 1) THEN outstr$ += "" ELSE outstr$ += "s"

That is a fairly literal translation of what the C is doing, only we're skipping the length test as BASIC will throw an error if the string is too long, rather than scribbling all over god-knows-what.
In real code, however, you'd be more inclined to append the 's' if minutecount was not 1; saves the silliness of appending an empty string.

At any rate, having something say "First 1 minutes" just seems so slap-dash and amateurish.

 

 

Your comments:

Please note that while I check this page every so often, I am not able to control what users write; therefore I disclaim all liability for unpleasant and/or infringing and/or defamatory material. Undesired content will be removed as soon as it is noticed. By leaving a comment, you agree not to post material that is illegal or in bad taste, and you should be aware that the time and your IP address are both recorded, should it be necessary to find out who you are. Oh, and don't bother trying to inline HTML. I'm not that stupid! ☺ ADDING COMMENTS DOES NOT WORK IF READING TRANSLATED VERSIONS.
 
You can now follow comment additions with the comment RSS feed. This is distinct from the b.log RSS feed, so you can subscribe to one or both as you wish.

John, 17th December 2024, 20:14
Erotica? The pasta, that is.
David Pilling, 17th December 2024, 23:31
Plural thing, maybe programmer does not have English as first language, maybe saving time, worse, maybe it has become the norm. Get rid of singular words - you could program using boolean for 1/0 and then integer for anything greater than 1 - but it is simpler to use integers for everything. 
It is irritating. My experience was having to code it properly and then later encountering the incorrect versions and wanting to go and tell them they'd got it wrong.

Add a comment (v0.11) [help?] . . . try the comment feed!
Your name
Your email (optional)
Validation Are you real? Please type 74535 backwards.
Your comment
French flagSpanish flagJapanese flag
Calendar
«   December 2024   »
MonTueWedThuFriSatSun
      
234568
1011121315
161819202122
23242526272829
3031     

(Felicity? Marte? Find out!)

Last 5 entries

List all b.log entries

Return to the site index

Geekery
 
Alphabetical:

Search

Search Rick's b.log!

PS: Don't try to be clever.
It's a simple substring match.

Etc...

Last read at 03:05 on 2024/12/18.

QR code


Valid HTML 4.01 Transitional
Valid CSS
Valid RSS 2.0

 

© 2024 Rick Murray
This web page is licenced for your personal, private, non-commercial use only. No automated processing by advertising systems is permitted.
RIPA notice: No consent is given for interception of page transmission.

 

Have you noticed the watermarks on pictures?
Return to top of page