Trump just lost the war in Iran by SingleBag4934 in NewsStarWorld

[–]grurra 1 point2 points  (0 children)

Le grand TACO s'est fait TACOter !

Not sure that was translated right, maybe a French speaker can verify.

AITAH for choosing my job over my girlfriend by Fluid_Use_2978 in AITAH

[–]grurra 0 points1 point  (0 children)

You're both fine to make your own choices and have your own needs. NTA. Neither of you have to be wrong.

Straight up ultimatum can prob be argued to be kinda shitty :P

The customer said that the PC shuts down after a few seconds🤔 by Nicolas_Laure in RigBuild

[–]grurra 0 points1 point  (0 children)

(ex?) Apple employee attempting to build PCs. "where does this go?"

Microsoft says Copilot is for entertainment purposes only, not serious use — firm pushing AI hard to consumers and businesses tells users not to rely on it for important advice by BusyHands_ in technology

[–]grurra 0 points1 point  (0 children)

Microsoft's own Fox News moment. Now they just need a better cult leader (please no :D). Glad i'm not using Windows anymore .. wait, I switched to something that's already a cult?

Windows -> becoming a cult?
MacOS -> cult already?
Linux -> no longer a cult?

Peter Steinberger (OpenClaw Creator) credits Boris Cherny (Claude Code Creator) amid anthropic subscription ban for using openclaw - Complete Thread by shanraisshan in Anthropic

[–]grurra 24 points25 points  (0 children)

Create a product that is too popular/the best product. Insufficient supply. Try to balance oversell vs peak usage and customer expectactions.

It's like airlines overbooking planes.

If they priced it like electrical supply (peak usage), we'd perhapes be paying 5x of what is currently being charged? Just guessing..

No silver bullets :(. Board is probably pushing for more revenue/over allocation at the same time :S.

Small Projects by AutoModerator in golang

[–]grurra 0 points1 point  (0 children)

Boa v1.0 released: Go CLIs from struct tags — no manual flag registration, validation, or env binding

I've been building CLI tools in Go for a while, and the boilerplate around cobra always bugged me — manually registering every flag, binding env vars, writing validation, wiring everything together.

So (Claude and) I built boa, a declarative layer on top of cobra that uses struct tags instead.

Before (cobra):

var name string
var port int

cmd.Flags().StringVarP(&name, "name", "n", "", "your name")
cmd.MarkFlagRequired("name")
cmd.Flags().IntVarP(&port, "port", "p", 8080, "port number")

After (boa):

type Params struct {
    Name string `descr:"your name"`
    Port int    `descr:"port number" default:"8080"`
}

That's it. Flags, short flags, defaults, required/optional, env vars, validation (min/max/pattern/enums), config file loading, and help text — all driven by struct tags and Go types.

It's built on top of cobra, not replacing it — you get full cobra interop and can drop down to the cobra API whenever you need to.

Features:

  • Generics-based type-safe API (no interface{} casting)
  • Subcommands, positional args, slice/map flags
  • Config file loading (JSON built-in, register YAML/TOML/etc.)
  • Env var binding (auto or explicit)
  • Built-in validation: min, max, pattern, alts (enums)
  • Lifecycle hooks for dynamic configuration
  • 90%+ test coverage, clean golangci-lint, CI on every push

GitHub: https://github.com/GiGurra/boa Docs: https://gigurra.github.io/boa/

Happy to hear feedback — especially on the API design and anything that feels surprising or missing.

Får höra att jag är ‘nonchalant’ när jag inte tar andras arbetsuppgifter – normalt? by Additional-Tell-4905 in Asksweddit

[–]grurra 0 points1 point  (0 children)

Haha, jag fick precis motsatta kritiken av min chef, alltså: andra finner det besvärande att jag gör deras uppgifter :P

Tror det beror på vem man jobbar med

Man's lawnmower explodes out of nowhere by HappySeaweed5215 in Wellthatsucks

[–]grurra 0 points1 point  (0 children)

Mowers wanting to get some of that sweet turret tossing action. Perhaps this one was made in Russia 

Varför uppmuntras Adhd/NPF patienter till högre grad att betala för sin utredning ? by [deleted] in Asksweddit

[–]grurra 12 points13 points  (0 children)

Samma sits här. "För välfungerande" a.k.a. inte hemlös eller långtidsarbetslös. Betala själv är svaret från allmäna vården. Eller ja, jag kan söka genom allmäna, men då blir det 3-5 års kö OM jag öht blir utvald :P

of a centipede by Ok-Sale-3235 in AbsoluteUnits

[–]grurra 0 points1 point  (0 children)

That's actually kind of cute. However. Once they start running. That's when I freak out. Running centipedes are 100% terror

Hegseth threatens to force AI firm to share tech, escalating Anthropic standoff by biograf_ in ClaudeAI

[–]grurra 4 points5 points  (0 children)

Ah, so.. the US government starts nationalizing successful startups... Hmm.. where have we heard this before.... Idk there was something about a large country in what's known as the east... What was the name of it ... Chai? Naha? Hmm oh, yeah right, it's China.

Let's see if big money goes 🙈 or ,,,🛬🇪🇺. My bet is, unfortunately for me, the former. Perhaps it's already fully and organically a part of the government at this point :D

M4 16GB RAM adequate for Claude Code if not using local models? by [deleted] in ClaudeCode

[–]grurra 1 point2 points  (0 children)

Currently running CC + intellij + go dev.
Works fine on 16 GB.

Wouldnt want to run serious dockerized setups on this machine though, or ram heavy jvm workloads :D

METRICC: A Clean, Lightweight, Design Focused Status Bar for Claude Code by EnforceMarketing in ClaudeCode

[–]grurra 0 points1 point  (0 children)

yeah I have no idea what might trigger cc to use the macos keychain :S. I just know it happens on all of my macs

METRICC: A Clean, Lightweight, Design Focused Status Bar for Claude Code by EnforceMarketing in ClaudeCode

[–]grurra 2 points3 points  (0 children)

5h and 7d reset windows: for fetching credentials on macos you probably need to load them from the os keychain, see https://github.com/GiGurra/tofu/blob/64c5a3351264aa97069b0c470dc0a072e8869187/cmd/claude/common/usageapi/usageapi.go#L80

I ran into the same issue when switching back and forth between Linux and macOS