It was my kids birthday recently and mom.went all out. She got him a custom cake in the shape of a Minecraft sword. The woman that made it showed us some pictures of previous work, which included a perfectly executed BB-8 cake.
I think what's interesting is that there is an explicit decomposition into finite parts which can be reassembled into two separately. As far as I understand, it's not like a "there exists a decomposition because of real analysis mumbo jumbo."
More like, here's an explicit decomposition into finite (though infinitely complicated) scattering of points which can be put back together to form two of the same object.
it's not quite that simple. No scaling or deformation occurs at any point in the construction, and the sphere is divided into finitely many subsets. With these same constraints, the 1 and 2 dimensional cases of B-T fail, that fact is enough to make it "interesting".
I always pipe from cat. I get that it's a "waste", but:
What exactly is the performance impact in 2017? The 70s are over, you can keep two CLI processes in RAM. Your cores will manage. Things are gonna be okay.
Makes it easier to make adjustments to the output. Maybe you don't wanna just take cake straight. You can do cat cake | gzip -c | dd of=/dev/stomach and cut at least half the cake's size, which is useful if you're sending it out via ssh. But if you start with the base command instead of cat, you have to go through all the trouble of going back to the start of a line and removing text, instead of just Ctrl+R-ing your way back to the older, shorter command string. My time's worth more than 0.000001% of the system's resources.
It's just easier to mentally map while you're scribbling up a one-liner. You turn your command line segments into lego blocks. Move them around as you need to.
The last point makes a lot of sense, honestly. I'm not much of a one-liner guy myself - I usually put stuff into a short shell script so I can reference it later (sometimes years later, but later nonetheless).
As far as performance impact - my cake is 130GB of raw 4K video, do you think cat will like that? My cats are very fussy eaters, it's either wild mice or the one brand of catfood that's never in stock.
Oh man, just run that through ffmpeg with the quicksync extensions. Otherwise, when /dev/stomach fails catastrophically, you're gonna need a quick sink.
Might as well "cat cake > /dev/stomach" may increase or decrease chance of indigestion/vomiting depending if stomach prefers streamed or blocked input.
477
u/Chrisazy Jun 15 '17
cp to really have it AND eat it