byuu.org
  1. byuu.org
  2. archives
  3. page-2

byuu - Page 2

byuu - Page 22019-12-05 06:56:42

Previous Page

Page 1

= Deferred Image Loading = 2019-11-10

byuu_2019-11-10_02-30-26

Deferred image loading is a rather silly concept that comes up in website speed optimizations.

When browsers connect to a webpage, they try to load every single image on the webpage, even when some of those images are offscreen entirely.

Deferred image loading libraries attempt to use JavaScript to detect when the user has scrolled the browser down close to the image, and then it begins loading the image in the background.

This basically fakes a page load finishing quicker than it actually has, which is of course a lie. Worse yet, it makes your site dependent upon JavaScript being enabled in order to load images at all.

There is a new tag supported by Chrome called loading=lazy, but as of writing, this tag isn't supported elsewhere. There's also another issue that it doesn't interact well with responsive layouts: lazy loading wants to know the exact image dimensions in advance to know what will be offscreen, but responsive layouts don't want this hardcoded so that they can intelligently scale images to fit device displays.

Still, it really begs the question of why this functionality wasn't implemented into browsers from the beginning. Especially back in the day when dialup connections were slow, or these days where mobile bandwidth is expensive.

= The State of SNES Emulation, Part V = 2019-11-13

byuu_2019-11-13_12-12-03

Once every three years I like to write an article detailing the progress from the previous three years in advancing my emulators. There's a specific focus on the SNES with these articles.

The past three years have been great. If you're interested, you can read said article here.

= Intel CPU Jcc Bug = 2019-11-14

byuu_2019-11-14_03-41-42

Right on the heels of the AMD Ryzen random number generating bug, this time we have a serious bug with Intel CPUs.

More insidious is this time, Intel wants to fix an issue with their Jcc instruction implementation by using a compiler mitigation, which will cause a performance penalty even for AMD CPUs that are not affected by this bug, which feels more than a little unfair to me as a user.

= Plastic Straws = 2019-11-14

byuu_2019-11-14_20-25-17

There's a push in the US to ban plastic straws, which seems to have spread to American restaurants in Japan now as well.

I'm all for environmentally friendly improvements, but this one really misses the mark when the same companies still use plastic cups, plastic lids, plastic take-out trays, and plastic bags.

It's also a bit disingenuous as the leading cause of ocean pollution is fishing nets, not plastic straws. It's also important that they still be offered for people with disabilities that need them.

= Password Security = 2019-11-21

byuu_2019-11-21_20-53-37

xkcd came up with an idea for password security to choose four common words, arguing that this creates passwords with more entropy than the typical mix of cases, numbers, and special symbols.

But this advice really isn't very sound: humans aren't very good at equal distributions (high-entropy randomness), and will tend to use more common words at a much higher rate than less common words.

One could estimate that the top 1000 words would be in 90% of passwords, and the top 10000 words in 99% of passwords.

I feel password managers are a better bet for security, where passwords can be quintillions of times stronger than choosing four words seemingly randomly.

= .org Top-Level Domain Sale = 2019-11-22

byuu_2019-11-22_18-15-09

byuu_2019-11-25_05-19-29

The recent sale of the .org TLD to a private equity firm coming on the heels of the recent removal of critical annual price caps is very shady.

Unlike with new gTLDs, non-profits and even for-profits have established their organizations on .org (including this very site). It is much harder to move an existing domain than it is to establish a new domain, and as such, .org registrants are a captive audience.

Myself and several others have taken to renewing for the maximum 10-years now before prices are increased, but after those ten years, it's unclear what will happen.

= Programming is an Art, Not a Science = 2019-11-23

byuu_2019-11-23_17-59-41

A common disconnect between managers and programmers is that managers look at programming as a science: give the developers a list of requirements, receive a product. But as developers know, programming is more of an art form.

Much like drawing or composing music, there are an infinite number of ways to reach the same end result. Some techniques work, others don't. And it's all very subjective.

= Business Launch = 2019-11-26

byuu_2019-11-26_03-01-18

After 20 years of working as an individual, I'm excited to finally have a proper business registration for byuu.org.

You can read more about this here.

Permalink