Programming
-
Make your Rust code unit testable with dependency inversion | by Kraig McFadden | September 2023
[ad_1] Use traits to invert your Rust dependencies and keep your code loosely coupled and testable photo by James Peacock on Unsplash It was a revelation when I realized that Java classes could be mocked by extending them and overriding their public methods. “Well, duh,” you’re probably thinking. Of course you can do that, and that’s how half the mocking…
Read More » -
Spot the bug. Can you spot the bug in this code? | by Jean-Philippe | September 2023
[ad_1] Can you spot the bug in this code? photo by Neringa Hünnefeld on Unsplash As an avid follower of the Bytes newsletter, I have always looked forward to the Spot the Bug challenges. They never fail to pique my curiosity. In issue #255, there was a challenge that had me scratching my head. At first glance, I thought I…
Read More » -
Deploy an Astro JS site to an AWS S3 bucket | by Ryan James | September 2023
[ad_1] Want to deploy a simple website on AWS S3 for free? photo by Toine G on Unsplash In this article, I’ll show you how to do it in just a few minutes. This is the quickest and least expensive way to prove the concept of a site and easily communicate it to key stakeholders. Hosting static sites on AWS…
Read More » -
Running Heavy SQL Queries in Production Using AWS | by Angad Singh | September 2023
[ad_1] Run queries without compromising your production system photo by Jantine Doornbos on Unsplash Navigating the vast and complex world of large-scale databases is a daily reality for many businesses. A seemingly simple query can run for hours, consuming significant CPU and memory resources on your RDS or other database instance and potentially impacting the user experience during this time.…
Read More » -
The engineer’s bouquet: creating a team where people can grow | by Matt Schellhas
[ad_1] Career ladders are a bad model for personal growth. People don’t follow set steps and never follow a straight line. Flower icon created by MindWorlds @ Flaticon Let me tell you a secret. I use the same interview for software engineers, regardless of their level. Can you write code? Can you design software? Can you lead people? What are…
Read More » -
The hidden potential of cellular automata
[ad_1] From simulating life patterns to optimizing network traffic flow photo by Nick Fewings on Unsplash We should be devote research efforts to artificial life instead of artificial intelligence. Simply put, the urge to create intelligence is folly. Instead, we should replicate existing organizations and evolve toward the solution. The road to achieving this, however, is long and difficult. Fortunately,…
Read More » -
Make mazes. Inspired when creating a maze map for… | by Anton Yarkov | September 2023
[ad_1] Inspired when creating a maze map for the Wall-E project. Follow this tutorial to explore ways to generate mazes using graph theory algorithmically. photo by Ben Mathis Seibel on Unsplash In my previous articlewe looked at orientation problems in graphics, which are intrinsically linked to solving mazes. When I decided to create a maze map for the Wall-E project,…
Read More » -
How to move from management to leadership | by Vinita | September 2023
[ad_1] Key practices that can help managers get to the next level Credit: Author Managers are often so busy meeting the demands of their role that they fail to develop leadership skills. They believe that working harder and satisfying stakeholders will one day lead them to a leadership position. And some of these managers rise to management positions. But without…
Read More » -
Quantum Computing: How to Add Two Numbers Using a Quantum Circuit | by Salil Jain | September 2023
[ad_1] A step-by-step procedure on how to add two numbers using quantum computer circuits photo by Manual on Unsplash Recently I have become interested in quantum computing, particularly quantum circuits. To learn more, I undertook some tasks that seemed complicated to me as a novice. Especially since the qubits could be superimposed, how can we design the circuit to obtain…
Read More » -
LlamaIndex: How to evaluate your RAG (Retrieval Augmented Generation) applications | by Ryan Nguyen | September 2023
[ad_1] Classic Reports 10,000 with Australian property market reports to demonstrate the end-to-end valuation process Image of the author If you followed my previous articles or spent some time on the internet, I am sure you will find that it is very simple to create an LLM application. From PoC to production-ready solutions, even without code, low-code solutions can help…
Read More »