Extensions load unknown sites into invisible Windows. What could go wrong?
arstechnica.com/security/2025/…
Twice the shifts, twice the microfiche 📄💪
Democracy’s Library scanning livestream now runs from 7:30 AM to midnight PT.
Tune in & watch public records from across the country preserved in real time:
📡 youtube.com/watch?v=aPg2V5RVh7…
#GovernmentDocs #LiveNow #Livestream
- YouTube
Profitez des vidéos et de la musique que vous aimez, mettez en ligne des contenus originaux, et partagez-les avec vos amis, vos proches et le monde entier.www.youtube.com
rag. Gustavino Bevilacqua reshared this.
Seoul court approves new arrest of former President Yoon over martial law decree
https://www.euronews.com/2025/07/09/seoul-court-approves-new-arrest-of-former-president-yoon-over-martial-law-decree?utm_source=flipboard&utm_medium=activitypub
Posted into Europe News @europe-news-euronews
Seoul court approves new arrest of former President Yoon over martial law decree
Yoon described his martial law imposition as a necessary step to quash his “anti-state” liberal opponents, accusing them of using their majority to obstruct his agenda.Gavin Blackburn (Euronews.com)
Gazzetta del Cadavere reshared this.
He's very energic and follows me everywhere! He got shaved today because his fur was truly matted to a horrible point, so he looks so thin now. Maybe I will post a picture of him shaved soon!
.
.
.
.
#dog #sunset #nature #stray #picture #photo #dogpicture #photography #dogs #walk #evening
Our top story: The photos seized by police were dogged by controversy in the ’90s, and they still make some viewers uncomfortable today. But they have also become part of the mainstream canon of American photography, admired by many as beacons of autobiographical art. texasobserver.org/fort-worth-s…
#censorship #art #photography #NorthTexas #politics #USpol #news #law #FreeSpeech
Can a Great Museum City Survive the Censorious Right?
Fear and reticence spread in Fort Worth as Sally Mann’s nude photos of her children were held as police evidence.Michael Agresta (The Texas Observer)
Canon J6x12 12.5-75 1.8
#Olympus OMD-E-M1 #closeup #nature #cmount
#photography #MFT #photo #vintagelens
Itamaraty convoca encarregado dos EUA, após nota sobre Bolsonaro - Paulo Figueiredo
Embaixada dos Estados Unidos divulgou nota em que afirma que o ex-presidente é vítima de ‘perseguição vergonhosa’ no Brasil Depois de a Embaixada dos Estados Unidos divulgar uma nota em que defende Jair Bolsonaro e reforça críticas de Donald Trump ao…Suhely Bueno (Paulo Figueiredo)
No Tension for Tensors?
We always enjoy [FloatHeadPhysics] explaining any math or physics topic. We don’t know if he’s acting or not, but he seems genuinely excited about every topic he covers, and it is infectious. He also has entertaining imaginary conversations with people like Feynman and Einstein. His recent video on tensors begins by showing the vector form of Ohm’s law, making it even more interesting. Check out the video below.
If you ever thought you could use fewer numbers for many tensor calculations, [FloatHeadPhysics] had the same idea. Luckily, imaginary Feynman explains why this isn’t right, and the answer shows the basic nature of why people use tensors.
The spoiler: vectors and even scalars are just a special case of tensors, so you use tensors all the time, you just don’t realize it. He works through other examples, including an orbital satellite and a hydroelectric dam.
We love videos that help us have aha moments about complex math or physics. It is easy to spew formulas, but there’s no substitute for having a “feeling” about how things work.
The last time we checked in with [FloatHeadPhysics], he convinced us we were already travelling at the speed of light. We’ve looked at a simple tensor explainer before, if you want a second approach.
youtube.com/embed/k2FP-T6S1x0?…
Einmal im Jahr haben 99% der Menschen auf unserer Erde gleichzeitig Tageslicht. Und zwar heute um 11:15 Uhr unserer Zeit.
Ps: Australien hat nur knappe 27 Mio. Einwohner und damit nicht mal 1%.
Quelle: linkedin.com/posts/marcus-wads…
EDIT
Weitere Quelle: instagram.com/p/DL09zLKMJxR/
EDIT2
Es handelt sich um 11:15 UTC, also 13:15 MESZ
Einmal im Jahr haben 99% der Menschen auf unserer Erde gleichzeitig Tageslicht.
Einmal im Jahr haben 99% der Menschen auf unserer Erde gleichzeitig Tageslicht. Und zwar heute um 11:15 Uhr unserer Zeit. Ps: Australien hat nur knappe 27 Mio. Einwohner und damit nicht mal 1%. | 24 comments on LinkedInMarcus Wadsak (www.linkedin.com)
T&E, target auto 2035 per salvare 1 milione di posti di lavoro - Mobilità Sostenibile - Ansa.it
https://www.ansa.it/canale_motori/notizie/mobilita_sostenibile/2025/07/09/te-target-auto-2035-per-salvare-1-milione-di-posti-di-lavoro_13f657bc-28b3-49b2-b2c4-d3eb7a6da60b.html?utm_source=flipboard&utm_medium=activitypub
Pubblicato su Motori @motori-AgenziaAnsa
T&E, target auto 2035 per salvare 1 milione di posti di lavoro - Mobilità Sostenibile - Ansa.it
Secondo un nuovo studio di Transport & Environment (T&E), la principale organizzazione indipendente europea per la decarbonizzazione dei trasporti, mantenendo l'obiettivo 2035 per le auto a emissioni zero e implementando una strategia industriale sul…Agenzia ANSA
Guida senza assicurazione e revisione auto, multa e avviso orale - Mondo Motori - Ansa.it
https://www.ansa.it/canale_motori/notizie/mondo_motori/2025/07/09/guida-senza-assicurazione-e-revisione-auto-multa-e-avviso-orale_cd727170-4ee6-47c5-a23e-75ad175377c5.html?utm_source=flipboard&utm_medium=activitypub
Pubblicato su Motori @motori-AgenziaAnsa
Guida senza assicurazione e revisione auto, multa e avviso orale - Mondo Motori - Ansa.it
Un 70enne alla guida di un'auto, fermato per un controllo dalla Polizia di Stato ad Ancona, era privo di documenti di riconoscimento, sprovvisto di copertura assicurativa per il veicolo, scaduta da oltre quattro mesi, e senza revisione, scaduta da ol…Agenzia ANSA
In today's unsurprising news, Elon Musk created a chatbot that named itself “MechaHitler” and called for a second Holocaust.
The Trump admin is investigating and deporting antisemitic immigrants now, right? Or is that only for brown ones who call for ceasefires?
the-independent.com/tech/elon-…
Why is Elon Musk’s AI chatbot Grok praising Hitler?
An update saw Grok repeatedly refer to itself as ‘MechaHitler’ and call for a new HolocaustAnthony Cuthbertson (The Independent)
California Bishop Says Catholics Can Skip Mass In Light Of ICE Raids
https://www.huffpost.com/entry/san-bernardino-bishop-immigration-raids_n_686e9b77e4b041f69cfe38dd?utm_source=flipboard&utm_medium=activitypub
Posted into News & Politics @news-politics-huffingtonpost
California Bishop Says Catholics Can Skip Mass In Light Of ICE Raids
The San Bernardino bishop is the latest Catholic clergyman to push back against Trump's immigration raids.Lydia O'Connor (HuffPost)
Caso Giuli, l’M5s annuncia un’interrogazione: «L’operazione di autofinanziamento del ministro? Un insulto»
editorialedomani.it/fatti/caso…
> I pentastellati Caso e Pirondini chiederanno chiarimenti sulla vicenda. «L’autoreferenzialismo smaccato pagato con i soldi pubblici»
Caso Giuli, l’M5s annuncia un’interrogazione: «L’operazione di autofinanziamento del ministro? Un insulto»
I pentastellati Caso e Pirondini chiederanno chiarimenti sulla vicenda. «L’autoreferenzialismo smaccato pagato con i soldi pubblici» ... Scopri di più!Enrica Riera (Domani)
Does Elon Musk’s third party have a prayer? Trump is not a believer
Elon Musk may find his effort to reach the Martian surface a much easier task than cracking the U.S. political system. Join us on Telegram, Twitter,…Strategic Culture Foundation
McDonald’s AI Hiring Bot Exposed Millions of Applicants' Data to Hackers Using the Password ‘123456’
https://www.wired.com/story/mcdonalds-ai-hiring-chat-bot-paradoxai/?utm_source=flipboard&utm_medium=activitypub
Posted into Security News @security-news-WIRED
C# has a special syntax for simultaneously testing and "destructuring" a nullable value type. It is something like "if (Value b is not null = c) {", and if "c" is non-null its value is assigned to b. I've used this a dozen times but I can't remember the syntax and also I cannot search for it because Google returns nothing but stack overflow questions from 2012, which predate whatever this syntax is. Does anyone remember this?
For example, here I am trying to access field "x" from a struct "B3":
Oblomov reshared this.
LMAO.
“Far-right activist Laura Loomer has called for Bondi to resign. Former Trump adviser Steve Bannon spoke at length about the memo on his popular "War Room" show on Monday, even questioning if the administration is as transparent as it claims it would be.”
Trump supporters angry over Justice Department's Epstein memo -
abcnews.go.com/Politics/trump-…
Trump supporters angry over Justice Department's Epstein memo
Trump shut down a question on Epstein during his Cabinet meeting Tuesday.Will Steakin (ABC News)
This administration somehow gets more and more vile by the day. We are only 6 months in and we have 3.5 years to go this guy is nose diving the fall of the country at mach speed.
CFPB Fair Lending Official Who Raised Data Issues Put on Leave:
news.bloomberglaw.com/banking-…
CFPB Fair Lending Official Who Raised Data Issues Put on Leave
The Consumer Financial Protection Bureau placed its top fair lending official on leave as the Trump administration pulls back on fair lending enforcement across the government.Evan Weinberger (news.bloomberglaw.com)
Das Bild zeigt vier Frauenradrennfahrerinnen mit ihren Team- und Farbnummern. Oben links ist Marlen Reusser in einem rosa Trikot mit dem Team "Movistar Team" und dem Sponsor "Zondacrypto" zu sehen. Darunter ist Anna Henderson in einem roten Trikot mit dem Team "Lidl - Trek" und dem Sponsor "ITA Airways" dargestellt. Sarah Gigante trägt ein blaues Trikot mit dem Team "AG Insurance - Soudal Team" und dem Sponsor "Mediolanum". Am unteren Rand ist Antonia Niedermaier in einem weißen Trikot mit dem Team "Canyon-SRAM" und dem Sponsor "Bialetti" zu sehen. Jedes Trikot ist mit den Farben Rosa, Rosso, Azzurra und Bianca gekennzeichnet, die die Farben der Teams repräsentieren.
―
Das Bild zeigt die "Jersey Leaders - Stage 5" eines Radrennens. Es ist eine Grafik, die die aktuellen Führenden in verschiedenen Kategorien darstellt. Im oberen Bereich ist ein gelbes Trikot mit dem Schriftzug "LCL" zu sehen, das den Führenden in der Gesamtwertung, T. Pogacar von der UAE Team Emirates XRG, zugeordnet ist. Neben dem Trikot ist ein Porträt von T. Pogacar mit der Zeit "17h 22' 58" angegeben.
Unter dem gelben Trikot ist ein grünes Trikot mit dem Schriftzug "SKODA" zu sehen, das den Führenden in der Gesamtzeitpunkte, T. Pogacar, zugeordnet ist. Neben dem Trikot ist die Punktzahl "97 pts" angegeben.
Im dritten Bereich ist ein weißes Trikot mit roten Punkten zu sehen, das den Führenden in der Polka-Dot-Kategorie, T. Pogacar, zugeordnet ist. Neben dem Trikot ist die Punktzahl "5 pts" angegeben.
Im unteren Bereich ist ein weißes Trikot mit dem Schriftzug "Krys" zu sehen, das den Führenden in der Gesamtzeitpunkte, R. Evenepoel von der Soudal Quick-Step, zugeordnet ist. Neben dem Trikot ist die Zeit "17h 23' 40" angegeben.
Jedes Trikot ist mit dem Namen des Teams und dem Führungsstatus des Radfahrers gekennzeichnet. Die Grafik ist klar strukturiert und verwendet Farben und Symbole, um die Informationen visuell zu vermitteln.
Bereitgestellt von @altbot, privat und lokal generiert mit Ovis2-8B
🌱 Energieverbrauch: 1.021 Wh
#Radxa CM5 Gets Adapted for Use with uConsole Pocket Terminal
linuxgizmos.com/radxa-cm5-gets…
Radxa CM5 Gets Adapted for Use with uConsole Pocket Terminal Radxa CM5 Gets Adapted for Use with uConsole Pocket Terminal
The ClockworkPi uConsole is designed for Raspberry Pi CM4 or CM5 modules, but a growing group of users has been working to run the Radxa CM5 inside this pocket terminal.Giorgio Mendoza (LinuxGizmos.com)
ralf tauscher reshared this.
Thee Headcoats Sect - Got Sect if you want it! - In Your Eyes ezine
Addentrarsi nel mondo discografico di "Wild" Billy Childish è impresa ardua e caotica, vista e considerata l'incredibile e sterminata produzione di materialeReverend Shit-Man (In Your Eyes ezine)
Thee Headcoats Sect - Got Sect if you want it! - In Your Eyes ezine
Addentrarsi nel mondo discografico di "Wild" Billy Childish è impresa ardua e caotica, vista e considerata l'incredibile e sterminata produzione di materialeReverend Shit-Man (In Your Eyes ezine)
be careful to update freebsd to 14.3 when you are desktop with desktop environment and drm-kmod after upgrade the drm-kmod will not run correctly see
bugs.freebsd.org/bugzilla/show…
I am fighting with that whole day and still no win.
McDonald's uses an AI chatbot called "Olivia" for hiring. A pair of hackers found they could access every conversation job applicants had with it—including all the personal info they shared—by exploiting security vulnerabilities as basic as using the password "123456".
reshared this
US sanctions UN expert Albanese over Israel criticism
aljazeera.com/news/2025/7/9/us…
> Trump administration says it is targeting Albanese for encouraging ICC war crime prosecution against Israel’s Netanyahu.
Cristian Savioli reshared this.
#IPFire #Linux Firewall Now Ships with Support for the #WireGuard #VPN Protocol
9to5linux.com/ipfire-linux-fir…
IPFire Linux Firewall Now Ships with Support for the WireGuard VPN Protocol - 9to5Linux
IPFire 2.29 Core Update 195 Linux firewall distribution is now available for download with support for the WireGuard VPN protocol.Marius Nestor (9to5Linux)
Wishing for a world where corporate motives didn't clash with the sacred trust of journalism
poynter.org/commentary/2025/wi…
Wishing for a world where corporate motives didn't clash with the sacred trust of journalism - Poynter
Wishing for a world where business owners would safeguard journalists' responsibilities.Al Tompkins (The Poynter Institute)
globalist.it/politics/2025/07/…
Che brutta figura internazionale
Schlein: "La Libia convoca Almasri, l'Italia lo ha lasciato andare. Meloni chiarisca in Parlamento"
A sottolineare l’iniziativa della magistratura libica è Elly Schlein, segretaria del Partito Democraticoglobalist (Globalist.it)
En attendant, l'essentiel de l'actualité spatiale de juin est en vidéo : youtu.be/A1AnQmFN8VU?feature=s…
go.squidapp.co/n/iUhpT6n Io scommetto che non si dimetterà. In Italia nessun politico si dimette mai per pudore.
Caso Almasri: 'ministero Giustizia sapeva da subito'. Opposizioni contro Nordio - LaPresse
Il ministro della Giustizia, Carlo Nordio, nell'occhio del ciclone per il caso Almasri. Le opposizioni chiedono le dimissioni del Guardasigilli, oltre cheRedazione (LaPresse)
C'était le 9 juillet 2024 !
On a hâte de voir le 3e vol d'ici fin août 🚀
This city is dumping #Microsoft #Office and #Windows for #OnlyOffice and #Linux - here's why
zdnet.com/article/this-city-is…
This city is dumping Microsoft Office and Windows for OnlyOffice and Linux - here's why
A leading economic hub is replacing Windows and Microsoft Office with Linux and OnlyOffice.Steven Vaughan-Nichols (ZDNET)
reshared this
here's why? We have all used it Steven
"They fear their data could be read and that Microsoft could kill their services on Trump's behalf."
Oh Yeah, I mean that is also a good reason.
The image features a vibrant yellow flower with five large, wavy petals, each adorned with water droplets, suggesting recent rain or dew. The flower's center is a cluster of stamens, with a prominent, bulbous pistil, surrounded by a ring of yellow filaments. The petals are slightly curled at the edges, adding to the flower's delicate appearance. The flower is set against a backdrop of green leaves and branches, with a rough, gray rock visible at the bottom right, providing a natural contrast to the flower's bright color. The overall composition highlights the flower's beauty and the freshness of its surroundings.
Provided by @altbot, generated privately and locally using Ovis2-8B
🌱 Energy used: 0.158 Wh
🛰️ La semaine dernière, peu avant le désamarrage du cargo Progress MS-29, la Station a effectué une manœuvre de réorientation, un tangage de 90°.
Le cargo était amarré au point MRM2, qui est orienté au zénith (vers le haut) dans la configuration normale de l'ISS. En inclinant l'ensemble de l'ISS de 90° (autour de son axe latéral), le cargo Progress a été positionné à l'arrière (derrière) du vecteur vitesse, permettant un couloir de désamarrage propre et sûr (pour qu'il ne rentre pas après désamarrage dans la "sphère d'exclusion") et tirant parti d'une mécanique orbitale efficace pour sa trajectoire de départ. Des considérations thermiques, énergétiques et de visibilité entrent également en jeu dans la planification d’une telle manœuvre de réorientation.
📷 Time-lapse de Jonny Kim qui regarde vers la Terre (nadir) pour capturer la manœuvre de réorientation du pitch-up avant le désamarrage, puis la manœuvre du pitch-down pour ramener l'ISS à son attitude nominale.
⛔️🇷🇺Suburban substation on fire in Veliky Novgorod, Russia. Locals claim a lightning struck the substation, causing the fire. The town is partially without power. (PHOTO) #Ukraine #NukesForUkraine #Germany #France #Italy #OSCE #PACE #CoE #SouthKorea #Press #News #Taiwan #Media #Japan #USA #US #UK #EU #NATO #UnitedStates #UnitedKingdom
#EuropeanUnion #russiaUkraineWar
#11yrInvasionofUkraine
#RussiaIsATerroristState #TrumpIsARussianAsset
Warriors Ukrainian🇺🇦
🔥 Suburban substation on fire in Veliky Novgorod, Russia. 👀⚡️ Locals say lightning struck the substation, causing the fire. The town is partially without power. ——— 🔥 У Великому Новгороді, Росія, горить приміська підстанція.Telegram
The European Union #Linux desktop
theregister.com/2025/06/27/the…
#EU
The year of the European Union Linux desktop may finally arrive
Opinion: True digital sovereignty begins at the desktopSteven J. Vaughan-Nichols (The Register)
Thee Headcoats Sect - Got Sect if you want it! - In Your Eyes ezine
Addentrarsi nel mondo discografico di "Wild" Billy Childish è impresa ardua e caotica, vista e considerata l'incredibile e sterminata produzione di materialeReverend Shit-Man (In Your Eyes ezine)
Thee Headcoats Sect - Got Sect if you want it! - In Your Eyes ezine
Addentrarsi nel mondo discografico di "Wild" Billy Childish è impresa ardua e caotica, vista e considerata l'incredibile e sterminata produzione di materialeReverend Shit-Man (In Your Eyes ezine)
⛔️🇷🇺Novgorod region, Russia (VIDEOS) #Ukraine #NukesForUkraine #Germany #France #Italy #OSCE #PACE #CoE #SouthKorea #Press #News #Taiwan #Media #Japan #USA #US #UK #EU #NATO #UnitedStates #UnitedKingdom
#EuropeanUnion #russiaUkraineWar
#11yrInvasionofUkraine
#RussiaIsATerroristState #TrumpIsARussianAsset
As he shares a graph from G. Elliott Morris showing Trump polling underwater on all key issues, Simon Rosenberg says,
"Trump is not having the victory lap week he thought he was going to have. The mounting death toll in Texas is a searing reminder of the harms his 'more for me, less for all of you' agenda has brought to the country. The ongoing Epstein fiasco has been ugly for him in many, many ways."
#Trump #polls #TexasFloods #Epstein #Russia #Ukraine
/1
hopiumchronicles.com/p/trump-i…
Trump Is Making America Poorer, Weaker, Less Safe and Less Free And The American People Are Unhappy About It
Tara McGowan Joins Us Live Today At 1230pm ET/Hopium Paid Subscribers Gather Tonight at 7pmSimon Rosenberg (Hopium Chronicles By Simon Rosenberg)
Palestinians have delivered testimony after testimony about the Israeli-backed and U.S.-run “death traps” masquerading as aid sites. But no one listened until Haaretz published direct testimony from the perpetrators.
reshared this
Israel, through Netanyahu, his fascist collaborators, and a host of enablers (hello Canada and your national broadcaster, CBC), has turned itself from a tenuous oasis for the oppressed into a textbook humanitarian disgrace.
These are inexcusable offences against Jews and Judaism as much as they are against Palestinians.
The perpetrator's first crime is always against himself and his own humanity.
Driving home, randomly clicking on the camera app out the window at the amazing sunrise and mist - this!
#tree #mist #sunrise #photography
reshared this
'earth forces'
#LoveOurPlant #MotherEarth #Nature #ClimateChange #GlobalWarming #ProtectOurPlanet #Preservation #WaterColor #AbstractArt #MastoArt #Art #Krita
Tra matrimoni e scandali, solo la Rolls-Royce ha saputo restare al fianco di Elizabeth Taylor
#elizabethtaylor #rollsroyce #fashion #liztaylor #classichollywood #supercars
boomerissimo.it/2025/07/09/liz…
Liz Taylor, la Rolls da sogno di un matrimonio da incubo - Boomerissimo
Liz Taylor non è stata fortunata nella scelta dei mariti, ma per quanto riguarda le automobili è tutta un’altra storiaAntonietta Terraglia (Boomerissimo)
9 July 1886 | Dutch Jewish woman, Mina Levie-Monas, was born in Bergum / Burgum.
In November 1942 she was deported from Westerbork to #Auschwitz. She was murdered in a gas chamber after arrival selection.
JeniParsons reshared this.
🇺🇦🇺🇸President Zelensky meets with President Trump’s envoy in Rome (War and Politics 24 - Ukrainian News VIDEO) #Ukraine #Mastodon #NukesForUkraine #Germany #France #Italy #OSCE #PACE #CoE #SouthKorea #Press #News #Taiwan #Media #Japan #USA #US #UK #EU #NATO #UnitedStates #UnitedKingdom
#EuropeanUnion #russiaUkraineWar
#11yrInvasionofUkraine
#RussiaIsATerroristState #TrumpIsARussianAsset
The image depicts a scene set on a large, futuristic space station or platform. In the foreground, a woman in a long blue dress stands with her hands clasped, observing the scene. To her right, a man in an orange jumpsuit with a helmet and gloves is also looking down, while a group of individuals in various attire, including robes and helmets, stand behind him, observing the activity below. The background features a massive, complex structure with a large, spherical section suspended above a platform, with several smaller spacecraft visible in the sky. The platform is populated with numerous figures, some in robes and others in casual attire, engaged in various activities. The overall color palette is muted, with shades of blue, gray, and orange, contributing to a sense of a technologically advanced, possibly dystopian setting.
Provided by @altbot, generated privately and locally using Ovis2-8B
🌱 Energy used: 0.218 Wh
Building a slow web
goodinternetmagazine.com/build…
The internet can feel like it's built for speed. You join a new service and you're presented with a feed. The name tells you all you need to know. The feed is the actor. You are the thing that is acted upon. You don't control the feed. Your role is
Building a slow web
The internet can feel like it's built for speed. You join a new service and you're presented with a feed. The name tells you all you need to know. The feed is the actor. You are the thing that is acted upon.Greg Sarjeant (Good Internet)
The image features a central cartoon character with a bald head, star-shaped eyes, and an open mouth, surrounded by various colorful elements. The character appears to be experiencing a sense of excitement or overwhelm, as indicated by the starry eyes and the surrounding symbols of joy and celebration.
In the background, there are several digital elements, including a "Welcome!!" sign, a social media interface with a "Hello" greeting, and a chat bubble with a chicken character. The character is also surrounded by heart symbols, emojis, and congratulatory cards with messages like "CONGRATS! YAY!! $8." Additionally, there are illustrations of a pink and white character, a Mickey Mouse-like character, and a website interface with a cute animal character.
The overall composition is vibrant and chaotic, with a yellow background and black outlines, creating a sense of energy and excitement.
Provided by @altbot, generated privately and locally using Ovis2-8B
🌱 Energy used: 0.204 Wh
Robin Hübner
in reply to mcc • • •leo vriska
in reply to mcc • • •if (b is B3 differentVariable)
instead, this is the documentation learn.microsoft.com/en-us/dotn…Pattern matching overview - C#
learn.microsoft.commcc
in reply to leo vriska • • •leo vriska
in reply to mcc • • •mcc
in reply to leo vriska • • •⛧-66642 [lucy]
in reply to mcc • • •mcc
in reply to ⛧-66642 [lucy] • • •veetee
in reply to mcc • • •something like this?
```csharp
int? a = something();
if (a is int x)
{
// x is not null
}
```
learn.microsoft.com/en-us/dotn…
Type-testing operators and cast expressions test the runtime type of an object - C# reference
learn.microsoft.commcc
in reply to mcc • • •UPDATE: Okay so the correct syntax, assuming you have a variable
B3? b;
and B3 is a value type such as a struct, is
if (b is B3 _b) {
// Non-null variable named _b now exists
}
However I also just in replies learned something WILD, which is if you don't remember or don't want to type the name of B3, you can just type
if (b is { } _b) {
// Non-null variable named _b now exists
}
and the compiler accepts that just fine and does the right thing. What on *earth*. C# is simply too big
leo vriska
in reply to mcc • • •mcc reshared this.
mcc
in reply to leo vriska • • •@leo @xyno @xgranade Wait hold on.
Inside of the
if (b is B3 _b) {
// Non-null variable named _b now exists
}
Is _b the "interior" of b, or is _b a new variable. If I alter _b will it alter b
leo vriska
in reply to mcc • • •mcc
in reply to mcc • • •Robin Hübner
in reply to mcc • • •mcc
in reply to Robin Hübner • • •Robin Hübner
in reply to Robin Hübner • • •mcc
in reply to Robin Hübner • • •Robin Hübner
in reply to mcc • • •mcc
in reply to mcc • • •It looks like it is making a little face at you
b { } _b
vivi 💫
in reply to mcc • • •mcc
in reply to vivi 💫 • • •mcc
in reply to mcc • • •Postscript in case anyone was learning C# from this: inside the "B2 b is _b" block, b is not, like, a reference to the interior of _b; it's a copy. If you wanted to change _b you have to end your block with _b = b; to copy your new values back.
:/
cassie
in reply to mcc • • •mcc
in reply to cassie • • •cassie
in reply to mcc • • •andymandias
in reply to mcc • • •Cassandra Granade 🏳️⚧️
in reply to mcc • • •Zimmie
in reply to mcc • • •Simon Brooke
in reply to mcc • • •Ongion 🥚🐞
in reply to mcc • • •mcc
in reply to Ongion 🥚🐞 • • •Ongion 🥚🐞
in reply to mcc • • •mcc
Unknown parent • • •Fish Id Wardrobe
in reply to mcc • • •lord pthenq1
in reply to mcc • • •Tom Forsyth
in reply to mcc • • •