Adorama doesn't want my adapter?

I should buy the 60mm Sigma lens, it has good reviews.

Who cares about a UPS for two of my external drives, the power doesn't go out much. The other two must be plugged into the main UPS. Are they plugged into a battery plug? To lazy to look.

Just asked for a custom quote on B&H for it.

Should trade my old video card in too, to a different site. They will give me $40, if I get at least $50 for the adapter, that's almost $100.

Most of the reviews for the Sigma 60mm is for the Sony mount version. Probably the same glass though.

Wait until next month, then I don't need to sell anything to buy it.

badblocks finally is done

Checking for bad blocks in read-write mode
From block 0 to 3907018582
Testing with pattern 0xaa: done                                                 
Reading and comparing: done                                                 
Testing with pattern 0x55: done                                                 
Reading and comparing: done                                                 
Testing with pattern 0xff: done                                                 
Reading and comparing: done                                                 
Testing with pattern 0x00: done                                                 )
Reading and comparing: done                                                 
Pass completed, 0 bad blocks found. (0/0/0 errors)

Took around 60 hours, for a 4 TB external hard drive. Maybe 62, it doesn't say how long it took, after it's done.

Can't sleep, so waited for it to finish.

rclone says around 6 hours to copy everything from the first drive, then I have to format it, and copy everything back.

Why does it copy four files at a time?

How to set archive bit on FAT32 in Linux

mattrib +a S:/nsp/file.nsp

Should do the trick.

And you have to make a ~/.mtoolsrc file, see here.

Running without root didn't work, then with sudo tried opening a floppy drive that doesn't exist, so I copied ~/.mtoolsrc to /root, and used sudo su.

I assume it worked, didn't say anything.

Oh yeah, spaces don't seem to work. Says it can't find the file if there's a space.

Goldleaf doesn't appear to support splitted NSPs, neither does the installer from TX. Copying it with Goldleaf might of been a mistake, frozen. Copying to the Tinfoil folder, not sure I still have Tinfoil on my card.

If Tinfoil doesn't detect it, then the archive bit isn't set. Do you need it on all the files or just the folder?

You can only copy and paste on the Switch homebrew, so I turned it off, and moved it on my computer, instantly, and set the archive bit for the folder and all the files in it. Well, now Goldleaf detected it as a NSP, and is installing it.

You can put the NSPs anywhere with Goldleaf, it has a file browser.

What I need to do, is make a script, that'll put the archive bit on the folder specified and all files inside it.

But I got to go to bed after it's done installing.

#!/usr/bin/bash
LETTER="S"
DPATH="/path/to/drive/"
FILES=`ls "$1"`
NPATH="${1//$DPATH}"
mattrib +a "$LETTER:/$NPATH"
while read -r line; do
    mattrib +a "$LETTER:/$NPATH/$line"
done <<< "$FILES"

There's a small Bash script, that'll set the archive bit on the folder you pass to it, use the full path. Does all the files in that folder too.

I have to ask about my laundry now

She doesn't tell me when it's done anymore. Better off not doing it. I'll be bored out of my mind when a lighting strike hits, and fries everything.

Last time I didn't get it for days.

Maybe I don't need another UPS

What will be corrupt if the power goes out on my new drive? Just whatever was writing to it? No writing, and it might be fine.

If it corrupts everything, then it's kind of a useless backup without a UPS.

badlocks is on the last operation, might be done when I wake up, it'll take over 60 hours. Unless it's done less then 5 hours.

Ha, you need pure sine wave for external drives. That'll cost $100 at least. My network stuff doesn't seem to care.

So I guess it's better, to let the power go out, and corrupt the drive. Since a non pure sine wave will damage it's internal organs.

Key Point: UPS systems with Pure Sine Wave output provide superior compatibility with active PFC power supplies and other sensitive equipment, such as networking hardware and high-end audio/video components.

From here. Looks like my router and switch needs pure sine wave too. That's a bummer, I'll just get a surge protector, and plug it all into that.

Nice, UPS surge protectors are useless. Cause of the high volt range. Looks like I need a Series Mode filter, to plug my UPS into. How many can I plug into one?

$175 for one, and only two ports, 15 amps. That is probably enough power for two of the UPSes. That leaves one UPS. Where am I supposed to get $175?

My UPS is 1000VA, does that mean it's useless for small surges?

Oh and the coax on my surge protector might be useless. Might be fine if you only have coax plugged into it.

My main UPS cost around $200. So it might be fine for surge protection. But the cheap CyberPowers might not be. You need everything with good surge protection, otherwise it can travel down the ethernet cables and fry everything else.

Looks like you have to pony up over $100 for proper surge protection for your UPS. You'll start a fire if you plug her into a cheap surge protector.

Furman PST8, you might be able to plug a UPS into that, probably three. Or maybe not. It has enough plugs, but is only 15a. Ditch the UPS by the TV, get a cheap surge protector. Like the one my hard drive is plugged into.

To cheap to spend $144 on it though.

Apparently you need 1,000,000 joules of protection. The best option is to shut down, and unplug.

Here you go. You need what radio towers and what not have, that'll be expensive, more then $144. Don't waste $144 on the Furman. And equipment can still be damaged. That is also a lame site, disabling right clicking. Ctrl C works though.

How am I supposed to unplug everything if I'm not home? Good idea, don't ever leave. Security camera is useless, if I unplug it and everything else.

That was easy

Just modified check_nsp.sh to check all NCA files, not just the biggest one. I should add a counter though, so it can tell you if all files are good or not, it does echo each NCA result.

#!/bin/bash

echo Checking $1
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
TEMP_DIR=temp
KEYS=~/.switch/prod.keys
FILE_EXTENSION="${1##*.}"
CHECK_LOG=check.log
BASE_NAME=$(basename "$1")

pushd $SCRIPT_DIR &> /dev/null

if [ ! -f ./hactool ]; then
    echo
    echo
    echo No hactool binary found!
    echo You must place hactool binary to the script directory
    echo
    echo
    exit 1
fi

if [ ! -f $KEYS ]; then
    echo
    echo
    echo No $KEYS file found!
    echo Get your keys first! Use kezplez on Switch or google it! 
    echo
    echo
    exit 1
fi

if [ ! -d $TEMP_DIR ]; then
    echo Creating temp directory...
    mkdir $TEMP_DIR &> /dev/null
fi

if [ "$FILE_EXTENSION" = "nsp" ]; then
    echo Extracting nsp...
    ./hactool -k "$KEYS" -x --intype=pfs0 --pfs0dir=$TEMP_DIR "$1" &> /dev/null
else
    echo Extracting xci...
    ./hactool -k "$KEYS" -txci --securedir=$TEMP_DIR "$1" &> /dev/null
fi


if [ $? -eq 0 ]; then
    echo "Extracting finished!"
else
    echo
    echo ------------------------------------------------------------------------
    echo
    echo                           SOMETHING GONE WRONG!
    echo
    echo           file is not Switch game or contain forbidden symbols
    echo      rename your game file to simple name without special symbols
    echo
    echo ------------------------------------------------------------------------
    echo
    exit 1
fi

NCAS=`ls $TEMP_DIR/*.nca`
TOTAL_NCAS=0
GOOD_NCAS=0
while read -r line; do
    echo Checking $line...
    ./hactool -k "$KEYS" -y "$line" > $CHECK_LOG 2>/dev/null

    DEFAULT_COLOR='\033[0m'
    RED='\033[0;31m'
    GREEN='\033[0;32m'
    if grep -Fq "Fixed-Key Signature (GOOD)" $CHECK_LOG; then
        (( GOOD_NCAS++ ))
        printf "$GREEN"
        printf "\n------------------------------------------------------------------------\n\n"
        printf "$BASE_NAME $line is GOOD!"
        printf "\n\n------------------------------------------------------------------------\n"
    else
        printf "$RED"
        printf "\n------------------------------------------------------------------------\n\n"
        printf "$BASE_NAME $line is CORRUPTED!"
        printf "\n\n------------------------------------------------------------------------\n"
    fi
    (( TOTAL_NCAS++ ))
done <<< "$NCAS"
if (( GOOD_NCAS == TOTAL_NCAS )); then
    printf "$GREEN"
    printf "\n------------------------------------------------------------------------\n\n"
    printf "All $TOTAL_NCAS good."
    printf "\n\n------------------------------------------------------------------------\n"
else
    printf "$RED"
    printf "\n------------------------------------------------------------------------\n\n"
    printf "Only $GOOD_NCAS good."
    printf "\n\n------------------------------------------------------------------------\n"
fi
echo -n Calculating md5...
echo -en "\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b"
if ! type "md5sum" &> /dev/null; then
    echo MD5: $(md5 -q "$1")
else
    echo MD5: $(md5sum "$1")
fi

printf "$DEFAULT_COLOR"

echo Cleaning things up...
rm -rf $TEMP_DIR
rm $CHECK_LOG

popd &> /dev/null

There's the modified script if you want it.

You can find the newest version here.

49 Hours

That's how long badblocks has been running. Will probably take 70 hours to finish, it's on the last pass, first it tests a pattern, then it reads and compares.

Tonka stepped in shit

There was shit on her cool pad, dog bed, and the carpet. She went in my room to lay on her dog bed, when I was trying to wipe her foot off.

Hopefully she only got shit on one foot. Should probably start cleaning her poop up again, had my gloves on, and it's risky, you might step in dog shit cleaning her poop up.

I learned my lesson about cleaning shit up when there's snow, there's shit under the snow, so you'll be wiping shit off your boots.

Doesn't really work, if only some people clean up after their dog. I'm surprised anybody has dogs in this shithole city.

T-Mobile is launching a TV service next year

If you can't record to your computer, using any program you want, it's useless.

I'll gladly keep paying for HDHomeRun if you can't. It'll probably cost more anyways. I get $10 off every month until Disney channels are back.

If it's delivered over their cell towers, then people might want it. If it's your home internet, then enjoy watching only 1 TB worth of TV. I barely watch TV, so it doesn't matter to me.

HDHomeRun Premium TV might look better

I was watching South Park today. I doubt they changed the resolution, they might of increased the bitrate though. Seemed to look better. Maybe my eyes got worse, so now it looks better.

The problem with buying external hard drives

Checking for bad blocks on the drive takes a long ass time. You have to do so, because most external drives have some bad reviews.

You still might get screwed, if it passes, but then gets bad blocks in the future. You could run it without the mode that wipes it. It's still recommended to have backups, it will be a backup drive.

It won't be an actual backup for a while, have to copy data to it, then format the drive I copied from, then copy it back. I have two drives I need to do that on. Using NTFS in Linux is a bad idea.

What did I do to her?

The person that lives by me. She doesn't say anything to me anymore.

Somebody farther down the hall, doesn't say anything much either.

I do wonder if she's moving, she's almost never here anymore.

I should get a bigger toaster oven

So I can cook nachos in it. They taste fine in the microwave, but probably way better in a toaster oven.

I have a regular oven, I only use it for pizza though.

There's a BLACK+DECKER on Amazon for around $50, that is extra wide, that should fit a pan. Maybe even a bigger pan then I have.

Just measured, there's enough room. Should be wide enough.

I like Hamilton Beach though, they have one for $60, that's probably bigger.

That's the internal dimensions. In that case, something might need to be moved.

Good idea, buy a smaller pan, that'll fit.

Do you need the food catcher tray? There's a removable crum thing on the bottom, but there's a food catching tray above it. If I take the food catcher out, I can put the rack thing on the bottom, and then the pan fits, without having to put the pan near the top, which causes whatever I'm cooking to get burnt. Maybe you only need that if you are putting it directly on the rack.

I need to delete my Dropbox account

They never gave me the ability to share files after deleting the file that some bot said was copyrighted.

Or Neat Image profiles are copyrighted, even the ones you make. Only Neat Image can share em.

Deleted it. It's useless if you can't share anything.

There's no point in buying a new camera

It won't make the pictures better. Somebody on a forum said, the photographer takes the picture, not the camera. In a reply to somebody that shared pictures taken with a E-PM1, I had one of those, gave it to my sister.

Didn't look at their pictures, pictures were disabled.

I need a new photographer, that'll make my pictures better.

If I want 4k video, buy a cheap YI action camera.

badblocks takes over a day

It's almost been running for 24 hours, and it's not done yet.

How many patterns does it do? Looking at the Arch Linux Wiki, there's two more patterns left.

I won't be using that drive for a while.

By default it does four passes. Which is 4*2, it has to read everything back.

Not sure I need to finish it, but I probably will let it finish anyways. Funny Arch Linux Wiki says it can take a couple of days for some devices, might take four days to complete.

It'll probably take over 60 hours. The first four operations took around 30 hours.

Amazon "makes" UPSes now

Probably rebranded. But from who? CyberPanel is a dick, I bought one, tried fixing it by replacing the battery, the battery is almost impossible to attach. I probably could of brought it back without plugging the battery back in.

I need a UPS for my new external drive, possibly any other drive that isn't plugged into one. The computer UPS is probably full, for battery power, and the other UPS is too. I have another one, but I'd rather keep it over there. Even though it's not really needed over there.

Does my old one have cable jacks? The Amazon one doesn't, no surge protection if it doesn't have coax. Not enough plugs to leave the surge protector plugged in.

Bad reviews because it doesn't auto restart after getting power and it depleted the battery. I could care less about that. No idea if mine auto restart. The power might of never went out long enough.

Don't need a cable jack, just move the surge protector, plug it in where the fan is plugged in. The fan isn't in use. Does the fan really need to be plugged directly into the wall?

Good idea, buy that UPS instead of the Switch controller, I think it's slightly cheaper.

If you plug a vacuum cleaner into it, will you start a fire? I don't vacuum, but my sister does. It doesn't seem to matter if you plug it into a surge protector. There's only like four things plugged into the surge protector.

Where is the software? Wondering if there's a Linux version. Says it's below, but I don't see it. Found it, and Windows and Mac only.

Don't really need the software. Well, maybe to disable the alarm. Just attach it to the Windows VM, change the settings, and hope the program doesn't need to be running for the settings to work.

If you have a patched Nintendo Switch on a low enough firmware

You will soon be able to run homebrew on it. No CFW, which means no NSPs, which means no game demos.

Where is TX's exploit for the patched units? Oh right, they never had one. You won't be booting CFW until somebody else releases an exploit to do so.

As soon as one of the free CFWs has EmuNAND, I'm probably ditching SX OS. I might continue using their payload, because I'm to lazy flash my dongle. You can launch other payloads from the SX payload.

Think it's firmware 4.1.0, 5.x, and 6.0.0.