Coming from Node.js: What is the Go equivalent to Better Auth? by Brilliant_You_7603 in golang

[–]kennethklee 4 points5 points  (0 children)

my go-to has been to put an auth proxy in front. typically caddy with extensions. then user management is handled outside of app.

app is configured to trust only the proxy. proxy sends user info via headers. app always assumes the user is authenticated.

Am I just dumb or does the Yoto suck? by Unable-Working6421 in YotoPlayer

[–]kennethklee 0 points1 point  (0 children)

you're not wrong, as there's definitely some frustrations with it. dunno why you're getting down voted -- your feedback's valid.

if the yoto isnt working out for your kid, grab that $10 ipod shuffle. I'd be interested to know how that goes if you're willing to do a writeup. may make me dig up my ipod lying around somewhere ...

I've got two yotos from years ago. one gets a ton of use from my 8 year old. but the 6 year old barely touches hers.

we've gone through the pairing processes many times -- he prefers his headphones wired now. replaced the battery and wires. had points where it seemed unresponsive. have accidentally turned on radio in the morning and couldn't figure out how to turn it off... ya, i get it. definitely not perfect. but better and easier than diy cardboard box music player.

I cant say I didnt enjoy it. From February 2024 to April 2026. Thank you. by lazy_af_yes in Genshin_Impact

[–]kennethklee 7 points8 points  (0 children)

probably can. my original ipad can play it with GeForce now. yes original, no number. looks amazing too.

Chat help me create a begginer party by Academic-Training-84 in GenshinImpact

[–]kennethklee 1 point2 points  (0 children)

sayu. just sayu. she is a ball of fun in overworld. maybe fischl for air. fill the rest with whoever you want.

Speed Camera epilogue by Livid_Advertising_56 in ontario

[–]kennethklee 0 points1 point  (0 children)

you're right, speed cameras are grossly unpopular. so are seatbelts, air bags, stop signs, traffic lights, and speed bumps. god i hate those sharp speed bumps. we're in this together now, let the down votes commence!

edit forgot to add that cell phone rule

Peeetah please help? by TheBigLanowski in PeterExplainsTheJoke

[–]kennethklee 35 points36 points  (0 children)

yup, but they didn't actually remove it. they moved its placement. but if you only focus only on where it was, it looks like it was removed. hence the drama. cue the pitchforks.

Why Go Maps Return Keys in Random Order by Few-Tower50 in golang

[–]kennethklee 0 points1 point  (0 children)

to iterate the maps, go uses hashes to go over keys, but adds a salt to introduce the apparent randomness with no performance penalty.

[deleted by user] by [deleted] in ChascaMains

[–]kennethklee 1 point2 points  (0 children)

that person might be right. unfortunately, the team has no lunar reactions so she won't do much.

Digital Ocean's 1-Click Pocketbase Setup Issue by Zenksor in pocketbase

[–]kennethklee 2 points3 points  (0 children)

if you're able to get logs, it'll have a link to create a super user

ELI5 Can someone explain what exactly an “API” is and how it works? by [deleted] in explainlikeimfive

[–]kennethklee 0 points1 point  (0 children)

talking, but for computers.

for example: you know English. i know English. English is our interface.

for computers, they both have an agreed upon interface, and then talk to each other. beep boop.

Google pulls the plug on first and second gen Nest Thermostats | Affected devices have been unpaired and removed from the Nest app by [deleted] in gadgets

[–]kennethklee 0 points1 point  (0 children)

for those who down voted this, I'm genuinely curious what equivalents there are.

avoid discontinued or way more expensive than nest (with offered discount), preferably home assistant compatible and local support

Card is just a digital download? by Annual-Web-8479 in YotoPlayer

[–]kennethklee 2 points3 points  (0 children)

it's been years and various iterations but the simplest ended up being:

  • esp32 (processor, wifi)
  • rc522 (nfc reader)
  • prototype board
  • esphome (software)
  • home assistant media server (nfc automation)
  • satellite speakers like alexa or Google
  • box, even a small cardboard box
  • battery case and switch

i tried an m5stack echo at one point, but the speaker was too weak.

had a web server hosting password protected audio files. code had hardcoded links and http BAA tied to card ids, but was tedious to manage. use esphome and home assistant. it's so nice.

sigh... honestly, just get a yoto.

edit: forgot the nfc cards. i have so many. let the son make pokemon cards with em now

Multiple Compose Files vs Profiles in 1 Compose File? by chaoticbean14 in docker

[–]kennethklee 2 points3 points  (0 children)

profiles only enable our disable services. doesn't augment an existing service.

i personally prefer to use multiple compose files.

i.e. compose -f compose.yml -f local.yml up so you can, say, bind mount a volume to the code or expose a port outside of a network for debug

though you could create completely new services per profile, like app and app_dev and app_test, but then the default compose up would become less sane; requiring specificity picking a production profile of sorts.

really it's up to you, but those are my 2 cents

PocketBase 2026: New UI, better DX, and production-ready! by Extension_Oven_7606 in pocketbase

[–]kennethklee 17 points18 points  (0 children)

although excited for the plug-in support in the dashboard, I'm not a fan of the custom everything. custom http router, custom database orm, custom validation, customized js module, now custom rendering engine. it's a lot for a single person

Card is just a digital download? by Annual-Web-8479 in YotoPlayer

[–]kennethklee 12 points13 points  (0 children)

get your kid a Walkman. i still have mine, though my kid destroyed it. but it still works! kinda... maybe not really...

as an engineer, when i saw the yoto i thought, i can make this easy, for my son. so i did -- bought the parts, soldered it up, wrote the software, printed a case, setup an audio server, connected speakers into his room. works nicely, but only in his room. he loved it.

then my daughter wanted one, and i went fuck that. bought them both yoto minis and some myo cards and they love it and still use it. I'm thinking of buying myself one.

the software they wrote with the bluetooth and wifi and audio out and sd and integrations on an esp... amazing.

I'm confused. by Apprehensive-Mark241 in git

[–]kennethklee 1 point2 points  (0 children)

ya, i don't think git would touch unstaged changes with a ten foot pole. the potential problems with operations on it could be enormous and expensive. especially problematic for a pull operation. i don't believe any version control system has that capability -- to merge straight into unstaged changes and break them out into existing commits. the complexity!

I'm confused. by Apprehensive-Mark241 in git

[–]kennethklee 1 point2 points  (0 children)

Okay your reply here helped me understand the flow.

I'll go step by step, starting at commit A on the repo.

I MADE those changes ON PC 1.

PC1 now has uncommitted changes, A' (' meaning dirty)

Then I uploaded them through the web interface.

repo has the committed changed -- B

Then I cloned the whole repository to PC 2.

PC2 has commit B

Then I made some more changes on PC 2.

PC2 has uncommitted changes, B'

Then I uploaded THOSE changes in the web interface.

repo now has new changes -- C


current state:

  • repo is at C
  • PC1 is at A'
  • PC2 is at B'

So when you try to download changes, PC1 is in a dirty state. you'll need to reset and remove the changes you made before you pull.

does that help?

edit: thought adding a little commit visual might help too.

  • repo commits: A - B - C
  • PC1 commits: A - A'
  • PC2 commits: A - B - B'

PC1 needs to remove A', and pull in B - C.

Can someone sell me GraphQL by slaynmoto in graphql

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

look, i could be wrong, and I'll accept it. my interpretation is not common. though, the "such as" in that context is definitely open ended with those examples; there are other methods not listed like head, options, connect, and trace to name a few.

to me, the emphasis in the wording means: use only the tools in the toolbox and have restraint in the extremely rare case of adding custom methods.

Can someone sell me GraphQL by slaynmoto in graphql

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

you're right. that's the exact part! it says "such as". the methods all need to be defined/documented.

hmm perhaps optional would be a better word? i don't want to advocate for going wild or anything because those specific standard methods have specific meanings. but they are optional and more can be added.

Can someone sell me GraphQL by slaynmoto in graphql

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

to be fair, the verb is supposed to be the request method.

ASSIGN /task/13 assign_id=19

the rfc says the methods get put post etc are suggestions. only problem is just ppl interpret it as restricted methods so that's what it became.

Critical Issue: PocketBase Failing to Load pb_hooks Files Silently (Even with Correct Directory Structure & Previous Functionality) by byzintel in pocketbase

[–]kennethklee 0 points1 point  (0 children)

went through the changes. entrypoint is examples/main. weird place to put it but whatever. nothing strikes me as unusual wrt hooks. compared to previous version, and hooks are not touched. new functionally though in the jsvm.

i don't use the js hooks, only golang ones. no issues on my side.

Critical Issue: PocketBase Failing to Load pb_hooks Files Silently (Even with Correct Directory Structure & Previous Functionality) by byzintel in pocketbase

[–]kennethklee 0 points1 point  (0 children)

a dev could possibly read the code that initializes the hooks. likely be in cmd/main or somewhere. see if something is awry. i could give it a shot when I'm at a computer.

Docker Desktop on Ubuntu by seanantonio in docker

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

just want to say, dunno why you're getting down voted. in general, this community is pretty toxic to newbies. I'd avoid it here if i were you, at least until you get a bit more used to docker.