DPS Calculation Explained: Active Time vs. Elapsed Time

September 21st, 2020

Two players can do the same total damage during a fight yet have significantly different DPS numbers. You may be wondering how this is possible.

In most cases DPS is calculated by dividing the total damage by the total elapsed time. “Elapsed time” is just the length of the fight. Most DPS calculators will subtract time you spent dead, and some will start the clock from when you entered the fight instead of when your group entered the fight. But if you stay alive and pull with the group, DPS calculation is done by using the duration of the fight, which I call elapsed time.

WoW, however, has a metric known as “active time“. For DPS this is essentially the amount of time you’re attacking the target. It includes time spent doing the following:

  • Channeling/performing a TYPE_DAMAGE ability
  • Waiting for the global cooldown to finish

Some DPS calculators in WoW, and most prominently the Recount addon, default to using active time instead of elapsed time when calculating DPS, thus changing it from “damage over time” to “damage over time for those times you were attacking the target”. When defined this way, DPS becomes an indicator of how effectively you can damage, but it’s not as good for judging how well you do in a fight overall.

This was quite confusing to me at first. Many people in WoW are adamant about how it’s better to look at total damage than DPS. Normally there’s no difference between the two—DPS is simply the total damage with a common scale factor applied and the two can be used interchangeably. But if you’re used to the numbers given by Recount, that is not the case.

How to Build Your Very First Airship

September 20th, 2020

I found that most of the existing guides for airships focus on what to do after you’ve created your first airship, and they pretty much skip or gloss over the “beginner” stuff. Here are the detailed instructions:

(MORE…)

[SOLVED] FFXIV: Can’t Purchase Game / Can’t Login to Website / Can’t Upgrade From Trial

September 20th, 2020

If you have a game account for FFXIV and cannot log in to the website and/or cannot purchase the game, follow these steps:

  1. Go to https://membership.square-enix.com/ and log in with your game account.
  2. Immediately after logging in, you will be asked some questions to complete your account. Answer the questions.
  3. Log out.
  4. Return to https://secure.square-enix.com/ and log in.
  5. You will now have full access to the store, Mog Station, Lodestone, etc. using that single login.

(MORE…)

Firebird Mount: How to Unlock Heavensward Extreme Trials

September 20th, 2020

Looking to obtain the Firebird mount? Here’s a quick guide on which missions to unlock and complete in order to unlock Fiery Wings, Fiery Hearts.

(MORE…)

Book Review: The Last Christmas by F. Paul Wilson

June 17th, 2019

Cover Art[Note: I was given an advance review copy of the upcoming Repairman Jack novel, The Last Christmas by F. Paul Wilson (hardback available for pre-order). Here are my thoughts.]

This book takes a while to get going, but once it does, it’s as good as any Repairman Jack novel, and better than many. The author, as usual, manages to insert unexpected plot twists and stuff that you don’t see coming but that just make sense in hindsight. Fans are given more information about Madame de Medici who was briefly introduced in the short story Infernal Night.

The story takes place in December of “year zero minus one” of the Secret History, 2½ years after the events of The Tomb and five months prior to the end of the series in Nightworld. Jack has lost all of his family and his unborn daughter Emma, and is in a depressive funk. He reluctantly takes on two repairman jobs, and over the course of the novel comes back to life.

Job #1 involves a stolen relic. For those familiar with the Secret History, the relic is one of the Seven Infernals and the owner believes it can cure his terminal cancer. The thief is Madame de Medici, and she hires Jack to keep it safe until the man dies. The owner hires an unusual private investigator named Tier Hill who turns out to be quite interesting and is a challenge for Jack to deal with.

Job #2 involves recovering an escaped genetically-engineered wolf/ape hybrid for two government scientists. And while the associated plot twist was obvious well before being officially revealed, the rest of the story afterward was intriguing and at one point quite literally had me in tears.

Both jobs end up becoming intertwined, leading to a satisfactory resolution. Fans will get a good dose of the Secret History, while others will experience Jack at the top of his game—if they can hang in there long enough to get past the slow start.

At the halfway point of this book I didn’t have high hopes for a good review. But the last half more than made up for the slow start. I give 5/5 stars. Recommended for fans and non-fans alike.

[SOLVED] logrotate: error creating state file /var/lib/logrotate.status: permission denied

June 14th, 2019

TipWhile there are many possible reasons for this error message, here’s why I was getting it. The logrotate utility writes status data to a state file. By default it writes to /var/lib/logrotate.status. My account was on a shared web host, and I didn’t have permission to modify that file. The solution was to specify a local state file via the ‘-s’ parameter. Problem solved.

[SOLVED] logrorate error: lines must begin with a keyword or a filename (possibly in double quotes)

June 14th, 2019

TipUsing logrotate for the first time, I was baffled as to why I was receiving this error. Looking at the config file, it was clear that the filenames were there. After trying a bunch of things, I finally figured out the problem—I’d created the file under Windows and my FTP program hadn’t converted the newlines to the Unix format. A quick ‘dos2unix’ call later, and the problem was fixed.

So You’re Going to Compete on Forged in Fire?

April 3rd, 2019

[Note: This list was originally compiled by me then posted on /r/forgedinfireshow, where I made significant changes based on comments from other members of the subreddit.]

Regular Forged in Fire viewers are all too familiar with statements like these:

“I’ve never used a welder before.”

“This is the longest blade I’ve ever forged. I’m going to have to make a bigger quench tank.”

“I’ve never used a coal forge in my life.”

The Forged in Fire producers enjoy throwing unusual situations and obscure techniques at their smiths. And learning new techniques during the competition is a sure path to failure. The following list is based on actual mistakes made by contestants:

Practice the following techniques beforehand:

  • Canister Damascus welding
  • Using a coal forge with a manual air pump
  • Forge welding, especially with (1) different metals and (2) a thick piece of cable

Mistakes that have actually happened:

  • Give the Liquid Paper time to dry before adding anything else to the canister
  • You need -both- the red and the blue epoxy containers
  • They supply 5-minute epoxy and 24-hour epoxy—choose wisely
  • Some extremely well-made blades have been eliminated because they didn’t meet parameters
  • If the judges tell you something should be fixed, don’t convince yourself there’s not enough time to fix it

General weaponsmithing:

  • Never quench in water unless you have a very specific reason for doing so
  • For larger blades, the judges take balance and weight very seriously
  • When forge welding, first clean the surfaces that will be welded together
  • Be extremely careful bending hardened/quenched steel, and never hammer it
  • Pro tip: it’s much easier to drill/drift holes before you quench
  • Pro tip: quench a test piece of steel and then break it to see what the metal looks like after quenching.

Handles:

  • A great blade with a bad handle will almost always lose
  • Functionality and quality of construction are far, far more important for a handle than how good it looks
  • The judges put significant emphasis on how comfortable a handle is and how well it fits their hands
  • Do not get fancy with your handle in an effort to impress the judges—this almost always does more harm than good
  • Knife handle shapes that don’t prevent the user’s hand from sliding onto the blade -must- include a guard—failing to do so is an automatic disqualification
  • Nothing in the handle should have -any- possibility of digging into or cutting the judge’s hand—a bleeding judge significantly increases your chances of being eliminated
  • Round or heavily rounded knife/sword handles look nice but fail to perform
  • The burn-through method of creating knife handle holes is risky and should be avoided unless you’re hard-pressed for time and have no other option
  • The tests apply significant stress to the handle—epoxy alone will not hold a handle together.
  • Pro tip: note the judges’ hand size when you shake hands with them at the beginning of the competition, and craft your handle accordingly

Know the following skills:

  • How to use a magnet to check for proper heat treat temperature (also, bring a magnet with you)
  • How to use a MIG welder
  • How to use a spark test to identify an unknown metal
  • How to use a belt grinder like the ones on the show, and especially how to change the belt
  • How to use a gas forge like the ones on the show, and especially how to adjust the temperature
  • How to correct a post-quench warp without breaking the blade (hint: hammering or bending in a vise rarely works)
  • How to construct a friction folder knife

Regarding your home forge:

  • Before you leave, triple-check your equipment to ensure it’s in perfect working order
  • Equipment failures happen—be prepared
  • Some of the weapons you have to make are unusually long or wide—you may need a bigger forge and/or quenching tank, so obtain the materials for that beforehand

General philosophy:

  • Stick to the basics; don’t try to be fancy and impress the judges
  • Stick to what you know; this is not the time to be experimenting
  • Stay calm—getting rushed affects your decision-making and is the best way to be eliminated
  • Many, many contestants have been eliminated because of poor time management
  • When things are going badly, it’s often better to just abandon what you’ve done and start over
  • No matter how bad you’re doing, there’s always the chance that someone else is doing worse

ELI5: Bitcoin Mining Explained

November 9th, 2018

MoneyThings I learned about bitcoin mining today:

  1. All bitcoin transactions are recorded via a system called Blockchain. The “mining” process you hear about is something you must do in order to add new blockchain entries (blocks) to record the transactions. This cannot be done by the casual user—adding an entry is very, very computationally intensive. So there are dedicated bitcoin miners who do it for you.
  2. Successful miners are rewarded with a number of bitcoins in addition to any transaction fees they charge. Currently, however, the bitcoin reward is so lucrative that transaction fees are typically less than a dollar.
  3. About every 4 years the number of bitcoins you get from mining a block is cut in half. Right now it’s 12.5. It’s been at that level for about 2 years and is expected to drop to 6.25 in the 2020-2021 timeframe.
  4. Eventually the system will get to the point where mining bitcoins won’t provide enough of them to be cost-effective, and the miners will get their profit solely from charging transaction fees.
  5. The maximum number of bitcoins that will ever exist is about 21 million. Currently about 17.5 million have been mined (~ 85% of the total).
  6. The difficulty level of the bitcoin mining calculations is adjusted approximately every two weeks to account for changes to the amount of processing power applied to the system. The goal is to make it average 10 minutes per block. So the system adjusts for advances in hardware or increases in the number of computers used, and the problem is just as time-consuming today as it was 5 year ago, and will be the same 5 years from now.
    • Note: For the technically inclined, the mining computations just require you to generate a hash code that, when interpreted as a number, is less than a specified value. So the hash must have a bunch of leading zeroes. Normally you will have to run the hash algorithm many times before you get a value that meets the criteria. The adjustment that occurs is to simply change the target number.
  7. In December 2017, a miner using poorly-written custom mining software had a situation where his software neglected to tell the blockchain system to give him the reward. He mined the block, inserted it into the blockchain, and got nothing in return. At the time, the 12.5 bitcoin he lost was worth about $200,000. These bitcoins are lost forever, as effectively as if they’d been physically destroyed.

[SOLVED] Why is my Uploaded YouTube Video Such Poor Quality?

November 6th, 2018

Video CameraI’ve recently been uploading videos to YouTube. Usually I’m waiting to send the link, so I upload the video then immediately view it on YouTube to ensure it’s good. Often I find that the video quality has been significantly downgraded, sometimes to the point where it’s unwatchable.

When researching this I found a large number of potential causes and solutions, but the actual answer is quite simple:

  • Just wait for 30-60 minutes.

When YouTube first publishes a video it does everything it can to quickly make the video viewable and, as such, does the least amount of processing possible and starts with the format that can be watched on any device. So the initial format is the lowest resolution and bitrate. After publication, however, YouTube continues to perform processing in the background and subsequently adds higher-quality versions of the video. If you wait for a bit and then refresh the page, you’ll get a much better version of the video as the default.

Carbon Nanotubes May Not Be the Wonder Material After All

June 13th, 2016

NanotubeThere have been great hopes that a carbon nanotube cable could be used to create a space elevator, providing easy access to orbit. According to recent research, however, that may not be possible for the foreseeable future. Even atomic-level defects in the nanotube will greatly reduce its strength, and current mass manufacturing techniques are quite error-prone.

Link: https://www.newscientist.com/…

What are Enterprise Social Networks and Why Should I Care?

November 1st, 2015

Social NetworkIt’s now possible to set up a closed social network, a la Facebook, for a limited group of users such as a company. Sort of like how some companies have a private internet (called an intranet), they can have a private Facebook (called an enterprise social network). You get the benefits of collaboration, networking, custom business apps, etc. It’s sort of like what Lotus Notes did back in the day.

Enterprise social netowrking is not hypothetical—the linked article discusses how the Royal Bank of Scotland is deploying Facebook at Work for 100,000 employees. And most notably, it’s an opportunity for Facebook to make money selling a product, versus selling advertisements.

Link: http://www.techrepublic.com/…