Komunitas
programming.dev
Interesting. I’ve never personally had too many issues with startup. I actually thought Golang already had something like this built-in with ‘go mod init’. Looks like i was wrong… Having boilerplate does help. Cobra CLI is pretty great if you will only be using your binary on the cli.
Komunitas
lemmy.world
Oh yeah. My favorite (and only) plugin so far is the https://github.com/twibiral/obsidian-execute-code Let me explain: Obsidian is basically a very fancy wrapper around a folder with markdown files in it. (which makes it git compatible, which is one of the upsides). In Markdown, you can define codeblocks, with syntax highlighting, because of course you can, programmers will improve their own tools first. Now, there are two cases when you would do this: you want to execute the code because it’s actually driving something. Like some kind of interactive, “this is the manual, but also, you can just do it right away by executing this code” and then they give you the code. you’re actually building it as a document, and you want something in your document that is actually the output of some program that’s producing some output. Like… analyzing numbers and creating a graph. You can now just put the code in the document, hit “execute” and you get your output in the document right then and there. And that concept isn’t new, it’s what “jupyter” also does, but jupyter uses a weird bytecode, xml zip format or something, in obisidian, because of the markdown base, it stays just code. (which again, makes it git compatible where jupyter isn’t) AND you can do it not just with python but with… JavaScript TypeScript Python R C++ C Java SQL LaTeX CSharp Dart Lua Lean Shell Powershell Batch Prolog Groovy Golang Rust Kotlin Wolfram Mathematica Haskell Scala Racket Ruby PHP Octave Maxima OCaml Swift
Komunitas
programming.dev
While it doesn’t provide an SQL interface, I’ve been using Nushell as my shell, which has native data operations. I tried querying the same, and I’m still not fluent (this was my third or fourth bigger/practical data querying), but it works well and fast too when you know the syntax: http get https://api.github.com/orgs/golang/repos | each {|x| get license} | get key | group-by --to-table | update items {|x| $x.items | length } I’ve used Nushell for reading en-mass json files, generating command json files for stuff saved in excel files (you can natively open those too), and most recently to query log files for specific information and usage analysis. /edit: This comment has the better nu solution.
Komunitas
sh.itjust.works
Ironically, Python is older than PHP, albeit not by more than a few years (1991 vs 1995). Both are antiquated at this point, but both have their uses, so do what works, no shame here. I tend to prefer statically typed languages personally and TDD is a big win for larger code bases when possible. My current place of employment has been on the Golang and Rust bandwagon for a while, but theres still plenty of dotNet, PHP and Python hanging around because they were just the best tool for the job at the time.
Komunitas
lemmy.ml
I’m self teaching myself to become a true Fullstack Dev, mainly using JS/TS, but also semantic HTML and Vanilla CSS, but have more than a passing knowledge of Bash, and have scripted web scrapers in Python. I also want to become proficient in C, Golang and Rust over the long haul. Lastly, I am studying, and plan to upkeep my skills in Data Structures and Algorithms, as well as Optimizing SQL queries. That said, I have a degree in Illustration and can definitely identify with many of the sentiments this article expresses and agree with pretty much all the points he makes. You can make the most well designed back end API or optimized Database in the world, but what it returns won’t mean shit to the user if its frontend isn’t accessible, easily understandable as to how to interact with, readable, and also beautiful. People toss that last one out as a want, not a need, but how often have you chosen a client app over another because you just preferred the way that one looked? Ultimately aesthetic artistic beauty is one of those things we not only live for, but survive because of. Without it we become depressed, bored, and aggravated. It’s as important as food, as water, as air. We may not die as quickly when deprived of beauty, but we do die all the same without it. In short, creating beauty is serious work.
Komunitas
leminal.space
I’m trying to write a Nix package for a closed-source, precompiled binary with an unusual twist. The binary is statically-linked, but it contains an embedded binary that is dynamically-linked. Is there some way I can use patchelf or another tool to path the interpreter path in the embedded binary? The embedded binary does not have any runtime library dependencies, but it does need an interpreter which it expects at the hard-coded path /lib64/ld-linux-x86-64.so.2. It is embedded using the golang “embed” library. I have a workaround that wraps the binary using buildFHSEnv. That works, but the resulting closure is about 300 MB bigger than it needs to be.
Komunitas
pawb.social
I assume you have already tried the official tutorials, but Go By Example is a great “learn by doing” kind of tutorial. Others that I found in a quick DDG search: https://www.w3schools.com/go/index.php - a very simple introductory tutorial https://www.learn-golang.org/ - an interesting tutorial that lets you run exercises in your browser https://go.dev/tour/list - a similar interactive tour
Komunitas
feddit.org
Golang für buzzword bingo und nagios (legacy) tun mir etwas weh :')
Komunitas
lemmy.world
Oh, it’s all still Kubernetes YAML. The difference is in how it’s represented. Helm Charts are packaged Golang templates of Kubernetes YAML, and as such have a whole lot of limitation since the only logic you can put into them is Golang template logic. This is still Kubernetes YAML, but instead you write any program you want to return the YAML, as long as it fits in the sandbox, so it’s pretty open-ended. For example, as a stretch goal, I might add an engine to it that could recompile Helm Charts into Mistletoe Modules.
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
szmer.info
W końcu nastał ten dzień – nowy crawler napisany w Golangu zaczyna powoli zastępować skrypty napisane w Pythonie. Na swoim blogu nakreśliłem potencjalną ścieżkę rozwoju crawlera.
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
programming.dev
Hi Gophers! I recently launched and open sourced Cloud Snitch, a dashboard and firewall for AWS activity. The backend is 100% Golang! /r/golang liked it and I hope you will too!
Komunitas
programming.dev
Hi Gophers! I recently launched and open sourced Cloud Snitch, a dashboard and firewall for AWS activity. The backend is 100% Golang! /r/golang liked it and I hope you will too!
Komunitas
programming.dev
The Go team is working on a new garbage collector called Green Tea.
Komunitas
bolha.us
Uma nova skill, ainda tem muito chão pra percorrer e caminhos a trilhar, mas hoje conquistei uma nova badge para minha coleção. Primeiros passos em @golang mais uma ferramenta para meu #ToolBelt
Komunitas
rss.ponder.cat
The latest version of Kubuntu has officially arrived and is ready to nestle into your machine like a penguin in fresh snow. While it is not a long-term support (LTS) release, it has plenty to offer for people who are looking to use the most recent applications and packages the Linux ecosystem has to offer. With a short support period of only 9 months, this release might contain system-breaking bugs and is not recommended for new users who don’t know their way around such interim releases. With that in mind, let’s jump into what this release has to offer. 🆕 Kubuntu 25.04: What’s New? Powered by Linux kernel 6.14, this release of Kubuntu has been worked on by the developers diligently, with it featuring KDE Plasma 6.3.4 as the desktop environment. Interestingly, the developers have chosen to default to the Wayland session of Plasma, with an option to switch back to X11 on the login screen. Kubuntu 25.04 also comes with Qt 6.8.3 and KDE Frameworks 6.12.0. For older apps that still need Qt5 support, Qt 5.15.15 and Frameworks 5.116.0 are around in Kubuntu’s archive. As for the pre-installed applications, the Snap for Firefox 137 is being provided as the default web browser, and LibreOffice 25.2 is included as the office suite with the full Kubuntu installation. Development Toolchain Upgrades There are various toolchain updates with the release that include: Golang updated to version 1.24.Binutils updated to version 2.44.LLVM now defaults to version 20.Python refreshed to version 3.13.3.Glibc library updated to version 2.41.Rust toolchain defaults to version 1.84.Inclusion of a snapshot of the upcoming GCC 15.OpenJDK 24 GA and OpenJDK 25 are now available. Take a look at the official release notes to see everything that’s new with this release. 📥 Download Kubuntu 25.04 You can find the latest ISO on the official website, which has direct download links and alternative download methods via Torrent and download mirrors. Kubuntu 25.04 💬 Let me know what you think of the new Kubuntu release. From It’s FOSS News via this RSS feed
Komunitas
discuss.online
Yes, the about site needs a lot of work. The demo site is using the Lemmy frontend but Java Springboot backend. The whole intent of the first milestone release is to be a drop-in replacement for Lemmy. It’s after that where we will differentiate with things like better moderation/admin support, etc… The federation service will be built in Golang. And yeah, we need to do a lot more work on outlining what work needs to be completed in the form of issues. Those 8 for sure are things that need to be done though.
Komunitas
lemmy.my.id
Work in Education and Software Industries. I did manage fleet of Ubuntu and RHEL/Fedora instance. Mostly in education is research based services on top of container, either docker swarm or openshift. Most tech stack is PHP, Python for ML, and NodeJS In software industries, I use kubernetes, and tech stack Nodejs, c#/net core, php, Java, python, golang, and some other popular language. Mostly using microservices arch, with DDD-MVC approach. In education we have 10-20 Ubuntu/RHEL/Fedora for production, in Uni Labs, we have fleet (more than 20) of Gnome desktop with RHEL, supported by Red Hat Academy APAC. We do dual boot with windows because some WPF/.NET Desktop development lecture still held, but with Avalonia and React Native, seems it will change near future. In software industries, mostly developer use windows, but they do debug on WSL2. Only small percentage using Linux desktop. Some are using mac, but it’s under 3 people, negligible. Well… For Education, it need about 7 years to fully moved from Windows server 2012, using Full Linux. In past some lab do have MacOS server, but I never encounter or support them so… I can’t speak much. But in software industries, from start, we have Linux box, and grow over time. We only have special windows server for SQL server that need reporting server ability, mostly tied to SAP/ERP project, the rest are in Linux Box. Mostly we use red hat ansible to make standard deployment. We do have cloud init, but only for first deployment, then ansible.