Hacker Noon - python

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

Build a Two-Pane Market Brief MVP in Streamlit

Streamlit is a tool-backed market brief copilot app. It uses EODHD tools and a single `run_brief()` function. It has a two-pane layout: brief on the left, numbers on the right. It's designed to feel like a product screen, not a chat window.

Read All

CPython Lists, Explained Like You’re the Interpreter

CPython lists are actually static arrays. Understanding their contiguous memory layout explains why append() is cheap but insert() is expensive. Here is the mental model required for interviews.

Read All

Agents Can Pay and Talk—So Why Can’t They Register?

AgentDoor is a middleware that adds a machine-readable front door to your API. When an AI agent hits your service, instead of navigating a human signup flow, it does this. Agents are hitting your endpoints through hacky browser automation, scraping your docs, and reverse-engineering your auth flows.

Read All

This Tiny Python Script Runs Encrypted Code Straight From Memory

This program will execute XOR encrypted ciphertext (Python code) when provided the right passphrase or key, in memory. In this example, the encrypted code outputs, “Hello, lets go to google.com.” to the terminal. It then creates a connection to Google.com and retrieves the homepage using urllib3.request.

Read All

Slashdot

News for nerds, stuff that matters

Discord Rival Maxes Out Hosting Capacity As Players Flee Age-Verification Crackdown

Following backlash over Discord's global rollout of strict age-verification checks, users are flocking to rival platform TeamSpeak and overwhelming its servers. According to PC Gamer, the Discord alternative said its hosting capacity has been maxed out in a number of regions including the U.S. From the report: [A]s I saw for myself while testing out free Discord alternatives, it's hard to deny the appeal of TeamSpeak. It's quick and easy to make an account, join or start a group chat, or join a massive, game-based community voice server, and at no point does TeamSpeak cheekily ask if it can scan your wizened visage.

During my testing, I was able to dive into 18+ group chats without tripping over an age gate. However, there's no guarantee TeamSpeak won't have to deploy its own age verification mechanism in the future. In the UK at least, the Online Safety Act makes those sorts of checks a legal obligation, with Prime Minister Keir Starmer recently stating "No social media platform should get a free pass when it comes to protecting our kids."

Besides all of that, if you'd rather not chat to randoms who also happen to have an unhealthy obsession with Arc Raiders, you'll likely need to pay an admittedly small subscription fee to rent your own ten-person community voice server. By that point, you're handing over card details and essentially fulfilling an age assurance check anyway. If you'd rather limit how much info your chat platform of choice has about you, there are arguably better options out there.

Read more of this story at Slashdot.

Apple Is Reportedly Planning To Launch AI-Powered Glasses, a Pendant, and AirPods

According to Bloomberg's Mark Gurman (paywalled), Apple is reportedly developing AI-powered smart glasses, a wearable pendant, and camera-equipped AirPods that connect to the iPhone and use "visual context" to let Siri perform real-world actions. The Verge reports: Apple is reportedly aiming to start production of its smart glasses in December, ahead of a 2027 launch. The new device will compete directly with Meta's lineup of smart glasses and is rumored to feature speakers, microphones, and a high-resolution camera for taking photos and videos, in addition to another lens designed to enable AI-powered features.

The glasses won't have a built-in display, but they will allow users to make phone calls, interact with Siri, play music, and "take actions based on surroundings," such as asking about the ingredients in a meal, according to Bloomberg. Apple's smart glasses could also help users identify what they're seeing, reference landmarks when offering directions, and remind wearers to complete a task in specific situations, Bloomberg reports.

The company is reportedly planning to develop the frames for the smart glasses in-house, instead of partnering with a third-party company like Meta does with Ray-Ban and Oakley. Prototypes of the glasses use a cable to connect to a battery pack and an iPhone, but Bloomberg reports that "newer versions have the components embedded in the frame." Apple reportedly wants to make its smart glasses stand out by offering a high-quality build and advanced camera technology. The company is still working on AI-powered smart glasses with a display, though their launch "remains many years away," Bloomberg says.

Apple's plans for AI hardware don't end there, as the company is expected to build upon its Google Gemini-powered Siri upgrade with an AirTag-sized AI pendant that people can either wear as a necklace or a pin. This device would "essentially serve as an always-on camera" for the iPhone and has a microphone for prompting Siri, Bloomberg reports. The pendant, which The Information first reported on last month, is rumored to come with a built-in chip, but will mainly rely on the iPhone's processing power. The device could arrive as early as next year, according to Bloomberg.

Read more of this story at Slashdot.

The Register

Biting the hand that feeds IT — Enterprise Technology News and Analysis

Indian conglomerate Adani plans very slow $100 billion AI datacenter build

PM Modi tells citizens AI will lift them up, not take their jobs

Giant Indian industrial conglomerate Adani has said it will spend up to $100 billion on AI datacenters to equip the nation with sovereign infrastructure, but will do so at slower pace than Big Tech tech companies plan to bring their own bit barns to Bharat.…

Found Photo Booth photograph

Thomas Hawk posted a photo:

Found Photo Booth photograph

The Marlon D. Beltran Collection

Thomas Hawk posted a photo:

The Marlon D. Beltran Collection

handwritten on negative sleeve, "March-April, 1984"

The Guardian

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

Trump officials sued over effort to ‘erase history and science’ in national parks

National Park Service also sued for removing rainbow Pride flag from Stonewall national monument in New York

Conservation and historical organizations sued the Trump administration on Tuesday over National Park Service policies that the groups say erase history and science from America’s national parks.

A lawsuit filed in Boston says orders by Donald Trump and interior secretary Doug Burgum have forced park service staff to remove or censor exhibits that share factually accurate and relevant US history and scientific knowledge, including about slavery and climate change.

Continue reading...