June Week 1
Saturday, 08 June 2024

This is an extended version of the newsletter emailed to subscribers every Wednesday. It lists the week's news items, Book Review and additions to Book Watch and the week's two feature articles. This week Harry Fairhead and Mike James explore using the Raspberry Pi's GPIO library in Python  and Mike James looks at the basics of writing threadsafe code in C++.

To receive this digest automatically by email, sign up for our weekly newsletter.

I Programmer Logo Square

May 30 - June 05, 2024

Featured Articles

Pi IoT In Python Using GPIO Zero - Getting Input
03 Jun | Harry Fairhead & Mike James
article thumbnail

GPIO output is easy, input not so much. In this extract from our latest book on using GPIO Zero on the Raspberry Pi in Python, now designated as the default library for all Rapsberry Pi models, we look at how to get started.

Being Threadsafe - An Introduction to the Pitfalls of Parallelism
31 May | Mike James
article thumbnail

If you want to make your programs go faster in the future you have to take up the challenge of threading. In this article we look at the basics of writing threadsafe code and why things go wrong.


Programming News and Views

RoboForm hacked To Retrieve $3 Million BitCoin Wallet
05 Jun | Kay Ewbank
article thumbnail

The Roboform random password generator has been hacked to recover bitcoins worth over $3 million. The bitcoin had been inaccessible for 11 years after the password was lost.

Developers Like Code Assistants Even When They Are Incorrect
05 Jun | Sue Gee
article thumbnail

Over half of ChatGPT answers to programming questions contain misinformation, yet the majority of developers are still keen to use AI tools and report both personal satisfaction and increased productivity from using them.

Initialize Your Spring Boot Projects From The CLI
04 Jun | Nikos Vaggalis
article thumbnail

For the lovers of the command line, Spring Initializer Go is a tool with which you can initialize your Spring Boot projects without using the mouse. Is that essential?

DuckDB 1.0 Released
04 Jun | Kay Ewbank
article thumbnail

DuckDB 1.0 has been released following a successful release of the 0.10 version back in February that introduced a version of DuckDB with both forward and backward compatibility for DuckDB's storage format.

Get Started With Ollama's Python & Javascript Libraries
03 Jun | Nikos Vaggalis
article thumbnail

New libraries allow you to integrate new and existing apps with Ollama in just a few lines of code. Here we show you how to use ollama-python and ollama-javascript so that you can integrate Ollama's functionality from within your Python or Javascript programs.

Microsoft Reveals Preview C#13 Features
03 Jun | Kay Ewbank
article thumbnail

Microsoft has announced details of what will be included in C# 13. The news was announced at Microsoft's recent Build conference. The new version will have enhanced parameters, extension types, and several features to enhance performance.

SplitBody - Using EMS To Free Your Mind
02 Jun | Lucy Black
article thumbnail

Can automating a repetitive movement via electrical muscle stimulation reduce mental workload while users concurrently perform an unrelated task? The SplitBody research study from the University of Chicago's Human Computer Integration Lab shows that, yes, it can.

GitHub Announces 2024 Accelerator Cohort Winners
31 May | Kay Ewbank
article thumbnail

GitHub has announced the companies chosen to form the next cohort for GitHub Accelerator. Find out about this year's participating projects, all of which focus on AI.

IBM Launches The Granite Code LLM Series
31 May | Nikos Vaggalis
article thumbnail

IBM is introducing decoder-only code models for code generative tasks as part of its Granite collection. The models have been trained with code written in 116 programming languages and range in size from 3 to 34 billion parameters.

Final Date For VBScript Announced - What It Means
30 May | Kay Ewbank
article thumbnail

Microsoft has announced the official end of VBScript following years of reduced support. VBScript is one of the variations Microsoft created based on the original VB, and it has languished after the dropping of default support in Internet Explorer back in 2019.

GitHub and Gradle Partner To Strengthen Supply Chain Security
30 May | Nikos Vaggalis
article thumbnail

Integrating Gradle builds with Github's Actions promotes the best security practices among Gradle users. To do this there's a new official and open-source GitHub Action that generates complete and accurate information about dependencies in Gradle projects courtesy of Dependabot.


Books of the Week

If you want to purchase, or to know more about, any of the titles listed below from Amazon, click on the book jackets at the top of the right sidebar. If you do make Amazon purchases after this, we may earn a few cents through the Amazon Associates program which is a small source of revenue that helps us to continue posting.

Full Review

Learn Enough Python to Be Dangerous (Pearson)

Author: Michael Hartl
Publisher: Addison-Wesley
Date: June 2023
Pages: 448
ISBN: 978-0138050955
Audience: General
Rating: 2
Reviewer: Ian Elliot
Learning Python is a great idea but "enough to be dangerous"?

Book Watch

Murach's Python for Data Science 2nd Ed (Murach)

This book shows how to use Python libraries to get, clean, prepare, and analyze data at a professional level. Scott McCoy starts by showing how to use Pandas for data analysis and Seaborn for data visualization. He then goes on to show how to use Scikit-learn to create regression models that can be used to make predictions. To tie everything together, this book contains four realistic analyses that use real-world data.


Computer Architecture (No Starch Press)

This book is an in-depth exploration of the principles and designs that have shaped computer hardware through the ages, from counting devices like the abacus, to Babbage’s Difference Engine, to modern GPUs and the frontiers of quantum computing. Charles Fox's blend of history, theory, hands-on exercises, and real-world examples makes for an insightful romp through a fast-changing world.


The Afterlife of Data (University of Chicago Press)

Sooner than we think, the dead will outnumber the living on Facebook. In this thought-provoking book, subtitled "What Happens to Your Information When You Die and Why You Should Care", Carl Öhman explores the increasingly urgent question of what we should do with all this data and whether our digital afterlives are really our own—and if not, who should have the right to decide what happens to our data.




I Programmer has reported news for over 12 years. You can access I Programmer Weekly back to January 2012 for all the headlines plus the book reviews and articles.

To keep up with the latest news and receive this digest automatically by email, sign up for our weekly newsletter and follow us on Twitter, Facebook, and LinkedIn , where you are welcome to share all our stories.

You can also subscribe to our RSS Feeds - we have one for Full Contents , another for News and also one for Books with details of reviews and additions to Book Watch.

Send your programming press releases, news items or comments to : NewsDesk@i-programmer.info



<ASIN: 0138050953>



Last Updated ( Saturday, 08 June 2024 )