Hey I'm waiting for the 2nd edition, back to writing! β€οΈ Or else I will ship my poorly copied retriever based on the few notes in the chapter from the first book. This has been such a fun read so far.
@bmarinov
Software architect, Go developer and testing propagandist. Busy beating colleagues with his personal copy of Enterprise Integration Patterns. They are resisting. I like mixing my morning coffee with some observability, ebpf and edge telemetry work. EU ~ π©πͺ
Hey I'm waiting for the 2nd edition, back to writing! β€οΈ Or else I will ship my poorly copied retriever based on the few notes in the chapter from the first book. This has been such a fun read so far.
You could call it T... Ah no you know where this is going, I'm not good at jokes π
Wait this is the price increase @.@ im so glad I have a stack of 8GB 4's stored securely in a Pelican case. Gotta need the spares.
The flag of Greenland. The bottom half is red and the top half white, and offset from the center there is a circular design with the bottom half of the circle white and the top half red. It is meant to symbolize ice caps and the sun setting over the ocean.
The only good thing about all this is that it has brought to my attention that the Greenland flag frickinβ rules. #Erfalasorput
Where is the pressure to host on Substack coming from? Just curious, wouldn't some platform like Ghost be great for writing? It seems to support the usual features people want or expect too (membership). Hell it even looks better and more transparent wrt billing.
Man, have fun and do join next year! I'm out of town with family, would love a signed coffee mug or something π
I am so close to pulling the trigger, you beautiful self-organized nerd! β€οΈ
Side question, are you actually writing internal / work stuff on your remarkable or keeping only private / not-confidential stuff there? Asking for a friend (compliance gonna compliance).
See, they did an AB test and figured out that people click more when something is free. It's not T-Mobile's fault that they want to charge you for it. A present* it is then!
(* charges may apply)
And generally naming things in go feels vastly different (better) than most OOP languages. r.keys.Get(id) instead of this.KeyService.GetKey() etc. And the focus in general is on the flow when reading.
Extensions methods are great and overused, I wouldn't focus on them wrt good language design.
Methods only hide the first parameter (receiver) anyway. What I'm trying to say is, when I declare a method with a receiver, there is no notion of this or self. In c# this happens in the class context, so 'this' makes sense. Not arguing just a diff explanation to "too generic, bad practice".
If you cant define a good name it's okay to simply use 'r' (abbreviated receiver).
There is no this, neither a self in this context. Receiver funcs don't live in the context of the struct. Definition is on the package level.
Using the Java/Python convention is factually incorrect here. #go
Yes it exists, this was my point (bs reply char limit). I get that it sounds. A few questions:
Where should the "text grabs" end, do you need eg to paste into email on your phone?
And how can a third party make sure that you aren't secretly grabbing text off their phone screen? Just a few thoughts
Yeah, definitely! Only if something like optical recognition of characters existed.. We would then only need a hand held camera running an operating system capable of executing applications.
But getting ads beamed right into my eye socket while I drive or walk around would do as well π
100x this. I was doing some Github actions release tasks recently when I got completely off guard that the GH owned publish release tasks repo is... Archived since 2021 and using the tasks causes deprecation warnings. Way to go, Microsoft.
Canβt see any reason for sw engineers to choose Windows with this weird direction they are doubling down on
So odd because Microsoft has building dev tools in their DNAβ¦ their OS doesnβt look like anything a builder who wants OS control could choose
Mac or Linux it is for devs
Are we there yet.. Oh my *** yes! Thanks for the link, finally something usable π can't stand json schema.
I mean, this is definitely one way to do this. But in general, as long as there is a run(ctx, cfg) function in main.. This is usually not an issue? Am I missing something or is this a recommendation for no pkg level init (smelly) and declaring / passing your dependencies in one place?
Looking through the usual channel feels like shouting into the void so I appreciate the message here. Hopefully you didn't get completely spammed on LinkedIn though (reading is hard). It may be worth sharing how this went further down the road?
(also I'm low key hoping for constructive feedback)
I've had good success with Bruno so far. Migrated to it once Insomnia started pulling the postman trick. But I also use these tools to send requests and don't build my test suite on top of them for example. Absolute madness whoever thought dev time involved in postman tests is a good idea.
Can you tell me some more about this? I've been gathering some notes on European alternatives (or the lack thereof) and their deficiencies. 'Concerning' doesn't even begin to describe the state of things.
Is this some AI slop summary which.. makes an absolutely false statement? Ah well..
Oder gerade richtig :)
Ah Java conventions, the shining beacon of good naming
FooServiceImpl implements FooService
As someone having extensively dealt with Java/C#, JS and Python in the past - I would rather work on Go. But I have to admit, switching back to it from the usual suspects takes a few mins to reorient
Sigh, module support was added 7 years ago.
I'm trying to clarify a few things:
- You are not forced to, and actually you should not be putting your source code under GOPATH.
- you can change the GOPATH path, haven't touched macos in a year but this should probably be done via zshrc.
For the record, I agree that home pollution is annoying.
Which year is this and why are you fiddling with gopath? If is possible that you have found outdated tutorials and resources. With go modules you rarely have to care about gopath.
And if you vendor, all the code and packages are right there in the repo. Copy into container, kick off build, done. It is a trade-off.
There's one more problem I wanted to eventually write about - private #Golang packages. Authentication w git works alright. But in container builds you now need git credentials. Compose is a huge pain too - no ootb secret support. And sharing w/ other teams becomes dx hell. Its doable just clunky.
I don't have as much insight so I hoped that I'm just ignorant and out of the loop. So.. apparently it's not just poor marketing either. Last winter I was looking at open positions, none of the hosting companies left me with the impression that they are staffing to expand offerings.
Yeah and honestly, Service bus blasts sns/sqs plumbing out of the water. Azure is my home cloud and I have a strong preference for it, but I would really like to have an european alternative. The Hetzner's/OVH/... seem to be 10+ years behind with their offerings, and no messaging solutions in sight.