If you’re building a data app using Streamlit inside a Jupyter Notebook environment and run into mysterious errors or warnings—you’re not alone. Here’s a quick guide on two common issues and how to fix them. Error: Streamlit requires raw Python (.py) files, not .ipynb. Fix: Convert .ipynb to .py. by running the following in your terminal to convert your notebook to a proper Python script: This will create a file like: Once the .py script is ready and you launch it with: Streamlit will start serving your app and provide…
Month: July 2025
Hands-On Forensics: Analyzing Disk Images with The Sleuth Kit (TSK) on macOS
As part of my master’s thesis in Privacy, Information and Cybersecurity at Skövde University in Sweden, I’ve been exploring practical forensic analysis techniques using open-source tools. In an upcoming blog post, I’ll walk you through the installation and test analysis of The Sleuth Kit (TSK) on macOS—a powerful command-line toolkit widely used in digital forensics. This tutorial will guide you step-by-step through setting up TSK via Homebrew, then using it to conduct a forensic investigation on a disk image. You’ll learn how to identify partitions with mmls, list files within…
52 Kilometers, Two Races, One Cloud Migration — Stockholm Marathon Meets MySQL HeatWave and Oracle DB 23ai
At Oracle Sweden, we take health and wellbeing seriously — so seriously, in fact, that many of us participated in both the Stockholm Marathon and Blodomloppet in 2025 as part of our internal Oracle Run Club. These events not only reflect our commitment to wellness but also serve as a perfect opportunity to demonstrate how Oracle’s modern cloud technologies can support real-world, diverse data use cases. Oracle is no longer just a relational database company — it now delivers powerful cloud-native services, including MySQL HeatWave and Oracle Database 23ai, both…
Minimal Working Test script for Oracle Generative AI using the cohere.command-text-v14
To verify that your Oracle Cloud Infrastructure (OCI) environment is correctly configured to use Generative AI services, it is essential to test API access, model permissions, and request formatting. The Python snippet below provides a minimal working example that sends a prompt to the cohere.command-text-v14 model using Oracle’s generateText endpoint. This test isolates the most common failure points—such as invalid compartment access, unsupported models, or malformed requests—and allows you to confirm that your OCI SDK and credentials are functioning correctly. If the script returns a generated response, you can integrate…