Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment Re:Kid just had covid (Score 2) 159

It's almost like at one point it was a novel virus that was spreading like wildfire, that we didn't know how to treat well, didn't have the medical resources available if severe cases spiked too high, didn't understand the transmission characteristics well, and so were cautious.

Whereas, now we have vaccines, we have anti-virals, everyone has already been exposed (making it not a novel virus anymore), we failed to contain it and it is now well along the way to being endemic, and thus you treat it very differently.

Comment Re:No first amendment protections. (Score 2) 116

They send more spam and thus more people click "this is spam" and the urls/lanaguage/etc that they use become indicative of spam (as judged by users).

That seems much more likely than google manually filtering republican spam.

I know managers at work sometimes ask to be added to automated mailing lists for technical things (disks are >X% full type stuff) and refuse to believe they won't want it when told what it will be. And then click "spam" on gmail and now the email address being used for them gets diverted to spam for the people who actually do care about those emails and I get to spend hours working out what the hell is happening. That's not google manually filtering out those emails...

Comment Re:Wait... (Score 1) 113

He will 100% be deported when he completes his prison sentence, and could be deported before completing it (low chance of illegal re-entry from China after all) under the current administration.

The four years in prison might "save" him, it's not an aggravated felony and it's not moral turpitude, so it won't be automatic. Maybe there will be a pendulum swing away from enforcing the letter of the law and deporting easy targets at every opportunity (nothing is easier than someone already incarcerated - even the most keystone cop of ICE agents can catch them). Even so, seems a likely candidate even then.

Comment Re: a smart move (Score 1) 50

>> "Yeah, on purpose I assume. It's almost like those symbols have a use and indicate what fundamental type is in play."
> Seems you do not program in Perl. Because: they don't imply that. They imply what type you want to get OUT of the hash or list. Otherwise you would simply write #myHash{"myKey"} and be done with it. But that is to simple ... you have to either write $myHash{"myKey"} if what comes out of myHash is a scalar, or something else depending what you have in the hash ...

That's literally what I said. It tells you the fundamental type that is in play (you know, what the thing you are working with is). $F{"a"} is a scalar, so $. %F is a hash, so %. @F is an array, so @.

Comment Re:Why keep calling out Boeing? (Score 1) 159

Probably because there were a couple of Boeing crashes 2018/19 that saw a worldwide grounding of the 737 MAX 8 for 20 months because it was in fact a problem with the planes.

So it'd be more like a Lexus plowing into a crowd a people and people speculating Toyota might have bad pedals and floor mats again.

It's extremely unlikely this will be a problem with the plane itself, 787s have been flying for a while now.

Comment Re: a smart move (Score 1) 50

> Care to show us a function definition in Python?
> And now one in Perl?

Why? They're easy enough to find, without the cherry picking involved in someone making one up here. But here's a perl function straight from the perl docs:

sub foo ($left, $right) {
        return $left + $right;
}

Of course this is also a perl function:

sub foo {
    return $_[0] + $_[1];
}

> Why do the Python function arguments have names, and the Perl function seems to have no arguments at all?

Because python functions have named parameters (though of course also have *args and **kwargs), while perl functions use implicit positional parameters or named parameters depending on developer choice.

> Care to explain in 3 sentences why accessing a value in a hash table in Perl is done with $ and not with @???

The value is a scalar and thus uses $. That's was only one sentence, sorry. Now it is three.

> Why does Perl use $ and @ when Python obviously does not need this magic?

It indicates which of the fundamental types the value is. Which allows those types to have independent namespaces and also provides information to the programmer/code reader.

> Oh, wait ... did I mix up @ with % again?

Yeah, on purpose I assume. It's almost like those symbols have a use and indicate what fundamental type is in play.

Mind you in the last 20 years I've done at least 10000x more python programming than perl programming, so there are probably more articulate defenses of perl somewhere by people who have been using it more often.

Comment Re:They used math (Re:I love science fiction!) (Score 1) 171

No, what changed the trip was the large deltaV available. Assuming Musk, who promised teslas would self drive without a driver at all from LA to NY within 2 years in 2016, isn't being overly optimistic about his orbital fueling plan and his rockets firing just fine after weeks in orbit.

Yes, people haven't bothered plugging those parameters into the old software because there's no need to calculate fantasy trajectories. Well I'm sure someone at spaceX has - likely with a lot of different values for fuel amounts in order to know what they need to aim for tank size wise and so on.

Comment Re:Dependency and Chaos (Score 1) 36

I've driven to closed freeway entry ramps and had to follow the detour - go the opposite direction for 4 exits and then u-turn - the first signage for which appear after the last point I could have picked a different way enough times that if google maps says the ramp is closed I'll probably go the other way. If the traffic is slow but not way outside normal and google tells me to the take the next exit so I can drive through the city and get back on in two exists time, I'm just going to stay on the freeway. Amazingly you can both use the tech and think.

And yes I could check the notices from the official channels about up coming closures and road works, but that would require planning ahead.

Comment Re:Concentration Camp (Score 1) 79

It is not.

By the very definition a concentration camp involves concentrating people on some ethic, religious, etc basis without fair trials or hearing. German prisons are nothing like that.

The reconcentrados in Cuba, restricted by the Spanish.

The American Indians in the US forced into reservations.

Those of Japanese heritage in the US forced into internment camps.

The Jewish people (and Romas and so on) forced into death camps by Germany.

Palestinians herded into camps by the Israeli government.

Uyghurs sent to the Xinjiang internment camps by China.

And so on and so on.

And so on and so on.

Comment Re:Ironically, this is what Trump wants (Score 0) 268

Why would there be more problems? Depends what the various costs and ratios are. But it could be better for them to relocate in order to serve US customers.

Say their components are from China and hit with a 125% tariff into the US, and half their costs are components, and they markup 100%. Tariffs on EU->US are 25%. Tariffs on China->EU are 2.5% (the current rate for "electrical machinery and electronic equipment").

Say an item is $50 of imported components and $50 of other costs. Manufacturing in the US to sell to the US would cost $50+$50*1.25 + $50 = $162.50. Markup 100% and the item sells in the US for $325.

Manufacturing in the EU to sell the the US would cost $50+$50*0.025 + $50 = $101.25. Markup 100% and the item sells for $202.50, add the 25% tariff and the item sells in the US for $253.13. Add some extra shipping of course and it's still better for their US customers.

If the EU tariff on Chinese components is less than 60% (and it looks like they are low single digit) it'll be cheaper to manufacture in the EU and export to the US than to manufacture in the US.

Of course it isn't that simple. EU labor and energy costs are probably higher - though US workers are going to earn enough have to be able to pay these tariffs...

Slashdot Top Deals

In English, every word can be verbed. Would that it were so in our programming languages.

Working...