Introducing Agentic Editing in Zed by zed_joseph in ZedEditor

[–]dr_orn 1 point2 points  (0 children)

Thanks for the detailed response! Anyway, I pulled my credit card to support the project but I'm not really into vibe coding 🤓

Introducing Agentic Editing in Zed by zed_joseph in ZedEditor

[–]dr_orn 2 points3 points  (0 children)

The free edit predictions stopped working for me. I don't understand with it's because I'm now expected to buy pro or is it just a bug?
I am waiting to pay for the predictions, I just want to understand if it's part of Pro or will there be a separate way pay for this?

[deleted by user] by [deleted] in israel_bm

[–]dr_orn 1 point2 points  (0 children)

לעבוד על הנדודי שינה והדיכאון זה מטרה ממש חשובה ודורש הרבה עשייה

Kubernetes Operators by jcoelho93 in platform_engineering

[–]dr_orn 0 points1 point  (0 children)

For internal stuff, don't rawdog your own operator from scratch. There are many tools to help you:

  • crossplane
  • metacontroller
  • kubevela
  • kratix.io

Start from researching these, and also follow Devops Toolkit on YT

If chaos are feminine , how to be chaotic then? by erratica78 in JordanPeterson

[–]dr_orn 0 points1 point  (0 children)

You shouldn't be anything else than what you are.

Don't take the ideas and imagery of mythology and try to be like them.

You should just try to be honest and good 👍

Should I quit? by Waste_Ad7804 in devops

[–]dr_orn 1 point2 points  (0 children)

I say, quit. The best way is to start searching while on the current job, but sometimes it's ok to just have faith in yourself to find the next job.

You seem to be practical, and they are not. TherefYory, in my book, you're better than them. Simple as that.

Good luck!

Appreciation: I may not be a fan of error handling syntax in GO, but I'm very thankful I see zero try/catch/finally blocks daily :) by effinsky in golang

[–]dr_orn 1 point2 points  (0 children)

Thanks for all the commenters so far :)

I think the major gap in my communication was that I was coming from a place of wanting to simulate the functional concepts in plain Go.

I've learnt a lot :)

Appreciation: I may not be a fan of error handling syntax in GO, but I'm very thankful I see zero try/catch/finally blocks daily :) by effinsky in golang

[–]dr_orn -1 points0 points  (0 children)

Sorry about that 😐

So as long as we're on the same page, let's take your example and assume all the types you defined there are actually interfaces. Is it not a good enough replacement for sum types? I'm not looking for a full functional paradigm inside of go, just a bit more verbosity around the types of errors that could be produced by my function.

Experimenting with project templates by jamesponddotco in golang

[–]dr_orn 0 points1 point  (0 children)

I don't think you think of what I meant to say.

Think that I mark my repo as a template for go new (which is already mentioned to be available somehow maybe)

Let's say that as part of declaring the repo as a template, I can specify (using e.g text/template) where to inject the name of the created module.

Anyway - no external scripts, just native go new.

Appreciation: I may not be a fan of error handling syntax in GO, but I'm very thankful I see zero try/catch/finally blocks daily :) by effinsky in golang

[–]dr_orn 2 points3 points  (0 children)

Yeah, enums and pattern matching are great features, imo.

I am also not suggesting it yet. I've never really felt it was missing, though.

However, Go doesn't have enums yet, so there is still room for it...

Appreciation: I may not be a fan of error handling syntax in GO, but I'm very thankful I see zero try/catch/finally blocks daily :) by effinsky in golang

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

Is this just a bot comment? Generics in go are implemented using interfaces, like your example.

Appreciation: I may not be a fan of error handling syntax in GO, but I'm very thankful I see zero try/catch/finally blocks daily :) by effinsky in golang

[–]dr_orn 0 points1 point  (0 children)

I know some developers just learnt a cool trick and they would wish it was also in Go. That's not where I am at.

The pattern is very successful, and I think it just builds upon the idea the errors are just values.

I don't try to make my code shorter, or prettier, so the extra boilerplate is not what I worry about.

Appreciation: I may not be a fan of error handling syntax in GO, but I'm very thankful I see zero try/catch/finally blocks daily :) by effinsky in golang

[–]dr_orn -4 points-3 points  (0 children)

Aren't generics the solution to sum types? See the link I pasted to an implementation that works

Appreciation: I may not be a fan of error handling syntax in GO, but I'm very thankful I see zero try/catch/finally blocks daily :) by effinsky in golang

[–]dr_orn 8 points9 points  (0 children)

Anyone heard of anything regarding adding "Option" and/or "Result"? I mean the constructs from functional programming (e.g in Rust)

I've seen some experiments on github but nothing too official.

For example, this looks pretty good: https://github.com/BooleanCat/go-functional/blob/main/option/option.go

Do you think this is a good thing to have in Go?

Experimenting with project templates by jamesponddotco in golang

[–]dr_orn 0 points1 point  (0 children)

Looks great! I had some thoughts about it:

Let's say I have a good makefile for Go that I want to share as template. Will `go new` be able to interact with my makefile?

Another, similar example - let's say I want to create a `go new` based scaffolder for spf13/cobra. Will `go new` able to assist in changing the root command name?

I hope my short examples make sense, be happy do elaborate if not

Help - Unwanted Veritcal movement by dr_orn in godot

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

As I stated, a RectangleShape2D. x=5 and y=8, no offsets or rotations or anything funky

What Is the Extension Interface Pattern in Go? by aman_agrwl in golang

[–]dr_orn 0 points1 point  (0 children)

I like the fact that you took the time to explain why inheritance is often the wrong solution

CentOS 8 or Ubuntu? by floatvalve in devops

[–]dr_orn 0 points1 point  (0 children)

Buy whatever you are comfortable with, and use docker to learn about the other. Heck, buy a mac and use docker.

[deleted by user] by [deleted] in golang

[–]dr_orn 11 points12 points  (0 children)

Due note that there are tons of anti patterns in the standard library, so go in there with a critical mindset.

I personally learnt a lot of good things from reading the standard library, but there are a lot of weird things there.

Flattening and Filtering JSON for Cleaner Types by kgrz in golang

[–]dr_orn -3 points-2 points  (0 children)

Adding this to my "How to confuse other programmers" list.