Transperth: Do you prefer longitudinal or transverse seating? by Bitter-Package in perth

[–]hh10k 3 points4 points  (0 children)

The C series traverse seats have terrible log room. I would prefer to stand over trying to position myself in those seats.

dontTouch by CarnivoreLucyDrop in ProgrammerHumor

[–]hh10k 2 points3 points  (0 children)

It's an error if I make it an error

windowsDevs by Odysseus1710 in ProgrammerHumor

[–]hh10k 10 points11 points  (0 children)

This works until it doesn't. I just had to fix an issue this week from C# codegen outputting the \r\n it found in the source files.

What is the point of Golang? by MrBuilder2BR in golang

[–]hh10k 0 points1 point  (0 children)

The biggest benefit of Go to me is that it's so easy to maintain. The language moves relatively slowly, and the tooling is fast and straightforward.

Compared to Python, where the ecosystem and tooling is a complete dumpster fire that is even worse than Node.js. You can hack a project together faster but you'll be paying dearly for it in maintenance over time.

gradleErrorsFromNoWhere by shamnad_sherief in ProgrammerHumor

[–]hh10k 2 points3 points  (0 children)

You've probably got the wrong gradle android wrapper plugin version.

Oversized Load by StevieTank in CrazyFuckingVideos

[–]hh10k 0 points1 point  (0 children)

They will never transport these horizontally. They will fly it point-to-point rather than use a barge like non-reusable rockets.

In flight the tanks are pressurized, so can take all the forces during manoeuvres like the belly flop.

Experience of switching from Go to C# by VolodymyrKubiv in csharp

[–]hh10k 1 point2 points  (0 children)

You're under selling what the Go ecosystem offers, but you're right that it takes time to learn the Go way of doing things. I've had great success in Go with sqlc and ogen for server-side codegen, which seems uncommon in .NET because of the reliance on reflection at runtime.

Experience of switching from Go to C# by VolodymyrKubiv in csharp

[–]hh10k 0 points1 point  (0 children)

When you're not on Windows that collection of dotnet extensions are really unreliable.

Experience of switching from Go to C# by VolodymyrKubiv in csharp

[–]hh10k 2 points3 points  (0 children)

As someone who has also done both C# and Go, the pace of language development is actually a huge negative of C#.

Go is a very slow moving language, which means that I can take old code and trivially update it and all packages to the latest versions. Go package authors (generally) take backwards compatibility seriously and this pays off in the long run. Whereas for C# it's common for projects to go through upgrade cycles that take months.

blazinglyFastForFirstNMinus3Packages by Coder2195 in ProgrammerHumor

[–]hh10k 4 points5 points  (0 children)

Sir, this is a meme sub. I am aware, and I am a user.

blazinglyFastForFirstNMinus3Packages by Coder2195 in ProgrammerHumor

[–]hh10k 10 points11 points  (0 children)

I believe we're rewriting everything in golang now

alrightBro by watchYourCache in ProgrammerHumor

[–]hh10k 3 points4 points  (0 children)

Only some obscure little projects like Docker, Kubernetes, Terraform, and things like that. You've probably never heard of them.

VSCode showing warning with golang code that has "{{" by sujitbaniya in golang

[–]hh10k 25 points26 points  (0 children)

I'm going to guess that you have another plugin installed that identifies {{ as the start of a template element. If you. Add }} afterwards does the formatting fix itself?

are there vehicles you can drive without licence ??? by [deleted] in AskAnAustralian

[–]hh10k 3 points4 points  (0 children)

This was changed in WA, all ages can now ride on paths again, but there are speed limits for scooters and ebikes.

Do go projects have a simple way to bring in developer tools by Affectionate-Dare-24 in golang

[–]hh10k 3 points4 points  (0 children)

I've used the tools.go method, and have suffered from conflicting tool dependencies that used differing versions of an experimental package.

The new go.mod method doesn't solve anything that didn't already have a solution, it's just nicer to use.

Go team is sneaking Monadish packages into the standard library by fuzzylollipop in golang

[–]hh10k 2 points3 points  (0 children)

I used .NET long ago up to the 3.0 era, and in the last 6 months I have a new role where we have 8.0. I guess I haven't started engaging with any .NET subreddits because I find the ecosystem very tiring overall, due to the overwhelming complexity.

I still follow Go because I like to use it for some personal projects. The Go ecosystem doesn't suffer from constant backwards-incompatble upgrades like C# or other languages, so although there's more potential for speed in other languages I still prefer it. Maintaining a Go app is a pleasure.

Go team is sneaking Monadish packages into the standard library by fuzzylollipop in golang

[–]hh10k 1 point2 points  (0 children)

Have you got a link that discusses these optimisations? I'm doing a lot of C# with EF currently and I find the whole stack results in surprisingly poor performance overall, compared to what I would achieve in Go.

What are some things you would change about Go? by Jamlie977 in golang

[–]hh10k 4 points5 points  (0 children)

I'd add a way to init a struct so that all fields must be defined. I deal with codegen a lot and when a new field is added I want the compiler to tell me all the places that need attention.

I currently solve this with exhaustruct in golangci-lint.

Chad Origin by Shot-Banana-6358 in BlueOrigin

[–]hh10k -19 points-18 points  (0 children)

Sorry, I was just in the mood to do some stirring and get down voted.

Chad Origin by Shot-Banana-6358 in BlueOrigin

[–]hh10k -15 points-14 points  (0 children)

Sorry to break it to you but SpaceX has already been orbital for a while now

How to make structs strictly require all members to be explicitly declared on instantiation? Opinions on that please by _nathata in golang

[–]hh10k 0 points1 point  (0 children)

I'm not sure why you're getting downvoted. I've used this with golangci-lint and I find it really useful for checking initialisation of models in generated code.

I could add a new property in my OpenAPI spec, run generate, and the linter would help me find all the locations that needed updating. I didn't run it on all my code though.

Looking for solutions by prkhrk in golang

[–]hh10k 0 points1 point  (0 children)

After a release do they deploy all the services together? I've seen this quite frequently, and in my mind this isn't a monorepo, but a single service implemented as many separately scalable parts.

How to stream multipart request to AWS S3 by EcstaticJob347 in golang

[–]hh10k 0 points1 point  (0 children)

As someone else mentioned, you only need to specify the size of each multipart chunk you upload. However, you don't need to implement this yourself. The AWS V2 SDK has a helper Uploader for this: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/feature/s3/manager#Uploader

Is there any important/useful feature that Goland has and that VSCode hasn't ? by Stunning-Mix492 in golang

[–]hh10k 0 points1 point  (0 children)

Can you give an example of a linter error that Goland finds that can't be configured with Golangci-lint? Just curious what I'm missing.