123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- <?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/11-November/20.xhtml" />
- <title>Eight days <https://y.st./en/weblog/2016/11-November/20.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/11-November/20.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/11-November/19.xhtml"><Previous</a>
- <a rel="next" href="/en/weblog/2016/11-November/21.xhtml">Next></a>
- <a href="/en/weblog/latest.xhtml">Latest>></a>
- </p>
- <hr/>
- </nav>
- <header>
- <h1>Eight days</h1>
- <p>Day 00624: Sunday, 2016 November 20</p>
- </header>
- <img src="/img/CC_BY-SA_4.0/y.st./weblog/2016/11/20.jpg" alt="A mariachi band playing outside someone's door" class="weblog-header-image" width="811" height="480" />
- <p>
- <strong>Current countdown:</strong> 8 days to find a place to live
- </p>
- <h2 id="general">General news</h2>
- <p>
- On my way to work, I saw and heard a mariachi band playing in front of someone's house! At first, I thought hat someone was playing a recording of them loudly, but as I neared the house, I actually got to see them playing.
- A couple of the band members even waved at me between songs! I'm not sure why they were singing outside someone's house, but it was really cool to see it.
- </p>
- <p>
- The man-hour-to-profit ratio at work has been bad this week, so today, the shift leaders were trying to send employees home as soon as possible to improve that ratio.
- My hours started during the morning shift and ended during the evening shift.
- I was given a choice by the morning shift leaders: I could either go home very early, or they would call off one of the other employees scheduled to work during the night shift.
- I chose to stay.
- Apparently, that was the wrong decision.
- One of the night shift leaders got ticked off that one of their favorite and hardest-working employees had gotten called off.
- They later apologized to me, admitting that they don't know me or my work ethic.
- They also gave the morning shift leaders a list of people that they'd rather see called off in the future if such a situation arises again.
- They cited reasons such as these people weren't able to handle simple tasks on their own or didn't work very hard.
- Ouch.
- I'd hate to be on one of those sorts of lists.
- I ended up working a bit harder and faster than I normally do to try to prove to the night shift leader that having me around isn't so bad.
- </p>
- <p>
- Today, I picked up my first paycheck.
- It's not as high as I would have hoped, but I did come in partway through the pay period.
- Anything helps, and I hope to see several more paychecks before I leave this company again.
- </p>
- <p>
- My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
- </p>
- <h2 id="include.d">include.d</h2>
- <p>
- I shouldn't have, but I did a little work on <a href="https://git.volatile.ch./y.st./include.d/releases">include.d</a>.
- I added the <code>__set_state()</code> method to the exception classes.
- I plan to add this method to most of include.d's classes.
- The notable exception to this will be that wrapper classes won't have this method, as there's no clean way to implement the serialization of resource handles, especially without warning.
- If <code>\var_export()</code> would simply serialize objects using something similar to the <code>\serialize()</code> function, then wrap the serialized data in a call to <code>\unserialize()</code> instead of <code>self::__set_state()</code>, it might be more feasible to attempt to allow serialization.
- Exporting the object as an array without giving the class any way to clean up the data before doing so wasn't the best design decision on the part of the <abbr title="PHP: Hypertext Preprocessor">PHP</abbr> developers.
- That said, the wrapper classes aren't really meant to be serialized in <strong>*any*</strong> way.
- They simply make calling functions on resource handles easier by grouping the resource handle and it's related functions into a single variable: an object.
- In reality, object such as these should have been used instead of resource handles, but I don't think that classes had been programmed into <abbr title="PHP: Hypertext Preprocessor">PHP</abbr> yet at the time that the resource-handle-using functions were added.
- </p>
- <p>
- While i was writing some code, I came to a realization: the <code>__set_state()</code> method basically allows you to cast an array into an object of a given class, if the method is set up correctly! Is this useful? I argue that it isn't, but it's interesting to think about.
- Normally, when you cast any non-objects as objects, they become objects of the <code>\stdClass</code>.
- </p>
- <h2 id="university">University life</h2>
- <p>
- I don't remember where I found the link to the course textbook that I downloaded for <span title="Principles of Business Management">BUS 1101</span>, but I can't find it any more.
- Furthermore, I found two new links that I hadn't seen before.
- One offers the textbook in <strong>*basic <abbr title="Hypertext Markup Language">HTML</abbr>*</strong>, witch, if you don't take into account that good webpages are written in <abbr title="Extensible Hypertext Markup Language">XHTML</abbr>, not <abbr title="Hypertext Markup Language">HTML</abbr>, is the format that all online textbooks should be offered in.
- This version seems to be the right version for the course even, and has the required reading sections that weren't present in the other textbook that they offered me.
- Additionally, there's a <abbr title="Portable Document Format">PDF</abbr> textbook that I'm going to assume is the correct one as well, but in another file format.
- This will be easier to work with on my mobile when reading at work, most likely.
- </p>
- <p>
- I also just found information that our initial discussion posts are due on Sunday.
- This information was <strong>*not*</strong> available in the syllabus.
- In any case, my initial discussion post last week was late.
- </p>
- <p>
- I graded the essays from last week that I was assigned this week, and the results were very disappointing.
- Nobody seems to have even read the assignment directions.
- We were supposed to review the definitions of leadership, entrepreneurship, and strategy.
- It wasn't stated clearly whether this review was supposed to be just us rereading the definitions or if we were supposed to write about them.
- Then, we were to find an example of each on the Internet, then compare and contrast our examples.
- The first two essays that I read didn't provide examples at all.
- The first of these then compared and contrasted the concepts themselves, though it didn't really compare strategy to anything.
- The second of these essays then went on to compare the definitions of these three concepts from the textbook to definitions of the same concepts found online.
- I can't even imagine what they must have been thinking.
- Not only that though, but their essay didn't meet the length requirements.
- Lastly, the final essay actually provided the three examples asked for! Sort of.
- Instead of finding examples online, the author instead gave generic examples: schoolteacher, inventor, and study plan.
- Still, that was better than the first two authors had done.
- That's where the good qualities of their essay ran out though, from a requirement-meeting perspective.
- Instead of comparing and contrasting the examples to one another, the author decided come up with three new examples, and compare and contrast to those instead.
- A leader was compared to a leader, an entrepreneur was compared to an entrepreneur, and a strategy was compared to a strategy.
- As much as I wanted to, I couldn't give anyone a decent grade on that assignment.
- </p>
- <p>
- Once I got home from work, I found that the textbook had been switched out on us.
- The reason that I found the new textbook today was because the textbook had been swapped on us! There had indeed been an error, but they found and corrected it.
- </p>
- <h2 id="apartment">Apartment hunting</h2>
- <p>
- I still have an account at Bank of the Cascades, and I'm required to disclose all my financial account balances on my apartment application.
- I tried to log into the bank's website, only to find that I don't have login credentials in my KeePassX database.
- I never set up my online account! I tried to set up my account, but the stupid website is demanding that I verify the telephone number that they already have on file for me! I'm not sure what number they have on file for me, but I was very clear with them when I set up the account that I didn't have telephone service.
- The number that they have on file ends in "1212", which for some reason, makes me think that it's the number for one of the <a href="https://en.wikipedia.org./wiki/Directory_assistance#North_America">directory assistance</a> numbers; most likely, it's <a href="tel:+18005551212">+1 800 555 1212</a>.
- I have no way to clear this up but to go see them in person.
- I guess that that's how I'm going to be spending my day tomorrow.
- </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%2F11-November%2F20.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%2F11-November%2F20.xhtml"><abbr title="Cascading Style Sheets">CSS</abbr>3</a> specification.
- </p>
- </body>
- </html>
|