Best Performance of a C++ Singleton
https://andreasfertig.com/blog/2026/03/best-performance-of-a-cpp-singleton/
#HackerNews #C++ #Singleton #Performance #Programming #BestPractices #SoftwareEngineering #TechInsights
Best Performance of a C++ Singleton
https://andreasfertig.com/blog/2026/03/best-performance-of-a-cpp-singleton/
#HackerNews #C++ #Singleton #Performance #Programming #BestPractices #SoftwareEngineering #TechInsights
Design Pattern sind wiederkehrende Lösungen für häufig auftretende Probleme in der Softwareentwicklung. Sie sind kein fester Code, den man kopiert und einfügt, sondern eher ein Bauplan oder eine bewährte Idee, wie man ein bestimmtes Problem sauber, verst...
https://magicmarcy.de/design-pattern
#Design_Pattern #Singleton #Architektur #Gang_of_Four #Elements_of_Reusable_Object-Oriented_Software #Creational #Structural #Behavioral #Singleton_Pattern #Factory_Pattern #Observer_Pattern #Muster

Design Pattern sind wiederkehrende Lösungen für häufig auftretende Probleme in der Softwareentwicklung. Sie sind kein fester Code, den man kopiert und einfügt, sondern eher ein Bauplan oder eine bewährte Idee, wie man ein bestimmtes Problem sauber, verständlich und flexibel lösen kann. Besonders in objektorientierten Sprachen wie Java helfen Design Patterns dabei, wartbaren und gut strukturierten Code zu schreiben. Für Einsteiger sind sie oft ein wichtiger Schritt, um vom reinen Programmieren hin zum echten Softwaredesign zu kommen.
A new tech-friendly governor?
The California governor’s race has been a crowded field without notable frontrunners.
#Newsom had been a long-time friend of the tech industry, hosting Google’s #Page and #Brin as guests at his wedding
and referring to Salesforce chief executive Marc #Benioff as “family”.
His departure appears to have Silicon Valley fretting.
#Singleton, from the Chamber of Progress, said Newsom had long recognized “how pivotal the technology industry is in California”.
But then, late last month, Matt #Mahan, a moderate Democrat and the mayor of San Jose, announced his candidacy.
Before Mahan got involved in politics in 2020, he had a career in the tech sector.
He was an undergraduate at Harvard with Zuckerberg,
and in 2014 co-founded a startup with funding from #Conway, #Benioff and Napster co-founder Sean #Parker.
Mahan appears to be the savior the tech industry had been searching for.
Since his candidacy announcement just two weeks ago,
⚠️millions have poured into his campaign.
According to public records, he’s received donations from several venture capitalists,
along with Roblox CEO David #Baszucki, Y Combinator CEO Garry #Tan, GitHub co-founder Chris #Wanstrath, Cloudkitchen co-founder Diego #Berdakin, and Ring founder #Siminoff.
Mahan has even courted donors who helped launch companies known for working with the Trump administration,
including Palantir co-founder Joe #Lonsdale and Anduril co-founder Matt #Grimm and his wife Kimberly Grimm, according to public records.
Google’s #Brin has also backed Mahan, maxing out the limit for an individual campaign donation at $78,400.
Several of Mahan’s other tech backers also maxed out their donations.
🔥At this point, Mahan has now raised more than double the two most prominent democrats in the race, ⭐️Eric Swalwell
and ⭐️Katie Porter.
As political races and ballot measure campaigns continue to heat up across California in 2026, tech’s influence is only expected to grow.
“It’s going to be a fun session,” Singleton said. That’s for sure.”
#MattMahan #KatiePorter #EricSwallwell #CAGovernor
https://www.theguardian.com/technology/2026/feb/15/california-billionaires-state-elections
Tech billionaires are leveraging tens of millions of dollars
to influence California politics
in a marked uptick from their previous participation in affairs at the state capitol.
Behemoths such as #Google and #Meta are getting involved in campaigns for November’s elections,
as are venture capitalists, cryptocurrency entrepreneurs and #Palantir’s co-founders.
The industry’s goals run the gamut
– from fighting a billionaire tax
to supporting a techie gubernatorial candidate
to firing up new, influential super political action committees (Pacs).
The phenomenon squarely fits the moment for the state’s politics
– with 2026 being the year that Politico has dubbed
“the big tech flex”.
Gavin #Newsom, California’s tech-friendly governor
who’s been quick to veto legislation that cramps the sector’s unfettered growth,
is reaching his term limit.
That means Silicon Valley needs to find a new ally.
The industry may have found its candidate in an upstart mayor from San Jose, ⚠️Matt Mahan.
Silicon Valley’s businesses and billionaires
– some of the richest and most powerful on earth, most of which are headquartered in California
– are in the midst of a massive AI boom.
Industry insiders say tech companies need to ensure they can continue to flourish without regulations getting in the way.
“This is a golden opportunity and a golden moment for tech to reset its priorities and its perceptions,”
said David McCuan, a political science professor at Sonoma State University who studies state lobbying.
Rather than going all-in on one candidate or issue, McCuan said the tech sector is using a multi-pronged attack in California.
Tech billionaires are contributing to campaigns ranging from candidates for governor
to local city council and school board races.
They are also donating heavily to groups campaigning for relaxed taxation and minimal regulation around AI.
“If you’re an uber-zillionaire, you give money early and often,” McCuan said.
“They have more wealth and resources than they’ve ever had before,
so that allows them to play on both sides of the aisle and up and down the ballot and across issues like never before.”
Unlike other industries, such as oil and pharma, tech has been relatively tame when it comes to lobbying in the state.
The industry has tended to focus on narrow state issues and instead spent big and broad at the federal level
(aside from Uber and Lyft’s massive $200m ballot measure campaign in 2020).
That ethos has changed.
California is now ground zero for tech titans working to become omnipresent in politics.
Robert #Singleton,
the senior director of policy in California for the tech industry group "Chamber of Progress",
said this moment has been brewing for a long time and it just needed the right thing to set it off.
“The introduction of that #billionaire #tax obviously galvanized a lot of wealthy individuals who don’t want to see that happen,
and who will spend money to make sure it doesn’t happen,”
Singleton said.
“That tipped them into wanting to get more involved.”
https://www.theguardian.com/technology/2026/feb/15/california-billionaires-state-elections?CMP=Share_iOSApp_Other
If you are dreading Valentine's Day, I am happy to give you a romance or erotica audiobook of your choice for free, no strings, no questions asked.
1. Pick out a title from among the books I have narrated at the link below.
2. DM me your choice.
3. Let me know if you'd prefer a free code for Audible UK or Audible US.*
*These are my only options, sorry. But you can redeem them from anywhere by changing the Audible website country settings or app settings.
Have a Happy Valentine's Day on me, please! 💋
https://adaraastin.ck.page/87de3a4c9f
@bookstodon @audiofiction @LonelinessCorps
#Singleton #Single #Solo #ValentinesDay #Audiobook #Audiobooks #Audiofiction #Bookstodon #Romance #Erotica

Premium Romance & Erotic Audiobooks, narrated by Adara Astin. As a professional audiobook narrator, I work with premium erotica & romance authors to bring their books to life in audio form. Subscribe to my newsletter, explore my audiobooks, or check out the other ways to support my work below.
Python и паттерны GoF, часть 1: Singleton
Недавно мне в очередной раз довелось читать молодым коллегам курс по языку Python. По самому языку мы прошлись и начали говорить о паттернах проектирования и их реализации. В итоге захотелось мне превратить материалы курса в несколько статей. Это первая. Статья получилась большая, сначала я планировал рассказать в одном тексте обо всех порождающих паттернах, но, поглядев на размер, передумал и разбил историю на части. Первым паттерном, который мы рассмотрим, разумеется, станет синглетон. Как только его по-русски не называют, кстати. Синглтон. Синглетон. Наконец, ОДИНОЧКА. Не, ну вы представляете, ОДИНОЧКА?! Покажите мне живого человека, который так говорит? Я ни одного за 30 лет использования паттернов GoF не видел. Казалось бы, что о нём можно сказать разумного, доброго, вечного, а главное — нового? Паттерн довольно тривиальный, всего лишь способ создать объект класса, который нельзя инстанцировать более одного раза, а потом использовать этот объект везде, где нужно (часто в совсем разных местах). И довольно спорный во многих случаях. Особенно в Python, где я обычно не советую его использовать так, как в C++.
Guinée : le chanteur Singleton jugé pour "homicide involontaire" • FRANCE 24
I was sitiing in traffic doing the #Singleton #Crawl (IYKYK) and looking at a late 60's Pony burbling away in front of me.
Two things struck me as different between old cars and new.
The rear windscreen was huge.
The car had no headrests on the seats.
How times have changed.