123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <?xml version="1.0" encoding="utf-8"?>
- <!--
-
- h t t :: / / t /
- h t t :: // // t //
- h ttttt ttttt ppppp sssss // // y y sssss ttttt //
- hhhh t t p p s // // y y s t //
- h hh t t ppppp sssss // // yyyyy sssss t //
- h h t t p s :: / / y .. s t .. /
- h h t t p sssss :: / / yyyyy .. sssss t .. /
-
- <https://y.st./>
- Copyright © 2016 Alex Yst <mailto:copyright@y.st>
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <https://www.gnu.org./licenses/>.
- -->
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <base href="https://y.st./en/weblog/2016/12-December/03.xhtml" />
- <title>A strange day at work and a boring day at home <https://y.st./en/weblog/2016/12-December/03.xhtml></title>
- <link rel="icon" type="image/png" href="/link/CC_BY-SA_4.0/y.st./icon.png" />
- <link rel="stylesheet" type="text/css" href="/link/basic.css" />
- <link rel="stylesheet" type="text/css" href="/link/site-specific.css" />
- <script type="text/javascript" src="/script/javascript.js" />
- <meta name="viewport" content="width=device-width" />
- </head>
- <body>
- <nav>
- <p>
- <a href="/en/">Home</a> |
- <a href="/en/a/about.xhtml">About</a> |
- <a href="/en/a/contact.xhtml">Contact</a> |
- <a href="/a/canary.txt">Canary</a> |
- <a href="/en/URI_research/"><abbr title="Uniform Resource Identifier">URI</abbr> research</a> |
- <a href="/en/opinion/">Opinions</a> |
- <a href="/en/coursework/">Coursework</a> |
- <a href="/en/law/">Law</a> |
- <a href="/en/a/links.xhtml">Links</a> |
- <a href="/en/weblog/2016/12-December/03.xhtml.asc">{this page}.asc</a>
- </p>
- <hr/>
- <p>
- Weblog index:
- <a href="/en/weblog/"><abbr title="American Standard Code for Information Interchange">ASCII</abbr> calendars</a> |
- <a href="/en/weblog/index_ol_ascending.xhtml">Ascending list</a> |
- <a href="/en/weblog/index_ol_descending.xhtml">Descending list</a>
- </p>
- <hr/>
- <p>
- Jump to entry:
- <a href="/en/weblog/2015/03-March/07.xhtml"><<First</a>
- <a rel="prev" href="/en/weblog/2016/12-December/02.xhtml"><Previous</a>
- <a rel="next" href="/en/weblog/2016/12-December/04.xhtml">Next></a>
- <a href="/en/weblog/latest.xhtml">Latest>></a>
- </p>
- <hr/>
- </nav>
- <header>
- <h1>A strange day at work and a boring day at home</h1>
- <p>Day 00637: Saturday, 2016 December 03</p>
- </header>
- <img src="/img/CC_BY-SA_4.0/y.st./weblog/2016/12/03.jpg" alt="Cactus fruit" class="weblog-header-image" width="809" height="480" />
- <h2 id="general">General news</h2>
- <p>
- Today was an odd day at work.
- As I had a closing shift today, I ran the drive through.
- First, a former coworker (who quit working here before I did) stopped by for food.
- It was nice to see them, but then they asked me how the new breast implants of one of the shift leaders look.
- I'm honestly not sure if I've seen them since their surgery.
- As an asexual, I don't tend to notice <a href="https://en.wikipedia.org./wiki/Secondary_sex_characteristic">secondary sex characteristics</a>, or at least not changes in them.
- I mean, I can tell the difference between members of each sex, but I'm not going to notice changes very quickly unless they're on the face or the rest of the head.
- </p>
- <p>
- Next, as I was informing the shift leader at the ovens' landing about which pizzas I took from the warmer so that they could replace it if need be, the shift leader tried to get me to use wacky terminology.
- One of the pizzas that I sold was a ham and pineapple pizza.
- Most of our customers call this a Hawaiian pizza.
- The whole United States calls this a Hawaiian pizza.
- As far as I know, the <strong>*world*</strong> calls this a <a href="https://en.wikipedia.org./wiki/Hawaiian_pizza">Hawaiian pizza</a>.
- (This is dispute the fact that this apparently is a Canadian pizza style, not one that's actually from Hawaii, but that's beyond the scope of this journal entry.) However, at my workplace, the corporation that we are a franchise of puts strange labels on a bunch of things; they've named this pizza a "Hula Hawaiian".
- I'd link to the menu item online, but it's behind a CloudFlare <abbr title="Completely Automated Public Turing test to tell Computers and Humans Apart">CAPTCHA</abbr> wall, and if you're a regular reader, you know that I try to avoid linking to those.
- In any case, at our restaurant, our employees have shortened the name and have taken to calling these pizzas "hulas".
- This shift leader wants me to call them that too for some reason, but there's no valid reason for me to do so.
- These are Hawaiian pizzas and should be called that.
- Admittedly, out of laziness, I often call them "Hawaiians" instead of "Hawaiian pizzas", but given the context, it seems like a reasonable shorthand.
- It's not a very formal environment, and given that Hawaiian pizzas are one of the main pizzas that we sell, everyone knows what I'm talking about.
- Likewise, I don't argue when people call them "hulas".
- However, I certainly don't call them that myself.
- If the shift leader wanted me to call them "Hula Hawaiians", while I'd still disagree, at least it would make sense.
- It would be an attempt to build emphasis on our brand.
- However, there is zero justification in asking me to call them "hulas".
- As I despise the fact that we aren't using standard terminology, I'm going to pretend that I didn't hear the shift leader.
- In truth, there's probably a twenty-five percent chance that I misheard, as it's very difficult to make out what people in the room say while I'm wearing the drive-through headset.
- If they tell me again though, I'm not sure how to react.
- Obviously, I cannot disobey a direct order.
- However, I also obviously cannot call these things what they're not.
- To call them "hulas" is to encourage others to do the same.
- If I cannot both obey my orders and call them what they are really called, I'm going to have to choose one.
- </p>
- <p>
- As the night was ending, a customer came through the drive-through looking for one of our specialty pizzas, which we can't keep ready after 20:00.
- We don't have enough customers come through after that, so if we keep the specialty pizzas ready, they'll go bad before we sell them and we'll have to throw them out.
- We still keep cheese pizzas and pepperoni pizzas ready until we close, and we're more than happy to make specialty pizzas on demand, but customers have to wait ten to fifteen minutes while we prepare and cook them.
- I explained the situation to the customer, but they were angry that we didn't have the specialty pizza that they wanted ready.
- They said that because we were making them wait, they were going to a competing pizza joint instead.
- I told the head manager about it, just making conversation because we were in the same room, and they said that that particular pizza joint chain that they went to instead would make them wait for half an hour, regardless of what they ordered.
- The customer wasted even more of their time out of spite.
- Not only would they have a shorted wait time with us, they were already here.
- In addition to the thirty-minute wait for their order to be completed at the other chain, they also had to spend time <strong>*getting*</strong> to the other chain.
- Some people are morons.
- </p>
- <p>
- As I was finishing up my work and headed out, the other non-manager closer told me about a tree elsewhere in the city.
- Supposedly, the sidewalk passes right through this tree's trunk.
- I would like to see this tree and add its photograph to my journal, but they didn't know exactly where it is; they haven't seen it in person.
- Supposedly, the shift leader with the pizza name issues was the one to see it though, so next time that I see them, I need to remember to ask them about it.
- </p>
- <p>
- My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
- </p>
- <h2 id="include.d"><a href="https://git.volatile.ch./y.st./include.d/releases">include.d</a></h2>
- <p>
- It turns out that I was wrong yesterday.
- <abbr title="PHP: Hypertext Preprocessor">PHP</abbr> does have the option to deal with multi-byte characters, it just can't deal with them using the simple functions.
- Regular expression functions must be used instead.
- Still, this will take a lot of the effort out, as I won't need to build my own solution and especially won't need to check for invalid strings.
- Either <abbr title="PHP: Hypertext Preprocessor">PHP</abbr> will throw an error of some sort when invalid strings are used or <abbr title="PHP: Hypertext Preprocessor">PHP</abbr> will allow the string to work in some way.
- In either case, it's no longer my problem.
- </p>
- <p>
- I've also come to a realization about checking for the existence of variables in <abbr title="PHP: Hypertext Preprocessor">PHP</abbr>.
- Previously, I thought that it was impossible.
- Specifically, the <code>isset</code> language construct returns <code>false</code> if the variable's value is set to <code>null</code> and the <code>empty</code> language construct returns <code>true</code> for both <code>null</code> and undeclared variables (as well as for several other cases).
- So how does one check to see if a variable is set, considering that being set to <code>null</code> is a valid case? The trick is to make use of the <a href="https://secure.php.net./manual/en/reserved.variables.globals.php"><code>$GLOBALS</code></a> variable and the <a href="https://secure.php.net./array_key_exists"><code>\array_key_exists()</code></a> function.
- It's worth noting that this will only work on variables that are in the global scope, but it still comes a lot closer to being able to check for the existence of variables than other solutions provide so far.
- </p>
- <h2 id="university">University life</h2>
- <p>
- I finished reading the assigned chapter for the week, which was almost painfully boring.
- I swear, this really isn't the right course for me.
- I really hope that I'm actually able to choose fitting courses next term.
- </p>
- <hr/>
- <p>
- Copyright © 2016 Alex Yst;
- You may modify and/or redistribute this document under the terms of the <a rel="license" href="/license/gpl-3.0-standalone.xhtml"><abbr title="GNU's Not Unix">GNU</abbr> <abbr title="General Public License version Three or later">GPLv3+</abbr></a>.
- If for some reason you would prefer to modify and/or distribute this document under other free copyleft terms, please ask me via email.
- My address is in the source comments near the top of this document.
- This license also applies to embedded content such as images.
- For more information on that, see <a href="/en/a/licensing.xhtml">licensing</a>.
- </p>
- <p>
- <abbr title="World Wide Web Consortium">W3C</abbr> standards are important.
- This document conforms to the <a href="https://validator.w3.org./nu/?doc=https%3A%2F%2Fy.st.%2Fen%2Fweblog%2F2016%2F12-December%2F03.xhtml"><abbr title="Extensible Hypertext Markup Language">XHTML</abbr> 5.1</a> specification and uses style sheets that conform to the <a href="http://jigsaw.w3.org./css-validator/validator?uri=https%3A%2F%2Fy.st.%2Fen%2Fweblog%2F2016%2F12-December%2F03.xhtml"><abbr title="Cascading Style Sheets">CSS</abbr>3</a> specification.
- </p>
- </body>
- </html>
|