198 karma · joined November 4, 2014
To determine the winner, we need to calculate the time it takes for each car to complete the 100-mile race.
For Car A: Speed = 10 miles per hour Distance = 100 miles Time = Distance / Speed = 100 miles / 10 miles per hour = 10 hours
For Car B: Speed = 5 miles per hour Distance = 100 miles Time = Distance / Speed = 100 miles / 5 miles per hour = 20 hours
However, Car B has a 10-hour headstart, so we need to subtract that from its total time: Adjusted Time for Car B = 20 hours - 10 hours = 10 hours
Both cars take 10 hours to complete the race, so they tie.
----
Ford Lightning Pro: $50K
240 Mile EPA-Est. Range – Standard-Range Battery and RWD171
0-60 MPH in 4.1 seconds - Standard Range Battery\*
Wireless Integration with Apple CarPlay® and Android Auto™
12-inch Touchscreen
Mega Power Frunk
CT Rear-Wheel Drive: $61k
Available in 2025
250 MI. Range (EST.)
6.5 sec. 0-60 mph
very similar ranges and specs, but and CT is 10k more. Also, ships in 2 years. The Case for a Ukrainian Nuclear Deterrent
Most Western observers want Ukraine to rid itself of nuclear weapons as quickly as possible. In this view, articulated recently by President Bill Clinton, Europe would be more stable if Russia were to become "the only nuclear-armed successor state to the Soviet Union." The United States and its European allies have been pressing Ukraine to transfer all of the nuclear weapons on its territory to the Russians, who naturally think this is an excellent idea.
President Clinton is wrong. The conventional wisdom about Ukraine's nuclear weapons is wrong. In fact, as soon as it declared independence, Ukraine should have been quietly encouraged to fashion its own nuclear deterrent. Even now, pressing Ukraine to become a nonnuclear state is a mistake.
A nuclear Ukraine makes sense for two reasons. First, it is imperative to maintain peace between Russia and Ukraine. That means ensuring that the Russians, who have a history of bad relations with Ukraine, do not move to reconquer it. Ukraine cannot defend itself against a nuclear-armed Russia with conventional weapons, and no state, including the United States, is going to extend to it a meaningful security guarantee. Ukrainian nuclear weapons are the only reliable deterrent to Russian aggression. If the U.S. aim is to enhance stability in Europe, the case against a nuclear-armed Ukraine is unpersuasive.
[1]But, he does give Putin a pass on the invasion itself. Couldn't Putin have won the desired concessions with just sabre-rattling and having a skirmish on the border instead of a full on invasion, which is slowly destroying both Ukraine and Russia.
[1] https://www.mearsheimer.com/wp-content/uploads/2019/07/Mears...
Something like: ------
class MathOps{
public MathOps(RoundingMode mode, int scale) {
this.mode = mode;
this.scale = scale;
}
....
public BigDecimal add(BigDecimal x, BigDecimal y){
return x.add(y).setScale(scale, roundingMode);
}
....
public BigDecimal divide(BigDecimal num, BigDecimal denom) {
return num.divide(denom, scale, roundingMode).setScale(scale, roundingMode);
}
...
}
-----
You can then either create a new instance when you need to perform a math operation or just create a singleton instance if scale and rounding mode are always the same.For financial calculations in US, I would recommend using RoundingMode.HALF_EVEN. From the docs "Rounding mode to round towards the "nearest neighbor" unless both neighbors are equidistant, in which case, round towards the even neighbor. Behaves as for RoundingMode.HALF_UP if the digit to the left of the discarded fraction is odd; behaves as for RoundingMode.HALF_DOWN if it's even. Note that this is the rounding mode that statistically minimizes cumulative error when applied repeatedly over a sequence of calculations. It is sometimes known as "Banker's rounding," and is chiefly used in the USA. "
This could be a fun wordle type game that one could play everyday.
Edit: Forgot to mention, it is an additional $600 option to get hands free driving feature.
It is very well built, unlike any ford I have ever driven. Drove it for about a 100 mile trip in the Columbia gorge last weekend, it was a blast.
That said, even with 250+ mile highway range, my wife had a bit of range anxiety once the battery gauge dropped below 50%. Something that will hopefully go away with time.
Regardless, this just shows how well Ford understands the truck market. This will sell like hot cakes, and they will have trouble keeping up with demand.
Also, surprisingly actual road mileage is better in the Mach-e too[1].
Tesla felt like a car built around the software and ford felt like a car with the software as an afterthought. But I like driving cars (drive a manual right now), so, don’t really care as much about the software as others.
[1] https://www.edmunds.com/car-news/electric-car-range-and-cons...
>> There are three figures doing the rounds - 62%, 70% and 90%. The first analysis of the trial data showed 70% of people were protected from developing Covid-19 and nobody developed severe disease or needed hospital treatment.
>> The figure was just 62% when people were given two full doses of the jab and 90% when they were first given a half dose and then a full one.
>> The Medicines and Healthcare products Regulatory Agency (MHRA) has approved two full doses of the Oxford-AstraZeneca vaccine.
>> However, unpublished data suggests that leaving a longer gap between the first and second doses increases the overall effectiveness of the jab.
This description of the results doesn’t inspire confidence.
China will offcourse make up the difference, and appropriately gain more influence. As it rightly should.
None of the big 3 cloud vendors support PG 12 yet.
AWS generally is the first to provide support for newer versions, and they usually lag the PG release dates by 6-9 months for RDS and over 12 months for Aurora.
[Edit] GCP Versions: https://cloud.google.com/sql/docs/postgres/db-versions Azure Versions: https://docs.microsoft.com/en-us/azure/postgresql/concepts-s... AWS Versions: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_...
That said, building a large, scalable Database still requires understanding the workloads and testing them out on production sized datasets. No easy button yet!
An insightful way of looking at a problem when the cause is not obvious.