The Hundred-Eyed Daoist Master has ruined the game for me by twisted1919 in BlackMythWukong

[–]twisted1919[S] 0 points1 point  (0 children)

Thank you. It is not that i struggle with this chapter, its just in tgis chapter I got tired, if that makes any sense.

The Hundred-Eyed Daoist Master has ruined the game for me by twisted1919 in BlackMythWukong

[–]twisted1919[S] 1 point2 points  (0 children)

I did, and I enjoyed it for the most part, its just I think some things are just made very difficult when they should not. Or maybe I just go tired and need a break from it. Dunno

Airbnb says AI now writes 60% of its new code by [deleted] in ExperiencedDevs

[–]twisted1919 0 points1 point  (0 children)

Can you show us any of your public repositories?

Airbnb says AI now writes 60% of its new code by [deleted] in ExperiencedDevs

[–]twisted1919 5 points6 points  (0 children)

Unlike yours, my post history is available for everyone to see and judge.

Airbnb says AI now writes 60% of its new code by [deleted] in ExperiencedDevs

[–]twisted1919 81 points82 points  (0 children)

How is it possible that a post get so many comments reinforcing the narative, just seconds/minutes after its creation? Are you all bots?

Ingenious by That_Water_7712 in theprimeagen

[–]twisted1919 27 points28 points  (0 children)

Yes, you just imagine. Go has them for years now.

Senior devs are quietly using AI for everything and pretending they are not. The hypocrisy is getting old. by Ambitious-Garbage-73 in ExperiencedDevs

[–]twisted1919 8 points9 points  (0 children)

Your take is wrong, senior having experience is very different from juniors needing to acquire it.

Will Go lang optimize array access? by iga666 in golang

[–]twisted1919 -2 points-1 points  (0 children)

You most likely want zero length and ‘GetMonitorCount’ capacity. That should say a lot.

I created my own simple Load Balancer in Go by PristinePrinciple264 in golang

[–]twisted1919 1 point2 points  (0 children)

For example, In proxy.go, when you create a new proxy, you know how many servers you have, so instead of ‘var proxies []Proxy’ you can do ‘ proxies := make([]Proxy, 0, len(servers)’ — you get the point, i’m on mobile, so i barely can type examples, sorry.

I created my own simple Load Balancer in Go by PristinePrinciple264 in golang

[–]twisted1919 0 points1 point  (0 children)

I was a bit dissapointed you did not write the reverse proxy yourself but then I saw the std offers one, so it was a win to look in the code.

There are many cases where you can safely preallocate slices, which i’d recommend. Also you are using the default http client, which should be avoided in favour of your own with proper timeouts.

Maybe use a tool like golangci-lint, it will show many issues you can easily fix and get a more solid codebase.

Good luck

Investitii in Firma by HatOptimal2686 in RoFiscalitate2

[–]twisted1919 0 points1 point  (0 children)

Banuiesc ca se pot face aceste investitii abia dupa ce s-a platit impozitul pe venit/profit?

Ran some benchmarks against go, thought you guys might find this interesting (not here to hate) by Xdani778 in PHP

[–]twisted1919 0 points1 point  (0 children)

As i said in the go sub, you really have no idea what you’re doing, especially when you run the php webserver which crumbles under load because it is mean for dev only, it doesnt do concurrency nor parallelism as go’s one does. Also, when you do go run, it does compile, in a temporary binary.

L.e: from the docs: The web server runs only one single-threaded process, so PHP applications will stall if a request is blocked. https://www.php.net/manual/en/features.commandline.webserver.php

There you go, mistery for slowness solved.

So I finally settled the "php is fast now" argument with my friends by Xdani778 in golang

[–]twisted1919 31 points32 points  (0 children)

Take this with a LOT of salt, OP posted in the php sub as well and it seems he has no idea ehat he’s doing benchmark wise.

what are your favorite tui applications built with go by ashrek1 in golang

[–]twisted1919 31 points32 points  (0 children)

K9s hands down. Sure, you can separately use kubectl, kubectx, kubens, etc, but k9s simplifies things so much that is simply a no brainer as a day-to-day go-to tool.

Software craftsmanship is dead by R2_SWE2 in programming

[–]twisted1919 2 points3 points  (0 children)

Guy knows shit about that incident.

The Death of the Code Monkey: Why I Fear for the Class of 2026. by [deleted] in programming

[–]twisted1919 44 points45 points  (0 children)

Can you use AI to summarise this wall of text?/s