
'Smell detectors' could be used to catch drug abuse - both inside and outside of prison
Tech companies have pitched the devices to prisons and probation minister James Timpson as a method to monitor criminals and prevent reoffending.
A smell detector which uses synthetic brain cells and artificial intelligence to detect drugs such as spice or fentanyl was among the proposals.
It could improve staff safety in prisons, and help detect if an offender in the community has breached their licence conditions.
AI cameras could also be set up in offenders' homes in the community to check their behaviour while on licence.
It comes as justice secretary Shabana Mahmood said emerging technology has the potential to "impose a digital prison outside a prison".
Lord Timpson said: "We inherited a justice system in crisis and in need of reform. Prisons and probation are working in analogue while tech drives forward a new digital age.
"That's why we have invited companies to present bold new ideas to help us deliver tough punishment and enhanced surveillance.
"Embracing new technologies will help us to protect victims, reduce reoffending and cut crime as part of our plan for change."
Other ideas that were pitched included software to help staff consistently input information on offenders and transcription tools to cut administrative tasks.
Decisions on the plans are expected over the coming months, with successful proposals to be considered for rollout under pilot schemes.
Hashtags

Try Our AI Features
Explore what Daily8 AI can do for you:
Comments
No comments yet...
Related Articles


BBC News
16 minutes ago
- BBC News
Hertfordshire Police incident causes M1 and M25 delays
A police incident on the M1 in Hertfordshire that led to the M25 also being closed has caused widespread disruption for morning Police said it shut the M1 northbound, between junctions 6 and 6A, at about 05:15 BST, with a subsequent closure also being put in place on the M25 around junction was temporarily diverted on to the A405 North Orbital Road and other surrounding said on X at 06:45 that the roads had been reopened but delays remained in the area. Follow Beds, Herts and Bucks news on BBC Sounds, Facebook, Instagram and X.


BBC News
20 minutes ago
- BBC News
Man arrested after teen girl reports rape in Wellingborough
A man has been arrested on suspicion of rape after a teenage girl reported being attacked in a incident happened close to Wellingborough's Embankment on Tuesday between 14:30 and 15:15 Police said the girl reported being raped and said the man then followed her but she was able to get away.A 21-year-old man from Newcastle was arrested on suspicion of rape and released on conditional bail. Police have appealed for any witnesses or anyone with dashcam footage to get in touch. Follow Northamptonshire news on BBC Sounds, Facebook, Instagram and X.


Geeky Gadgets
30 minutes ago
- Geeky Gadgets
Implement Automated Claude Code Hooks Notifications for Smarter Workflows
Have you ever found yourself anxiously checking your computer, waiting for a long-running task to finish? Whether it's training a machine learning model, running complex simulations, or processing massive datasets, the wait can feel endless—and distract you from other important work. Enter Cloud Code hooks, a innovative feature that lets you automate notifications and streamline workflows. Imagine receiving a simple text message the moment your AI agent completes its task, freeing you from constant monitoring. With hooks, you can turn this scenario into reality, transforming how you interact with your tools and reclaiming your focus. All About AI explores how Cloud Code hooks can transform your productivity, offering practical ways to automate repetitive tasks and stay informed without lifting a finger. From setting up notification hooks that text you when a task is done to integrating with tools like Twilio or GitHub, the possibilities are as flexible as they are powerful. You'll discover how these hooks can not only save time but also inject creativity into your workflows—think custom sound alerts or automated testing pipelines. By the end, you'll see how hooks aren't just a technical feature; they're a smarter way to work. Sometimes, the best innovations are the ones that let you step away. Streamlining Workflows with Hooks What Are Hooks and How Do They Work? Hooks in Cloud Code are categorized into four distinct types, each tailored to specific tasks that help you customize workflows to meet your unique requirements: Pre-tool use hooks: These prepare the environment before a tool is executed, making sure all prerequisites are in place. These prepare the environment before a tool is executed, making sure all prerequisites are in place. Post-tool use hooks: These execute tasks immediately after a tool completes, automating follow-up actions. These execute tasks immediately after a tool completes, automating follow-up actions. Notification hooks: These keep you informed by sending alerts about task progress or completion. These keep you informed by sending alerts about task progress or completion. Stop hooks: These trigger external actions, such as sending notifications, when a task finishes. By using these hooks, you can automate repetitive tasks, reduce manual intervention, and ensure workflows operate efficiently. Their versatility makes them an essential tool for developers aiming to streamline processes and maintain focus on critical tasks. How Notification Hooks Keep You Updated Notification hooks are particularly useful for tasks that require significant time to complete, such as training machine learning models or processing large datasets. Instead of manually monitoring progress, you can configure a 'stop' hook to notify you when the task is finished. For instance, by integrating with Twilio's API, you can set up Cloud Code to send a text message as soon as the task concludes. A practical example involves simulating a ping-pong match. Once the simulation ends, a stop hook can send a notification, making sure you stay informed without needing to check progress manually. This feature is especially valuable for long-running tasks where real-time updates are unnecessary but timely notifications are critical. Claude Code Hooks : 'Text Message Me When AI Agent is Done' Watch this video on YouTube. Check out more relevant guides from our extensive collection on Cloud Code that you might find useful. Automating Unit Testing for Python Code Hooks also simplify the process of automating unit tests for Python scripts, making sure your code meets quality standards with minimal manual effort. A 'post-tool use' hook can automatically generate and execute test cases, saving time and reducing the likelihood of errors. For example, if you're developing a Python script to identify prime numbers, the hook can create test cases to validate the script's accuracy. This automation ensures that your code is robust and reliable, making it an indispensable tool for developers focused on maintaining high-quality codebases. By integrating hooks into your development workflow, you can streamline testing processes and focus on building innovative solutions. Enhancing Version Control with GitHub Integration Version control is another area where hooks excel, offering seamless integration with platforms like GitHub to automate essential tasks. By linking hooks to GitHub workflows, you can ensure that version control processes are efficient and error-free. For example: After updating a README file, a post-tool use hook can automatically commit the changes and push them to the repository, saving time and making sure consistency. If you need to revert to a previous commit, a pre-tool use hook can prepare the environment for rollback, streamlining the process. This level of automation allows you to focus on development rather than administrative tasks, making sure that your version control practices remain consistent and efficient. Creative Applications of Hooks Beyond standard use cases, hooks open up opportunities for creative and practical applications that enhance both productivity and user experience. For example: Integrate sound notifications, such as a cat meow or a bell chime, to signal task completion, adding a touch of personalization to your workflows. Manage long-running tasks by connecting with external APIs, allowing advanced functionality and real-time updates. Automate repetitive tasks like code testing, deployment, or data processing, freeing up time for more complex and strategic work. These creative implementations demonstrate the flexibility of hooks, allowing you to design workflows that are not only efficient but also engaging and tailored to your specific needs. Expanding Possibilities with Hooks The versatility of hooks makes them suitable for a wide range of applications, from simple notifications to complex automation tasks. Key possibilities include: Receiving timely notifications for tasks that take hours to complete, making sure you stay informed without constant monitoring. Automating testing for large codebases, maintaining consistent quality across your projects. Streamlining version control processes with minimal effort, allowing you to focus on development rather than administrative overhead. Hooks' ability to integrate with tools like Twilio and GitHub further expands their potential, allowing you to create highly customized workflows. As Cloud Code continues to evolve, the opportunities for innovation and efficiency with hooks will only grow, making them an indispensable feature for developers and teams alike. Media Credit: All About AI Filed Under: AI, Guides Latest Geeky Gadgets Deals Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn about our Disclosure Policy.