Taking Building with the Claude API. Notes from today
- Streaming immediately sends back initial response indicating it has received the request and is starting to generate text
- Example
messages =[]add_user_message(messages, "Write a 1 sentence description a fake database.")with client.messages.stream( model=model, max_tokens=100, messages=messages ) as stream: for text in stream.text_stream: print(text, end="")
Spent way too much time looking for Arduino Kit and Robot arm and landed with these two in my shopping cart:
- SIYEENOVE Smart Robot Arm for Arduino & MicroPython ESP32 4DOF Programmable Robotic Arm Building Kit with Joystick/Web App Control for STEAM Educational, Motion Record & Loop Playback
- Amazon.com: SunFounder Ultimate Starter Kit Compatible with Arduino UNO IDE Scratch, 3 in 1 IoT/Smart Car/Basic Kit with Online Tutorials, Video Courses, 192 Items, 87 Projects, Suitable for Age 8+ Beginners
This Pope is awesome:
- Pope Leo’s ‘Magnifica humanitas’: AI must serve humanity not concentrate power – Vatican News
- Encyclical Letter of His Holiness Leo XIV Magnifica Humanitas (15 May 2026)
- “technology is never neutral, because it takes on the characteristics of those who devise, finance, regulate, and use it.”
- Technology can’t be in the hands of the few
- “Faced with this concentration of power in the digital world, the criteria for judgment and discernment in this new situation are the noble principles of Social Doctrine: the inalienable dignity of the human person, the common good, the universal destination of goods, subsidiarity, solidarity and social justice. They demand that we assess whether the power of digital infrastructures and algorithms truly fosters participation and responsibility, protects the vulnerable, ensures fair access to opportunities and remains directed toward the good of all.”
- “In the digital age, a just social order guarantees everyone equal access to opportunities, protects the youngest and weakest members of society, combats hate and misinformation and subjects the use of data and technology to public oversight, so that the guiding principle is not solely profit but the dignity of every person and the common good of all people.”
- “This entails a race for ever more powerful algorithms and larger datasets, driven by the desire to secure geopolitical or commercial dominance. To disarm means discrediting the assumption that technical power automatically confers the right to govern. To disarm does not mean rejecting technology, but preventing it from dominating humanity. It means freeing technology from monopolistic control and opening it to discussion and debate, therefore making it human-friendly and restoring it to the plurality of human cultures and ways of life. “
- “History does not appear solely as a record of human violence, but also as evidence that humanity is capable of creating institutions that protect our shared life.”
- ‘Indifference to the truth leads, slowly but surely, to a descent into totalitarianism. As the philosopher Hannah Arendt wrote, the ideal subjects of such regimes are not so much those who are ideologically convinced, but rather “people for whom the distinction between fact and fiction (i.e., the reality of experience) and the distinction between true and false (i.e., the standards of thought) no longer exist.”’
- “ Educating people about the use of AI, then, involves teaching them to decide when and for what purpose it ought not to be used.”
- “More than ever, in the age of AI and robotics, it is no longer possible to rely solely on the “invisible hand” of the market.”
- “When business models thrive on human weakness, the person is treated as a means rather than as an end; those who design or finance such systems bear a moral responsibility that cannot be ignored.”
- “No algorithm can make war morally acceptable. AI does not remove the intrinsic inhumanity of conflict; indeed it can only bring about conflict more quickly and render it more impersonal, lowering the threshold for resorting to violence, transforming defense into threat prediction and thus reducing victims to data. In this way, it will accustom us to the idea that violence is inevitable and needs only to be optimized.”
Re-reading The Second Machine Age and reading Empire of AI
- The term AI is largely marketing. Artificial is kind of a misnomer for something human made and Intelligence and AGI is ill-defined and kind of an ego-chase
Leave a Reply