Hacker News new | past | comments | ask | show | jobs | submit | more mgliwka's comments login

What is the platform you're referring to?


Might be gulp.de ?


The referenced podcast episode:

https://cre.fm/cre222-terravision


A thanks for adding that, I somehow forgot to add it myself.


Works for me from Germany (on iPhone, language set to English [UK])


Got the same: https://ibb.co/zr56sgp

Edit: It appeared after I purchased a new MacBook. Seems like an Apple Arcade voucher was included with the purchase and it nags me to activate it.


To implement the synchronizer token pattern you usually store the randomly generated CSRF token in the session to validate it on the subsequent request, even if you generate a new one for each form.

You could also handle this stateless without the session using encryption or HMAC, but then you need to manage secret keys and not screw up.

https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Re...


I think parent was referring to the session cookie. The linked article mentions putting the generated token into the server side user session and then to validate it on the next request. You might need a session cookie for that.


Session cookies persist for the length of the session. That's still too long for a CSRF token. You should be generating a new one in every request that needs a token in the response.


Making music with floppy drives, hard drives and flatbed scanners.

https://youtube.com/c/Pawe%C5%82Zadro%C5%BCniak



A good additional measure is a scheduled brownout. Turn off the API for a couple of hours or a day to make the consumers notice, then turn it back on for some weeks to give them time to migrate.

Google did this with their old Helm chart repository.


Then you might find some cases, where an API endpoint is called once a month o once a year but it is critical, that will bite you back really hard.


One solution I’ve seen posted here (can’t remember the link) is to put a sleep in some call and step it up every day/week/month until retirement.

That way when the application slows down, people complain, a story is created to figure out why, and the answer will be the library is deprecated and needs to be migrated.

The calls can always be made, they just get more expensive.


Naturally, you would combine any planned API delay or outage with conventional deprecation steps like updating documentation well in advance, posting to your blog, twitter and mailing list, e-mailing every identifiable user of the deprecated API, and having your account managers reach out to paying customers who use the API.


Many hosted CI solutions (i.e. Travis, Github Actions) support OS X natively.


A free OpenStreetMap based alternative you could use to keep it running in the future:

http://photon.komoot.de/

http://photon.komoot.de/reverse?lon=10&lat=52


Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: