Hacker Noon - python

I have this awesome Python library that -- wait, are you on 2 or 3?

How to Make Illegal States Unrepresentable

A couple of years ago, I wrote that The Builder pattern is a finite state machine!. A state machine consists of states and transitions between them. As a developer, I want to make illegal states unrepresentable, i.e., users of my API can’t create non-existent transitions. My hypothesis is that only a static typing system allows this at compile-time. Dynamic typing systems rely on runtime validation. In this blog post, I will show that it holds true, with a caveat.

Read All

404 Media

404 Media is an independent media company founded by technology journalists Jason Koebler, Emanuel Maiberg, Samantha Cole, and Joseph Cox.

Community Votes to Deny Water to Nuclear Weapons Data Center

Community Votes to Deny Water to Nuclear Weapons Data Center

Ypsilanti Township in Michigan is attempting to cut off the flow of water to a planned data center that would power a new generation of nuclear weapons research. On Wednesday, the Township’s Board of Trustees voted to institute a 365 day moratorium on the delivery of water to hyperscale data centers so the township can study the impact of the building’s massive water needs.

The proposed data center in the Ypsilanti Township’s Hydro Park has been a sore spot for the community since its proposal. The $1.2 billion 220,000 square foot facility would be used by Los Alamos National Laboratories (LANL) some 1,500 miles away for nuclear weapons research. In February, UofM’s Steven Ceccio told the University of Michigan Record that the facility would consume 500,000 gallons of water per day and that the University planned to buy it from the Ypsilanti Community Utilities Authority. (YCUA)

The YCUA has spent the past month lobbying for a moratorium on providing water and sewer access to hyperscale data centers and “artificial intelligence computing facilities,” according to notes on a presentation stored on the organization's website. The moratorium would include LANL’s data center.

The YCUA cited an American Water Works Association white paper about data center water demands and concluded it needed more time to investigate the matter. “Hyper-scale data centers, as well as other mid-sized data centers, artificial intelligence computing facilities, and high-performance computational centers are ‘high-impact customers’ for water and sewer utilities,” YCUA said in its presentation.

The moratorium places a 12-month stop on serving water to data centers while the YCUA conducts a long-term water supply analysis and looks into the environmental sustainability studies. “During the 12-month moratorium period, the Authority will refrain from executing any capacity reservation agreement.”

This is a delay tactic on the part of a Township that does not want to see the data center constructed. Many in the community have strong feelings about the use of parkland for a facility that researchers nuclear weapons. Beyond the moral and ethical concerns, some are worried about becoming targets in a war. Last month, Township attorney Douglas Winters told the Board of Trustees that building hosting the data center would make Ypsilanti Township a “high value target.” He pointed to the recent bombing of Gulf Coast data centers by Iran as evidence.

America is embarking on a new nuclear arms race and Ypsilanti Township is one small part of it. The Pentagon has called for US nuclear scientists to design new kinds of nuclear weapons and Trump’s 2027 budget proposal almost doubled the money set aside to create new cores for nukes. UofM has repeatedly said that the data center would not “manufacture” nuclear weapons.

“Los Alamos is tasked with nuclear stewardship—not conducting live tests on weaponry, but instead using advanced computation to ensure the safety and reliability of our existing stockpile without the need for nuclear testing, especially as our stockpile ages. Computation provides an important tool for LANL to achieve this mission,” UofM’s Ceccio told the Record.

But during a public open house about the data center, LANL deputy laboratory director Patrick Fitch confirmed it would be used for weapons research. “One of the two computers we’re planning in our 55 megawatts (section)—if this facility is built—will be for what’s called secret restricted data. So it’ll be for the nuclear weapons program. Not exclusively, but it’ll be able to do that work,” Fitch told the Michigan Daily.

During the Wednesday meeting of the Ypsilanti Township Board, attorney Winters gave a clear eyed summary of the Township’s place in the new nuclear arms race. “This facility they’re proposing in partnership with the UofM is the digital brain for everything that’s going to take place in New Mexico. Make no mistake about it, you can rename, reframe, and repackage all you want. It is a high value target,” Winters said

Even with the proposed water moratorium, the University and LANL plan to break ground on the data center on Monday. The University of Michigan did not return 404 Media’s request for a comment.


Sint-Jorisdag in het StamCafé

Toen Engeland nog een beetje op een land leek

Social

Met afstand het minst serieuze land van West-Europa en niet wegens gebrek aan concurrentie. En dan rijst toch de vraag; kan Joris (Kemi/Lowe) de draak (Pakistanen/Afghanen) nog éénmaal verslaan, of is het Britse verhaal inmiddels verteld en voorbij? Aan Sint Keir hoef je het in ieder geval niet te vragen, want hij viert de feestdag met de onderstaande post die linkt naar een interview met goddomme de MIRROR, en liet GPT deze dooddoener schrijven: "St George’s flag stands for unity over hatred and decency over division. Those are the values I will always fight for. Some try to hijack our flag to spread hate, I reject their plastic patriotism." Farage en Lowe na de breek.

Child Harmer maakt zich er weer af met deze waardelose post

Social

Kemi

Social

Farage

Social

Rupert

Social

Wel.nl

Minder lezen, Meer weten.

Wall Street voorzichtig nu toenadering Iran en VS uitblijft

NEW YORK (ANP) - De aandelenbeurzen in New York zijn donderdag met verliezen gesloten. Beleggers bleven voorzichtig omdat de Verenigde Staten en Iran nog niet dichter bij een vredesdeal zijn gekomen. Ondanks het ruim twee weken durende bestand lijken de spanningen zelfs weer toe te nemen. De financiële markten verwerkten daarnaast kwartaalberichten van grote bedrijven.

De Dow-Jonesindex zakte 0,4 procent tot 49.310,32 punten. De breed samengestelde S&P 500 verloor ook 0,4 procent tot 7108,40 punten en techgraadmeter Nasdaq eindigde 0,9 procent lager op 24.438,50 punten. Een dag eerder stegen de S&P 500 en Nasdaq nog tot recordniveaus.

De Straat van Hormuz blijft zo goed als geblokkeerd door Iran, terwijl de Verenigde Staten de scheepvaart van en naar Iraanse havens zeggen tegen te houden. Het Iraanse regime zegt vooralsnog niet te willen onderhandelen met de VS. Ondanks de wapenstilstand meldden Iraanse persbureaus bovendien dat de luchtafweer in Teheran in actie is gekomen.

De olieprijzen stegen harder na het nieuws. Een vat Brentolie werd 3,7 procent meer waard op 105,75 dollar per vat. Amerikaanse olie steeg ook 3,7 procent in prijs tot 96,35 dollar per vat.

Tesla kwam met kwartaalcijfers en wist de omzet en winst in de eerste maanden van het jaar op te voeren, na een moeizaam 2025. Topman Elon Musk waarschuwde ook dat het bedrijf grote bedragen zal investeren in AI-gestuurde auto's en mensachtige robots. Het aandeel daalde 3,5 procent.

Speelgoedfabrikant Hasbro was een opvallende stijger, met een koerswinst van 6,6 procent. In de aanloop naar zijn kwartaalbericht meldde het bedrijf achter My Little Pony en Transformers een hogere omzet te hebben geboekt dan kenners hadden verwacht. Dat dankte Hasbro vooral aan de populariteit van het kaartspel Magic: The Gathering.

Socialemediaconcern Meta verloor 2,3 procent. Het bedrijf is van plan 10 procent van het personeel te ontslaan, wat neerkomt op zo'n 8000 mensen, meldden media op basis van een interne memo. Volgens persbureau Bloomberg biedt Microsoft ook duizenden werknemers een uitkoopregeling aan waarmee ze vervroegd met pensioen kunnen. De grote techconcerns moeten geld vrijspelen voor hun grote investeringen in extra datacenters voor de ontwikkeling van kunstmatige intelligentie. Aandelen van Microsoft daalden 4 procent.


MetaFilter

The past 24 hours of MetaFilter

The Era of Citizens United Could Be Nearing Its End

A Maine lawsuit has suddenly become the most significant anti-corruption battle inside America's legal system, offering the first serious chance in decades to challenge the disastrous Citizens United decision.

The 2010 Citizens United decision, written by former corporate lobbyist Anthony Kennedy, is famous for striking down limits on spending by super PACs and declaring that "independent expenditures, including those made by corporations, do not give rise to corruption or the appearance of corruption." The sheer gall of that decision overshadowed an equally far-reaching lower-court decision three months later: SpeechNow v. FEC, which struck down limits on contributions to those super PACs. Without SpeechNow, oligarchs would have had a far harder time over the last sixteen years anonymously purchasing elections via super PACs, because those entities would have had to rely on much smaller donations and would not have been able to grow so large and so fast. In 2010, the Obama Justice Department had a chance to challenge SpeechNow when the ruling was handed down by the DC Circuit Court, but Attorney General Eric Holder opted against a challenge. Holder asserted that SpeechNow "affects only a limited subset of the circumstances," and he insisted that the "decision will affect only a small subset of federally regulated contributions." Those presumptions aged like milk. The Washington Post reports that independent expenditures are now more than a quarter of all spending in elections and that "1 in every 13 dollars spent in last year's national elections was donated by a handful of the country's richest people."

kottke.org

Jason Kottke's weblog, home of fine hypertext products

ProPublica explores what a future without vaccines would...

ProPublica explores what a future without vaccines would look like in the US. Hundreds of thousands of deaths, tens of thousands of children paralyzed, and many other children stricken with serious but easily preventable health issues.

The Guardian

Latest news, sport, business, comment, analysis and reviews from the Guardian, the world's leading liberal voice

LaGuardia firefighter heard ‘stop’ before crash but didn’t know who it was for, report says

National Transportation Safety Board’s preliminary report further says crash prevention system didn’t generate alert

A firefighter whose truck collided with an Air Canada jet last month on a runway at New York’s LaGuardia airport, killing both pilots, heard an air traffic controller warn “stop, stop, stop” but didn’t know who it was for, federal investigators said Thursday.

The National Transportation Safety Board said in a preliminary report on the 22 March collision that a crash prevention system for air traffic controllers didn’t generate an audio or visual alert, and lights on the runway that act as a stop light for crossing traffic were on until about three seconds before the collision.

Continue reading...

Rijnmond - Nieuws

Het laatste nieuws van vandaag over Rotterdam, Feyenoord, het verkeer en het weer in de regio Rijnmond

Gewonden bij steekpartij in Rotterdam-Charlois, verdachte aangehouden

Aan de Bas Jongeriusstraat in Rotterdam-Charlois is donderdagavond een steekpartij geweest. Daarbij zijn twee mensen gewond geraakt, zeggen 112-correspondenten. Een verdachte zou zijn aangehouden.

Met Orbán in de achteruitkijkspiegel ziet Brussel kansen voor Oekraïne in de EU

Verschillende Europese kopstukken willen vaart maken met de gesprekken met Oekraïne over toetreding tot de Europese Unie, nu ze voelen dat het tij mee zit.

Found Kodachrome Slide

Thomas Hawk posted a photo:

Found Kodachrome Slide