AI News Feed

Trump Lashes Out at ‘Scum’ for Revealing Bombing Was Botched

Posted on r/politics | Score: 24417 | Comments: 1410

Donald Trump criticized media outlets as 'scum' for revealing that his strikes on Iran's nuclear facilities were less effective than claimed, despite conceding the accuracy of a leaked intelligence report. The report indicated the strikes only set back Iran's nuclear program by months, not decades as Trump asserted. Defense Secretary Pete Hegseth defended the operation as a success and announced an FBI investigation into the leak.

Key Points:
  • Trump lashed out at media outlets like CNN and The New York Times for reporting on the leaked intelligence report.
  • The leaked report revealed that the strikes on Iran's nuclear facilities only delayed their program by months, not decades.
  • Trump initially dismissed the report as fake news but later conceded its accuracy while still claiming 'total obliteration.'
  • Defense Secretary Pete Hegseth defended the operation and announced an FBI investigation into the leak.
  • The strikes, dubbed 'Midnight Hammer,' involved the first combat use of 30,000-pound bunker-buster bombs.

""The intelligence was very inconclusive, the intelligence says ‘we don’t know, it could have been very severe’," he told reporters. "That’s what the intelligence says. So I guess that’s correct.""

— From the article
Read Original Article → View Reddit Discussion →

US officials forced to share bald JD Vance meme by denying tourist’s claim he was denied entry over photo

Posted on r/politics | Score: 11262 | Comments: 414

A Norwegian tourist, Mads Mikkelsen, claimed he was denied entry to the US after customs agents found a meme of Vice President JD Vance on his phone. US officials denied this, stating he was actually denied entry due to admitted drug use. The story gained traction online, prompting Customs and Border Protection to issue a public denial.

Key Points:
  • Norwegian tourist Mads Mikkelsen claimed US officials denied him entry after finding a meme of JD Vance on his phone.
  • Customs and Border Protection denied the claim, stating Mikkelsen was denied entry for admitting to drug use.
  • The story spread online, leading to official statements refuting the meme-related denial.
  • Mikkelsen alleged agents threatened fines or prison if he didn't provide his phone password.
  • Homeland Security deputy secretary Tricia McLaughlin called the meme story 'false' and 'BS'.

"Fact Check: FALSE,” the CBP wrote on X. “Mads Mikkelsen was not denied entry for any memes or political reasons, it was for his admitted drug use.”"

— From the article
Read Original Article → View Reddit Discussion →

Stephen Miller Invokes Racist Conspiracy Theory To Dismiss Mamdani

Posted on r/politics | Score: 6940 | Comments: 698

The article discusses Stephen Miller's reaction to Zohran Mamdani's victory in the New York City Democratic mayoral primary, where Miller invoked the racist 'great replacement theory' to blame immigrants for the outcome. The piece highlights Miller's history of promoting this conspiracy theory and the broader MAGA response to Mamdani's win.

Key Points:
  • Stephen Miller used the 'great replacement theory' to dismiss Zohran Mamdani's mayoral primary victory.
  • Miller has a history of promoting racist conspiracy theories about demographic replacement.
  • Mamdani's win has triggered a racist backlash from the MAGA world, dubbed 'Mamdani derangement syndrome.'
  • The article critiques Miller's and Trump's rhetoric as rooted in bigotry and misinformation.

"Miller has long elevated the racist right-wing conspiracy theory, which posits that liberal elites are ushering in immigrants to replace native-born Americans and thereby make electoral gains."

— From the article
Read Original Article → View Reddit Discussion →

Trump, 79, Melts Down in Incoherent Rant About 'Hero Pilots'

Posted on r/politics | Score: 6128 | Comments: 529

Former President Donald Trump, 79, criticized the media for allegedly demeaning military pilots after a leaked intelligence report suggested limited damage from U.S. strikes on Iranian nuclear facilities. Trump insisted the mission was successful and praised the pilots, while the media maintained they were only reporting on the intelligence assessment.

Key Points:
  • Trump accused the media of demeaning military pilots after a leaked intelligence report on Iran.
  • He claimed the mission was successful and praised the pilots, despite the report suggesting limited damage.
  • The media defended their reporting, stating they were not criticizing the pilots but discussing the intelligence assessment.
  • The mission, Operation Midnight Hammer, involved B-2 stealth bombers and was a major logistical feat.
  • Defense Secretary Pete Hegseth also criticized the media for the leak without disputing the assessment's content.

"“They’re the best shots in the world. They call them shots, that’s what they are, and wait a minute, and I just hope you can give them the respect they deserve because they came home to fake news and like gosh, oh gee, there was hardly any damage,” Trump said of the pilots."

— From the article
Read Original Article → View Reddit Discussion →

Tips for developing large projects with Claude Code (wow!)

Posted on r/ClaudeAI | Score: 523 | Comments: 48

The article shares practical tips from an experienced software engineer for managing large projects using Claude Code, emphasizing structured documentation, repository organization, and automated planning commands. These strategies help optimize Claude's context usage and streamline project management.

Key Points:
  • Define a clear documentation structure in `CLAUDE.md` to help Claude utilize context effectively and track decisions.
  • Break the project into multiple repositories to minimize context window overload and maintain natural system boundaries.
  • Use a slash command (e.g., `/plan`) in `.claude/plan.md` to automate sprint planning and grooming processes.
  • Organize documentation into numbered categories (e.g., Foundations, Strategy, Product) for clarity and accessibility.
  • Maintain separate repos for core components (e.g., CLI, schemas) to keep context focused and manageable.

"These documents are crucial to help Claude make the best use of it's context, as well as provide shortcuts to understanding decisions we've already made."

— From the article
Read Original Article → View Reddit Discussion →

OpenAI is Ditching TypeScript to Rebuild Codex CLI with Rust

Posted on r/programming | Score: 384 | Comments: 188

OpenAI is transitioning its Codex CLI from TypeScript to Rust to improve performance, security, and flexibility. The Rust version aims to offer better installation, native security bindings, and runtime performance, while also evolving into a cross-language, plug-in-friendly runtime. The move reflects a broader industry trend towards native development tools.

Key Points:
  • OpenAI is rebuilding Codex CLI in Rust to replace the TypeScript version for better performance and security.
  • The Rust version will improve installation, native security bindings, and runtime performance with lower memory consumption.
  • The CLI aims to become a cross-language, plug-in-friendly runtime for model-based automation.
  • The transition is methodical, with a roadmap prioritizing feature parity and quality-of-life improvements.
  • The shift aligns with a broader industry trend favoring native development tools like Rust and Go.

"We want to use the best tool for the job. Codex CLI may have launched with 'a neat terminal UI' built on React. However, he said that, at its core, the CLI functions as a tool working in a loop that keeps talking to the AI model and working with the system, instead of simply displaying a nice terminal interface."

— From the article
Read Original Article → View Reddit Discussion →

Twenty: Self-hosted CRM (alternative to Pipedrive, Salesforce...)

Posted on r/selfhosted | Score: 200 | Comments: 37

The article introduces Twenty, an open-source CRM alternative to Salesforce, designed to address the high costs and data lock-in issues of traditional CRMs. It emphasizes community-driven development and modern UX inspired by tools like Notion and Linear.

Key Points:
  • Twenty is a modern, open-source CRM alternative to Salesforce.
  • It aims to solve issues like high costs and data lock-in prevalent in traditional CRMs.
  • The project is community-powered, with hundreds of developers contributing.
  • Features include customizable layouts, object and field customization, and workflow automation.
  • Built with TypeScript, Nx, NestJS, and other modern technologies.

"We built Twenty for three reasons: CRMs are too expensive, and users are trapped. Companies use locked-in customer data to hike prices. It shouldn't be that way."

— From the article
Read Original Article → View Reddit Discussion →

I built a relational database from scratch in Go achieving 1,800+ ops/sec

Posted on r/programming | Score: 169 | Comments: 65

FiloDB is a lightweight relational database management system built in Go, designed for fast and reliable data storage with ACID compliance. It incorporates modern database techniques like B+ tree indexing, memory-mapped I/O, and concurrent transaction processing.

Key Points:
  • Built from the ground up in Go for high performance and reliability.
  • Implements modern database concepts including B+ tree indexing and memory-mapped I/O.
  • Supports ACID compliance for transaction reliability.
  • Features an interactive CLI with built-in performance metrics and monitoring.
  • Lightweight with no external dependencies, optimized for cross-platform use.

"FiloDB is a lightweight relational database management system designed for applications requiring fast, reliable data storage with ACID compliance. Built from the ground up in Go, it implements modern database concepts including B+ tree indexing, memory-mapped I/O, and concurrent transaction processing."

— From the article
Read Original Article → View Reddit Discussion →

Selfhost pocket-id, fully rootless and distroless and 3x smaller than the original image!

Posted on r/selfhosted | Score: 74 | Comments: 37

The article introduces a Docker image for running pocket-id, an OIDC provider, in a rootless and distroless manner for enhanced security. It highlights the image's advantages over traditional images, including smaller size, no shell access, and immunity to upstream attacks. The article also provides a comparison with other images and instructions for deployment using Docker Compose.

Key Points:
  • Pocket-id is an OIDC provider that allows authentication with passkeys.
  • The Docker image runs rootless and distroless for maximum security.
  • It has no shell access, no critical CVEs, and is maintained via CI/CD.
  • The image is smaller (20.7MB) compared to others (68.9MB).
  • Deployment instructions and volume configurations are provided for Docker Compose.

"This image runs as 1000:1000 by default, most other images run everything as root. This image has no shell since it is distroless, most other images run on a distro like Debian or Alpine with full shell access (security)."

— From the article
Read Original Article → View Reddit Discussion →

What are your top Ntfy usecases?

Posted on r/selfhosted | Score: 27 | Comments: 37

The article discusses various use cases for Ntfy, a notification service, including monitoring SSH logins, UptimeKuma, and Scrutiny.

Key Points:
  • Ntfy is used for monitoring SSH logins.
  • It integrates with UptimeKuma for notifications.
  • It also works with Scrutiny for monitoring purposes.
  • The service is versatile for different monitoring needs.
  • It provides real-time alerts for system activities.

"I use it to notify me for every ssh login, UptimeKuma and Scrutiny."

— From the article
Read Original Article → View Reddit Discussion →

If there were a successful Georgist charter city (or multiple), that could in theory lead to a domino effect where much of the land monopoly extortion racket implodes

Posted on r/georgism | Score: 21 | Comments: 1

The article introduces charter cities as new urban areas with special jurisdiction to implement governance and policy reforms, aiming to accelerate economic growth in developing countries. It highlights successful examples like Shenzhen and Singapore, and outlines a model for creating such cities.

Key Points:
  • Charter cities are granted special jurisdiction to create new governance systems and enact policy reforms.
  • They aim to improve governance and attract investment by implementing best practices in a limited geographic area.
  • Successful examples include Shenzhen, Hong Kong, Singapore, and Dubai, which transformed from impoverished to world-class cities.
  • The Charter Cities Institute proposes a model involving greenfield sites, new independent administrations, and wide-ranging legal authority.
  • Charter cities can serve as a replicable foundation for economic success in low-income countries.

"Governance is a key determinant of a country’s economic trajectory. Unfortunately, politics often prevents needed reforms from being implemented at the national level. Because charter cities cover limited geographic areas, their administrations can pursue deeper reforms than would otherwise be possible."

— From the article
Read Original Article → View Reddit Discussion →

What is meant by "We must make land common property" - Frank Chodorov

Posted on r/georgism | Score: 18 | Comments: 4

Frank Chodorov discusses Henry George's assertion that land must be made common property, arguing that private ownership of land is unethical because land is not produced by individuals. He emphasizes that the essence of land ownership lies in the right to collect rent, and public collection of rent would abolish private property in land while securing private use.

Key Points:
  • Henry George's repeated assertion that private property in land must be abolished is central to his solution for poverty.
  • Private ownership of land is unethical because land is not produced by individuals, making its ownership a form of robbery.
  • The essence of land ownership is the right to collect rent, not just the use of the land.
  • Public collection of rent would deny private property in land but secure private use.
  • The argument that rent is public property by nature is irrefutable due to land's unique, unproduced character.

"The very fact that land is not produced by man gives it a character that nothing else in the world has."

— From the article
Read Original Article → View Reddit Discussion →

The Need for Radical Tax Reform - article by Duncan Pickard

Posted on r/georgism | Score: 16 | Comments: 1

The article argues for radical tax reform, advocating for a Land Value Tax (LVT) as a more efficient and fair alternative to current taxes on income and trade. It highlights the inefficiencies and negative impacts of existing tax systems, such as deadweight losses, and emphasizes the unearned benefits landowners receive at the expense of wealth creators.

Key Points:
  • Current taxes on income and trade (like Income Taxes and VAT) create deadweight losses, costing the economy more than they generate.
  • Land Value Taxation (LVT) is proposed as a fairer and more efficient alternative, targeting unearned ground rent rather than productive activities.
  • The article critiques modern economics for neglecting classical economic theories that prioritize the study of wealth creation and distribution.
  • Historical economists like Adam Smith and Henry George advocated for taxing land rent as the primary government revenue source.
  • The current tax system unfairly benefits landowners, who capture wealth created by others.

"Our current tax system favours those who own landed property and take an unfair proportion of the Wealth which others have created."

— From the article
Read Original Article → View Reddit Discussion →

Reading NFC Passport Chips in Linux

Posted on r/programming | Score: 16 | Comments: 0

The article details how to read NFC passport chips using Linux, focusing on generating the Machine Readable Zone (MRZ) as a password to access the chip's data. It explores the security measures, potential brute-force vulnerabilities, and the author's experience with a cancelled passport.

Key Points:
  • The NFC chip in a passport is protected by a password derived from the MRZ, which includes the passport number, date of birth, and expiry date.
  • Cancelled passports can still be read if the back cover (where the NFC chip is located) remains intact.
  • The article provides Python code to generate the MRZ and discusses the cryptographic security of passport chips.
  • Brute-forcing a passport's password is theoretically possible but impractical due to the vast number of combinations.
  • The author used roeften's pypassport to successfully read passport data, including biometrics.

"Passports are generally valid for only 10 years. So that's 36,525 possible expiry dates. Passport holders are generally under 100 years old. So that's 3,652,500 possible dates of birth. That's already 133,407,562,500 attempts - and we haven't even got on to the 1E24 possible passport numbers!"

— From the article
Read Original Article → View Reddit Discussion →

Once more about dynamic_cast, a real use case

Posted on r/programming | Score: 12 | Comments: 0

The article discusses the use of dynamic_cast in C++ for versioning interfaces in an SDK, where newer versions inherit from older ones. It presents a real-world use case where dynamic_cast is necessary to determine the implemented interface version at runtime, despite generally being discouraged for readability reasons.

Key Points:
  • dynamic_cast is often discouraged due to readability issues, but there are valid use cases.
  • The article presents a scenario where dynamic_cast is used to handle versioned interfaces in an SDK.
  • The solution involves casting from the newest to the oldest interface version to ensure all features are called.
  • Alternative solutions are considered but may not be as effective in this context.
  • The example demonstrates how to avoid missing feature calls by correctly ordering the dynamic_cast checks.

"In this solution, it’s important to start casting from the newest version and go towards the oldest one. If in the previous listing, we change Server::handle and accidentally try to cast to InterfaceForSomeService_v1* before InterfaceForSomeService_v2* then we end up in a different branch and miss calling p->featureC() which is not part of the v1 API."

— From the article
Read Original Article → View Reddit Discussion →

Writing Toy Software Is A Joy

Posted on r/programming | Score: 7 | Comments: 2

The article advocates for writing toy software as a way to rediscover the joy of programming and deepen understanding of software development. It emphasizes simplicity and learning through creation, offering a list of toy projects with varying difficulty levels.

Key Points:
  • Writing toy software helps developers understand complex concepts by building them from scratch.
  • Toy programs follow the 80:20 rule, focusing on core functionality without over-engineering.
  • The author provides a list of toy projects, such as a regex engine and a GameBoy emulator, with estimated difficulty and time requirements.
  • Creating toy software can lead to unexpected insights and solutions applicable to professional work.
  • The article highlights the erosion of joy in software development due to industrialization and AI, advocating for a return to simple, creative coding.

"Some will tell you to avoid reinventing the wheel, but they’re wrong: you should build your own wheel, because it’ll teach you more about how they work than reading a thousand books on them ever will."

— From the article
Read Original Article → View Reddit Discussion →