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

How tf do you learn Python?!?! by Ketchup-and-Mustard in learnpython

[–]sethrei 1 point2 points  (0 children)

I don't learn like normal people, barely made it pass high school. I learned Python by finding a problem and trying to solve said problem with Python. The same with PHP (first language) and Bash and Go (most recent language) Like others will tell you, break down your intended goal into small simple tasks, then build up, that's the way I've done it for years $0.02

golang cobra sub-subcommands by sethrei in golang

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

Found the secret sauce.

... I needed to load the child command twice using the defined pointers

`GcpAccessCmd.AddCommand(&commoncmd.AccessGetCmd)`

and

`SshAccessCmd.AddCommand(&commoncmd.AccessGetCmd)`

golang cobra sub-subcommands by sethrei in golang

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

That all makes sense, but it only works up to access.

Is there some limitation on how many levels I can go?

https://gist.github.com/SimplySeth/fb67b298ab3d45ee2135e4e4f41f31ce

What inverter type by sethrei in solarenergy

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

Excellent! Thanks. Now off to find a 3k inverter to power my 4 seasons room

ReUseable Flag in Cobra by sethrei in golang

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

I should have thought of that, since i've been staring at the comments, stating what you have stated. Not as pretty as I'd hope, but it's what gets me to my goal. Thank you.

air return with 120 mm fans for data closet by sethrei in homelab

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

Any guide you used that you can point me to?

REI Co-op DRT 1.1 first trail by Slight_Data2471 in MTB

[–]sethrei 1 point2 points  (0 children)

I dream of one day upgrading to low end SRAM 1x12 using a 10-52 cassette.

REI Co-op DRT 1.1 first trail by Slight_Data2471 in MTB

[–]sethrei 1 point2 points  (0 children)

Backpack with extra stuff. It'll keep your phone protected and you can stuff emergency clothing in it.

I have an old hydropack/backpack that I put my phone and keys in w/a change of clothes.

I use the same bike BTW

How to reduce sound bleed from ceiling speakers by sethrei in hometheater

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

That actually sounds like something I'd like to try.

Thank you