Steps for database tuning – MySQL & PostgreSQL – Generated by ChatGPT & BARD

ChatGPT – Database tuning for PostgreSQL and MySQL involves several steps to optimize performance. Each database has its own specific settings and best practices. Here are some general steps for tuning both PostgreSQL and MySQL databases: ### PostgreSQL Tuning 1. Hardware Optimization: – Ensure your server has adequate memory and CPU resources. – Use fast…… Continue reading Steps for database tuning – MySQL & PostgreSQL – Generated by ChatGPT & BARD

Differences between SAST and DAST – BARD Generated

SAST and DAST: Two Key Players in Application Security When it comes to protecting your software from malicious actors, you need a solid security strategy. Two crucial techniques in this arsenal are Static Application Security Testing (SAST) and Dynamic Application Security Testing (DAST). Let’s break down what each does and how they differ: SAST: What…… Continue reading Differences between SAST and DAST – BARD Generated

Code Quality Tools – ChatGPT generated

Code quality tools are essential in the software development process to ensure that the codebase is maintainable, efficient, and free of bugs. They typically focus on various aspects of software quality, including style consistency, bug detection, complexity analysis, and more. Here’s an overview of the types of code quality tools available: 1. Static Code Analyzers:…… Continue reading Code Quality Tools – ChatGPT generated

List of tools for debugging and profiling OpenJDK & Databases – BARD generated – Part 1

Here’s a list of tools you can use with OpenJDK for debugging and profiling, along with their key features and some visual examples: Debugging Tools: Java VisualVM:Built-in tool, included with OpenJDK. Monitors memory usage, CPU threads, and garbage collection. Profiles application performance. Captures and analyzes thread dumps. Java VisualVM screenshot: https://docs.oracle.com/javase/8/docs/technotes/guides/visualvm/ JDB (Java Debugger):Command-line debugger…… Continue reading List of tools for debugging and profiling OpenJDK & Databases – BARD generated – Part 1

What commands & tools can we use to debug a computer network? – Part 1 – Autogenerated by GPT

Auto-generated by GPT: https://chat.openai.com/g/g-cELlz9ieP-tech-tower-guide-www-techtower-in To debug computer networks, there are several key commands you can use. These commands are essential for diagnosing and resolving network issues. Here’s a list of common network debugging commands and their purposes: 1. Ping: – Usage: ping [hostname/IP address] – Purpose: Tests connectivity to another IP host. It helps in…… Continue reading What commands & tools can we use to debug a computer network? – Part 1 – Autogenerated by GPT

Content Management System feature best practices in Liferay – Part 1

Here are some best practices for content management system feature usage in Liferay – Part 1. Separate the technical work of portlet creation, hooks, APIs, integration, themes, master templates and so on from content publishing work. Once technical work is done, setup publications feature on your production environment and publish using it. Refer: Publications -…… Continue reading Content Management System feature best practices in Liferay – Part 1

How to run Glowroot in containers for a Java application? Auto generated using GPT

Generated using: https://chat.openai.com/g/g-uOPo2Wffl-liferay-helper-works-on-open-internet Running Glowroot on containers, specifically within Docker containers, involves setting up the Glowroot agent to monitor Java applications. Here’s a step-by-step guide to achieve this: 1. Get the Glowroot Agent: – First, download the Glowroot agent from the [official Glowroot repository](https://github.com/glowroot/glowroot). – You can download the .zip file of the latest release.…… Continue reading How to run Glowroot in containers for a Java application? Auto generated using GPT

Liferay best practices – Part 2

Following up with Part 1 of the series here: Liferay best practices – Part 1 | LinkedIn – Here is part 2 of Liferay best practices: Look out for settings of ORA-1795 error and it’s required settings from Liferay Help Center articles if you are using Oracle If you have heavy usage of web articles, assets, documents…… Continue reading Liferay best practices – Part 2

Deepfakes primer – Part 1

Currently since few days topic of discussion has been Deepfakes. In that context, find below a compilation of definition, tips, articles and companies working on detecting Deepfakes. As per Wikipedia, Deepfakes are – “Deepfakes (portmanteau of “deep learning” and “fake”[1]) are synthetic media[2] that have been digitally manipulated to replace one person’s likeness convincingly with that of another. Deepfakes…… Continue reading Deepfakes primer – Part 1

Common programming mistakes in Liferay – GPT generated

Generated using my GPT: https://chat.openai.com/g/g-uOPo2Wffl-liferay-helper-works-on-open-internet Common programming mistakes in Liferay often stem from overlooking best practices in both Liferay-specific and general Java development. Some of these mistakes include: 1. Ignoring Liferay’s MVC Framework: Developers sometimes bypass Liferay’s built-in MVC framework for portlets, which can lead to more complex code and maintenance issues. Using Liferay’s MVC framework ensures…… Continue reading Common programming mistakes in Liferay – GPT generated