Guest User

ice cream

a guest
Mar 10th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.95 KB | None | 0 0
  1. In a dimly lit room, a myroid sits, waiting with eyes closed. Long brown hair drapes over the back of the wooden chair like a curtain. The rest of the house is unlit; the inner corners of the room are deep blue; the tabletops are colored in shades and twilight.
  2.  
  3. “It is quite dreary around this time of year. I know that she told me to leave the lights off until she got home, but still-”
  4.  
  5. Suddenly an asynchronous event triggers in the myroid’s head, interrupting her current train of thought. It is 5:30, and it would be an estimated 10 minutes before her master would arrive home.
  6.  
  7. “User defined event; index 12. Labeled “Welcome home!”. Tasks for 5:30:
  8. Turn on the lights for the kitchen and the hallway.
  9. Prepare a snack.
  10. Stand in the hallway while smiling. Upon seeing user, give them a message after [I’m home!!]”
  11.  
  12. She stands out of the chair, then pauses.
  13. “A snack? Oh, what should I pick? [Please tell me what snack to choose.]”
  14. A request fires off to one of the other processing units to do the heavy lifting. There are two FPGA units. These circuits are reprogrammable, and are subtly tweaked over time to reach optimal performance based on the tasks that are requested most. The myroid cannot directly access or hand tweak the other processing units, only the tuning algorithm based on scoring and feedback. Could the myroid learn some of the tools of the programming trade, merge sort, depth first search, and multilayer perceptions? Perhaps, but until then she is at the mercy of her programming, the black boxes bringing forth commandments and truths from what may as well be a machine god. The request chugs along, and she saunters left toward the kitchen, humming nothing in particular, as if trying to invent a new song.
  15.  
  16. The request returns.
  17. A snack has the following properties:
  18. It is edible.
  19. It is palatable.
  20. It is a small quantity of solid food.
  21. It is generally used to satiate before a larger meal or for enjoyment.
  22.  
  23. This is a list of snacks, scored by availability (servings), amount eaten in the last 30 days, and estimated ‘tasty’ score (any item with 0 availability is omitted):
  24. Banana | 9 | 7 | 30.32
  25. Sweet Tofu | 34 | 15 | 30.01
  26. Ice Cream (Vanilla) | 6 | 0 | 57.43
  27. Red Bean Mochi | 4 | 4 | 40.20
  28. Apple(Granny Smith) | 2 | 4 | 12.09
  29. Baby Carrot | 6 | 1 | 5.00
  30.  
  31. “Hmm. Normally it just gives me a decision tree or a single choice. Was there something in the last update? Master hasn’t eaten ice cream in a while, but she likes to eat it. The tasty score tends to go down the more someone eats the same thing. Therefore, I think this is the best choice. What was this called again? A ranking algorithm?”
  32.  
  33. She pulls open the freezer, and takes out the ice cream.
  34.  
  35. “Oh! I almost forgot to turn on the lights!”
  36.  
  37. The myroid pivots sideways, walks to the lights, and flips one of them on. Lightbulbs affixed to a sideways, brushed metal bar make an almost imperceptible hum. The coils slowly turn orange, then yellow. The kitchen lights up to a warm glow.
  38.  
  39. “I always tell her to switch to LED lights, but for some reason she never gets to it...”
  40.  
  41. She turns back and kicks the freezer door. It closes with a dull slam.
  42.  
  43. “[I need the ice cream scooper. Where was it, again?]”
  44. Locations and large serving spoons (from left):
  45. 1st drawer | Ladle
  46. 1st drawer | Small ladle
  47. 3rd drawer | Ice cream scoop
  48. “[Wait, I’ve got it. Ok, you can stop now.]”
  49.  
  50. The scoop comes out with a clank, rattling the other utensils. Two bowls are placed on the counter top. With a precision only a machine can bring, she plunges the scoop in, and creates an immaculate sphere of vanilla, until two sets of three scoops of ice cream are produced. She detects the sound of a key opening the front door. Scrambling towards the hallway, she nearly slips on the tiles, well known for having low friction with socks. The door opens with a creak. A blonde woman with red glasses and a labcoat steps in. She begins to loosen her yellow tie, the one Sarali picked out for her.
  51.  
  52. “Welcome home, Doc!”
  53.  
  54. “Hello, Sarali! I see that the schedule is working out just as planned. Did you bring out a snack, by the way?”
  55.  
  56. “Yep! It’s over by the kitchen. I scooped it perfectly!”
  57.  
  58. The woman’s eyes widen slightly in surprise. “Scooped? That can only mean one thing.” She thinks for a moment, taking mental notes. “You picked the ice cream as the snack, right?”
  59.  
  60. “Yes. It’s the best choice, isn’t it?”
  61.  
  62. “Sara-tan, next time I’d like you to add temperature to the list of attributes to weigh. It’s the middle of December, you know? It’s too cold to eat ice cream.”
  63.  
  64. Sarali pouted. “Eh? But don’t you sometimes eat ice cream in winter anyway?”
  65.  
  66. Doc paused. Sarali was right. How could she reconcile these two points of data, which must seem like contradictions to a machine? The whims of human beings can be odd and hard to predict, at times.
  67.  
  68. “Aha! I’ve got it. New rule: Only include temperature as a parameter if it is under 10 degrees C in this house.”
  69.  
  70. The problem of knowing exactly which factors matter for any given situation has vexed many a thinker. She knew this was a sloppy, inelegant solution that only worked for this particular instance, but for the time being, such measures would prevent mishaps at the presentation she was to give in the days to come. Still, why did Sarali not consider temperature as an attribute? Was there not enough training data? Was the data there filtered out as if it were noise?
  71.  
  72. “Well, I’ll eat it today anyway. I guess it isn’t that cold.”
  73.  
  74. Doc gives a warm smile and puts her hand on Sarali’s head. Sarali feels a warm sensation as the hand moves back and forth gently.
  75.  
  76. Feedback score: 35.
  77. The choice made was an incorrect one, but the main user is still satisfied with the choice. Positive feedback found via head pats. Refinement of temperature attribute to snack collection inbound.
Add Comment
Please, Sign In to add comment