My ToDo List for 2024 (daily updates)

Javascript vs PHP for web development

When it comes to web development, two of the most popular programming languages are Javascript and PHP. Both have their own advantages and disadvantages, so it can be difficult to decide which one is the best choice for your project. In this article, we’ll compare Javascript and PHP to help you make an informed decision. Javascript is a scripting language that runs on the client side of a website. It is used to create interactive web pages and dynamic content.

What are the best practices for Go code?

Go is a popular programming language that is used for a variety of tasks, from web development to machine learning. As with any language, there are certain best practices that should be followed when writing Go code. These best practices will help ensure that your code is efficient, readable, and maintainable. The first best practice for Go code is to use the proper formatting and indentation. This makes it easier to read and understand your code, as well as making it easier to debug any issues that may arise.

What is the best language for coding a device driver? Rust or Zig or C++

When it comes to coding a device driver, there are three main contenders: Rust, Zig, and C++. Each language has its own advantages and disadvantages, so it can be difficult to decide which one is the best for your project. To help you make an informed decision, let’s take a closer look at each language. Rust is a relatively new language that was designed with safety and performance in mind. It has a powerful type system that helps prevent common programming errors and makes it easier to write secure code.

What is the best language for creating graphics library? Rust or Zig or C++ ?

When it comes to creating a graphics library, developers have a few options to choose from. Two of the most popular choices are Rust and Zig, both of which offer powerful features and performance. But which one is the best language for creating graphics library? Rust is a relatively new programming language that has gained popularity in recent years due to its focus on safety and performance. It has strong type safety, memory safety, and data-race prevention features that make it ideal for creating graphics libraries.

Go language vs Rust language: For The Future

Go and Rust are two of the most popular programming languages today. Both languages have their own unique strengths and weaknesses, so it can be difficult to decide which one is better for a particular project. In this article, we will compare Go and Rust in terms of performance, ease of use, and other features to help you make an informed decision. Performance πŸ”— Go is a compiled language that is designed for speed and efficiency.

Go language vs Zig language

Go and Zig are two popular programming languages that have been gaining traction in recent years. Both languages offer a range of features and advantages, but which one is better for your project? This article will compare Go and Zig to help you decide which language is right for your project. Go is a statically typed language created by Google in 2009. It was designed to be fast, efficient, and easy to learn.

Go language vs V Language

Go and V are two programming languages that have been gaining traction in recent years. Both languages are designed to be simple, fast, and efficient, but they have some key differences that make them suitable for different types of projects. In this article, we’ll compare Go and V to help you decide which language is best for your project. Go is a statically-typed language created by Google in 2009. It was designed to be a fast and efficient language for developing large-scale applications.

Open file via TextEdit program in Mac OS Terminal

Using open command doesn’t fulfil this job. So we need to use another command. We can use open -a TextEdit filename.ext for example open -a TextEdit pin.svg. This command will open the file in TextEdit program in Mac OS. We can use another flag with the open command to achieve the same goal. The command is open -e filename so we can use open -e /Users/mbp/Desktop/work/VectorAndClipart/pin.svg to open the pin.svg file in the Mac OS graphical text editor TextEdit.

ssh Handshake Failed Unable to Authenticate | Github Actions

I have set up the github action to deploy laravel website using appleboy ssh-action but all actions failed with this weird error message. 2022/09/03 23:46:24 ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain The fix is simple. just change the permission of authorized-keys by this command. chmod 700 ~/.ssh/authorized_keys If it works, share it with a friend or colleage.

How to get your Mac's serial number?

Every Mac device has a serial number that tells its unique story. Mac serial numbers can show information such as purchase, manufacturing, or configuration details. However, they can also be a security risk when left unprotected. Depending on if you can access the device, are logged into your Apple account, or still have the original packaging, there are several ways to check your Mac’s serial number. Check the Underside of Your Mac πŸ”— Serial numbers are printed or engraved on the underside of your iMac, MacBook, or Mac Mini.