123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- <?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/16.xhtml" />
- <title>Twelve days <https://y.st./en/weblog/2016/11-November/16.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/16.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/15.xhtml"><Previous</a>
- <a rel="next" href="/en/weblog/2016/11-November/17.xhtml">Next></a>
- <a href="/en/weblog/latest.xhtml">Latest>></a>
- </p>
- <hr/>
- </nav>
- <header>
- <h1>Twelve days</h1>
- <p>Day 00620: Wednesday, 2016 November 16</p>
- </header>
- <img src="/img/CC_BY-SA_4.0/y.st./weblog/2016/11/16.jpg" alt="The Park at Emerald Village" class="weblog-header-image" width="811" height="480" />
- <p>
- <strong>Current countdown:</strong> 12 days to find a place to live
- </p>
- <h2 id="general">General news</h2>
- <p>
- Paulk-collins reported on <a href="ircs://freenodeok2gncmy.onion:6697/%23Replicant">#Replicant</a> that Cypress just bought Broadcom, then released all the information from their Wi-Fi chips.
- GrimKriegor says that one of those chips is the one used in the GT-i9100.
- That means that it's now possible to build free and working Wi-Fi for my device! At least I think that that's what it means, I'm no good with hardware.
- They also said that that same chip is used for Bluetooth! I might be able to ditch my carrier and use Wi-Fi, as well as stop breaking the cords on my wired headphones and get wireless ones.
- In any case, I'm not sure if anyone will work on this at any time soon, but someone might get to it eventually.
- </p>
- <p>
- Apparently, PayPal decided to close my account on me on 2016-11-13, citing "security reasons".
- I didn't notice the email from them notifying me of this fact until just now, but this was the day after I had tried to close the account myself, but they wouldn't let me.
- PayPal's system is incredibly messed up, but at least my account has been closed.
- </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 said that I wouldn't introduce this section for a while because <a href="https://git.vola7ileiax4ueow.onion/y.st./include.d/releases">include.d</a> is on hiatus, but it seems that I do have stuff to say about the project even though I don't have time to work on it at the moment.
- </p>
- <p>
- I learned about a <abbr title="PHP: Hypertext Preprocessor">PHP</abbr> magic method that is, in my opinion, quite idiotic.
- Specifically, the <a href="https://secure.php.net./manual/en/language.oop5.magic.php#object.set-state"><code>__set_state()</code></a> method seems redundant.
- When the function <code>\var_export()</code> is called with an object as its argument, it creates an <code>eval()</code>able string by converting the object into an array, creating an <code>eval()</code>able representation of that array, then wrapping it in a call to the static <code>__set_state()</code> method of that object's class, whether that class actually implements that method or not.
- What? Did the developers honestly not realize that they could simply convert the object to an <code>eval()</code>able string by internally running something like <code>\serialize()</code> on the object, then wrapping the result in a call to <code>\unserialize()</code>? That would give more consistent results and wouldn't require extra implementation on the part of the class builder.
- It's worth noting too that the <code>__set_state()</code> magic method isn't a magic method at all.
- It only gets called when code explicitly is built to call it.
- In any case, when I eventually get back to working on include.d, I'm going to be adding a <code>__set_state()</code> method to most of my classes to cover this use case.
- It's worth noting that when the <code>\var_export()</code> function creates an array string from an object, it does so very strangely.
- First of all, there is no differentiation between keys representing private properties, protected properties, public properties, and private properties of different classes.
- If a child class implements a private property with the same name as a private property used by the parent class, <strong>*both*</strong> properties are included in the array string and are given the same key name.
- When <code>eval()</code>ing the code, one value overwrites the other, so you lose some of the properties! Luckily for any class in which the parent's version of the property is more important, it seems that the child's version is set first, closer to the beginning of the string, and the parent's is set later, closer to the end of the string.
- This will be <strong>*exceedingly*</strong> useful for my classes that extend my <code>\st\y\uri</code> class.
- To get <code>__set_state()</code> to function as expected by returning an instance of the class based on the array, <code>__set_state()</code> will need to have access to the five private <code>\st\y\uri</code> class properties, even in child classes.
- It will need to use these properties to construct the string version of the <abbr title="Uniform Resource Identifier">URI</abbr>, then pass that string to the actual constructor of the class.
- </p>
- <h2 id="university">University life</h2>
- <p>
- I started my day by completing my <a href="/en/coursework/BUS1101/Leadership_Entrepreneurship_and_Strategy.xhtml">essay</a> for the week.
- While my original plan for the day was to first finish my discussion assignment, the essay was more important.
- If I only had time to finish one of the two, I'd have better made the essay that one.
- My essay now stretches all the way to page six, not counting the references section.
- Perfect! That should be detailed enough.
- If someone tries to measure the page count, I can't be sure that they'll be using the same font or font size that I used, but it should still at least surpass the required two-page page count.
- For this assignment, I was required to double space the essay, so I tried to use a <code><style/></code> tag with the <code>scoped="scoped"</code> attribute within a <code><div/></code> tag, but the <a href="http://www.uopeople.edu/">University of the People</a> essay-submission form stripped out the <code><style/></code> tag.
- I ended up just using the <code>style</code> attribute on the <code><div/></code> tag that I wrapped my essay in, but that's much less flexible.
- For example, I wasn't able to style all contained tags that have a <code>title</code> attribute as I'd originally planned to.
- Next, I wrote up my remaining discussion posts:
- </p>
- <blockquote>
- <p>
- I agree, it's important to understand the capabilities and skills of your subordinates.
- That allows to to match the correct subordinate to the correct task, to best utilize your human resources.
- Likewise, hovering over your subordinates isn't a good idea.
- By allowing them to mostly work without interference, you avoid wasting your own time and energy, as well as avoid annoying your subordinates and making them think that you don't trust them.
- </p>
- <p>
- The success of the company depends a lot on the condition of the employees.
- If you care about the company, it can be very useful to care about the employees as well, making sure that they're happy and productive.
- </p>
- </blockquote>
- <blockquote>
- <p>
- Yeah, management is a skill.
- Some people come by it naturally, but when those that don't naturally have that skill don't take the time and make the effort to learn it, subordinates can be very unhappy.
- Leadership is a very important skill for a manager, and without it, getting people to want to go in the direction that you're taking them isn't going to happen.
- </p>
- </blockquote>
- <blockquote>
- <p>
- The roles of manager and leader are different roles, with different types of qualities, though it's possible to fill both shoes at once.
- </p>
- <p>
- Goal-setting, analysis, and strategy are all great skills for managers to have.
- Analysis helps you understand the current situation, goal-setting helps you figure out the situation that you want to be in, and strategy helps you make it from the current situation to the desired situation.
- </p>
- </blockquote>
- <p>
- Until I got home from work, I wasn't able to see what the assigned reading for the week was, so I just assumed that it was the next chapter of our assigned textbook.
- I copied that to my mobile and read a couple pages of it on my break at work.
- </p>
- <h2 id="apartment">Apartment hunting</h2>
- <p>
- On the way to work, I found an apartment complex that I guess always knew was there, but had never thought about being an apartment complex.
- I'm unsure of the name of this complex, but I have a <abbr title="Uniform Resource Identifier">URI</abbr> in which to find more information later.
- I also went into the office of a complex called The Park at Emerald Village.
- It's a strange name, and not one that's easy to use in a conversation, but they said that they'd rent to me without any renting history and without me having to make three times the rent! The catch? Well, there's two.
- First, the price is $650 <abbr title="United States Dollars">USD</abbr>, plus the cost of utilities.
- Second, they don't have any vacancies.
- I can fill out an application to get on their waiting list though.
- I've taken home the application and will fill that out tomorrow before work and drop it off as I head in.
- </p>
- <p>
- My boss wanted me to keep them updated on my moving situation, as I informed them before they hired me that I was planning to move out of town fairly soon and couldn't stay long.
- Today was the first time that I saw them since I found out htat I'm apartment-hunting, so I let them know that I'm looking for a place.
- If I find one, I can stay and keep that job.
- I also kind of secretly hoped that they would have some advice, but they didn't say anything of the sort.
- They did say that I can use them as a reference should I find a place that requires references though.
- </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%2F16.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%2F16.xhtml"><abbr title="Cascading Style Sheets">CSS</abbr>3</a> specification.
- </p>
- </body>
- </html>
|