engineering

Querido desarrollador de Android

Querido desarrollador de Android

Hace unos días recibí la enésima comunicación desde Google, en este caso por una aplicación Android. Podría resumirse como sigue, aunque todos los emails de Google son muy parecidos. Querido desarrollador de Android: ¡Déjalo todo, tenemos preferencia... Somos Google! En nuestra infinita sabiduría, hemos decidido que el que tu cotrosa aplicación permita abrir un diálogo de apertura de archivo para tan solo abrir una imagen es una vulgaridad, por no decir una barbaridad, así que lo hemos declarado obsoleto.Y es que, ese permiso de READ_MEDIA, que te permitiría explorar el contenido multimedia... tsk, tsk... muy peligroso. Obsoleto también.Es importante que…
Read More
Using WebSockets in MERN for Real-Time Chat Applications

Using WebSockets in MERN for Real-Time Chat Applications

Real-time chat applications have become a crucial part of modern web experiences. Whether it’s a customer support system, gaming chat, or collaborative workspaces, real-time communication enhances user engagement. WebSockets provide a powerful way to enable real-time bi-directional communication between a client and a server. In this blog, we’ll explore how to integrate WebSockets into a MERN (MongoDB, Express.js, React, Node.js) application to build a real-time chat feature. Why Use WebSockets? WebSockets provide full-duplex communication, allowing the server and client to send and receive messages without continuous HTTP requests. Benefits include: Low latency: Messages are delivered instantly without polling. Efficient resource…
Read More
Master Special Permissions in Linux While Your Coffee Brews

Master Special Permissions in Linux While Your Coffee Brews

This is the fourth and last article from a series compiled from my notes while taking the LPI exams. The three special permissions are: The Sticky bit, the SUID bit, and the SGID bit. These permissions can be specified using: symbolic mode: they are represented by letters (t, s, S), or numeric mode: they are represented by numbers (1, 2, 4). The Sticky Bit The sticky bit is also known as the restricted deletion flag. It does not affect individual files, but when set at the directory level it prevents users from removing or renaming files. Only the owner and…
Read More
How C Programming Achieves Microsecond-Level Precision in Real-Time Systems

How C Programming Achieves Microsecond-Level Precision in Real-Time Systems

Introduction In the world of real-time systems, precision timing is essential. Many critical applications, such as embedded systems, robotics, telecommunications, and financial services, rely on exact timing down to the microsecond level. Achieving microsecond-level precision, especially in C programming, requires a combination of specialized hardware, optimized software, and careful system design. C programming plays a crucial role in this space due to its low-level capabilities and access to hardware features, which enable fine-grained control over system resources. In this article, we will explore how C programming achieves microsecond-level precision in real-time systems by delving into hardware, operating system support, programming…
Read More
My IONIC Notes

My IONIC Notes

npm i -g @ionic/cli ionic start myApp tabs --capacitor --type=angular ionic generate [schematic] [name] schematic: pages, components, directives, services Enter fullscreen mode Exit fullscreen mode # Working with Swiper JS ionic start MySwiperApp blank --type=angular cd ./MySwiperApp npm i swiper@latest Enter fullscreen mode Exit fullscreen mode [1]. app.component.ts ... import ....; // Swiper.JS import { register } from "swiper/element/bundle"; register(); @Component({ ... Enter fullscreen mode Exit fullscreen mode [2]. banner.component.tsTo use a web component we now need to import the CUSTOM_ELEMENTS_SCHEMA import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { IonicSlides } from '@ionic/angular/standalone'; @Component({ selector: 'app-banner', templateUrl: './banner.component.html', standalone:…
Read More
Running DeepSeek-R1 Locally – Use with Open WebUI, Chatbox, CodeGPT

Running DeepSeek-R1 Locally – Use with Open WebUI, Chatbox, CodeGPT

What is DeepSeek-R1? DeepSeek-R1 is an open-source LLM developed by the Chinese AI startup DeepSeek. It achieves performance comparable to OpenAI's o1 model but was created at a fraction of the cost. The model uses a "chain-of-thought" reasoning approach, enhancing the quality of its responses by systematically breaking down problems into logical steps. This methodology allows DeepSeek-R1 to excel in tasks requiring detailed reasoning and analysis. Install and run Ollama Ollama is a platform that allows users to interact with AI models in a way that is optimized for local, privacy-respecting, and customizable experiences. There are a couple ways to…
Read More
A Discussion Group in Your Browser

A Discussion Group in Your Browser

Discussion Group With our smart bot and advanced language capabilities already in place, it's the perfect time to explore a fun new idea that could take our interactions to the next level. Imagine chatting with a group of bots that can debate and discuss topics together—kind of like a lively discussion board or a chat group. Not only would this make conversations even more engaging, but it would also give us the chance to explore fresh ideas and perspectives in a dynamic, collaborative, and enjoyable way! Currently, I have four different characters with different backgrounds. Rapper Shy girl Scholar Housewife…
Read More
Building a Serverless AI Chatbot: Integrating OpenAI with Telegram on AWS

Building a Serverless AI Chatbot: Integrating OpenAI with Telegram on AWS

Introduction Let me share how I built an AI chatbot using AWS, OpenAI, and Telegram. The main goal was to create a smart, cost-effective chatbot without dealing with server maintenance. A serverless approach was a perfect fit for this task. The project needed to solve these main challenges: Create an intelligent chatbot using OpenAI Keep running costs low with serverless architecture Ensure secure handling of sensitive data Guarantee reliable message delivery Serverless architecture was chosen because: Pay-per-use pricing model Automatic scaling capabilities Minimal maintenance overhead Built-in high availability The tech stack includes: AWS services (Lambda, API Gateway, SQS, DynamoDB, KMS)…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.