You are here

Tip

Kerbal Space Program "Advanced construction" tutorial issue: Move the swivel's staging icon ...

Submitted by Druss on Mon, 2023-02-27 21:16

I was stuck in the advanced construction tutorial where one of the steps involved fixing the staging by moving a swivel engine into the same stage as the boosters. However, that's how it already was by default and moving the swivel engine around did nothing. However, after much frustration, clicking the reset button and then adding the swivel engine to the SRB stage did the trick.

KSP2 is already here and there are still bugs in KSP1. In the tutorial no less.

Hope this helps someone out there :)

youtube-dl yt-dlp: download the best available format

Submitted by Druss on Mon, 2022-03-07 13:24

yt-dlp downloads the best available format by default. However, if you use something like

yt-dlp -F [video]

you might find that it's not necessarily downloading the format with the highest resolution. This might very well be because it is unable to handle the codec of the video format in question. To fix this, install FFmpeg.

However, this might result in the "best format" being in a codec that you don't want or your device cannot support. In my case, my TV can't handle newer codecs so I need to do something like this:

World's hardest cryptic crossword

Submitted by Druss on Sun, 2022-03-06 18:21
Across:
1 Leave after finding nothing in big rambling empty space (4,6)
(G(O)BI)* DESERT
6 Tolerate swimming in sea that tastes of tarragon (9)
BEAR + NAISE*
13 Exterminator has drink within Denmark's borders (5)
D(ALE)K
14 Round a great deal, turning out hit that's within hearing (7)
O + TOL< + ITH*
15 Some heat to cook rice, getting address in Spain back (7)
C(ALO<) RIE* [anagram of rice]
16 People fail to perform with that woman's leaderless energy (8)
CH((-H)ER)OKE + E

Windows: Turn off all your monitors via the command line

Submitted by Druss on Wed, 2021-11-24 19:26
  1. Create a batch file named turnoff.bat on your desktop.
  2. Open it and add the following line
    powershell (Add-Type '[DllImport("user32.dll")]^public static extern int PostMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::PostMessage(-1,0x0112,0xF170,2)
  3. Save the batch file.
  4. Run the file to turn off your screens.There will be a brief command-line window that pops up during execution.

Tested on Windows 10.

Finding out which DNS servers are currently being used in Linux (Ubuntu)

Submitted by Druss on Tue, 2020-12-08 21:23

So, I've been facing some DNS issues with my Ubuntu box and needed to do some debugging. While I was certain that my router was assigning the Google DNS servers (8.8.8.8 and 8.8.4.4) via DHCP to my machine, I needed to make sure that they were actually being used. Usually, I would be able to tell by looking at the output of /etc/resolv.conf oslt. However what I found in resolv.conf was

Linux: Computer immediately restarts after shutdown

Submitted by Druss on Tue, 2020-07-21 02:53

So I have a Xubuntu box, an old PC that was running Windows previously. All is peachy with the Linux install bar one thing: every time I shutdown the system, it shuts down fine, but immediately restarts again. This wasn't happening with Windows and appeared to be an issue particular to Linux or Ubuntu.

Youtube playing OK in browsers, but other embedded videos do not

Submitted by Druss on Sat, 2019-03-30 23:23

On a fresh installation of Windows 10, I found that Youtube was working just fine, but other embedded videos on sites like Twitch and Reddit were not. I thought it had something to do with HTML5 or flash, but as it turns out, it was because I had chosen the wrong version of Windows during the installation process. Choosing Windows Professional N or, basically any N version, results in video issues primarily due to the lack of appropriate codec and DRM support. Even Netflix will very likely not play. This also affects all browsers.

What does SLAM support do for robotic vacuum cleaners?

Submitted by Druss on Fri, 2019-02-01 14:31

Lots of guides and specifications for robotic vacuum cleaners like the Roomba, Xiaomi Roborock, Dyson, etc. talk about the product being "SLAM-based" without offering any explanation as to what that is. Well, SLAM stands for Simultaneous localization and mapping and it is used in robotics to, as the name suggests, construct and update a map of an unknown environment while simultaneously keeping track of an robot's location within it.

Pages

Subscribe to RSS - Tip