Monday, April 9, 2018

Downloading YouTube Videos in a Playlist

Again, JDownloader 2 is the tool for you. With JDownloader 2 running, just copy the URL of the YouTube playlist. JDownloader will pick it up and start processing the whole playlist.
With each video in the playlist, by default, you'll get a video file, an audio file, an image file, and some text files - typically subtitles and file descriptions. With the video and audio file, you get multiple variants, if supported by YouTube - different filetypes, resolutions, fps, video/audio codecs, and bitrates.

To remove certain filetypes from the download queue, go to the Linkgrabber tab and enable Filetypes on the right panel. From there, de-select the filetypes you don't want to download.
If you have only a few files, simply select the audio/video variants you want from the drop-down lists beside the remaining files in the main window. If the playlist is composed of hundreds of files, we need a better solution. Again, on the right panel, enable Hoster. Right-click on youtube.com, and select the "Change variant" option.

Saturday, April 7, 2018

Invisible Torrents

So you're in the middle of adding some torrents into uTorrent, and for some reason it hangs. Oh well, just kill it via Task Manager and add the torrents again.

Every time you add the torrents, uTorrent says "The torrent you are trying to add is already in the list of torrents. Do you want to load the trackers from it?" You click the Yes button, and nothing happens. Okay, you add the torrent again. This time you click on No. Again, nothing happens. What's going on?!

Apparently, when the uTorrent crashed, the torrents that are in the process of being added are flagged as hidden. Expand the Labels link on the left sidebar, and you'll find the torrents under Hidden. Either delete and add again, or start the download directly via right-click.

If you're not seeing the left sidebar, enable the Show sidebar option under Tools, or simply press F7.

Friday, April 6, 2018

SpaceMonger vs. SpaceSniffer

Out of the 4TB that I got for my NAS a year ago, only 14GB is left. Time to find out what's been hogging my disk and purge some files.

Tried out two freeware utilities: SpaceMonger 1.4 and SpaceSniffer 1.3.0.1. SpaceMonger has since been acquired by Stardock and has gone commercial. What we'll be reviewing is the old freeware version.

If you're not too fussy, either is just fine. Both works as advertised, no installation required. SpaceMonger (SM) is 105kB in size; SpaceSniffer (SS) is much bigger at 1.6MB. And there's a reason for that. While SM reads a drive, then presents the drive usage as a static treemap, SS is able to analyze drives and arbitrary folder paths, and updates the treemap in realtime. No need to hit refresh. I guess, due to this feature, it seems like that SS is faster.

Looks like the winner is SpaceSniffer!

Thursday, April 5, 2018

Card Trick #5: Identifying a Random Card (Multiple Cuts)

The trick here is to memorize the bottom card without the volunteer noticing.
Ask the volunteer to pick out a card and place it at the bottom of the deck.
Ask him to cut the deck multiple times.
Fan out the cards. The chosen card will be to the right of the card you memorized.

Card Trick #4: Identifying a Random Card (Multiple Deals)

Deal a row of three cards.
Continue dealing overlapping three cards per row until you have three columns of seven cards.
Ask your friend to select and memorize a card, and tell you which column it's in, but not tell you what it is.
Pick up the three columns of cards, making sure the column with the chosen card is in the middle of the stack.
Deal again in the same way - seven columns of three cards. Ask your friend to identify the column with the chosen card. Gather up the cards witht the chosen column in the middle of the stack.
Do this again twice.
On your fourth deal, the chosen card will be the middle card of the middle column.
At this point, you can pretty much reveal the chosen card any way you like. Shuffle the cards, cut them, fan them out and pick it out as if by magic.
Even better, use the Magician's Choice. This force basically uses selective discard and retention of cards to give an illusion that your friend is the one choosing the cards, but in reality you're forcing them to choose one.
For example, lay out the chosen (middle) column into a row of 21. Ask your friend to select three card. If the chosen card was not selected, discard and select again. Once selected, retain the three cards, and discard the rest. Next, ask him to select two cards - using the same principle until he ends up with the chosen card.

Card Trick #3: Aces Together

For this trick, the aces end up on top of 4 piles of cards, even after multiple shuffles and deals.
Keep the four aces on top of the deck, and do some false riffle shuffles.
Hand the deck to your friend, and ask him to deal (face down) and to stop any time he likes.
Now ask him to pick up the cards and deal them into four piles.
Once done, ask him to turn over the top cards of each file. Aces all.

Card Trick #2: Keeping the Face and Ace Cards Together

Collect the face and ace cards in four piles.
Make up a story about the aces being the best of friends, which is why they always stick together. The same goes for the kings, queens, and jacks. They make such a commotion when they're together, so the teacher decided to split them up.
Lay out the aces in one row, deal the four kings on top of each aces. Do the same for the queens and jacks. You end up with four piles with A, K, Q, J each.
Turn the four piles face down and stack them up in one big pile. Ask your friend to cut the cards to separate them even more.
Deal the first four cards face down, deal the next four on top, and so on.
Turn over the cards, and the face and ace cards are still grouped together.

Card Trick #1: Cards of Same Suit Always in Order

For this trick, you'll need all 13 cards of the same suit, sorted in order.
You'll be dealing out the cards, and your friend will help you mix them up. When he says "Deal", you'll deal out one card face down. When he says "Double deal", slide the top card under the next card, then deal them both together.
This gives the impression that the order has been changed, but in reality, it's the same as dealing two cards separately - leaving the order untouched.
Once all the cards have been dealt, turn the cards over to find them all still in order.