- Search for Command Prompt and choose Run as AdministratorType in diskpart and press Enter.
- Type in list disk and press Enter to show all the available disks on your computer.
- You can see which disk is offline. Then, type in select disk ( stands the number of the offline disk) and press Enter.
- Type in unique disk ID=(New signature) and press Enter. The new signature should be a new ID in hexadecimal. For example, you can set the new id as uniqueid disk ID=BEFBB4AA.
- Type in online disk and press Enter.
- Type in list disk and press Enter to see whether the disk is online now.
Q:
I often see tutorials online that connect various commands with different symbols. For example:
command1 | command2
command1 & command2
command1 || command2
command1 && command2
Others seem to be connecting commands to files:
command1 > file1
command1 >> file1
What are these things? What are they called? What do they do? Are there more of them?
A:
These are called shell operators and yes, there are more of them. I will give a brief overview of the most common among the two major classes, control operators and redirection operators, and how they work with respect to the bash shell.
Note that all of these are operators, not commands:
- && — this is a logical AND and is used to chain multiple commands; commands to the right of the operator are executed if the command to the left succeeds
- || — this is the logical OR and is used to chain multiple commands; commands to the right of the operator are executed if the command to the left fails
- / — not a command, not an operator. Period.
- ; — this is a command delineator or separator; you use it to separate commands where you want all of them to execute
- {} (and () ) — operators that do a bunch of stuff; I tend to use () for grouping commands into one “unit”, and use {} for its command line expansions (a bit complicated to go into right here)
To summarize (non-exhaustively) bash's command operators/separators:
- | pipes (pipelines) the standard output (stdout) of one command into the standard input of another one. Note that stderr still goes into its default destination, whatever that happen to be.
- |&pipes both stdout and stderr of one command into the standard input of another one. Very useful, available in bash version 4 and above.
- && executes the right-hand command of && only if the previous one succeeded.
- || executes the right-hand command of || only it the previous one failed.
- ; executes the right-hand command of ; always regardless whether the previous command succeeded or failed. Unless set -e was previously invoked, which causes bash to fail on an error.
On October 4, 1992, at 17:20 UTC, El Al Israel Airlines (ELY) Flight 1862, a Boeing 747-200 freighter series airplane with three crewmembers and one non-revenue passenger customer on board, took off from Schiphol Airport in Amsterdam, The Netherlands. The aircraft was on a flight from John F. Kennedy International Airport, New York, to Ben Gurion International Airport, Tel Aviv, with an intermediate stop at Schiphol Airport for a crew change and cargo processing.
The weather was clear and dry at the time of the late afternoon (dusk) departure. The maintenance transit check had been performed prior to departure with no significant defects recorded.
Less than 10 minutes after takeoff, at 17:27.30 and at an altitude of 6,500 feet, the flight data recorder indicated the number 3 and 4 engines and their struts departed the aircraft. The co-pilot transmitted an emergency call: "El Al 1862, mayday, mayday, we have an emergency."
For the lighttpd WebGUI web server, follow the below steps:
In System > Advanced > rc.conf,
- set lighttpd_certpem_webgui to NO. This will tell the lighttpd WebGUI instance to ignore the certificate shown in the WebGUI.
- set lighttpd_certpem to the full qualified file name of your certificate, this should be a permanent location which you can update via ssh.
Whenever the certificate gets updated, the lighttpd service must be restarted as well.
For the lighttpd websrv web server, follow the below steps:
In System > Advanced > rc.conf,
- set websrv_certpem_webgui to NO. This will tell the lighttpd websrv instance to ignore the certificate shown in the WebGUI.
- set websrv_certpem to the full qualified file name of your certificate, this should be a permanent location which you can update via ssh.
Whenever the certificate gets updated. the websrv service must be restarted as well.
I wanted to use acme.sh (https://github.com/Neilpang/acme.sh) to generate my internal SSL certificates with Let's Encrypt using the ACME protocol. I also wanted to automate the renewal said certs and use them with the web UI (lighttpd) and with the syncthing UI on my embedded N4F system. I've summarized my method below. The rough procedure is as follows:
- Installing packages on embedded system
- Meeting prereqs for acme.sh
- Running acme.sh and scheduling with cron
- Importing the certs for the web UI and syncthing
"This is a project that is profoundly going to change our area."
Chinese bare metal and dedicated server purveyor Alibaba Cloud has unveiled a new custom-built processor called the Yitian 710, a cloud-first server CPU built on TSMC’s 5nm manufacturing process (the same as Apple’s new M1 Max and M1 Pro) with a staggering 60 billion transistors.
In comparison, Apple’s processor - the M1 Max - has 57 billion transistors, while the AWS Graviton 2 and the AMD EPYC Rome server processors have around 30 and 40 billion transistors each respectively.
Based on Arm’s v9 architecture, the Yitian 710 packs a staggering 128 cores and can reach speeds of up to 3.2GHz and supports up to eight DDR5 memory channels and 96 PCIe 5.0 lanes. We know that it is a muti-processor platform as well.
Total Active Aircraft Carriers Worldwide: 45
Currently In Service In The U.S.: 11
Top Speed: >30 knots (35+ mph)
Powered By: Nuclear energy
Refueling Requirements: Once every 20 years
Lifespan: 50 years
Oldest In Service: USS Nimitz
Built: 1968
Commissioned By The U.S. Navy: 1975
Planned Decommission: 2025
Crew Size Of Nimitz-Class Carriers: 6,012
Capacity: ~80 fighter jets
How Aircraft Are Launched: Catapults
Throttle Power Required Prior To Catapult Release: Full
Brakes Held: No
Cue That Pilot Is Ready To Launch: Salute to catapult operator
Aircraft Acceleration At Launch: Zero to 150 knots in 2 seconds
Time Until Next Aircraft Can Launch: 20 seconds
Distance Between Flight Deck And Water Surface: ~280 feet
How Landing Aircraft Avoid Ending Up In Water: Tailhook snags arresting wire stretched across deck
From most publications and individuals with a platform from which to comment on such things, the coverage is breathlessly positive, merely reprints of glossy press releases in an impressive show of “suspension of common sense.”
Do electric airplanes fly? Well, of course they do! We’ve known that since the early 1970s. Spin a propeller fast enough, even if you use a giant rubber band to do it, and you’ll create enough thrust to get a light plane off the ground. The fatal flaw, that single thing standing in the way of effective use of electric-powered aircraft, is very well understood and easily summed up in two words—“energy density.’’ //
The amount of energy that can be stored and released on demand, be it in a battery or avgas or a twisted rubber band, per unit of mass is known as specific energy.
Es = E/m, that is, specific energy=kilowatt hours/pounds.
What this means is, the higher the specific energy, the more energy you will get out of a pound of whatever it is you’re storing it in. This is the “fatal flaw” I mentioned earlier. The specific energy of 100LL avgas is about 47, while the best lithium-ion battery around is about 1. Put another way, 10 pounds of battery will store 1,200 watt/hours of energy while 10 pounds (1.66 gallons) of 100LL contains 48,000 watt/hours. No clue on the rubber band. //
From a practical perspective, avgas gives you options. If you need to carry a fourth passenger in a 172, merely reduce the fuel load. Need to do that in an electric 172? Ah, no. ///
A gas turbine generator using just one of the two engines on a 737 puts out 30+MW.
I don't think that an airplane like the 737 can carry 100MWh of energy in batteries and still have usable payload.
Regular old fashioned ZFS has filesystems and snapshots. Recent versions of ZFS add a third object, called bookmarks. Bookmarks are described like this in the zfs manpage (for the 'zfs bookmark' command):
Creates a bookmark of the given snapshot. Bookmarks mark the point in time when the snapshot was created, and can be used as the incremental source for a zfs send command.
ZFS on Linux has an additional explanation here:
A bookmark is like a snapshot, a read-only copy of a file system or volume. Bookmarks can be created extremely quickly, compared to snapshots, and they consume no additional space within the pool. Bookmarks can also have arbitrary names, much like snapshots.
Unlike snapshots, bookmarks can not be accessed through the filesystem in any way. From a storage standpoint a bookmark just provides a way to reference when a snapshot was created as a distinct object. [...]
ou may have noticed that there is a trailing slash (/) at the end of the first argument in the above commands:
rsync -a dir1/ dir2
This is necessary to mean “the contents of dir1”. The alternative, without the trailing slash, would place dir1, including the directory, within dir2. This would create a hierarchy that looks like:
~/dir2/dir1/[files]
Always double-check your arguments before executing an rsync command. Rsync provides a method for doing this by passing the -n or --dry-run options. The -v flag (for verbose) is also necessary to get the appropriate output:
The -P flag is very helpful. It combines the flags --progress and --partial. The first of these gives you a progress bar for the transfers and the second allows you to resume interrupted transfers:
rsync -azP source destinationWhenever you create a zfs send stream, that stream is created as the delta between two snapshots. (That's the only way to do it as ZFS is currently implemented.) In order to apply that stream to a different dataset, the target dataset must contain the starting snapshot of the stream; if it doesn't, there is no common point of reference for the two. When you destroy the @snap0 snapshot on the source dataset, you create a situation that is impossible for ZFS to reconcile.
The way to do what you are asking is to keep one snapshot in common between both datasets at all times, and use that common snapshot as the starting point for the next send stream.
The astronomical unit was defined to be exactly 149 597 870 700 meters in 2012, so it is no longer a measured value. In fact, it never was a measured value. It was instead a computed value, and it was computed rather strangely.
Prior to 2012, the astronomical unit was defined as the distance between the center of the Sun at which a tiny particle in an unperturbed circular orbit about the Sun would yield a value of exactly 0.0172020985 for the Gaussian gravitational constant. That value corresponds to the distance at which a tiny particle in an unperturbed circular orbit about the Sun would have an orbital angular velocity of 0.0172020985 radians per solar day. That value corresponds to an orbital period of 365.256898 days. That value, now called a Gaussian year, was based on measurements available to Gauss of the length of a sidereal year. (The currently accepted value of the sidereal year is 365.256363004 days of 86400 seconds each.)
This outdated value in the length of a sidereal year was one of the reasons the astronomical unit was given a defined value in 2012. There were other reasons. One is that that definition made the concept of the astronomical unit a bit (more than a bit?) counter-intuitive. With that definition, uncertainty in the computed value of astronomical unit depended on the ability of solar system astronomers to estimate the Sun's gravitational parameter (conceptually, the product of the Newtonian gravitational constant and the Sun's mass; in practice, a quantity that could be estimated directly as a consequence of models used to generate ephemerides) and the ability to measure time.
The ability to measure time (currently about one part in 1016
) has far outpaced the ability to estimate the Sun's gravitational parameter (currently less than one part in 1010). This means that if the 2012 change had not happened, the uncertainty in the astronomical unit would depend on the ability estimate the Sun's gravitational parameter, about three parts in 1011, or about 0.000000003%. That's a lot better than the 0.0000001% precision asked about in the question.
[Marco] looks at a lot of meters. However, he considers the HP3458A the best even though they were introduced more than 30 years earlier in 1989. Someone donated one to [Marco] but it presented some error messages on startup and exhibited erratic behavior, so he had some repairs to do.
The error codes hinted there were issues with the multislope analog to digital converter and that’s what sets the meter apart, according to [Marco]. The meter has 8.5 digits, so a normal conversion stage won’t cut it.
Of all the weird and frustrating problems in Windows 11, this one might take the cake. Microsoft removed the “Add a Folder” option from Windows 11’s File History tool, meaning that you can only back up Documents, Photos, and other pre-made folders in Windows 11. That is, unless you pay for some OneDrive storage.
File History is the main backup tool in Windows. It was first introduced in Windows 8, and allows users to automatically back up select folders to an external drive. In short, File History is like an automatic cloud storage solution that sits at your desk and doesn’t cost $15 a month.
How many slaves are working for you?
One veteran who served in the first Gulf War and in Afghanistan, and who participated in that 2008 rescue with Mohammed spoke exclusively to RedState about the withdrawal, about that “rescue” in February 2008, and about Mohammed, who we now know as Aman Khalili. Though his experiences were more than a decade ago, he was still emotional as he shared them with me. It’s important to hear these stories of individuals translators, knowing that there are thousands of men like him who believed in what America stood for and were willing, just like the men and women of our Armed Forces, to die for it.
The veteran still has family members on active duty, so we are honoring his request that his name not be used in this piece:
“In leaving both Americans and Afghans who helped us, like Mohammed, behind, Biden and the guys in charge went against over 200 years of military mindset and honor. We don’t leave anyone behind. If you look throughout Marine Corps and Army history you’ll find where four or five soldiers or Marines died to save one. We promised the interpreters we would protect them. We have to keep those promises, because if they don’t have confidence that they won’t be left behind, how do you get a guy to stay in a war zone?
“And, we knew that the Afghan Army wouldn’t stand once we left. If it takes 40 years to get from a lieutenant to a general, why could we think we could build their army in 20 years? And knowing that it wouldn’t stand, how could we leave without a plan to get everyone out?
“In Afghanistan, every interpreter was afraid for their life. Even back in 2008, they were whacking interpreters. So for him to be an interpreter, it’s like you’re putting yourself out there on Main Street for everybody to see you. Interpreters very seldom left that gate without their faces being covered. Even in 2007-2008, we knew that the guys in the Afghan Army and the Afghan police might turn on you. You only wanted to take an interpreter you could trust when you went outside the wire.
“Mohammed was a trusted interpreter. As a young guy he’d been a fighter against the Russians, so he had a vested interest in Afghanistan’s future. We knew all of the interpreters and their reputations, and one reason we took Mohammed with us that night was the fact that we knew he wouldn’t turn on us.
“For example, interpreters weren’t allowed to carry a weapon. But, a couple of times it was really ugly and I took my pistol off and gave it to him. One of those times we were working with the 7th Group to get an HVT, high-value target. We were the outer cordon for the mission. For special operations units, their biggest fear is being surrounded once they’re on a target, so our goal was to set up a blocking force, to go down the road and make sure nobody comes up. They told us, ‘No matter what, don’t stop.’ Well, the truck behind us ran off the road but we never stopped. We had to get that roadblock up down there. We threw up the roadblock, but now the trucks we’re supposed to have with us weren’t with us anymore. This is one of the first times that we were truly operating in the real world at night. I took out my pistol and gave it to him. I told him, ‘You get stupid and I’ll shoot you.’ Of course, he didn’t [get stupid].
“On the night of the rescue, the 82nd Airborne controlled the AO or the area of operations. The unit I was with was the QRF, or quick reaction force, for the Bagram zone. The QRF got a call that a helicopter with a VIP has had to make an emergency landing in the mountains in an area that’s known as Afghanistan’s equivalent to the Ho Chi Minh trail, a big area where weapons, ammunition, and the Taliban flowed through. We knew the Taliban would find out they were there in no time, so the race was on to see who would get to them first. //
“So, we loaded up into our pre-staged vehicles and grabbed a few interpreters, including Mohammed, and then two or three up-armored Toyotas joined us. I didn’t know who they were, but I knew that those Toyotas would bring the VIPs down.
“I’ve seen some questioning why Special Forces or Delta or SEALs and those guys weren’t called in for such high-level VIPs. Well, that’s because it wasn’t in their area of operation. It was the 82nd Airborne’s AO, and they already had a QRF in place.
“It was snowing when we left Bagram, and we were probably looking at a 20, 25-mile trip one way. We were probably at 7000 feet and going up to about 10 or 11,000 feet. As we went up into the mountains, the snow started getting deeper, to the point where the snow was knee and thigh deep. Bill McClain, the squad leader, was in the lead vehicle and was the true hero of that part of the mission. It started snowing so hard that it got to the point where you couldn’t see the road anymore. Stopping wasn’t an option, but on this road driving off the road was driving off of a cliff. At the edge of the road, it went straight down. McClain is a guy who could find his way blind; somehow he just knew where he was going. So he started to walk the trucks up, walking alongside us so we wouldn’t drive off the road. //
“We got up the hill and after securing the area and making sure the VIPs were going to be safe, we got them loaded up in the up-armored Toyotas to get to them to the base. A piece of the platoon escorted the up-armored Toyotas and the VIPs off the hill, and the rest of the platoon stayed up with the helicopters for three days until the weather cleared and the pilots could get the helicopter. //
To show you how little Kerry knew about how things work, when we’d laid out the chains to put on the tires to make the trip down the hill, he kicked them out of the way as he walked by. So we had to lay them back out again. //
“The military doesn’t care that the military left. What the military cares about is leaving people behind. It’s not in the military’s nature. The Woke generals have violated an oath that’s been in place for nearly 200 years. That’s why many veterans are coming apart, because how do you square this with our military tradition? You can’t. In my opinion, Biden made a deal with the Taliban to get out. But why?
“For those involved in the withdrawal, it had to have been heart-wrenching to know that you’re leaving your people behind because it goes against everything we’ve been taught.”
Identity politics and the left’s desire to eliminate the middle class so that more Americans are reliant on the government have created a crisis that is worth fixing.... //
“I think we have to just assume that government — and that’s not just our elected officials but mostly the 2 million federal employees that are combining in their own offices, legislative, executive, and judicial power — that they want people to be dependent upon them because then they will support the expansion of that class and the greater remuneration and pensioning and power and influence and reputation of that class,” Hanson said. //
One example, Hanson argued, is that of military leaders who are more focused on profiting off of defense contracting and infiltrating their ranks with identity politics than on their service members dying in places such as Afghanistan.
“I think things are gonna change because I think in a year or two, there’s going to be a radical change in the government — legislative branch first and executive likely — and these generals are going to be shocked when they see that they don’t have a constituency anymore and the left never liked them and never supported them. They just found that they were useful idiots for a while. I think what they’ve done to traditional America is shocking.”