Check out this Pen I made!
Representação numérica na computação
No meu artigo anterior, falei sobre o que são os 0’s e 1’s no mundo da computação. Para entender como conseguimos representar dados mais complexos a partir de 0’s e 1’s, é necessário entender sobre sistemas de numeração e representação numérica. Sistemas de representação numérica Estamos acostumados com o sistema de numeração decimal (isto é,…
Computer Vision Meetup: Reducing Hallucinations in ChatGPT and Similar AI Systems
LLMs are prone to producing hallucinations, largely due to their limited content and knowledge base. One of the most widely used techniques to reduce hallucinations is incorporating external knowledge sources. Among these, using knowledge graphs has shown particularly impressive results in enhancing the accuracy and reliability of the results produced by LLMs. In this talk,…
Collaborators for personal wellness integration with AI assisted insights and alerts
Developing a project whose core objective is to consume fitness tracking app such as Google Fit data in order to highlight trends and importantly, alert on anomalies measured against the personalised model of user’s historical metrics, for review by user or their authorised entities such as healthcare professionals. It will work by building a individual…
Key Concepts to Understand Before Starting with Spring Boot and AI
Before diving into the world of AI within Spring Boot, it’s essential to grasp some fundamental concepts. Especially before referring to any Spring Boot AI documentation, it’s helpful to understand these basics. In this guide, I’ll explain these ideas in the way that I understand them, and I hope it proves useful to anyone reading….
Introduction to Object-Oriented Programming in Python
The Python Programming Language Python is an interpreted, object-oriented programming language. Thanks to its high-level built-in data structures and dynamic typing, it has been popular for fast development of new applications and also scripting code to combine existing components written in different languages. Python’s simple, easy to learn syntax emphasizes readability and thus reducing the…
React Hooks and Benefits
React As a front-end JavaScript library for building interfaces based on components, React has gained popularity among front-end developers. It was launched by Facebook in 2013 and is now maintained by Meta. React is open-source and its main use case is the development of single-page web applications with a focus on the user interface and…
Day 1028 : Talk About It
liner notes: Professional : Today felt like it didn’t go by so quickly like the past couple of days. Had a couple of meetings with my team members. It was good to see everyone. I went through some more hackathon submissions. I did all the ones I was told to go through, but apparently another…
How I Learned Generative AI in Two Weeks (and You Can Too): Part 1 – Libraries
Introduction For reference, prior to this journey, I barely had more knowledge about AI than the average person. Sure, I fired off the occasional ChatGPT request for one task or another, but I was always more focused on coding than AI, having picked up Python and Java during quarantine. Despite my initial skepticism at being…
Redis with Node application
To demonstrate how to use Redis in a Node.js application for handling API requests, I’ll show a simple example where Redis is used to cache the response of an API request. Setup: Install Redis: Make sure Redis is installed and running. Create a new Node.js project: mkdir redis-api cd redis-api npm init -y Install Required…
Quantifying LVR on Uniswap v2
Introduction Did you know that providing liquidity on Uniswap, the most popular decentralized exchange, can lead to systematic underperformance compared to a simple rebalancing strategy? This phenomenon, known as Loss-Versus-Rebalancing (LVR), highlights a hidden cost in liquidity provision that even experienced traders might overlook. LVR occurs due to price slippage when automated market makers (AMMs)…
3 most commonly used AWS services –
The top 3 most commonly used AWS services are: Amazon S3 (Simple Storage Service) Purpose: Scalable object storage service. Use Cases: Storing and retrieving any amount of data such as backups, application data, media files, and static websites. Amazon EC2 (Elastic Compute Cloud) Purpose: Provides resizable virtual server instances in the cloud. Use Cases: Running…
From Curiosity to Competence: My Journey into Web3
At 19, I’m a student driven by curiosity. My journey into the world of Web3 began at the ETH Dublin conference, sparking a passion that led me down a fascinating rabbit hole of blockchain technology. My initial exploration involved diving deep into Ethereum-based technologies. I spent six to seven months familiarizing myself with Solidity smart…
Added the ability to replace environment variables when running the “Copy-Paste” command in the “Rucken” utility
About the utility: A long time ago, I wrote 4 projects in parallel and got tired of transferring code between projects and created an organization with shared code in Github (https://github.com/rucken ), where he took out everything in common from different projects, but in addition to the code there were also various devops scripts. I…
Marketplace full-stack app using NestJS, Next.js, Prisma, and NextAuth
Marketplace app Marketplace app using NestJS, Next.js 14, Tailwind CSS, Prisma, and NextAuth. Features include user sign-up, sign-in, browsing ads, adding and deleting ads, and filtering options. Open to all contributions during development. Getting Started Clone the repository: git clone https://github.com/saidMounaim/marketplace.git Install dependencies: For the frontend: cd frontend npm install For the backend: cd backend…
⚡️ Say Goodbye to Vuex Complexity: Embrace Pinia + Composition API for Effortless Vue State Management! 🚀
Managing global state in Vue applications has traditionally been a complex task with Vuex. However, with the advent of Pinia and the Composition API, you can streamline your state management, making your codebase simpler and more intuitive. In this post, we’ll demonstrate how Pinia integrates seamlessly with the Composition API to create a powerful and…
🔄 State Management with Pinia and Vue.js (Composition API) Lifecycle Hooks 🚀
With the rise of the Composition API in Vue 3, Pinia has emerged as a lighter, simpler, and more modern state management library compared to Vuex. Pinia integrates seamlessly with the Composition API, offering a more intuitive way to manage global state. In this post, we’ll build a simple counter app using Pinia and Vue.js…
DevOps
Hey friends✨ I hope you all are doing well on your journey➡️. Learning #DevOps♾️ concepts and understanding its principles is the best way to become a #DevOps♾️engineer💻. I have learned a lot of things in my #DevOps♾️ journey, but the important thing is that if you have good knowledge of these important things, then you…
🔄 State Management with Vuex and Vue.js Lifecycle Hooks 🚀
Managing global state in a Vue.js application is critical, especially when different components need to share data or react to changes. Vuex is the official state management library for Vue.js, offering a structured way to manage state globally. Combined with Vue.js Lifecycle Hooks, you can manage global state in a precise and predictable manner. In…
Solving Developer-Designer Friction in Rive Animations with Rive.rip
Background At Spellr, a digital tutor for kids learning reading and writing, we needed a tool to streamline communication between our designers and developers when using Rive’s animation platform, especially for state machines. Rive is fantastic, but also difficult to learn for one core reason: the state machine. Rive describes it’s state machine as “a…
Merge Sort Demystified: A Beginner’s Guide to Divide and Conquer Sorting
Merge Sort was introduced by John von Neumann in 1945, primarily to improve the efficiency of sorting large datasets. Von Neumann’s algorithm aimed to provide a consistent and predictable sorting process using the divide and conquer method. This strategy allows Merge Sort to handle both small and large datasets effectively, guaranteeing a stable sort with…
Building Powerful Social Media APIs for Twitter and Telegram: A Developer’s Journey
As social media continues to grow, the need for robust tools to track, analyze, and interact with public data has become essential for developers, businesses, and researchers. Over the past few months, I’ve been working on two APIs—one for Twitter and another for Telegram—designed to help developers easily access and analyze data from these platforms….
50x Faster Window Functions? PawSQL’s Index Magic Revealed
Introduction In the realm of database performance optimization, SQL queries involving window functions present unique challenges. This article explores how PawSQL, an advanced SQL optimization tool, significantly enhances the performance of such queries through intelligent index recommendations. We’ll examine a specific case study to illustrate the process and benefits of this approach. Case Study: Analyzing…
Simple, Easy-to-Use, and Open-Source Web Application Firewall
Today, I’m excited to introduce SafeLine, a free and open-source Web Application Firewall (WAF)! GitHub: https://github.com/chaitin/safeline SafeLine is an open-source WAF designed for simplicity and ease of use. It’s available as a community edition and can be installed quickly with minimal effort. SafeLine helps protect your web services by filtering incoming traffic from the internet,…
Nextjs SEO, and How to Rank Higher on Google
What Do NextJs, Search Engine Optimisation And Cycling Have In Common? In 2003, the British Cycling Organization hired Dave Brailsford as its performance director. In the next decade, British cycling teams under his care dominated the sport, turning 110 years of losses into a victory streak. This was achieved thanks to hard work, determination, and…
Optimizing Docker for High Security: Combining Docker and SafeLine
Docker is an open-source application container engine built with Go and follows the Apache 2.0 protocol. It enables developers to package their applications and dependencies into lightweight, portable containers. These containers can be deployed on any popular Linux machine, offering a form of lightweight virtualization. Each container operates in complete isolation (similar to iPhone apps),…
Source Code Analysis of Apache SeaTunnel Zeta Engine (Part 2): Task Submission Process on the Client Side
Continuing from the previous article: Source Code Analysis of Apache SeaTunnel Zeta Engine (Part 1): Server Initialization Task Submission on the Client Side In this section, we will explain the task submission process in Apache SeaTunnel using the command-line interface (CLI). To submit a task using the CLI, the command is: ./bin/seatunnel.sh -c <config_path> When…
Learn React: the same TODO list app, upgraded step by step
Recently, I wanted to understand deeply how to create React apps today, which technologies to chose between Redux, RTK Query, React Query, Zustand, NextJS. I also wanted to understand perfectly the old and new Hooks available in React. And how to connect a store-based app to an external API. So I decided to create this…
Push notification
Hello, I have an android app created using react. The app contains a wordpress web site and enable push notification on mobile device. A push notification is generated on device when an article is published. The app works but, starting from a specific moment (maybe after a wordpress core upgrade), the push notifications doesn’t work…
A short history of AJAX and SSR
My journey in programming began over two decades ago, a time when JavaScript was a far cry from its current state, and developers were primarily focused on Microsoft Internet Explorer. One of my proudest achievements back then was writing a few lines of code that allowed users to add and remove table rows entirely on…
Vike / SSR
Hi, I have a vite/vue project and I need to use ssr for the public part, for indexing. Except that I can’t configure it correctly with vike, should I do something else? here is the error when launching the front: npm run dev reseau@1.0.0 dev vite 09:40:31 [vike][config][Wrong Usage] /src/pages/+config.js sets an unknown config vue…