Programming Leftovers
-
Git Change Remote URL in Local Repository - TecAdmin
Git is a distributed version control system that is widely used for tracking changes in source code during software development. It allows developers to collaborate on projects and keep track of their changes without the need for a central repository.
Sometimes, it may be necessary to change the URL of a remote repository in a local Git repository. This can happen if the remote repository has been moved to a new location, if you want to use a different remote repository for your local project or if you want to change authentication methods like HTTPS to Git or vice versa.
-
End-to-end testing with shinytest2: Part 1
Automated testing is an essential part of any production-quality software project. Much of the focus in the R world, is on testing the individual components of a project (the functions, classes etc), but for those working with {shiny} applications there are great tools that can test your application as if a user was interacting with it. In this blog series, we focus on {shinytest2}, with which we can write tests from a user’s perspective.
-
What's Next After NextJS
NextJS is the Ruby on Rails of modern development – fast, easy, and just enough framework to get a full web application up and running without getting in your way too much. The company behind the open-source project, Vercel, has successfully built a managed platform around the library that combines a CDN and edge functions to provide a fast, cheap, and scale-to-zero website that serves dynamic and static content.
-
Parallelizing and running distributed builds with distcc
Parallelizing the compilation of a large codebase is a breeze with distcc, which allows you to spread the load across multiple nodes and speed up the compilation time.
-
Testing new micropub implementation • AndreGarzia.com
My original Micropub implementation was created with Racket and it served me well for a long time. Recently, I implemented MetaWeblog API using NodeJS and decided that keeping two very similar servers using different languages was not ideal. Instead of moving the MetaWeblog server to Racket, I decided to reimplement Micropub with NodeJS.
-
There Is No Software Maintenance | Henrik Warne’s blog
Every time I hear about software maintenance as a distinct activity, I cringe. That’s because it is based on the outdated notion that first software is developed, then it is maintained. But that is not how software development works today. Software development does not have the two phases development and maintenance – it is a continuous process. Software maintenance is simply software development.
[...]
In the project model, you set out to develop a system. So you create a project, gather requirements, develop the software, and deliver the result. Any changes after this delivery are considered maintenance, be it changes to functionality or bug fixes. This is how I was taught software development works when I went to university a long time ago.
There are two big problems with the project view of software development. The first is that it is almost impossible to decide how the system should work before you try it. As soon as you start using the system, you learn more about how it should work. This inevitably leads to changed requirements. Secondly, once the system works, you start to think of additional uses for it. In other words, the problem you are solving is open-ended (expanding uses), rather than clearly defined. In a sense, you are never finished, because what you want the system to do keeps expanding. This may seem counterintuitive, but for all systems I have worked on, I have been surprised at how we never ran out of features to add. The expansion is also fractal – you add new big features, but you also keep tweaking and expanding the behavior of existing features.
-
While Loop Sum of Numbers in C++
Today, we are going to get the sum of numbers in C++ programming language. If we want to add two numbers, we can easily add these numbers but what if we want to add 10 numbers or “n” numbers what can we do? The first method is that we can add numbers one by one and get the desired answer but it is time-consuming work in C++ programing language. To solve this problem, there are loops in C++ programming language that we can get the sum of numbers quickly by writing a few lines of code. We are using one of the loop types which is a while loop to get the sum of numbers in C++ programming language.