Most recent unrolls from @ThreadReaderApp

Mar 12
🚨BREAKING: This github has entire blueprint for building ChatGPT from scratch and put it on GitHub for free.

It's called LLMs-from-scratch and it walks you through building a GPT model in PyTorch line by line.

No black boxes. No hand-waving. Every single piece of the architecture explained and coded.

Here's why this changes everything for AI builders: ↓Image
Most people using ChatGPT every day have zero idea how it actually works under the hood.

Attention mechanisms. Tokenization. Pretraining. Finetuning. RLHF.

They're all magic words until you build one yourself.

This repo fixes that.
What you'll build, chapter by chapter:

→ Ch 2: Working with text data + BPE tokenizer from scratch
→ Ch 3: Coding multi-head attention from zero
→ Ch 4: Full GPT model implementation in PyTorch
→ Ch 5: Pretraining on unlabeled data
→ Ch 6: Finetuning for text classification
→ Ch 7: Instruction finetuning (how ChatGPT-style behavior actually works)Image
Read 8 tweets
Mar 12
🧵THREAD - (Re)naissance de l’iranien, entre phantasmes, empires et arsenal idéologique: retracage d’une résurrection millénairement prémonitoire.

Étude socio-politique des dynamiques linguistiques et historiographiques à la forge du pays iranien à travers le Xe siècle samanide. Image
Image
Image
1/

Avant d’être une question de langue ou de culture, l’histoire iranienne est une question de durée. Très tôt, cet espace a produit de l’empire.

L’Iran entre dans le Moyen Âge comme ancienne matrice impériale brisée dont les formes survivent à sa propre chute. Image
2/
La conquête arabe du VIIe siècle efface peu. Elle abat un empire, mais n’anéantit ni les réflexes administratifs, ni les mémoires royales, ni les habitudes de gouvernement accumulées pendant des siècles.

Un terrain déjà saturé de formes politiques anciennes. Image
Read 32 tweets
Mar 12
🧵Mohamed Bailor Jalloh

Naturalized U.S. citizen who was born in Sierra Leone in 1989.

He served in the Virginia National Guard but, after listening to lectures by Anwar Al-Awlaki, decided not to re-enlist.

Instead, he began supporting ISIS/ISIL. Image
Jollah traveled to Sierre Leone in 2025 and attempted to join ISIL. There he connected with an ISIL facilitator and other individuals who were joining the group, but he eventually decided he wasn't ready to join.

He gave the facilitator a few hundred dollars and returned to the U.S.Image
Just before returning to the U.S., he came into contact with Abu Saad Sudani, a member of ISIL who was planning an attack in the U.S.

Jollah sent money to Sudani to support ISIL.

In March 2016, Sudani, who was actively plotting an attack in the U.S., put Jollah in contact with an individual stateside. Sudani was hoping the two could carry out the attack.Image
Read 13 tweets
Mar 12
Roma. “Preferirei di NO”, con Magistratura Democratica. Sempre, nella storia della repubblica, quando sono stati messi in discussione i principi costituzionali ha dovuto pensarci il popolo, la gente comune. Le persone percepiscono che il servizio giustizia non funziona bene. 1/ Image
Dobbiamo rendere chiaro che i magistrati sono vittime di questo, e che la Costituzione dice che l’efficienza del servizio della giustizia tocca al ministro della giustizia. Meloni dice è ora di far funzionare la giustizia, ma questo è compito del governo 2/
Manomettono 7 articoli della Costituzione senza toccare minimamente i problemi dei cittadini, solo per cambiare i rapporti tra politica e giustizia. Il sorteggio,che era una proposta di Almirante, non è soltanto l’umiliazione evidente dei magistrati ma il senso dell’operazione 3/
Read 4 tweets
Mar 12
@POLITICOEurope 1/5 Wer die Ukraine verteidigen will, darf nicht nur nach Osten blicken. Die gefährlichste Front verläuft heute durch unsere Wahrnehmung.
Wir müssen über die Schatten-Elite im Exil sprechen – ein Netzwerk, das aus der Sicherheit Europas eine Strategie der Zersetzung fährt. 🧵 Image
@POLITICOEurope 2/5 Diese Gruppe besteht aus ehemaligen Funktionären, die ihre Macht verloren haben.
Ihr Ziel ist nicht die Reform des Staates,
sondern die Erosion des internationalen Vertrauens in die ukrainische Führung. Ihr Motiv? Die Rettung der eigenen Haut und politische Rache.
@POLITICOEurope 3/5 Die Methode: Informations-Wäsche.
Schritt 1: Einseitige „Insider-Häppchen“ werden an renommierte westliche Medien (wie Politico) herangetragen.

Schritt 2: Sobald ein Medium die Story druckt, wird aus einer bösartigen Interpretation ein „internationaler Fakt“.
Read 5 tweets
Mar 12
If AI is so great for coding, where are the apps? @R_Dimm and I studied the Python Package index to find an "AI effect".

Here's where it is not, where it is, and thoughts on why.

WHERE AI IS NOT. There's no clear AI effect on Python _package creation_ since ChatGPT. Image
What about package _release frequency_ — how often an existing package is updated per year?

No clear AI effect. The release frequency for the top 15,000 packages started increasing in 2019, well before the "ChatGPT era". Image
WHERE AI IS. But there is an AI effect if you consider release frequency and focus only on packages _about AI_.

Post-ChatGPT packages were updated ~20 times/year, almost 2x non-AI packages! Image
Read 6 tweets
Mar 12
ÚLTIMA HORA: Claude consegue transformar praticamente qualquer habilidade que você já tem em uma fonte de renda de até $4.000 por mês.

Aqui estão 9 prompts para sair do zero e criar um fluxo de renda consistente trabalhando apenas cerca de 14 horas por semana.

Salve isto antes que todo mundo comece a usar :
1. Transforme sua habilidade em uma oferta

Prompt: “Ajude-me a transformar minha habilidade em [habilidade] em uma oferta de serviço clara e fácil de vender. Defina o resultado específico que eu entrego, quem mais precisa desse serviço, quanto devo cobrar e escreva um pitch curto de um parágrafo que eu possa usar para conquistar meu primeiro cliente pagante hoje."
2. Encontre rapidamente seus primeiros clientes pagantes

Prompt: “Ofereço [serviço] para [cliente ideal]. Crie um plano de prospecção de 5 dias usando apenas canais gratuitos para conseguir meus primeiros 3 clientes pagantes. Inclua onde exatamente encontrá-los, o que dizer e um modelo de mensagem que eu possa enviar ainda hoje.”
Read 11 tweets
Mar 12
Militantes de redação da CNN Brasil estão escandalizadíssimos com uma ordem de Moraes de busca e apreensão contra um jornalista maranhense, acusado de “perseguição” (!?!?) contra o ministro Flávio Dino, após denunciar o suposto uso de um carro do Tribunal de Justiça do Estado pela família do ministro.

Na matéria, o militante de redação da CNN cita como exemplo de ataque à imprensa a retirada do ar de uma reportagem da Crusoé, ainda em 2019, que expunha a delação de Marcelo Odebrecht sobre o ministro Toffoli ser o “Amigo do Amigo do meu Pai” nas comunicações da empresa.

ERRONEAMENTE, ele afirma que aquilo já era grave, mas que não chegou ao ponto de uma busca e apreensão.

Vai fingir que não sabe que Allan dos Santos foi alvo de busca e apreensão — e depois de pedido de prisão — tendo que pedir refúgio nos EUA?

Seu portal, o Terça Livre, que tinha mais audiência que a própria CNN Brasil, foi simplesmente FECHADO numa canetada.

O mesmo ocorreu com o jornalista Oswaldo Eustáquio, que precisou buscar refúgio na Espanha.

Gostar ou não deles é irrelevante. O fato é simples: foram perseguidos pelo regime brasileiro. Mas não foram apenas eles.

Há uma longa lista de jornalistas independentes, escritores e influenciadores perseguidos pelo regim, sob aplausos dos “jornalistas profissionais”.

Tudo isso nos últimos SETE ANOS!

Perseguidos políticos, que o militante de redação da CNN "esqueceu" que existem:

Bernardo Küster — Jornalista e youtuber, diretor do Jornal Brasil Sem Medo. Alvo de busca e apreensão em maio de 2020 (Inq. 4.781).

Rodrigo Constantino — Economista, escritor e comentarista político. Contas de redes sociais suspensas por decisão de Moraes em janeiro de 2023 (Inq. 4.781 / Inq. 4.874). Contas bancárias bloqueadas. Passaporte cancelado. Segundo seus advogados, sem acesso integral aos autos.

Guilherme Fiuza — Jornalista e escritor. Perfis em redes sociais suspensos por decisão judicial em janeiro de 2023, no âmbito dos inquéritos das Fake News e das Milícias Digitais. Investigado por suposta divulgação de discurso antidemocrático e de ódio.

Paulo Figueiredo — Empresário, comentarista político e neto do ex-presidente João Figueiredo. Contas de redes sociais suspensas em janeiro de 2023 por decisão de Moraes. Contas bancárias bloqueadas. Passaporte cancelado.

Reynaldo Bianchi Júnior (Rey Bianchi) — Youtuber e humorista. Alvo de busca e apreensão em maio de 2020 (Inq. 4.781). Quebra de sigilo bancário determinada.

Bárbara Zambaldi Destefani ("Te Atualizei") — Canal desmonetizado pelo TSE em agosto de 2021. Redes sociais bloqueadas.

Fernando Lisboa da Conceição (Vlog do Lisboa) — Blogueiro e youtuber. Alvo de busca e apreensão em junho de 2020 (Inq. Atos Antidemocráticos). Canal desmonetizado pelo TSE em agosto de 2021. Redes sociais bloqueadas.

Adilson Nelson Dini (Ravox Brasil) — Youtuber. Alvo de busca e apreensão em junho de 2020 (Inq. Atos Antidemocráticos). Prestou depoimento à PF. Canal desmonetizado pelo TSE em agosto de 2021. Redes sociais bloqueadas.

Emerson Teixeira de Andrade ("Professor Opressor") — Youtuber e professor. Alvo de busca e apreensão em junho de 2020 (Inq. Atos Antidemocráticos). Prestou depoimento à PF. Canal desmonetizado pelo TSE em agosto de 2021.

Camila Abdo Leite do Amaral Calvo ("Divas da Opressão") — Youtuber. Alvo de busca e apreensão em junho de 2020 (Inq. Atos Antidemocráticos). Prestou depoimento à PF. Canal desmonetizado pelo TSE em agosto de 2021.

Alberto Junior da Silva — Youtuber (canal O Giro de Notícias). Alvo de busca e apreensão em junho de 2020 (Inq. Atos Antidemocráticos). Canal desmonetizado pelo TSE em agosto de 2021.

Roberto Boni (Canal Universo) — Youtuber. Alvo de busca e apreensão em junho de 2020 (Inq. Atos Antidemocráticos). Canal desmonetizado pelo TSE em agosto de 2021.

Marcelo Frazão de Almeida — Engenheiro e influenciador digital. Alvo de busca e apreensão em junho de 2020 (Inq. Atos Antidemocráticos). Canal desmonetizado pelo TSE em agosto de 2021.

Winston Lima — Blogueiro e organizador de atos pró-governo. Alvo de busca e apreensão em maio de 2020 (Inq. 4.781). Quebra de sigilo bancário determinada por Moraes.

Edson Pires Salomão (Movimento Conservador) — Ativista e influenciador digital. Alvo de busca e apreensão em maio de 2020 (Inq. 4.781).

Enzo Leonardo Suzin ("Enzuh") — Youtuber. Alvo de busca e apreensão em maio de 2020 (Inq. 4.781).

Paulo Gonçalves Bezerra — Influenciador digital. Alvo de busca e apreensão em maio de 2020 (Inq. 4.781).

Rodrigo Barbosa Ribeiro (página "Movimento Conservador") — Assessor do deputado estadual Douglas Garcia e responsável pela página "Movimento Conservador". Alvo de busca e apreensão em maio de 2020 (Inq. 4.781).

Marcelo Stachin — Membro de grupo bolsonarista que organizou manifestações na Praça dos Três Poderes. Alvo de busca e apreensão em maio de 2020 (Inq. 4.781).

Ernani Fernandes Barbosa Neto — Mantinha página de apoio ao governo. Alvo de busca e apreensão em junho de 2020 (Inq. Atos Antidemocráticos).

Thais Raposo Chaves — Mantinha página de apoio ao governo. Alvo de busca e apreensão em junho de 2020 (Inq. Atos Antidemocráticos).

Valter Cesar Oliveira — Influenciador. Alvo de busca e apreensão em junho de 2020 (Inq. Atos Antidemocráticos).

General Paulo Chagas — General da reserva, candidato ao governo do DF em 2018. Alvo de busca e apreensão em abril de 2019, nas primeiras operações do Inq. 4.781. Teve celulares e computadores recolhidos. Redes sociais bloqueadas.

Richards Dyer Pozzer ("Dedé Pozzer") — Influenciador digital e empresário. Preso em julho de 2024 na 4ª fase da Operação Última Milha (Abin Paralela), por envolvimento com o Gabinete do Ódio e produção de notícias falsas.

Rogério Beraldo de Almeida ("Dallas Cowboy" / "DallasGin") — Influenciador digital. Alvo de mandado de prisão na Operação Última Milha em julho de 2024 (Abin Paralela). Ficou foragido.

Mateus de Carvalho Sposito — Ex-assessor da Secom no governo Bolsonaro e influenciador. Preso na 4ª fase da Operação Última Milha em julho de 2024 (Abin Paralela), acusado de integrar o "Gabinete do Ódio".

Alexandre Garcia — Jornalista veterano e comentarista político (Jovem Pan, Revista Oeste, Gazeta do Povo). Listado entre os alvos de investigação no âmbito dos inquéritos. Em setembro de 2023, a AGU determinou investigação por suposta desinformação.
Monark (Bruno Monteiro Aiub) — Influenciador digital e podcaster. Redes sociais bloqueadas por ordem de Moraes em junho de 2023 (Inq. 4.923 — Atos de 8 de janeiro). Contas bancárias bloqueadas. Monetização suspensa. Multa de R$ 300 mil por descumprir decisão judicial. Perfis reativados em fevereiro de 2025 com restrições e multa diária.
Ed Raposo — Influenciador digital e youtuber de direita. Alvo de busca e apreensão por ordem de Moraes em agosto de 2024, em endereços no Espírito Santo, no âmbito da Operação Disque 100. Conduzido para depoimento na PF. Teve contas no YouTube e no X (antigo Twitter) suspensas
Read 4 tweets
Mar 12
Tu nervio vago decide cuánto tiempo vives.

¿Lo que da miedo? Uno de cada tres adultos tiene un nervio vago débil, lo que provoca estrés constante, falta de sueño e inflamación crónicamente elevada.

Aquí te explicamos cómo comprobar si el tuyo está "roto" y cómo arreglé el mío: Image
El nervio vago conecta el cerebro con el intestino, el corazón y los pulmones.

Cuando funciona, reduce la frecuencia cardíaca, reduce la presión arterial y mejora la digestión.

Pero la mayoría de las personas tienen un nervio vago débil debido al estrés, la falta de sueño y la estimulación constante (razón por la cual la ansiedad, los problemas intestinales y el agotamiento están en todas partes):Image
Si eresTe alteras fácilmente, te cuesta relajarte, te cuesta dormirte o lidias con la ansiedad; las siguientes técnicas cambiarán tu funcionamiento DIARIO. Empecemos:
Read 14 tweets
Mar 12
1/7: Polska wnioskowała z SAFE 43,7 mld EUR — największą jednorazową pożyczkę w historii państwa. Rząd mówi: to inwestycja w bezpieczeństwo. Ja mówię: to przebiegły biznesplan, który wzmacnia nie Polskę, lecz francusko-niemiecki przemysł zbrojeniowy. Thread 🧵
2/7 Klucz to klauzula 65% — wymóg, by tyle kosztów komponentów pochodziło z UE. Brzmi rozsądnie. Problem: kraje grupy LoI (FR, DE, IT, ES, SE) mają 70-80% europejskiej bazy przemysłowej.
3/7 Niemcy nie biorą ani euro z SAFE. Mają Sondervermögen — 650 mld EUR na zbrojenia w 5 lat. Bez warunkowości KE, bez klauzuli 65%. Inwestują we własny przemysł na własnych warunkach. Jednocześnie zarabiają na zamówieniach krajów, które się zadłużają.
Read 7 tweets
Mar 12
1/ Tracking the EV Race: Who is Super-Charged?
2/ Charging stations are a major constraint on the sales of EVs. A single Chinese EV manufacturer—BYD (in which Warren Buffett was one of the early investors)—announced that by the end of 2026, it will build an additional 20,000 charging stations across China. Moreover, with new technology at these stations, drivers can charge their cars’ batteries in 5 minutes.
3/ How many charging stations are there in the entire US today?
Read 8 tweets
Mar 12
I showed 20 women texts from men they'd ghosted and asked one question:

"Where exactly did he lose you?"

Not one of them pointed to a word he said.

Every single one pointed to a word he didn't say.

That answer changed everything I thought I knew about texting... 👇🏻
1. Say less than you feel. Every time.

Every man they showed me had one thing in common, he said too much too soon.

She knew exactly where she stood before she'd decided where she wanted to stand.

That certainty killed it before it had a chance to become anything.
2. The text he didn't send was more powerful than the one he did

One woman showed me a conversation where everything was going well.

Then he replied to her joke with a paragraph.

She said "right here. That's where I lost interest."

She felt like she was being smothered.
Read 15 tweets
Mar 12
The Bronx Zoo is currently caring for a stowaway red fox that was discovered in February aboard a ship arriving at the Port of New York and New Jersey from Southampton, England. (1/5) Image
The male, red fox is estimated to be about two years of age and was detected among the ship’s cargo. Once the animal was safely secured by United States Customs and Border Protection (CBP), they coordinated with government wildlife officials to bring him to the Bronx Zoo. (2/5)
The Bronx Zoo regularly works with government agencies and other partners to help rescue wildlife that is illegally trafficked through nearby ports and airports or in rare cases like this where an animal is a stowaway. (3/5)
Read 5 tweets
Mar 12
Steadily escalating over the 80s, but exploding since Al-Aqsa Flood is a process of refractory genocidal projection, happening in tandem to the ongoing genocide of Palestinians, towards Shi'a, identified as the most intimate symbol-from-without of the Palestinian cause
While genocides are usually thought of within neatly delineated frames of victim groups, in practice, the naturally paranoiac genocidal process proceeds through binding various communities -- racial, religious, or political -- as bearers of guilt & targets for eradication
You have the dyadic figure of the Judeo-Bolshevik during WW2, the triadic murder of ethnic Viets, Champa Muslims, and "Viets in Khmer clothing" in Cambodia, and the regularized connection between "5th columns" and foreign aggressions in other genocides.
Read 4 tweets
Mar 12
Debat over de Amsterdamse binnenstad. #draad #erbij #live Image
Dit is een debat over drukte en over toerisme, denk ik. Er slingert hier een notitie over dat onderwerp rond. Image
Dit is in de Uilenburgersjoel. Zes partijen doen mee en ik denk dat het CDA er een van is. Image
Read 49 tweets
Mar 12
في مقال تحليلي نُشر بصحيفة "يديعوت أحرونوت"، يطرح يوئيل غوزانسكي الباحث في معهد أبحاث الأمن القومي الإسرائيلي السيناريو المتشائم؛ محذراً من أن إعلان النصر قد يكون قاصراً، وأن "الجرح الإيراني" قد يولد اندفاعة نووية غير مسبوقة.. تابع السلسلة⬇️ Image
يرى غوزانسكي أن الإغراء بإعلان النصر مفهوم، فالضربات التكتيكية التي وجهتها إسرائيل وأمريكا للمرافق العسكرية والبنية التحتية الإيرانية قوية وحقيقية. لكن السؤال الجوهري ليس "ماذا دُمّر؟" بل "ما الذي تغير؟". فنواة السلطة، والحرس الثوري، والأيديولوجيا لا تزال قائمة ولم تهتز.⬇️
التحليل يشير إلى أن إنجازات الحرب الحالية تقتصر على "تقليص القدرات"، وهو وضع "قابل للعكس" بالتعريف العسكري. الأنظمة تتعلم، وتتكيف، وتعيد البناء. التاريخ في الشرق الأوسط يخبرنا بأن هذه الحرب قد لا تكون "نهاية القصة"، بل مجرد فصل دامٍ آخر فيها.⬇️
Read 8 tweets
Mar 12
There are major issues with this analysis and the claim that an Iranian Shahed costs $7,000 is highly questionable. Thread.
The first problematic assumption is the, widely reported, claim that the LUCAS is a copy of the Shahed 136. Well, the question is how do you define copy? In its basic concept and its aerodynamic layout, the LUCAS is certainly strongly inspired by the Shahed. Image
Image
But if you go deeper into the specs, you’ll see that the LUCAS is actually a smaller, lighter and shorter-range design than the Shahed 136 / Geran-2. This has significant implications for unit cost. Image
Read 15 tweets
Mar 12
🇬🇪The OSCE’s Moscow Mechanism report on Georgia is out.
It is one of the most serious international assessments of the country’s democratic trajectory in years.
Here are the key findings policymakers should understand ⬇️
1/21 Image
The report concludes that Georgia has undergone marked democratic backsliding since spring 2024.
2/21
It identifies a pattern that includes:
🔹violence against protesters and journalists
🔹impunity for perpetrators
🔹restrictive laws targeting civil society and media
🔹prosecutions against opposition leaders
🔹shrinking political pluralism.
3/21
Read 22 tweets
Mar 12
6 Undervalued Businesses with a Strong Moat

1/ Mercado Libre

$MELI is the best company in Latin America, which is down over 30% from June highs.

The company maintains a powerful moat through its integrated ecosystem, which locks in users by seamlessly combining:

- E-commerce
- Fintech
- Loans
- Logistics

This creates a massive network effect where a growing buyer base attracts more merchants, while its proprietary logistics network provides a level of delivery speed and reliability.

Key Segments are exploding:

E-com Services $2.3B ➡️ $12.8B
E-com Products $255M ➡️ $3.5B
Fintech $1.1B ➡️ $6.7B
Credit $246M ➡️ $5.9B

- 78M Fintech Users
- 121M E-com Buyers
- $65B GMVImage
Image
2/ Google

$GOOGL is the best positioned to thrive in the AI age. Its moat is built on a data-driven feedback loop, generating an unmatched volume of data that continuously refines its algorithms and ad targeting.

This dominance is reinforced by a multi-layered ecosystem consisting of:

- AI
- Search
- Cloud
- YouTube
- Android
- Waymo

Key Segments are delivering:

Search $69.8B ➡️ $224.5B
YouTube $8.2B ➡️ $40.4B
Google Network $17.6B ➡️ $29.8B
Subscriptions, Platforms $10.9B ➡️ $48B
Cloud $4.1B ➡️ $58.7BImage
3/ Uber

$UBER is down 25% from October because of AI disruption fears, yet they are well-positioned to become a platform for robotaxi deployment.

Their moat comes from 202M customers spending $193B on Uber's platform.

The company maintains its dominance through a powerful two-sided network effect, where a massive pool of drivers ensures low wait times for riders, which in turn attracts even more drivers to the platform’s high demand. This scale is further fortified by its cross-platform ecosystem, as the integration of ride-sharing, food delivery, and freight services lowers customer acquisition costs and increases user stickiness.

Getting customers to download another app is a tall order.

As robotaxi technology gets better, deploying it on Uber is the easiest way to monetise it, as Uber owns the customers.

Key Segments are delivering:

Mobility $7.3B ➡️ $29.7B
Delivery $587M ➡️ $17.2B
Freight $67M ➡️ $5.1BImage
Read 6 tweets
Mar 12
This is part 3 of the @genspect Life Beyond Transition conference in Washington DC. To start from the beginning, click here:

The legal panel is underway. (l-r) Kevin Keller (mod), Daniel Cragg, Jonathan Alexandre, Hal Frampton, Kathleen Dooley. Image
KK sets out his view: “this is a great evil in the world… foisting a great untruth, a lie on society: gender ideology”
I don't think the rest of the panel would disagree. They are involved in bringing lawsuits against doctors who practice gender medicine.
Read 22 tweets
Mar 12
Max Fawcett who is generally unreadable on Canadian politics is quite good on NDP politics and wonders if the NDP is heading for oblivion. 1/ nationalobserver.com/2026/03/11/opi…
"Heading for oblivion" is the optimistic take. But for the party's provincial premierships the NDP has reached oblivion with no obvious way back. As Fawcett points out, if its sole Que MP quits it will have no MPs East of Manitoba. 2/
Avi Lewis is seen as the front runner in the federal leadership race and Fawcett does a pretty good job of dissecting why this is not going to help. Begin with Lewis' French, move to LEAP and the academic left. 3/
Read 4 tweets