Recent submissions

Comment · 1 year ago
I've dealt with backends that refresh a CSRF token on each valid request and return it in the response as a cookie. In those cases a solution like this may be needed. Not optimal but, we don't always have control over the backends we use, especially then they're provided by a third party.
Comment · 1 year ago
Eh, the implementation is all Javascript and can be approached in any language. They're just providing function signatures with types so the candidate knows what they're working with.

Also the signatures are Typescript, which really isn't that far off in the context of an interview. Even in a pure JS codebase it's not uncommon for IDEs to pull the TS definitions of packages to provide basic type checking. But even pure JS libraries will normally provide typed signatures in their documentation.

If anything I'd say this shows that the interviewer is prepared, by ensuring the candidate has what they need to complete the question.

Comment · 3 years ago
> They probably do make more money… actually. At least in net profit.

It's my company so I think I'd know :)

Also what exactly are your estimates here? Where are you getting that kind of capacity for $240 a month?

Comment · 3 years ago
To be blunt that sounds like operator inexperience. Throw someone who's spent their life setting up Windows servers on a Linux box and you'd hear similar resentments.

At the end of the day you still need to configure the instances for things like auto scaling, security patches, logging and so on. IAM & VPC still come into the mix when running on EC2, so you've avoided nothing.

Comment · 3 years ago
My company doesn't make more $$$ because i decided to spend a day setting up an EC2 over Lambda or a similar PaaS solution. If anything i've lost valuable time that could be spent elsewhere. Especially when stuff starts going wrong or i have to schedule time to manually apply OS/Runtime security updates.

> The cloud has made otherwise smart people into unthinking drones.

The cloud has allowed smart people to focus their time on unsolved problems, not waste hours/days setting up linux for the upteenth time.

Comment · 3 years ago
Out of the box lambda costs $0 when not in use, built in autoscaling, automatic runtime security updates, stdout straight into Cloudwatch, docker support...the list goes on.
Comment · 3 years ago
I'm pretty sure they outsource/fund a fairly large amount of the work, the article mentions Igalia & from memory Codeweavers are largely responsible for Proton.

Valve itself is a pretty small shop. Although their own efforts & funding absolutely should be praised.

Comment · 4 years ago
Function components with MobX Observers are a godsend and far better than anything Redux. MobX doesn't get enough credit imo.
Comment · 4 years ago
Massive fan of Secretive myself. Use it for all my SSH keys.
Comment · 5 years ago
> The platform is open source.

Android is Open Source, Google Play & Google Play Services are not. Developers are free to build Android apps that don't use anything related to Google Play.

Comment · 5 years ago
Naming things can be hard.

How would you describe the distinction between these two command types?

Comment · 5 years ago
There's Checkboxes for iPhone, iPad & Mac, if Mac is unselected then this error will appear.

Very much up to the developer

Comment · 6 years ago
Initially but has been maintained by Valve for some time now.

Having said that, it's built on Valve's Source Engine, so still faced many of the same issues

Comment · 6 years ago
> If there were alternatives you wouldn't be forecd to use them.

That's just not true. If App Developers choose to only release their app on one store then i am forced to use that store.

Say this Apple loses this battle and are forced to let companies run their own Stores on iOS. What's to stop a company like Facebook moving their suite of apps to exclusively be distributed through their own Store, which conveniently bypasses the App Review process, severely undermining user privacy. If i wanted to keep using these popular apps to communicate with my friends I'd have no choice but to use their alternative Store.

> You are putting a lot of trust in a company that may change its ways. If they change, where are you going to go?

Then I'll switch to Android

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton