HN user

CER10TY

69 karma
Posts9
Comments43
View on HN

Not a mobile dev so I'm leaning quite heavily on other people's experiences here.

It's my understnading that setting up cookies to work on mobile is quite painful, though it depends on the platform. IIRC iOS has gotten better at it with a shared cookie storage, but Android requests are still stateless by default, so you basically have to manually wire up a cookie jar and carry it around everywhere you go, so to speak.

Attributes like SameSite also behave differently, and WebViews don't share the same cookie jar as native requests as far as I understand.

Bottom line is that maybe "Cookies also don't work on mobile" is a bit of a wrong statement, but it's certainly more of a hassle and a path lined with more footguns than just wiring up an OAuth provider and sending access and refresh tokens back and forth using Authorization headers. The great thing with Session cookies on desktop is simplicity, which you sort of lack on mobile.

Cookies also don't work on mobile, so you inevitably have to maintain 2 different login flows.

But they're still the superior choice for authN on the web, because if you want to, you CAN configure cookies to be secure. Yes, attackers can ride the session, but it's dependent on the user being on the tab and you being able to consistently execute JS. Client-side compromise (ie attacker controls the entire browser) is not feasible to defend against anyway.

The main issue with JWT+localStorage is you can actually execute one-off JS, exfiltrate the token and come back later. I've _never_ seen a well-executed JWT+localStorage implementation in 10 or so years, because teams inevitably realise they can't reliably revoke sessions (another advantage of cookies) and then start giving out long-lived access tokens but adding them to the database. Or some variation of that.

IIRC the creator specifically said he's not reviewing any of the submissions and users should just be careful and vet skills themselves. Not sure who OpenClaw/Clawhub/Moltbook/Clawdbot/(anything I missed) was marketed at, but I assume most people won't bother looking at the source code of skills.

It swings both ways though. I've seen plenty of older engineers dismiss the "new guys" effort and claim that everything had to be custom written, because there's no way a common framework like Django could cover their use case. The same type of engineer has never once worked with a common framework though, so they don't know what's included nowadays.

Turns out it's a lot easier to build on top of a common framework than do everything from scratch.

Personally, I'd just use common sense and good judgment. At the end of the day, would you want someone to hand your address, and other private data to OpenAI just like that? Probably not. So don't paste customer data into it if you can avoid it.

On the other hand, minified code is literally published by the company. Everyone can see it and do with it as they please. So handing that over to an AI to un-minify is not really your problem, since you're not the developer working on the tool internally.

AI is different 11 months ago

I guess the thinking goes like this: Why start a business, get a higher paying job etc if you're getting ~2k€/mo in UBI and can live off of that? Since more people will decide against starting a business or increasing their income, productive activity decreases.

That takes 2 seconds. But the PO usually expected a detailed breakdown of what went well or bad and what could be improved right then and there. Simply saying "Yeah, I'm doing X, still doing it, bye" would be bad, because you're also not inviting _collaboration_.

SEEKING WORK | Germany | Fully Remote

I help startups implement secure API architectures through audits, strategy development, or ongoing support. As a solo consultant with 10 years of experience across startups to enterprise, you work directly with me (no junior handoffs). My goal is to enable your team to develop secure APIs independently, not create long-term dependency.

My website has more info: https://www.soeren.codes/

You'll find additional contact info there as well - feel free to reach out!

With the new API for GPT-4o image gen releasing soon, we'll probably see a wave of hype products (ie "generate your own Studio Ghibli-style photo album"). I expect these will die down rather quick, but first mover advantage should still net you some profit here.

What's a good alternative to Proton? Still haven't migrated my business away from Google Workspace, and I was thinking Proton would be a good alternative, but apparently not if they don't even support IMAP/SMTP.

This happened to plenty of people with Stripe as well.

Doesn't mean Paddle isn't a good place to start - but as you get bigger, you should probably look at other solutions as well, to de-risk your payments infra. It's just that at the start it's too expensive, even in B2B, to think about multiple payment providers to spread risk.

Considering the PCLOB has lost some of its members, it's questionable whether the DPF can continue to exist in its current form. If it does go out the window, then Trump won't need to tell AWS/GCP to stop doing business with the EU, since European companies wouldn't legally be allowed to transfer data to US companies anyway.

I expect the EU commission will take a _very_ long time to actually act on this tho. Maybe we'll see Schrems III first.

That doesn't really work as long as you have legislation like the CLOUD Act, which means EU-based businesses have to think twice about using any US providers, especially if they handle sensitive customer data and also since the DPF is on the way out.