Welcome to curated list of handpicked free online resources related to IT, cloud, Big Data, programming languages, Devops. Fresh news and community maintained list of links updated daily. Like what you see? [ Join our newsletter ]

How to use ChatGPT AI for smart contract development

Categories

Tags blockchain app-development bots miscellaneous learning

ChatGPT and AI have become the most exciting new technologies of the past decade. You’ve likely already seen some of the fascinating use cases of the tool like writing poems, lyrics in the style of renowned musicians, film scripts, college essays, and more. In this blog, you’ll learn how to use ChatGPT to improve your smart contract development. By Clarissa Watson.

In this article you will find information about:

  • Getting Started with ChatGPT
  • Method 1: Ask questions to ChatGPT
  • Method 2: Write smart contract code with ChatGPT
  • Method 3: Audit and test code with ChatGPT
  • Method 4: Practice code with ChatGPT
  • Explore ChatGPT with Infura to improve Dapp development

Authors have only scratched the surface with what can be done with ChatGPT and smart contract coding for dapp development. You can think of the tool as an extremely knowledgeable and helpful mentor who is able to answer almost any question you may have in your web3 journey. How interesting!

[Read More]

What is the best time to perform regression testing?

Categories

Tags tdd web-development app-development miscellaneous

When does regression occur in a software product? Whenever there is any change in the application code. Application or software development is not complete without adding new features or changing its existing code. By Geosley Andrades.

Regression testing is a form of software testing that checks if any code change or a new feature has introduced any new software regressions. This testing approach can confirm if the product is working as before with the new features and bug fixes.

The content of the article covers:

  • What is regression testing?
  • When to perform regression testing?
    • When a new feature is introduced in the product
    • After fixing a software bug
    • When integrating with an external system
    • Following a major business change
  • How to perform software regression testing

The emergence of QA automation is facilitating application development companies to improve software testing quality. Automation can make regression testing easier to execute. Besides the speed, automated testing can improve product quality. Nice one!

[Read More]

Revolutionize business websites with Copilot in Power Pages

Categories

Tags big-data cio web-development azure devops bots ai

Today at Microsoft Build, we are thrilled to share new features and capabilities for Microsoft Power Pages. Next-generation AI enhancements via Copilot in Power Pages, now in public preview (in North America only), is revolutionizing how to build and launch data-centric business websites.

This article also explains how to:

  • Create contextual chatbots in Power Pages with generative answers
  • Connect to data anywhere with virtual table and Power Automate integration in Power Pages
  • Introducing developer websites for Power Pages
  • Helping administrators securely control website data

These new Power Pages AI capabilities, low-code innovations, and sophisticated tooling to aid developers will help your business accelerate development, increasing your efficiency and speed of creating websites that scale. The possibilities are unlimited. Just think it, describe it, and Power Pages will help you build it. Good read!

[Read More]

Using Arm64EC with Windows 11

Categories

Tags miscellaneous app-development azure learning

This article demonstrates how to use Arm64EC in a C++ application. The application you will implement performs the multiplication of two pseudo-randomly generated square matrices. By Dawid Borycki.

With the advent of complex machine learning and artificial intelligence models, you need fast and energy-efficient hardware. For fast, efficient hardware, Arm has introduced an architecture used by most chips in embedded and mobile systems. It has been adopted for laptops, desktops, and servers and enables you to accelerate your applications.

Further in the article:

  • App Porting with Arm64EC
  • How It Works
  • Arm64EC in Action

The Arm64EC ABI enables transparent and direct interoperability with your existing x64 dependencies, meaning you can use x64 and Arm64EC in the same process. This is possible because Arm64EC code is compiled with the same pre-processor architecture definitions as x64 code, and the Arm64EC ABI is compatible with the X64 ABI. Consequently, you can gain performance by speeding up the computation of intense code by employing Arm architecture without porting everything simultaneously to Arm64.

This article described the Arm64EC architecture, then demonstrated how to configure the Windows Dev Kit 2023 for Visual Studio development. It also showed how to use this environment to implement a C++ application and then how to implement it on an Arm64EC device. Finally, it confirmed the performance boost by switching from x64 to Arm64EC on an Arm-powered device. Nice one!

[Read More]

Serverless API on AWS, Azure and GCP - Deployment and benchmark

Categories

Tags apis app-development azure gcp aws

In this article, author has created a serverless Express API and deployed it on AWS, Azure, and GCP to evaluate each platform’s performance. After conducting load tests using K6, I found that Azure and AWS performed comparably well (slightly better for Azure), while GCP lagged due to significant cold starts (up to 5 seconds when speaking to a Database). By Aurélien BETTINI.

While creating an Express API for a personal project, I wondered if it was possible to deploy it on multiple Clouds. Having the flexibility to link my website to whichever platform offers the best service for my project would be advantageous. For example, choosing Azure if I wanted to access Azure OpenAI Service.

The article main parts:

  • Why serverless?
  • The API
  • API deployment
    • Deployment on AWS
    • Deployment on GCP
    • Deployment on Azure
  • Database deployment
  • Load testing with K6
  • Location parameter
  • Function parameters
  • K6 parameters
  • Results (/newsletter API) function + databases

On the deployment side, it was quite fun to deploy the same Serverless application on multiple Clouds. You can definitely transfer your knowledges from one to another. GCP and AWS looks really similar and deploying the app on both was pretty fast. Azure, on the other end, has some different concepts. Good read!

[Read More]

Headless WordPress with GraphQL and SvelteKit

Categories

Tags apis app-development web-development php javascript

Headless WordPress + GraphQL + SvelteKit as any other stack where you have a backend (data store), a frontend (the website), and a way to connect the two. In this case, the backend is WordPress, the frontend is SvelteKit and the way to connect the two is GraphQL. By Justin Ahinon.

This guide then will explain:

  • Why even use WordPress in headless mode?
  • How would that work?
  • Setting up WordPress
  • Creating a type-safe GraphQL client in SvelteKit

Since the visual presentation will be handled by SvelteKit, we will use WordPress to store our data; posts, pages, custom post types, custom fields, etc. There are code examples also included. Good read!

[Read More]

CQRS facts and myths explained

Categories

Tags event-driven oop app-development messaging programming software-architecture

Older but still relevant article dealing with question of technical patterns and how they are filled with myths and mishaps. Quite often, this happens to CQS and CQRS. By Oskar Dudycz.

Command and Query Responsibility Segregation uses the same definition of Commands and Queries that Meyer used and maintains the viewpoint that they should be pure. The fundamental difference is that in CQRS objects are split into two objects, one containing the Commands one containing the Queries.

Greg Young

Some myths on CQRS topic that author will try to explain:

  • You need two databases
  • You have to use a messaging queue (e.g. RabbitMQ or Kafka)
  • It’s hard to apply and complicates the architecture
  • You’ll be facing Eventual Consistency
  • You need to do Event Sourcing

Nothing prevents the Write Model and the Read Model from having the same structure or using the same tables. Nothing then stops you from using a relational database, even the same table for reading and writing. If you prefer, you can continue to use ORM. CQRS allows you to have different storages for different business cases. You can, for example, have a relational database on the write model and document database on the read model (e.g. Elastic Search for full-text search) or any other combination. The article also provides a great selections of links to further reading on the topic. Nice one!

[Read More]

How to keep docker secrets secure: Complete guide

Categories

Tags docker infosec cloud containers devops

Secret values such as API keys, passwords, and certificates need to be safely handled throughout the software development process and your app’s runtime. Exposure of secrets can be catastrophic, as unauthorized actors could use the credentials to perform privileged interactions with your services. By James Walker.

Secrets are often encountered when you’re working with Docker containers. It can be challenging to correctly handle container secrets because Docker historically lacked a built-in secrets management system. In this article, you’ll learn how to securely use secrets when you’re building Docker images and starting containers.

Article will cover:

  • Why you need Docker secrets management
  • Using secrets in Docker
  • Using secrets with Docker Compose
  • Using Docker Swarm secrets
  • Dockerfile secrets when you’re building images
  • Best practices for Docker secrets

Secrets are sensitive values such as API tokens and passwords that your application requires. Losing a secret usually empowers bad actors by providing privileged access to your services, making it essential to apply proper treatment to their storage and retrieval. Secrets mustn’t be hardcoded or stored in plaintext as this expands their audience and makes them difficult to rotate. Good read!

[Read More]

Cloud sustainability and the path to green software

Categories

Tags management cio miscellaneous cloud learning

In an increasingly sustainability‑conscious world, cloud software, services, and infrastructure are no longer evaluated only in terms of performance, resilience, scalability, and reliability, but also according to their environmental impact. So, considering cloud sustainability means tools impact on the environment needs to be observed. By aster.cloud.

The article then makes a good job explaining:

  • Towards sustainable development
  • What is cloud sustainability
  • The rise of cloud sustainability, tools, communities and awareness
  • kube‑green
  • CNCF environmental sustainability working group
  • Green software foundation

Sustainability is a systemic and universal issue. It needs to be addressed comprehensively, aligning the behaviors of individuals, companies, and institutions with the 17 goals identified in the 2030 Agenda for Sustainable Development. Good read!

[Read More]

How to hack Hacker News (and consistently hit the front page)

Categories

Tags data-science miscellaneous analytics learning

Getting featured on the HN front page is high on every Indie Hacker’s bingo card, not to mention “hacking Hacker News.” However, we found a way to consistently get to the front page using a repeatable process that you can use too. By Iron Brands.

The article then describes how authors approached their research for ranking on HN:

  • Understanding Hacker News
  • Our Strategy: The war room
  • Side-effects

Authors then explain how you must provide value. As explained, there are two ways to approach this, but without value, no front page. Stay on top of relevant news in your niche that is also relevant to the HN audience. If you want to recreate authors bot, check Adriaan’s Twitter, or feel free to send me a message. Be the first one to act on the news + add perspective to the news item. Obviously, it does not work all the time. We’ve posted enough stuff that we thought was relevant and spent time on that was just not interesting enough. Interesting read!

[Read More]