Top 10 Most Popular Open-Source Databases
1 - MySQL
2 - PostgreSQL
3 - MariaDB
4 - Apache Cassandra
5 - Neo4j
6 - SQLite
7 - CockroachDB
8 - Redis
9 - MongoDB
10 - Couchbase
➖➖➖➖➖➖➖➖
☄️ @GoInsights | @GolangEngineers
1 - MySQL
2 - PostgreSQL
3 - MariaDB
4 - Apache Cassandra
5 - Neo4j
6 - SQLite
7 - CockroachDB
8 - Redis
9 - MongoDB
10 - Couchbase
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM
درود
همونطور که میدونید iptables منقضی شده و بجاش nftables رو آوردن که بسیار داینامیکه و همین موضوع باعث شده که پرفورمنس بهتری داشته باشه
درکنار سادهتر شدن کلی امکانات جدید بهتون میده
مهاجرت از iptables به nftables خیلی سادهتر از اون چیزیه که فکرش رو بکنید
اگه iptables رو یاد گرفتید و بلدید دیگه استفاده از nftables براتون کاری نداره
شدیدا توصیه میکنم ازش استفاده کنید
اینم ویکی آرچ که خوب توضیح داده
https://wiki.archlinux.org/noscript/nftables
#sudoer #morteza
➖➖➖➖➖➖➖➖
☄️ @GoInsights | @GolangEngineers
همونطور که میدونید iptables منقضی شده و بجاش nftables رو آوردن که بسیار داینامیکه و همین موضوع باعث شده که پرفورمنس بهتری داشته باشه
درکنار سادهتر شدن کلی امکانات جدید بهتون میده
مهاجرت از iptables به nftables خیلی سادهتر از اون چیزیه که فکرش رو بکنید
اگه iptables رو یاد گرفتید و بلدید دیگه استفاده از nftables براتون کاری نداره
شدیدا توصیه میکنم ازش استفاده کنید
اینم ویکی آرچ که خوب توضیح داده
https://wiki.archlinux.org/noscript/nftables
#sudoer #morteza
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Load Balancer vs API Gateway vs Backend-For Frontend simplified.
➖➖➖➖➖➖➖➖
☄️ @GoInsights | @GolangEngineers
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM
موش و گربه بازی این افرادی که اینطوری تست میکنن تموم نمیشه، تصور اینکه بشه عملکرد زبان را با for-loop ارزیابی کرد کاری کاملا اشتباه است.
خالی از لطف نیست این issue قدیمی و پاسخ راب را بخوانید: https://github.com/golang/go/issues/3463#issuecomment-6606594
➖➖➖➖➖➖➖➖
☄️ @GoInsights | @GolangEngineers
خالی از لطف نیست این issue قدیمی و پاسخ راب را بخوانید: https://github.com/golang/go/issues/3463#issuecomment-6606594
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Consider the following Go code snippet. What will be the output? (For answer choose an item in the poll 👇👇)
➖➖➖➖➖➖➖➖
☄️ @GoInsights | @GolangEngineers
package main
import (
"fmt"
"sync"
)
func main() {
var wg sync.WaitGroup
var mu sync.Mutex
counter := 0
for i := 0; i < 5; i++ {
wg.Add(1)
go func() {
defer wg.Done()
for j := 0; j < 1000; j++ {
mu.Lock()
counter++
mu.Unlock()
}
}()
}
wg.Wait()
fmt.Println("Final Counter:", counter)
}
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM
Consider the following Go code snippet. What will be the output?
Anonymous Quiz
64%
Final Counter: 5000
14%
Final Counter: Less than 5000
11%
Final Counter: More than 5000
11%
Final Counter: Undefined, might panic
🎉 Go 1.23 Release Candidate 1 is released!
🏃♂️ Run it in dev! Run it in prod! File bugs! go.dev/issue/new
🔈 Announcement: https://groups.google.com/g/golang-announce/c/8ciOP5ve_CM
✅ Release note 1.23: https://tip.golang.org/doc/go1.23
📦 Download: go.dev/dl/#go1.23rc1
➖➖➖➖➖➖➖➖
☄️ @GoInsights | @GolangEngineers
🏃♂️ Run it in dev! Run it in prod! File bugs! go.dev/issue/new
🔈 Announcement: https://groups.google.com/g/golang-announce/c/8ciOP5ve_CM
✅ Release note 1.23: https://tip.golang.org/doc/go1.23
📦 Download: go.dev/dl/#go1.23rc1
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM
Clean Architecture
Clean architecture isn't revolutionary. You need to follow one crucial principle: inner layers can't reference outer layers. Essentially, we're applying dependency inversion on the application level. Inner layers define abstractions, and outer layers implement these abstractions.
You can package Clean Architecture across multiple projects. This is the most common approach with a Domain, Application, Infrastructure, and Presentation project.
However, you can also group components for a single feature together. This is called a vertical slice, and it improves the cohesion of your design.
What are the benefits of Clean architecture?
- Modularity
- Separation of concerns
- Testability of business logic
- Improved team productivity
- Loose coupling of components
➖➖➖➖➖➖➖➖
☄️ @GoInsights | @GolangEngineers
Clean architecture isn't revolutionary. You need to follow one crucial principle: inner layers can't reference outer layers. Essentially, we're applying dependency inversion on the application level. Inner layers define abstractions, and outer layers implement these abstractions.
You can package Clean Architecture across multiple projects. This is the most common approach with a Domain, Application, Infrastructure, and Presentation project.
However, you can also group components for a single feature together. This is called a vertical slice, and it improves the cohesion of your design.
What are the benefits of Clean architecture?
- Modularity
- Separation of concerns
- Testability of business logic
- Improved team productivity
- Loose coupling of components
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM
از notion یا امثالش به خاطر محدودیت هاش خسته شدی 🙄 ؟
گزینه خفن تری داریم به نام obsidian حتما تستش کنید، پلاگین های community یادتون نره.
➖➖➖➖➖➖➖➖
☄️ @GoInsights | @GolangEngineers
گزینه خفن تری داریم به نام obsidian حتما تستش کنید، پلاگین های community یادتون نره.
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM
Binary Trees
A binary tree is a tree data structure where each node has no more than two children.
A binary tree can come in many forms, such as the following:
Full binary tree: every node has either zero or two children.
Complete binary tree: each level of the tree has a complete set of nodes, with the last level being the exception.
Perfect binary tree: Every level of the tree including the last level is complete.
Balanced binary tree: the depth of the left and right sub-trees of all nodes differ by no more than 1.
Binary search tree: each node is larger than all the nodes in their left sub-tree, and smaller than all the nodes in their right sub-tree.
Binary trees are great for storing ordered data for sort and search operations. Their strict structure and properties make these tasks highly efficient.
Some typical use cases are:
🔸 Search algorithms
🔸 Sort algorithms
🔸 Pathfinding algorithms
🔸 Representation of hierarchical data
Classes are often used to implement binary trees because of their ability to use encapsulation and abstraction.
A Node class is used to store its value and its left and right child. An insert function would be used to add a value relative to a given root node. Based on the binary tree type, it may need to travel through the tree to find its appropriate position. Based on your use case, you may want to have other methods like search and traverse.
Binary trees are integral to programming. They provide an essential building block for developing efficient algorithms and programs.
➖➖➖➖➖➖➖➖
☄️ @GoInsights | @GolangEngineers
A binary tree is a tree data structure where each node has no more than two children.
A binary tree can come in many forms, such as the following:
Full binary tree: every node has either zero or two children.
Complete binary tree: each level of the tree has a complete set of nodes, with the last level being the exception.
Perfect binary tree: Every level of the tree including the last level is complete.
Balanced binary tree: the depth of the left and right sub-trees of all nodes differ by no more than 1.
Binary search tree: each node is larger than all the nodes in their left sub-tree, and smaller than all the nodes in their right sub-tree.
Binary trees are great for storing ordered data for sort and search operations. Their strict structure and properties make these tasks highly efficient.
Some typical use cases are:
🔸 Search algorithms
🔸 Sort algorithms
🔸 Pathfinding algorithms
🔸 Representation of hierarchical data
Classes are often used to implement binary trees because of their ability to use encapsulation and abstraction.
A Node class is used to store its value and its left and right child. An insert function would be used to add a value relative to a given root node. Based on the binary tree type, it may need to travel through the tree to find its appropriate position. Based on your use case, you may want to have other methods like search and traverse.
Binary trees are integral to programming. They provide an essential building block for developing efficient algorithms and programs.
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM
Using http.NoBody is better nil.
It's zero allocation and safe no body for some methods.
➖➖➖➖➖➖➖➖
☄️ @GoInsights | @GolangEngineers
req := httptest.NewRequest(http.MethodGet, "/", http.NoBody)
It's zero allocation and safe no body for some methods.
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM
در زیر یک تسک بسیار ساده قرار دادیم که قرار است براساس پروپزال ارائه شده پیاده سازی شود.
این تجربه خوب است که مشارکت خود را در گیتهاب و پروژه های آزاد نشان دهید.
- لینک Issue تسک: https://github.com/pactus-project/pactus/issues/1386
- لینک پروپوزال: https://pips.pactus.org/PIPs/pip-23
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM
وبینار آشنایی با SDN (شبکه مبتنی بر نرمافزار) ☁️
مواردی که در این وبینار به آنها خواهیم پرداخت:
🔹History
🔹Management Plane
🔹Control Plane
🔹Data Plane
🔹OpenFlow
🔹Northbound API
🔹Southbound API
🔹Relation to openstack
🔹NSX، ACI و OVN
📆 سهشنبه 19 تیر 1403
⏰ ساعت 18 الی 20
✅ ثبتنـام رایگان وبیـنار
#xaascloud | ابـر زَس
➖➖➖➖➖➖➖➖
☄️ @GoInsights | @GolangEngineers
مواردی که در این وبینار به آنها خواهیم پرداخت:
🔹History
🔹Management Plane
🔹Control Plane
🔹Data Plane
🔹OpenFlow
🔹Northbound API
🔹Southbound API
🔹Relation to openstack
🔹NSX، ACI و OVN
📆 سهشنبه 19 تیر 1403
⏰ ساعت 18 الی 20
✅ ثبتنـام رایگان وبیـنار
#xaascloud | ابـر زَس
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM
🎉 Go 1.22.5 and 1.21.12 are released!
🔐 Security: Includes security fix for net/http
🗣 Announcement: https://groups.google.com/g/golang-announce/c/gyb7aM1C9H4
⬇️ Download: go.dev/dl/#go1.22.5
➖➖➖➖➖➖➖➖
☄️ @GoInsights | @GolangEngineers
🔐 Security: Includes security fix for net/http
🗣 Announcement: https://groups.google.com/g/golang-announce/c/gyb7aM1C9H4
⬇️ Download: go.dev/dl/#go1.22.5
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM
این IDE با استفاده از GPU برای محیط توسعه خیلی سریع و روان است و مصرف رم و سی پی یو خیلی پایینی دارد.
اگر از طرفداران محصولات Jetbrains هستید می توانید یک بار zed را تجربه کنید تا حس خوب محیط توسعه Jetbrains را تجربه کنید.
برخی از ویژگی های جالب این ادیتور پشتیبانی از extensions, AI, collab panel و ...
https://zed.dev/
➖➖➖➖➖➖➖➖
Please open Telegram to view this post
VIEW IN TELEGRAM