Skip to main content

Posts

Showing posts with the label web

Trying to Understanding APIs and FastAPI: Practical Tools for Modern Software Development

Trying to   Understanding APIs and FastAPI : Practical Tools for Modern Software Development ✌ Application Programming Interfaces (APIs) are one of the fundamental building blocks of modern software development. An API allows different programs, services, or devices to communicate with each other in a structured way. Instead of one program needing to understand the entire internal workings of another, it simply sends a request and receives a response using clearly defined rules. APIs are everywhere: when a mobile app fetches weather information, when a website processes payments, or when a sensor device uploads data to a cloud service. In essence, APIs act like translators that allow separate systems to exchange information reliably. πŸ’ͺ One of the most common ways APIs are used today is through web-based APIs that operate over HTTP. These are often referred to as REST APIs ( Representational State Transfer ). In a REST-style API, clients send requests such as GET , POST , PUT ...

Designing A Private Network

πŸ“»πŸ“ŸπŸ“   I've been exploring potential options for designing a private network that gathers sensor data and delivers it securely to a central hub while also supporting two-way communication requires careful consideration of range, bandwidth, latency, security, and scalability. Whether you’re managing environmental monitors across farmland, tracking machinery in a factory, or aggregating building automation data, the right architecture ensures reliability and long-term flexibility. Below are four proven approaches, each suited to different operational needs. The first method is a local Ethernet or wired LAN architecture . In this setup, sensors connect via Ethernet (often using Power over Ethernet to simplify cabling) to switches that route traffic to a central on-site server or data hub. Two-way communication is straightforward: the hub can push configuration updates, firmware patches, or control commands back to the devices over the same secure channel. This method offers high ba...

Hallam University Taught Me New Things And Also How to Learn Even More

Hallam University Taught Me New Things Plus Also How to Learn Even More Now that I've finished my university journey, I’ve been reflecting on how much I’ve grown, not just in terms of knowledge, but in the very process of learning itself. University has opened my eyes to entire worlds of technology I never imagined exploring, from databases to Artificial Intelligence (AI), and from the Internet of Things (IoT) to programming. But what stands out most to me is how university has taught me not just new things, but also how to learn new things, even on my own. The New Things I’ve Learned When I first walked into university, I had a basic understanding of technology and programming. But the subjects I’ve encountered throughout my studies have completely transformed my perspective on what is possible. Here are just a few of the most exciting things I’ve learned: 1. Databases Learning about databases has shown me how the power of data is structured, stored, and retrieved. I never tr...

One Problem, Loads of Solutions

  One Problem, Loads of Solutions One of the things I love most about computer programming is that there’s rarely just one “correct” way to solve a problem. Give ten developers the same task and you’ll likely get ten different solutions - all of which might work perfectly well. In programming, the how often matters less than the does it work . The approach you choose is shaped by your own technical background, the time you have available, and the resources you can realistically access. If your solution works, then it works and you weren’t wrong just because someone else took a different route to get to the same destination. That’s something worth remembering, especially when comparing projects or reading other people’s code. A different solution doesn’t automatically mean a better or worse one; it just means different constraints, priorities, or preferences were at play. One developer might prioritise speed of development, another long-term scalability, and another simplicity or...

My Top Ten Tips for Being Health and Safety Aware When You’re Busy Being a Data Analyst

 πŸ’»πŸ’»πŸ’» Staying health- and safety-aware can be surprisingly difficult when your job keeps you glued to a screen, focused on reports, dashboards, and deadlines. These simple but effective tips will help you protect your wellbeing while maintaining productivity. 1. Prioritize Proper Desk Ergonomics πŸ’ΊπŸ’ΊπŸ’Ί Set up your chair, monitor, and keyboard so your body stays in a neutral, supported position—this reduces strain on your neck, shoulders, and back. 2. Follow the 20-20-20 Rule for Eye Health Every 20 minutes, look at something 20 feet away for 20 seconds to reduce eye strain from extended screen time. 3. Take Scheduled Micro-Breaks Short, regular breaks improve your comfort and concentration—set reminders to stand, stretch, or walk for a minute or two. 4. Keep Your Workspace Clutter-Free A tidy area prevents trip hazards, spilled drinks on electronics, and the stress that comes from a chaotic environment. 5. Stay Hydrated Throughout the Day Drinking enough water keeps yo...

Imperial Measurement Converter App Using A Python GUI

  Imperial measurement system converter app  I decided to spend an evening making a unit converter app without using an api to do the heavy lifting for me *and* with a python based gui because I haven't really made anything with one of them before and this is the result: πŸ‘πŸ‘πŸ‘      I installed Tinkter to get the GUI ( graphical user interface ) This is the GUI it produces when it's running.     The next job is to tidy up the code, it needs it.  Then I want to add some more functionality to it.  I can add volume conversion or weight .  I've always wanted to do some research into old money so I can add that to the app. After I've added a bit more functio Link to the app on github nality to it I'll find a way to host it on the public internet.     This is my advice to any other programmers out there:  Once you've got something working make the most of it because it's easier to add things onto something that's ...

Check Out Cuthbert's GitHub Pages site. https://cuthbert86.github.io/

This is a summary of my GitHub Pages site!   https://cuthbert86.github.io/ It is my personal corner of the web where I’m showcasing a range of projects and experiments as I learn more about web design and development. Whether you’re a fellow tech enthusiast, a curious visitor, or someone interested in learning alongside me, I hope you’ll find something interesting and useful here. The site is a living portfolio, featuring examples of my work as I explore different technologies and programming concepts. You’ll see projects built with HTML and enhanced with popular web tools like Bootstrap, giving my pages a clean and responsive look. I’m always updating and improving the design as I pick up new techniques, and many of the pages reflect my journey in web development. One of the highlights is my exploration of Python and its many applications. I’ve included projects that demonstrate data analysis, working with CircuitPython and MicroPython, and even connecting devices using MQTT....