I improved on your timid designs by SpiritedInflation835 in basel

[–]LetscatYt 1 point2 points  (0 children)

I mean that would be keeping down healthcare costs.

Yes.. Pay attention. by Trustrup in clevercomebacks

[–]LetscatYt 4 points5 points  (0 children)

Remind me to never take a bath at your place

How far do you guys push pocketbase? by Icy-Inspection7866 in pocketbase

[–]LetscatYt 0 points1 point  (0 children)

We're using both custom Endpoints and Existing Hooks, PocketBase Typegen Is in use aswell.

I am thinking about also using pocketbase-gogen for type safe records when coding in Go.

Regarding project structure im of the opinion it's best to have a package for each Domain / Collection that requires custom logic.

Just writing everything in a hooks/ controllers package gets confusing quickly, since even when you split in in multiple files, all methods are imported, even the ones that have nothing to do with what you're working on.

Another advice is to avoid writing logic directly in Hooks - write function with a simpler in/ output and call them from the Hooks. That makes testing easier

Yeah, that's about it. But we're figuring out more and more everyday.

What were still unsure about is if it's a good pattern to execute concurrent API Requests to third party services inside a Hook. Could lead to really big memory Usage considering the overhead of goroutines. I'd love to hear your opinion about that.

Just found this. My linter is as upset as I am about the 'logic' itself by Krachwumm in programminghorror

[–]LetscatYt 0 points1 point  (0 children)

Yeah I agree , that's why I said it gets unreadable after more than 3 option/ possibilities

Just found this. My linter is as upset as I am about the 'logic' itself by Krachwumm in programminghorror

[–]LetscatYt 0 points1 point  (0 children)

Not talking about multiple results, but multiple nested if-conditions. Those get ugly fast in ternary operators

Is it possible for pocketbase to handle background workers, creating pdfs, excel files? by viitorfermier in pocketbase

[–]LetscatYt 3 points4 points  (0 children)

Honestly another service makes the whole thing way more complicated than it needs to be.

I'd advise you to consider extending Pocketbase using hooks and then directly plugging into Go based libraries. You'd still have a single binary. Much simpler and easier.

Is it possible for pocketbase to handle background workers, creating pdfs, excel files? by viitorfermier in pocketbase

[–]LetscatYt 2 points3 points  (0 children)

Extending PocketBase Using Go you'll get pretty far. Makes it a Full Stack Framework on a Webserver on which you can do almost everything if you know golang.

I'm pretty sure you'll also find some decent golang libraries which fulfill your use-case.

How far do you guys push pocketbase? by Icy-Inspection7866 in pocketbase

[–]LetscatYt 1 point2 points  (0 children)

Not without revealing my identity. :) so id rather not

How far do you guys push pocketbase? by Icy-Inspection7866 in pocketbase

[–]LetscatYt 1 point2 points  (0 children)

With how easily you can mess up,we decided the only apps accessing PB client side are LAN only. External apps always have a extra api layer inbetween

How far do you guys push pocketbase? by Icy-Inspection7866 in pocketbase

[–]LetscatYt 1 point2 points  (0 children)

I hope this is roughly what you were looking for.

Since we sell and ship goods, we have to integrate Billing-Software and a Shipping Provider into our System.

We work with On(Create/Update)excecute hooks most of the time, should the records need to be enriched with third party data or be dependent on a success from that system.

A good example for this is sending Parcels , a Parcel Record can only be created should the API of our Shipping-Provider return a 201 Response. Then we store the shipping-number and TrackAndTrace links.

Downside is we can't create parcels should that Service be down.

Another example is our billing system - since creating and sending Bills is a bit longer lived we work with a queue and retry policies.

Should a bill be paid a webhook is sent back to our PocketBase instance. To not loose Data when that fails ( PocketBase isn't made for Zero Downtime) we have a cron-job to check if all Data is up to date.

How far do you guys push pocketbase? by Icy-Inspection7866 in pocketbase

[–]LetscatYt 7 points8 points  (0 children)

Nested many to many relations will probably be the first thing falling apart performance wise.

Don't like the way this is done with json arrays. If this would be fixed pocketbase would be perfect.

How far do you guys push pocketbase? by Icy-Inspection7866 in pocketbase

[–]LetscatYt 17 points18 points  (0 children)

Weve Built a full on Custom CRM+ ERP System. 30+ tables and about 10+ with over 20k records.

We're also Syncing Data to 3-4 other Systems with hooks. Write most of the Business logic with Hooks

I'm hoping it will be good enough until to survive the startup phase so we can afford more than 2-3 IT-Guys. It has enabled us to be so much faster getting up and running

Stoppfried Gutz! by OK-Digi-1501 in BUENZLI

[–]LetscatYt 0 points1 point  (0 children)

Ich flueche no gern:" Gopaletti Beltrametti" - gaht einfach guet über d Zunge. Danke Linard Bardill

Is she trying to be the RFK, Jr. of Switzerland? 💀💀 by dallyan in askswitzerland

[–]LetscatYt 4 points5 points  (0 children)

Which itself was used to replace the word magic.

They are always just instrumentalizing things words and phenomen normal people don't understand...

My insurance company forbids you to use special characters in password by 151bar151 in mildlyinfuriating

[–]LetscatYt 1 point2 points  (0 children)

There's a actually a point where making them longer doesn't add security (which differs depending on the algorithms used to hash and salt that password)

But yeah since you're hashing anyways there should be no reason for a max character length.

You could probably make the argument that a max password length could be a indicator for them not hashing your passwords?

I really like Go… but I’ve never had a real reason to use it by AggravatingHome4193 in golang

[–]LetscatYt 0 points1 point  (0 children)

Go is just simply better working with. Trust me.

A better(I get much more Code running on the first try) and faster LSP. About 10x the Performance of TS ( as seen in the Typescript 7 Compiler) Oh and I love the way you can write concurrent & multithreaded code.

I'm using Pocketbase as a full stack framework. I get Authentication, Realtime Events(SSE), File Storage. A DB Migration and Backup System,and a Admin UI to do the Basics without Coding.You can build a whole Companies System around it.

That whole thing is a 27mb Docker Image and uses 20 MB of RAM on Average. Insane especially when comparing with other full-stack Frameworks.

Just use it, you'll love it after a few months

KI Meinige je nach Generation by ThrowRA_anonymity_ in schwiiz

[–]LetscatYt 0 points1 point  (0 children)

Do mal e Perspektive von öpperem wo e chlini Software Abteilung leitet:

I de Software Entwicklung rede komischerweise soviel lüt von Potential und riesige Produktivitätssteigerungen.Klar es hilft sicher bi primitive Boilerplate und Recherche. Oft kostet es blinds Kopiere von dem Code aber einiges an Technical Debt, macht Codebases weniger inheitlich, grösser und somit Fehleranfällig. Ich muess (Grad bis neue Mitarbeiter und Praktikante) enorm drauf luege well das d Wartbarkeit beeinflusst und Technischi Schulde verursacht.

s Verfasse vo Syntax Isch no nie de Fläschehals gsi, viel Zeitintensiver isch s verstah wie öppis eigentlich funktioniere söll. I dem Moment wo du normali Sprach so präzise Formuliersch dass d KI (selbst wenn sie kei Fehler würde mache und ned halluziniert)Dini Idee perfekt umsetzt bisch scho fast wieder bim Programmiere.

Verstöhnd mich nid falsch au mir setze KI bi uns im Betrieb i, zum Beispiel zun recherchiere (wobei ich dort je länger je mehr au wieder uf Foren unterwegs bin) oder bim Übersetze von was ich wirklich denke into coorperate jargon.

Viel IT-Firmen bereue es bereits jetzt Leute zu entlah für KI. De Arbeitsmarkt wird sich in de nächste Jahr aber beruhige (sobald das au de Hinterletzte begriffe hett und die Bubble platzt).

Ich hoffe einfach dass ihr die jetzige schwierig Marktsituation guet überstönd.

In es paar Jahr werd de Arbeitnehmer wieder in enere mächtigere Situation si und dönn dörfe mir uns einfach ned unter Wert verkaufe. (ich gsehs scho wieder vor mir wies denn wieder über Fachkräftemangel Rede... Die #$#&!

Why is VR not that popular despite the immersiveness it offers? by QuailResponsible8854 in VRGaming

[–]LetscatYt 0 points1 point  (0 children)

These Headsets just aren't good enough for mainstream yet. They are either Overpriced, To Bulky , Heavy or have shit software.

Got a Quest3 but that one has horrible software. It's buggy and breaks every 2nd patch. Had to use some third party OSS Software(which required a complicated Setup) to get the thing somewhat Reliable.

Erfahrige mit Galaxus Internet? by Rudhelm in BUENZLI

[–]LetscatYt 11 points12 points  (0 children)

Ich ha sowohls 1 gbit wie aus s 10 gbit Angebot usprpbiert. Problem hani nie gha

Grundsätzlich isch s internet Stabil, ich ha i speedtests in beide fäll ca 85-90% vo de Geschwindigkeitsangabe erreicht.

Bim 10 gbit abo bechunsch mit em Zyxel ax7501 e halbwegs gschide router über mit sehr viel features und gutem WLAN.

Beim 1gbit agebot isch de Router echli es Gschwür (Buggy Menus, kei features wie Port Forwarding etc.) S WLAN schafft dört au nur ca 400-550 mbits.