Inlägg

Ask ChatGPT to immediately change web content

Bild
 ChatGPT Instant Web Development This is a concept of using ChatGPT to immediately alter the same page you visit. It works by asking you a question "What do you want to change with this page?". The answer will be sent to ChatGPT which will create the necessary web content. ChatGPT will create all necessary web content (HTML, CSS and JavaScript) which are added to the page immediately, and the page is altered! Check the Development Demo This is a short video showing the technical background of how this works and live demo.

Podcast: 100% Dynamic Web Development with Scala

Bild
 Podcast: 100% Dynamic Web Development with Scala A friendly talk about what it is and how it can change the world  You can listen to this podcast and learn what a 100% dynamic web development might look like. The podcast is created from my earlier blog post by Google's NotebookLM and edited by Microsoft ClipChamp. Carl Emmoth 2024

Exploring the Future of Web Development with Scala Stack

Bild
 Exploring the Future of Web Development with Scala Stack In today's fast-paced digital landscape, web development is continuously evolving, and the tools developers use must evolve alongside it. Enter Scala Stack , an ambitious project designed by Carl Emmoth, which envisions a 100% dynamic website that reacts and adapts in real time to changes in the environment. By creating a seamless interaction between the website and the user's needs, it promises to revolutionize how we think about web functionality. A Vision for Dynamic Web Interaction The core vision behind Scala Stack is straightforward yet groundbreaking: to build a dynamic website that can "sense the weather" and react accordingly. The term "weather" here is a metaphor for the analytical model that determines user needs in real time. The Scala Stack website continuously updates itself based on changing variables, ensuring that users experience a highly customized interface. Imagine a web page that

Spring Boot 3 with Scala JS

Bild
 Spring Boot 3 with Scala JS I created a simple Spring Boot 3 webservice which uses Scala JS as a backend dependency and JavaScript for client. This means both backend and client can share logic. See image below    Source Code You can find the code here https://github.com/AIMMOTH/spring-boot-3-scala-js/tree/main

Windows 10 and HP Printer and Scanner

  Running HP Printer with Windows 10 I was trying to run an old HP Deskjet F380 but was not able to scan with Windows 10. I found NAPS2 and it worked out perfectly. You can set the resolution to tune the scanning time. https://www.naps2.com/ 

Spring Boot 3 with Open API

 Spring Boot 3 with Open API  I thought it was hard to find a good example how to implement Open API with Spring Boot 3 and I made a repository at Github with an simple implementation. You find it here https://github.com/AIMMOTH/spring-boot-3 Maven Add the following dependencies and plugin in pom.xml:

Spring Boot 3 with CORS and CSP

 Spring Boot 3 with CORS and CSP Honestly I thought it was very difficult implementing CORS and CSP. But I had done it before with Servlet API and realized you could do the same by using a jakarta.servlet.Filter. You can find the code here  https://github.com/AIMMOTH/spring-boot-3/tree/auth0-cors-csp-security Request  After reading Baeldung's blog it was easy to implement the 2 different filters. For the request I use a component with a high order and checks the request origins: