One of the strengths of Go is the existence of default helper tools such as
For quite some time now, I have to write Python code in professional setting and an automated import is one of the things I miss the most. There are tools to achieve that, ofc, but still.
Another thing about such helper tools is that we often take them for granted, especially when they are default. But you don't have to!
This article describes on a high level how
#go #programming
gofmt and goimport. Thus, you don't have to worry about formatting, for example. These tools can also be easily integrated into your editor of choice.For quite some time now, I have to write Python code in professional setting and an automated import is one of the things I miss the most. There are tools to achieve that, ofc, but still.
Another thing about such helper tools is that we often take them for granted, especially when they are default. But you don't have to!
This article describes on a high level how
goimport works. While it is kinda intuitive, it's always nice to see a bit deeper perspective. And if you want to dive even deeper, you can always just read the code yourself.#go #programming
Niko, doko?
Goimports explained
sorcerers conjure spirits with spells, but programmers invoke processes with code
π5β€1
How hard could it be to write a calculator app?
This article tells the story of the Androidβs calculator app and shows that building a calculator is not as trivial as it may seem.
Honestly, I love articles like this one! They truly remind me why I like engineering.
#programming
This article tells the story of the Androidβs calculator app and shows that building a calculator is not as trivial as it may seem.
Honestly, I love articles like this one! They truly remind me why I like engineering.
#programming
Chad Nauseam Home
calculator-app - Chad Nauseam Home
"A calculator app? Anyone could make that." (this was originally a https://x.com/ChadNauseam/status/1890889465322786878, and has since been turned into an asterisk article) "A calculator app? Anyone β¦
π7
Today, I'd like to share with you a nice YouTube channel Polylog, that does short explainer videos about the computer science concepts.
https://www.youtube.com/@PolylogCS
#programming #cs #youtube
https://www.youtube.com/@PolylogCS
#programming #cs #youtube
π4
According to DOU, Python is the most popular programming language among the DevOps-related specialists who understand Ukrainian.
Pydantic is a popular library for configuration validation, including the configuration that comes from the environment. However, it can break the unit tests, if the required environment variables are not present.
However, you can create a fixture for your Pydantic configuration that patches the environment, so your tests are isolated. Here's an article that describes, how to do that.
#python #programming
Pydantic is a popular library for configuration validation, including the configuration that comes from the environment. However, it can break the unit tests, if the required environment variables are not present.
However, you can create a fixture for your Pydantic configuration that patches the environment, so your tests are isolated. Here's an article that describes, how to do that.
#python #programming
π6
Today, I'd like to share with you a thing I've worked on for quite some time. Well, the majority of the time I was procrastinating it, but still.
This small project is called Cost Exporter. It's designed to fetch metrics from AWS Cost Explorer API and present them as Prometheus metrics on an HTTP endpoint.
In theory, it's extensible. So, other cloud providers and formats could be added.
It may have some rough edges, since I haven't tested it in real production, only in my test account. Also, this is a classical pet-project: its main goal is to refresh some knowledge and play with some new technologies - not necessarily provide a production-grade solution. Still, I think it may be a useful tool. At least, the idea itself is definitely useful.
Cost Exporter is written in Go, has a Helm chart, everything is stored in GHCR, and automated using GitHub Actions. I have some other ideas on how to improve it, but I cannot guarantee that I do that.
Hope, you'll find this project interesting!
#go #programming #aws #kubernetes
This small project is called Cost Exporter. It's designed to fetch metrics from AWS Cost Explorer API and present them as Prometheus metrics on an HTTP endpoint.
In theory, it's extensible. So, other cloud providers and formats could be added.
It may have some rough edges, since I haven't tested it in real production, only in my test account. Also, this is a classical pet-project: its main goal is to refresh some knowledge and play with some new technologies - not necessarily provide a production-grade solution. Still, I think it may be a useful tool. At least, the idea itself is definitely useful.
Cost Exporter is written in Go, has a Helm chart, everything is stored in GHCR, and automated using GitHub Actions. I have some other ideas on how to improve it, but I cannot guarantee that I do that.
Hope, you'll find this project interesting!
#go #programming #aws #kubernetes
GitHub
GitHub - grem11n/cost-exporter: Export AWS Cost Explorer Metrics in Prometheus format
Export AWS Cost Explorer Metrics in Prometheus format - grem11n/cost-exporter
β€8π6π1π₯1π1
A bundle of book bundles for you today. There were a couple of bundles released recently, so I just grouped them together.
1. ML/AI books by O'Reilly
2. Learn to program by Pearson
3. Cybersecurity and forensics by Pearson
Just keep in mind that often Humble Bundle shares reoccurring bundles. So, always check your library before the purchase :)
#books #ml #ai #security #programming
1. ML/AI books by O'Reilly
2. Learn to program by Pearson
3. Cybersecurity and forensics by Pearson
Just keep in mind that often Humble Bundle shares reoccurring bundles. So, always check your library before the purchase :)
#books #ml #ai #security #programming
Humble Bundle
Humble Tech Book Bundle: Machine Learning, AI, and Bots by O'Reilly 2025
Master machine learning with this comprehensive library of coding and programming courses from the pros at OβReilly.
β€3
Under daily routine, it's easy sometimes to forget, why we've gotten into the industry in the first place.
This is where pet-projects come in handy. Also, they are great for learning! Unfortunately, the "pet-project" term got a commercialized a bit. However, this article gave me a new term - "toy software"! I'm gonna use it from now on.
There are a few examples of such toy software that the author wrote through the years. Almost all those examples look super-complex to me. However, one need to understand that each of us has different expertise, and thus different things look easy or hard to each of us. I can easily think of a couple of examples of such platform-related toy software one could build. For example, Cost Exporter really took maybe a week, if I don't account for all the procrastination time.
#programming
This is where pet-projects come in handy. Also, they are great for learning! Unfortunately, the "pet-project" term got a commercialized a bit. However, this article gave me a new term - "toy software"! I'm gonna use it from now on.
There are a few examples of such toy software that the author wrote through the years. Almost all those examples look super-complex to me. However, one need to understand that each of us has different expertise, and thus different things look easy or hard to each of us. I can easily think of a couple of examples of such platform-related toy software one could build. For example, Cost Exporter really took maybe a week, if I don't account for all the procrastination time.
#programming
Jsbarretto
Writing Toy Software Is A Joy
Why you should write more toy programs
π3β€1
A small article about software development in the time of AI -
Writing Code Was Never The Bottleneck.
As the name suggests, this article is about the fact that although many vendors try to sell their AI coding tools as a "replacement for the developers", the blockers that those tools remove were never the biggest ones.
There are companies that understand that and encourage their employees to do "assisted" development, which in turn can yield great results, if people are not afraid of being fired. What a surprise...
#ai #programming
Writing Code Was Never The Bottleneck.
As the name suggests, this article is about the fact that although many vendors try to sell their AI coding tools as a "replacement for the developers", the blockers that those tools remove were never the biggest ones.
There are companies that understand that and encourage their employees to do "assisted" development, which in turn can yield great results, if people are not afraid of being fired. What a surprise...
#ai #programming
ordep.dev
Writing Code Was Never The Bottleneck
LLMs make it easier to write code, but understanding, reviewing, and maintaining it still takes time, trust, and good judgment.
β€10
Some time ago, I shared an article from Honeycomb that had a notion of the "durable vs disposable" code. The gist is that there are two fundamental types of code bases: durable (OSes, databases, compilers, etc.) - those that should be predictable and stable; and disposable (PoCs, experiments, etc.).
In her new article, Charity Majors elaborates on this concept. There are some insightful things there. For example, that the cost of software is defined not by how hard is to write the code, but what degree do you need to maintain it. Also:
If I had to guess, I suspect it [writing the code\] wonβt be a profession at all so much as a skill set, much like typing or spreadsheets, that any tech-literate modern worker is expected to pick up in order to perform the functions of their job in marketing, sales, product, design, etc.
However
Anything that can be done with disposable code probably will be, because as we all know, durable software is expensive and hard. But disposable software is a skill set; durable code is a profession.
Anyway, this is an interesting read.
#culture #programming #ai
In her new article, Charity Majors elaborates on this concept. There are some insightful things there. For example, that the cost of software is defined not by how hard is to write the code, but what degree do you need to maintain it. Also:
If I had to guess, I suspect it [writing the code\] wonβt be a profession at all so much as a skill set, much like typing or spreadsheets, that any tech-literate modern worker is expected to pick up in order to perform the functions of their job in marketing, sales, product, design, etc.
However
Anything that can be done with disposable code probably will be, because as we all know, durable software is expensive and hard. But disposable software is a skill set; durable code is a profession.
Anyway, this is an interesting read.
#culture #programming #ai
π1