Sekitar 20 hasil (2.12 detik)
Komunitas lemmy.nrd.li

I need to buy laptop

Under load it can get pretty hot, might be better with a less power hungry processor (I’ve got an i7). Battery is reasonable 4-5ish hours (55wh and they recently announced a drop-in replacement with better chemistry that is 61wh) with what I would consider to be “normal” usage in Windows 10 including WSL, browsing, running the software I am working on (usually node or golang), etc. It’s also better if I lower my screen brightness, but I usually keep it pretty high/max.

Komunitas hachyderm.io

Profile Guided optimisation with Go

Profile Guided optimisation with Go https://andrewwphillips.github.io/blog/pgo.html An article from a mate of mine from the Sydney Go programmers meetup (in Australia). #golang @programming

Komunitas lemmy.world

Are you a professional or a hobbyist? How did you get your start in programming? What type of project/s are you working on currently?

Started out apprenticing as a Sysadmin, have been doing that until I got into DevOps. Always had an interest in programming as I was always limited in what I could do by what people had already created. I’ve used Python, JavaScript, Golang, and now Rust over the course of my career. Currently learning wasm and how Rust’s borrow checker and generics get along.

Komunitas lemmy.ml

[Discussion] Golang / self-hosted docker apps.

First of all, thank you to all the amazing things you do for the self-hoster, FOSS comunity ! We won’t be able to have those shiny things without you ! I’m not a dev and have just played arround with python (and I know how most of you feel about it 🤫) so I have very limited knowledge regarding programming languages. I know whats a low level language (C, C#, rust?), general scripting tools and even heard about assembly. And it always baffles me how all those coding lines rule and make our microchips communicate and understand each other, but that’s another story ! This is about golang ! As a self-hoster enthousiast, when I’m looking at a github repository, I always check the programing language used, even though I have no idea if those integrate well with each other or if it’s the best programming language for that kind of application. And everytime I see golang, It makes me smile and have a feeling it’s going to be a good application. I know it also depends on the programmer skills and creativity, but all my self-hosted Go apps works like a charm. Traefik is the best example, I never had any issue or strange behavior, except for wrong configuration files on my side, Or navidrome a music server compatible with subsonic, also written in go, is working great and fast AF ! Or Vikunja, the todo app… and many more ! I’m probably biased because I have no idea of how the programing realm works, but I have the feeling that Golang is a certificate for good working and fast applications. Just to bad it’s backed/supported by google (uuhhg) Feel free to debate and give me your personal opinion of the Go language, if my feelings are right or Am I just beeing silly :). Thanks for reading through 👋

Komunitas sh.itjust.works

*Permanently Deleted*

As a DevOps manager who regularly talks with development about hiring/architecting, and works at a Fortune 500. Here’s our short list: kubernetes/containers (like deep knowledge, not just “I ran helm once”) CI/CD, and IaC + GitOps golang/rust/dotNet… modern statically typed and compiled languages are greatly preferable. Python/bash/PHP is clutch, but it’s also easy to pick up if you know the above, and honestly I kinda just assume it at this point. actual complete understanding of Git. solid full stack development experience/understanding cloud experience (AWS or Azure mostly, but GCP is close enough) thinking/problem solving skills Honestly, I’ve seen so many people with AI experience of some sort, it’s not a difference maker. It’s fairly easy to learn and no Fortune 500 is hosting their own LLM unless that’s the point of the business. If you actually understand the stack and how things relate, it’s huge. A big part of hiring is understanding what the person knows and how well they know it to know if they can apply their wisdom to other things. You know some day AI is going to burst, something better than Blockchain will happen, Rust or Golang will be superseded, a new cloud provider will appear, etc. I need to know you can apply your understanding and knowledge to some new challenges using tools that aren’t even concepts now.

Komunitas lemmy.ml

Debate: Go vs Rust (Toolchain Privacy Practices)

This post is not related other previously published posts. But I want to know your opinions. This debate does not focus on “which technology is better” or “which has better support”, rather it focuses on which of these two technologies seems more acceptable in terms of privacy policy and user information management (on his respective toolchain, compiler, etc). Golang homepage. Rust homepage.

Komunitas lemmy.ml

Golang telemetry (again)

There are no “news”, but I’m worried about this business actually. I’m in knowledge that post already exists but I’m not clear at all. Resuming: Google is trying to add telemetry to Go’s toolchain (such as .NET and Dart/Flutter). It also added the GOPROXY environment variable that uses the Google’s Go proxy to… Just collect more user data? I’m a pretty beginner Go dev, but I’d like a toolchain without these telemetry or at least some instruction of how to opt out this thing. Sorry for repost, but I don’t find enough information in any other place. :(

Komunitas feddit.de

Why should I use rust (as a Go enthusiast)?

Ironically, I learned Rust first, and later looked at Go. I found a lot of the syntax needlessly “different”. That being said, it’s still a decent language. Point being, a lot of the weirdness subsides once you understand why it’s there. Personally, I don’t actually care about the lifecycle and memory management stuff. What I like about Rust is: An enforced error type that is very convenient to use with the ? operator. No more err != nil spam, but same amount of safety ADTs with a host of wonderful features, like exhaustive match statements. Go enums are horrendously basic, let’s be honest NO NIL!! Non existence is expressed with an Option type that, like the error type, comes with many conveniences Generics from the start, meaning you don’t have older code that throws away type safety anywhere Traits/Interfaces can be implemented for foreign/external types and types can implement external interfaces (duh) Great tooling, good formatting tools, good LSP, that kind of stuff. Golang has that too Why learn Rust? For the same reason everyone should learn different languages. To learn new concepts and see new perspectives on old problems. It’ll make you a better developer even in your previous languages.

Komunitas lemmy.ml

What is in your opinion the best package manager?

My workflow is basically that instead of installing all dependencies for a project, I run a container with what I need that is usually removed immediately after execution. As an example I recently wanted to compile minikube from source. To compile the project I would need to have go installed as well as make, and since I don’t have any of those tools installed to my base system I used the official golang container from dockerhub. Compilation is then run with podman run --rm -it -v $(pwd):/usr/src/minikube:Z -w /usr/src/minikube golang:latest make which simply mounts the project and compiles it using make, and since the entire project folder was mounted in the container any binaries and other output can be found in the configured output directories on the host. If I have any project I have to run or compile often inside of a container I can easily create an alias or function in my shell to run the podman run command for that project. I like this workflow a lot since it keeps my host system clean, and it makes it easy for me to build projects with different dependencies with little to no conflicts. I much prefer this over toolbox since I don’t have to consider the state of my toolbox container and images are always updated to their latest version without any need to manually keep packages inside the toolbox up to date. I might do a more thorough write up of my workflow on my blog in the future and if I’m satisfied with it I’ll probably post it here as well.

Komunitas lemmygrad.ml

Microsoft wants to replace its entire C and C++ codebase, perhaps by 2030 - Plans move to Rust, with help from AI

Is rust like some sort of neoliberal intervention? No it’s just the same annoying people that bandwagoned Golang back in the 2010’s now are bandwagoning Rust. There’s just a group of people that chase trends and are insufferable. But what is the communist line on rust Honestly I hope there isn’t one. It doesn’t really make sense to me to have a political stance weigh in on a programming language.

Komunitas programming.dev

Malicious VSCode extensions infect Windows with cryptominers

Yo, @[email protected], check the article again. Prettier, a very popular extension, heads the list now: Prettier — Code for VSCode (by prettier) – 955K Installs Discord Rich Presence for VS Code (by Mark H) – 189K Installs Rojo — Roblox Studio Sync (by evaera) – 117K Installs Solidity Compiler (by VSCode Developer) – 1.3K Installs Claude AI (by Mark H) Golang Compiler (by Mark H) ChatGPT Agent for VSCode (by Mark H) HTML Obfuscator (by Mark H) Python Obfuscator for VSCode (by Mark H) Rust Compiler for VSCode (by Mark H)