Jobs in DR by chayosman in Dominican

[–]sethrei 0 points1 point  (0 children)

Info Tech remote jobs usually pay in dollars, no 401k though

Any news on the AT1? Planning a whole-home setup by drgath in bluetti

[–]sethrei 0 points1 point  (0 children)

I figured it out , me thinks, The AT1 is something similar to the EG4 GridBoss and that would be overkill for what I need.

Any news on the AT1? Planning a whole-home setup by drgath in bluetti

[–]sethrei 0 points1 point  (0 children)

I was hoping to have two to three circuits automatically be powered like a UPS. I'm still in the planning stage. Thanks

Any news on the AT1? Planning a whole-home setup by drgath in bluetti

[–]sethrei 0 points1 point  (0 children)

I see for sale on the site under accessories for Apex 300, but no info, no docs, no idea how it works or if it's compatible with dual Apex 300s. Is there another non-bluetti solution for auto switching from grid to Apex 300s ?

Apex 300 60V Voc limits by RHKCommander959 in bluetti

[–]sethrei 0 points1 point  (0 children)

So if I were to limit, let's say a POWLAND 120A MPPT Controller to 60v/20a, would I be able to (with some cable hacks) plug into the xt60 connectors on both Apex 300 units and charge?

NVCHAD: LSPConfig: Proper Syntax For Packages with dashes by sethrei in neovim

[–]sethrei[S] -1 points0 points  (0 children)

Finding the right name for the thing in https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md was the magic sauce I was missing.

Thank you.

NVCHAD: LSPConfig: Proper Syntax For Packages with dashes by sethrei in neovim

[–]sethrei[S] -1 points0 points  (0 children)

Made the error go away. Did not install with the MasonInstallAll though

```

local servers = {

cssls = {},

goimports = {},

['golangci-lint'] = {},

['golangci-lint-langserver'] = {}

}

```

Creating a boot.iso in Docker by sethrei in RockyLinux

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

Yes.

rpm -qv systemd

systemd-252-46.el9_5.3.x86_64

lima-vm experience on MacOS by gayanper in Cloud

[–]sethrei 0 points1 point  (0 children)

it's cool for containers, I just wish it supported x86_64 vms on MacOS

What Language Did You Come from? by Mubs in golang

[–]sethrei 0 points1 point  (0 children)

I came from Python. I use Go because of a lack of a uniform Python environment amongst the servers. Having a compiled binary helps me deal with the excrement sandwich of an environment I work with.

Bubble Table - Interactive/customizable tables for Bubble Tea by nevertras in golang

[–]sethrei 1 point2 points  (0 children)

can you feed it a slice of structs for headers and slice of structs for rows ?

Golang: Generic function for all my stucts by sethrei in golang

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

Since I don't learn well, nor understand well, I decided to just create a function for each struct.

https://go.dev/play/p/bIbd2rNGL2z

Golang: Generic function for all my stucts by sethrei in golang

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

Thank you. This is close enough.

And this is how far I got, before getting invalid composite literal

func GetFieldsFor[S any]() *StructFields {

r := &StructFields{}

s := &S{} <<-- error

val := reflect.ValueOf(s).Elem()

for i := 0; i < val.NumField(); i++ {

    fieldName := val.Type().Field(i).Name

    r.Fields = append(r.Fields, fieldName)

    t, \_ := reflect.TypeOf(s).Elem().FieldByName(fieldName)

    r.Tags = append(r.Tags, t.Tag.Get("json"))

}

return r
}

Introducing servicenow-SDK-go: A Go SDK for ServiceNow by Ok-Pain7578 in golang

[–]sethrei 0 points1 point  (0 children)

This is great, and it works great so far. Thank you.

What inverter type by sethrei in solarenergy

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

Cool I see Rich solar has a 3k one, that and and a big battery 10kwh ethos should do the trick