Optional type annotations started to enter Python around 3.8, and they have really improved the experience. Even if nothing enforces the annotations, the IDEs can pick them up and show them to you in all the usual places.
- 0 Posts
- 80 Comments
Exactly, there is a place in the world for startups burning 80 hr/wk. Just compensate the people who are doing that adequately with equity, and hire risk takers who want that kind of risk.
mkwt@lemmy.worldto News@lemmy.world•Leaked Drafts Show Trump Administration Scrubbing Out Human Rights Violations of Favored Nations13·7 days agoOut of many problems with this form of lying, these State Department reports are used as presumptive evidence in asylum cases.
Let’s say someone from El Salvador comes to the to US and requests political asylum in grounds of torture and persecution. The government submits as evidence this State Dept report that says that there is no torture in El Salvador. The immigration judge is required by law to presume that the State Dept is telling the truth. Then it’s up to the asylum claimant to provide hard evidence to rebut that presumption.
mkwt@lemmy.worldto politics @lemmy.world•Texas Senator Says Trump’s FBI Agreed to Help Track Down and Return Runaway Democrats37·8 days agoIf your work is the Texas House of Representatives, the House sergeant at arms or his designee can actually arrest you and drag you back to work. This is authorized in the Texas Constitution, and in the rules of the House.
This power does not extend beyond the territory of Texas. The US Constitution specifically only allows extradition between states for crimes, which this is definitely not. The FBI enforces federal laws, and it has no authority to enforce the rules of a state legislature.
mkwt@lemmy.worldto News@lemmy.world•Border patrol agents jump out of rental truck and ambush people at LA Home Depot941·9 days ago- The court ruling reaffirmed that ICE needs reasonable suspicion to stop and detain people on the streets of the United States, and probable cause to arrest.
- It was a violation of the Penske rental agreement to transport ICE agents in the cargo compartment.
mkwt@lemmy.worldto News@lemmy.world•ICE follows starkly different playbooks in how it’s arresting immigrants in red and blue states, data shows11·9 days agoDo red state jails and prisons respect ICE detainers at higher rates than blue states? Is this simply a situation where ICE does the laziest thing possible to meet an imposed quota?
That number is at the high end of what I usually see for consulting work. The high hourly rate has to cover all of the HR and accounting overhead, invoicing, marketing, business development, and the opportunity cost of short term engagement vs. long term engagements.
mkwt@lemmy.worldto News@lemmy.world•Texas Democrats leave the state to block vote on redrawn House map backed by Trump51·12 days agoThat’s why they’re leaving the state. It’s conceivable that Texas Rangers could arrest lawmakers on these warrants for the purpose of returning them directly to the legislature. It’s much less conceivable that Texas can get extradition from another state.
mkwt@lemmy.worldto News@lemmy.world•DOJ denies existence of transgender people in stunning court filing defending Trump’s military ban2231·14 days agoIf transgender people don’t exist, then exactly whom are they trying to kick out?
But when you do shoot yourself in the foot, it blows your whole leg off.
mkwt@lemmy.worldto News@lemmy.world•Trump calls on the Federal Reserve board to take full control of the central bank from Powell48·14 days agoThe Federal Open Market Committee has 12 members. Jerome Powell has one vote; the board of governors have 7 votes. Jerome Powell announces and explains the decisions of the committee to the public, but it is insane to imagine that he is making those decisions alone without the backing of a majority of the committee.
The actual, Actual Final Confederate Flag carried to Appomattox (also cleans minor kitchen stains):
mkwt@lemmy.worldto News@lemmy.world•Texas man is charged in killing of Afghan refugee who fought alongside Green Berets7·15 days agoAt least it lets the police do some ballistics testing to verify that the bullets at the scene came out of that gun.
If you can account for all of the bullets and preferably all of the shell casings as well, it goes a long way to rule out more complicated scenarios like additional firearms or shooters.
They add both sugar and acid, what else ya want?
MSG? Oh wait…
mkwt@lemmy.worldto politics @lemmy.world•Gabbard's claims of an anti-Trump conspiracy are not supported by declassified documents2·17 days agoI bet their free energy machine even has a secret plug into the wall!
mkwt@lemmy.worldto Ask Lemmy@lemmy.world•Is there a process by which courts check access logs of a server to verify the data hasn't been tampered with?4·18 days agoSpeaking for the United States, any document or other exhibit is only admitted into evidence when a witness gets on the stand and testifies under oath as to what the document is. So if someone wants a court to believe that, say, a computer log is authentic, they have to produce a witness to testify about the authenticity. This is where anti tampering measures can be discussed, if relevant.
That witness is then subject to cross examination, which can reveal any holes or gaps. Cross examination can also be used to impeach the credibility of the witness themself.
Once an exhibit is admitted into evidence, the trier of fact, either a judge or jury, will assign a credibility level to it based on the sum total of evidence presented and their own common sense.
mkwt@lemmy.worldto News@lemmy.world•Ghislaine Maxwell files Supreme Court brief appealing Epstein conviction22·18 days agoIt sounds like she’s saying that regardless of how culpable she may have been, she should be covered by one of the sweetheart immunity deals that the feds made with Epstein.
“minor attracted person”. It’s an attempt at a whitewash euphemism for pedophile.
One time I did this thing with an internal calibration program where the user had to type floats into a text box. I set it up so that every key stroke was validated so that the string in the box had to parse as a valid number within the assigned range at all intermediate steps.
Everyone hated that.
Even if you went to some asteroids that have low escape velocities, a spacecraft still has all of the mass of a spacecraft–probably a few 1000 kg. So you probably can’t get it going fast enough, even if you can escape yourself by jumping.