07.xhtml 5.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?php
  2. /**
  3. * <https://y.st./>
  4. * Copyright © 2016 Alex Yst <mailto:copyright@y.st>
  5. *
  6. * This program is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program. If not, see <https://www.gnu.org./licenses/>.
  18. **/
  19. $xhtml = array(
  20. 'title' => 'Links really is a screwy Web browser.',
  21. 'body' => <<<END
  22. <img src="/img/CC_BY-SA_4.0/y.st./weblog/2016/12/07.jpg" alt="A squirrel on a post" class="weblog-header-image" width="809" height="480" />
  23. <h2 id="general">General news</h2>
  24. <p>
  25. The shift leader with the hurt arm came in today to drop off treats for us for dealing with their incapacitation, so I asked what had happened to their arm.
  26. Apparently, they don&apos;t know, and their arm just started hurting really badly.
  27. They&apos;ll be back on duty tomorrow, though they won&apos;t be able to lift the supplies brought by the supply truck.
  28. Hopefully, their arm continues to improve.
  29. </p>
  30. <p>
  31. It&apos;s been brought to my attention that <a href="apt:links">Links</a> can no longer handle my website now that I&apos;ve added JavaScript to it.
  32. Why not, you ask? Is it because the JavaScript is necessary for any functionality whatsoever? No.
  33. Actually, it boils down to a bug in Links that causes it to treat $a[XHTML] files as $a[HTML] files.
  34. I&apos;ve seen this problem crop up several times, but now, the issue is that Links is expecting a self-closing <code>&lt;script/&gt;</code> tag to have a close tag.
  35. In $a[HTML], that tag does in fact have a close tag.
  36. I&apos;ve got no known way to fix this on my end without mucking up my code because the bug is in fact not on my end.
  37. I could put together a hacky solution, but I hate messy code.
  38. That&apos;s why I use $a[XHTML] instead of $a[HTML] in the first place.
  39. If an when someone wants to test my website in the latest version of Links, I&apos;ll file a bug report, but installing it myself requires compilation.
  40. I don&apos;t have time to deal with compilation and the manual dependency resolution that goes with it.
  41. </p>
  42. <h2 id="university">University life</h2>
  43. <p>
  44. I lost track of time.
  45. I thought that i still had tomorrow to get my schoolwork in, but it was actually due today.
  46. As soon as I realized my mistake, I made haste to grade the essays for the week, then wrote up my remaining discussion posts:
  47. </p>
  48. <blockquote>
  49. <p>
  50. I don&apos;t think that leaks on our end are why we have a stake in the water utility company.
  51. Rather, it&apos;s because we&apos;re paying them and receiving a good (water) from them.
  52. </p>
  53. <p>
  54. Restaurants tend to try not to stock much extra food.
  55. If they have extra, there&apos;s a chance that it&apos;ll go bad.
  56. As a result, when their food stock comes in late, it can have an impediment impact.
  57. Like you said, items can have to be removed from the menu because of it.
  58. I&apos;ve seen this problem in the restaurant that I work at before.
  59. I imagine that grocery stores aren&apos;t hit as quickly, as they do keep a lot of each product on hand, but they are still affected if the delay is too great.
  60. </p>
  61. <p>
  62. Employees, such as those working in the control tower, are very often stake holders in company decisions.
  63. Whatever the company decides to do, the employees are the ones that have to carry it out.
  64. </p>
  65. </blockquote>
  66. <blockquote>
  67. <p>
  68. Job security is an important point that I hadn&apos;t considered.
  69. Employees would indeed care what their company does, especially if it is likely to end badly and result in a need for layoffs.
  70. If the company is setting up a new location of business, employees may also need to worry about getting transfered there.
  71. This may not be the case with the local airport though unless the local airport is part of a larger chain.
  72. </p>
  73. </blockquote>
  74. <blockquote>
  75. <p>
  76. It sounds like the company faced some heavy oppression.
  77. I&apos;m all in favor of regulation, but it&apos;s not right when the government takes full control of the company and treats the board of directors as mere figureheads.
  78. Were there any other stakeholders besides the government? How were customers affected? Would the board of directors be stakeholders as well?
  79. </p>
  80. </blockquote>
  81. <p>
  82. Lastly, I finished the <a href="/en/coursework/BUS1101/SCAMPER.xhtml">SCAMPER</a> assignment.
  83. I had to put off the journal assignment though.
  84. Again.
  85. I really need to do better, but I&apos;m drowning in a mountain of stress from various sources.
  86. The course sucks, I need to find an apartment, work eats most of my time, et cetera.
  87. I&apos;m not really sure what I can do aside from force myself to complete my schoolwork early even on days that I&apos;m exhausted.
  88. </p>
  89. END
  90. );