Forwarded from Dark horse (Fearless Soul🤴👨🦽)
You work 8 hours to live 4.
You work 6 days to enjoy 1.
You work 8 hours to eat in 15 minutes.
Work 8 hours of sleep 5
You work all year just to take a week or two vacation.
You work all your life to retire in old age.
And watch only your last breaths.
Eventually, you realize that life is nothing but a parody of yourself practicing your own oblivion.
We have become so accustomed to material and social slavery that we no longer see the chains..
Life is a short trip,
Live it up!
You work 6 days to enjoy 1.
You work 8 hours to eat in 15 minutes.
Work 8 hours of sleep 5
You work all year just to take a week or two vacation.
You work all your life to retire in old age.
And watch only your last breaths.
Eventually, you realize that life is nothing but a parody of yourself practicing your own oblivion.
We have become so accustomed to material and social slavery that we no longer see the chains..
Life is a short trip,
Live it up!
The Ultimate Guide to Golang exec Package
https://www.kelche.co/blog/go/exec/
https://www.kelche.co/blog/go/exec/
www.kelche.co
The Ultimate Guide to Golang exec Package
Discover the power of Golang's exec package to run shell commands and interact with their input/output. Learn through examples and code snippets to master executing commands in Go. Get started now!
💩1
u like the environment management idea, write me a simple scenario for this kind of problem
Sure, here's a simple scenario for the environment management problem:
Suppose you are working on a Go project that requires the use of a specific version of Go. In your development environment, you have Go installed, but the version installed is not the one you need for your project. To solve this problem, you can create a noscript that sets up the environment by downloading and installing the required version of Go.
Here's an example of how you can implement this solution using the os/exec package in Golang:
This noscript can be run in your CI/CD pipeline to ensure that the required version of Go is available in the environment before running your Go application.
Sure, here's a simple scenario for the environment management problem:
Suppose you are working on a Go project that requires the use of a specific version of Go. In your development environment, you have Go installed, but the version installed is not the one you need for your project. To solve this problem, you can create a noscript that sets up the environment by downloading and installing the required version of Go.
Here's an example of how you can implement this solution using the os/exec package in Golang:
package mainIn this noscript, we first check if the required version of Go is already installed by running the "go version" command. If the version is not found, we download and install the required version of Go using "curl" and "tar". Finally, we move the extracted Go version to the "go" directory.
import (
"fmt"
"os"
"os/exec"
)
func main() {
// Check if the required version of Go is already installed
cmd := exec.Command("go", "version")
out, err := cmd.CombinedOutput()
if err != nil {
fmt.Println("Go version not found. Installing...")
// Download and install the required version of Go
cmd = exec.Command("curl", "-L", "https://dl.google.com/go/go1.19.2.linux-amd64.tar.gz")
err = cmd.Run()
if err != nil {
fmt.Println("Error downloading Go version:", err)
return
}
cmd = exec.Command("tar", "-xzvf", "go1.19.2.linux-amd64.tar.gz")
err = cmd.Run()
if err != nil {
fmt.Println("Error extracting Go version:", err)
return
}
cmd = exec.Command("mv", "go1.19.2", "go")
err = cmd.Run()
if err != nil {
fmt.Println("Error moving Go version:", err)
return
}
fmt.Println("Go version installed successfully!")
} else {
fmt.Println("Go version found.")
}
}
This noscript can be run in your CI/CD pipeline to ensure that the required version of Go is available in the environment before running your Go application.
❤1💩1
Build an awesome GitHub developer portfolio. - DEV Community
https://dev.to/said7388/build-an-awesome-github-developer-portfolio-54ka
https://dev.to/said7388/build-an-awesome-github-developer-portfolio-54ka
DEV Community
Build an awesome GitHub developer portfolio.
In the software development world, it's crucial to effectively present your work alongside the code...
👍1💩1
Read this story from Akhilesh Mishra on Medium: https://medium.com/kpmg-uk-engineering/you-should-stop-writing-dockerfiles-today-do-this-instead-3cd8a44cb8b0
💩1
Future of astro might be even more interesting, I have been playing with astro for quite a while and I have been amazed by what it's capable of. It really makes development simpler.
This article is really giving me goosebumps
https://astro.build/blog/future-of-astro-server-islands/?abc
This article is really giving me goosebumps
https://astro.build/blog/future-of-astro-server-islands/?abc
Astro
Server Islands | Astro
Part three of our series on The Future of Astro, covering a new island architecture pattern for dynamic content rendered inside of fast, CDN-cached static pages.
👏2
No automated tool can tell you if your page is accessible, but WAVE facilitates human evaluation and educates about accessibility issues. All analysis is done entirely within the Chrome browser allowing secure valuation of intranet, local, password protected, and other sensitive web pages.
https://chromewebstore.google.com/detail/wave-evaluation-tool/jbbplnpkjmmeebjpijfedlgcdilocofh?pli=1
https://chromewebstore.google.com/detail/wave-evaluation-tool/jbbplnpkjmmeebjpijfedlgcdilocofh?pli=1
Google
WAVE Evaluation Tool - Chrome Web Store
Evaluate web accessibility within your browser.
🔥1💩1
This year, technologies such as JavaScript (used by 62.3% of developers) and PostgreSQL (used by 49% of developers) remain most popular, while Rust (83% admiration score) and Markdown remain most admired. Developers are most frustrated by technical debt at work, and they don't see AI as a threat to their jobs.
Themes we see in this year's survey results show us that developers are not threatened by AI, with 72% holding a favorable view of AI tools, although this is a slight decrease from 77% last year. However, ethical concerns remain prominent, with misinformation in AI results being the top issue (79.4%), followed by worries about source attribution (64.7%).
On the topic of AI, 76% of respondents shared they are using or planning to use AI tools, but only 43% said they trust the accuracy of AI tools and 45% believe AI tools struggle to handle complex tasks. The top benefits of AI tools are increasing productivity (81%) and speeding up learning (62.4%).
In terms of work environment, hybrid work continues to be popular, with 42% of developers working in a hybrid model. In-person work has increased to 20% from 16% last year, meaning that 62% of developers go to the office at least once a week.
Citations:
https://survey.stackoverflow.co/2024/technology/
Themes we see in this year's survey results show us that developers are not threatened by AI, with 72% holding a favorable view of AI tools, although this is a slight decrease from 77% last year. However, ethical concerns remain prominent, with misinformation in AI results being the top issue (79.4%), followed by worries about source attribution (64.7%).
On the topic of AI, 76% of respondents shared they are using or planning to use AI tools, but only 43% said they trust the accuracy of AI tools and 45% believe AI tools struggle to handle complex tasks. The top benefits of AI tools are increasing productivity (81%) and speeding up learning (62.4%).
In terms of work environment, hybrid work continues to be popular, with 42% of developers working in a hybrid model. In-person work has increased to 20% from 16% last year, meaning that 62% of developers go to the office at least once a week.
Citations:
https://survey.stackoverflow.co/2024/technology/
survey.stackoverflow.co
Technology | 2024 Stack Overflow Developer Survey
✍1