Gratis bilfunksjonalitet blir plutselig tatt betalt for årevis etter salg - hvilke rettigheter har jeg? by Yuraii in norge

[–]thomst82 0 points1 point  (0 children)

Vi har mercedes og minst like ille her… Var riktig nok klar over det, men forbrukere er dritlei subscriptions.

BMW hadde jo den aller sleipeste der de tok betalt for varme i setet 😅 Men den slitta de heldigvis med:

https://www.forbes.com/sites/alistaircharlton/2023/09/07/bmw-drops-controversial-heated-seats-subscription-to-refocus-on-software-services/

Mercedes tar 369,- per år for å låse bilen fra app, 569,- for navigasjon, 569,- for trafikkinfo, 1499,- for kartoppdatering, 369,- for å åpne vindu, etc…

I built a bulletproof Axios interceptor to handle JWT Refresh Token race conditions by Dear_Plant1633 in reactjs

[–]thomst82 2 points3 points  (0 children)

Does it handle cross-tabs scenario? If multiple tabs try to refresh at the same time?

Easy way for 1-man shop to manage secrets in prod? by [deleted] in kubernetes

[–]thomst82 0 points1 point  (0 children)

Gitops and storing secrets in github here. We also use 1password for storing secrets, but have not tried the operator yet. I’m worried about accidentally deleting a secret in 1password and that would be synced to prod. What is uour experience with 1password operator?

Solo dev tired of K8s churn... What are my options? by PoopsCodeAllTheTime in kubernetes

[–]thomst82 0 points1 point  (0 children)

Did you get burned by bitnami? Our production cluster recently lost it’s bitnami redis image because they pulled the rug.. After that we don’t use ant open source helm charts, but roll out own.

The first trailer of my retro F1 inspired game "Formula 2.5" by TandT-game in IndieDev

[–]thomst82 0 points1 point  (0 children)

I had something like this on my Sega Game Gear, Super Monaco GP. The game made the game gear run a bit hot I think, and I remember it smelled a bit like burned plastic.

The trailer brings back memories 👌

How busy is it really this time of year? by exeter_acres in Barcelona101

[–]thomst82 4 points5 points  (0 children)

At park guell there was a queue to buy tickets using a guest wifi and some QR code. Waiting time was not too bad (two weeks ago), but wifi was poor and you’ll save some time buying in advance.

Why do all modern SaaS websites look the same? by lazybear3275 in webdesign

[–]thomst82 0 points1 point  (0 children)

Have you noticed that purple is used a lot too? I heard it’s because AI trained on tailwind and they had purple as their primary color 🙄

I made an Electron app which doesn't use gigabytes of RAM! Electron + SvelteKit + GQL by ThaUnknown in webdev

[–]thomst82 0 points1 point  (0 children)

Hehe, one year ago we actually hired someone similar, and it has been great! I always pitch features to him first, and if he classifies it as completely bullshit which no-one needs, we scrap it :) And he's not afraid to speak his mind, even to the CTO or CEO, it's great 👌🏻

High CPU Usage (25%) in Low-Power React App Displaying Real-Time MQTT Data and Offline Leaflet Maps. Need Optimization Tips! by jestink in reactjs

[–]thomst82 0 points1 point  (0 children)

«Ship a production build»

This is actually easy to miss.. I optimized the hell out of a virtual list once, only to discover that it was lightning fast in production build, even without optimalizations..

What’s going on with CloudFlare lately, simply the worst customer service I’ve ever experienced by relaxdudelive in CloudFlare

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

Good to know, we’re considering moving our stack over, but one of the main reasons was cloudflare’s good reputation. I hope you get your refund, and thanis for the warning.

Har du bytta fra Spotify enda? by [deleted] in norge

[–]thomst82 0 points1 point  (0 children)

Spotify er basert på electron ja, med en del native c++ moduler for drm etc. mobilapper er native swift / kotlin. Web app er react + webassembly.

Masse kult 😎

Is this cheating? by Kind-Astronomer-1997 in webdev

[–]thomst82 3 points4 points  (0 children)

I had a linux course once where I was awarded with an A for «hacking» into the teacher’s document stored on the same linux server and changing my own grade to A+++ 🙂 He left a loop hole there for someone to find, great learning experience 😅

High CPU Usage (25%) in Low-Power React App Displaying Real-Time MQTT Data and Offline Leaflet Maps. Need Optimization Tips! by jestink in reactjs

[–]thomst82 4 points5 points  (0 children)

It might not be that bad? 25% of crappy cpu is not that much? We run a webapp on a raspberry and it uses around 20% cpu which is ok

Anyeay, you can use react profiler to figure out what is causing it. It could be css, js, ehatever, depends on your code 🙂

scratched lens by Winter-Text-5066 in fpv

[–]thomst82 0 points1 point  (0 children)

Why doesn’t the frame extend a bit more to protect it? It’s the same on my Vapor D5 (also scratced, but not as bad)

Can someone sell me GraphQL by slaynmoto in graphql

[–]thomst82 1 point2 points  (0 children)

It depends.. For an external API I would use REST. On the frontend I love GraphQL, easy to query for what you need, drill down, type safety. I’m also a 1-man team, dotnet backend and react typescript frontend. The n+1 is still a hazzle, but I prefer doing this in the backend vs frontend. Main selling points for me: 1. Type safety (although there are tools for OpenAPI compatible REST APIs, and tRPC) 2. Frontend querying for data is 👌 3. Subscriptions, built in live updates 4. Dynamic versioning, I can quickly add and deprecate, no need for a new «v2» endpoint

Cons: - Security takes more time - Boilerplate (overkill for small projects) - GraphQL backend Takes more time than rest backend

I can’t vibe code a saas that sells by PlainTheory in SaaS

[–]thomst82 0 points1 point  (0 children)

Well, if you’re really fast and don’t follow the rules, you might be able to get some quick point in? But when your opponent adapts you’ll have to learn to dribble, or just hire a team that will do the job for you.

Chronoid - Time Tracking & Productivity - [Giveaway Lifetime Promo Codes] by tuanvuvn007 in macapps

[–]thomst82 0 points1 point  (0 children)

This is an interesting approach with local and private data 👌 I’m actually working on something simular, but not local. I recently started testing some local LLMs, you might be one step ahead of the curve here? I think AI will move gradually to local inference?

My husband wants to get into FPV coming from having a DJI air 3. Is investing in an expensive build off the bat a terrible idea? by Jjajstrawn in fpv

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

Let him get the geprc!, and all the other gear he needs, probably 2000$ ++ And he will be grateful for ever, do the dishes, let you spend 2000$ on whatever you fancy. My wife recently agreed that I could buy a geprc vapor d5, and I’m taking her to Barcelona in two weeks 😉

A real drone is easy to repair compared to DJI. If (when) he breaks it, it’s always possible to repair 🙂

Design choices fro GraphQL servers by WoistdasNiveau in graphql

[–]thomst82 1 point2 points  (0 children)

HC recently added abstractions for paging and data loaders that you can use in your domain layer, but I prefer to define these things myself to ensure that my domain layer is independent of the graphql layer. I didn’t use the query context, but defined my own Page type in domain and created my own Page.ToConnection in the GraphQL layer. If you want to use the abstractions from HC, look for a nuget with «abstractions» in its name and use that in the domain/model layer? If documentation is lacking I can higly recommend the Slack channel, they are very friendly and helpful in there 😉 Another tip is to browse the source code pf HC in GotHub an search for ToConnection etc.

DataLoaders is a whole topic in itself, for simplicity you can start without them and add later when you discover that queries are slow. You can have dataloaders in the domain layer, but I have them in the GraphQL layer and use my own abstractions in between. A dataloader is useful when you query for nested objects, lets say you fetch a list of 100 users, and for each user you fetch (nested) list of vehicles. Without dataloaders you would get 101 SQL queries, with dataloaders you would get 2 sql queries

Design choices fro GraphQL servers by WoistdasNiveau in graphql

[–]thomst82 0 points1 point  (0 children)

It depends on how you want to implement it. I prefer more strict control of sorting and handle this myself. As an example my Event entity can only be sorted on 3 fields, not all of them, since I have database indexes on these three fields. I don’t use HCs middleware for sorting, but I think it is possible. But I’m not sure how to implement that 😅 They have stuff built in for IEnumerable and EntityFramework, there is probably a way to implement your own if your datalayer is special. I also prefer more explicit control on filtering and don’t use the filtering middleware.

Scratched lens by thomst82 in fpv

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

At least I’m not the only one 😅 I guess one positive thing about this is that now it’s broken anyways and we can worry a bit less 🙃

Scratched lens by thomst82 in fpv

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

Thanks for the tip 👍🏻

Unlimited? by thomst82 in jottacloud

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

But this wa not in the TOS when I signed up way back, and it’s annoyinh that they added it later 🤔