Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  What are the Four Most Important Technologies Inside an Office, Today?

The office life has changed a lot since the beginning of the 21st century. Nowadays, technologies have taken over a large part of the work that people have to do, inside their walls. Some of them are more important than others, though. Here are four that no company should live without. A VoIP Phone SystemIf a company wants to communicate with its clients, it needs to install a centralized phone system. The old ones were complicated and costly. The more phone lines you had, the higher the monthly bill got. Today, VoIP phone systems have replaced the traditional ones, bringing in an era of ...

2,731 0       VOIP SMARTPHONE 5G


  Introduction to GoLang generics and advanced usage

Generics in Go allow you to write code that can work with multiple types of data, without having to write separate versions of the code for each type. This can make your code more flexible and easier to maintain, as you only need to write and test the code once, rather than maintaining multiple versions.To use generics in Go, you first need to define a type parameter, which is a placeholder for the type that the code will work with. For example, you might define a type parameter called "T" like this:func MyFunction(x T) T { // code here}You can then use the type parameter "T" wherever you wou...

4,189 2       GOLANG GENERICS


  Go channel explained

In Go, a channel is a type of concurrent data structure that allows two or more goroutines (Go's term for lightweight threads) to communicate with each other. Channels provide a way for goroutines to send and receive values, and they are an essential part of Go's concurrency model.Here's a simple example that demonstrates how to use channels in Go:package mainimport ( "fmt")func main() { // Create a new channel with the `make` function ch := make(chan int) // Start a new goroutine that sends the value 5 to the channel go func() { ch <- 5 }() // Read the value fro...

1,737 0       GOLANG CHANNEL


  Go Lacks Ternary Operators. Here Are Some Equivalents

If you were like me, a pure Java developer before writing Go, you must be wondering why Go doesn’t support the ternary operator like return a > 1 ? 0 : 1.Most mainstream languages like C and Java are supportive of ternary operators; languages like Python and Ruby support the simplified if-else one-liner, such as a = 0 if a > 1. However, Go is not among them. And it is not only about adding operators but also a concept of coding in a more convenient way, such as the ?: expression can be perfectly replaced by if-else, but what if you are required to duplicate it dozens or hundred tim...

1,647 2       GOLANG TERNARY OPERATOR


  Secure Your Go Code With Vulnerability Check Tool

Security vulnerabilities exist in any language and any code, some are written by ourselves, but more are from the upstream dependencies, even the underlying Linux. We have discussed the security protection methods for Go and Kubernetes Image in Path to a Perfect Go Dockerfile and Image Vulnerability Scanning for Optimal Kubernetes Security, in which the security scanning was performed based on generic.As the Go community grows, more and more open-source packages have caused more security vulnerabilities, which has raised the concern of Go officials, and then the security sc...

1,858 0       GOLANG GOSEC GOVULNCHECK


  Microsoft Edge extension manifest v2 migration to v3

In June 2023, Microsoft Edge would not allow Edge extensions with manifest version before v3 to be listed on Microsoft web stores as v3 extensions add more security privacy related restrictions on some of the functions. Hence all extensions with manifest v2 must migrate to v3. In this post, we would show how we did the migration for one of our extensions and the changes made.There is a checklist provided by Microsoft Edge team on what needs to be updated so that the extension can still work in v3. It can be checked before your migration starts.The first change needs to be made is to ...

1,708 0       MICROSOFT EDGE MANIFEST V3 EXTENSION


  Enable mouse scrolling with Apple wireless mouse on Windows PC

Today I was trying to use my Apple wireless mouse on my Windows PC, after pairing the mouse using Bluetooth, it worked fine until I noticed that I couldn't scroll browser pages properly. Tried many ways but all failed. Did some investigation online and found a workable solution. This post will share my experience.To enable mouse scrolling, there is a driver needed to be installed. First to go to Brigadier which is a Windows- and OS X-compatible Python script that fetches, from Apple's or your software update server, the Boot Camp ESD ("Electronic Software Distribution") for a specifi...

3,502 2       SCROLLING WIRELESS MOUSE WINDOWS 10 APPLE


  Chrome extension manifest v2 migration to v3

In 2023, Google would not allow Chrome extensions with manifest version before v3 to be listed on Chrome web stores as v3 extensions add more security privacy related restrictions on some of the functions. Hence all extensions with manifest v2 must migrate to v3. In this post, we would show how we did the migration for one of our extensions and the changes made.There is a checklist provided by Chrome team on what needs to be updated so that the extension can still work in v3. It can be checked before your migration starts.The first change needs to be made is to update the manifest_version from...

1,967 0       CHROME EXTENSION MANIFEST V3 MIGRATION