24,182 karma · joined Jul 22, 2017 (9y ago) · 14,302 submissions
https://hnbadges.netlify.app/?user=quickthrower2
comment 2y ago · link · parent
Let's look at 2 situations.
One is you are running the same air through the filter all day.
The other is you are using a vacuum cleaner that is sucking up dust from the floor and pumping out that air.
I assume in the vacuum cleaner case, you are better off with a higher performing filter since you need to trap that dust on first pass through, whereas with the filter that is circulating the air all day, you get a "second chance" to capture a given particle?
comment 2y ago · link · parent
Here is a comprehensive list of what data was impacted. Only data after November 1st, 2023 was accessed.
Emails Sent
Accessed: Recipient address, sender address, sent date, subject, bcc, cc, reply to, and last event.
Not Accessed: No email content body which includes the HTML and plain text.
Domains
Accessed: Domain names, verification status, region, and DKIM public keys.
Not Accessed: No unencrypted DKIM private keys.
API Keys
Accessed: Names, permission roles, and encrypted tokens.
Not Accessed: No unencrypted tokens.
Logs
Accessed: HTTP Response data such as status code, and HTTP Request data such as method, and endpoint.
Not Accessed: No HTTP Response JSON body, and Request JSON body, or headers.
Contacts
Accessed: Email addresses and names.
Users
Accessed: Resend user email addresses.
Not Accessed: No Resend user names or passwords.
Actions and remediations These are the preventative measures that we have already taken:
Removed database API environment variable from the client-side of the Resend Dashboard.
Rotated database API access keys.
Enforced MFA across all systems touching the database.
Conducted org-wide password reset across all systems touching the database.
These are the preventative measures that we will be taking immediately:
Improving monitoring and alerting for database API access.
Partnering with a third-party cybersecurity company, Oneleet, to conduct an exhaustive investigation.
Please reach out to us at security@resend.com if you have any questions.
Conclusion We sincerely apologize to everyone affected by this incident, and we appreciate your understanding as we learn to navigate this challenging period.
This has been an unfortunate and trying moment for us, but solidified the determination and commitment of each and every team member at Resend.
Your trust is what has built us, and we remain deeply committed to ensuring your sending is safe.
366.
Resend Incident report for January 10th, 2024
7 points · by quickthrower2 · 2y ago · 2 comments
comment 2y ago · link · parent
Plan continuation bias is hard to overcome though.
comment 2y ago · link · parent
What I found is you are right and FB is easier for the Millennial, Gen Z, Boomer or whatever IF everything you need can be done by rules and schema.
As soon as you need to write functions (because rules are not sophisticated enough or too slow/expensive, or you want to know why the thing got denied) then you are writing backend code.
It is actually easier to write the same code in a NextJS template - like there is less to learn, less docs to read. And then chuck it on Vercel which will deploy and devops it for you. So you have all the devops done for you like Firebase would and you have spent less time. Now if you are talking to postgres instead of firebase from the backend, it is actually easier IMO. A line to connect to pg. A line to issue a query.
Guess this is just my opinion, but it is less code to do so, less environment variable farting around, downloading a weird .json with all the credentials. If I were inclined I would write a blog post showing how much less lines of code are needed, how much less understanding is needed, and with the managed infra/DB offered by Vercel etc. you are still serverless, etc.
comment 2y ago · link · parent
Putting aside the problem between chair & keyboard.
Another difference is more if you make a mistake in your relational schema, you can SQL your way out of it - add an extra join or group by. And you can also fairly easily migrate you way out of it to a new schema that is the right structure.
This requires actual code with firebase, and a lot of patience, and probably a lot more downtime. So you need more of a waterfall approach, I would suggest, to design a schema ahead of time, and know all of your requirements. NoSQL document-oriented schemas just aren't flexible (unless the DB supports something like materialized views to help you get out of it)
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
A C# programmer can write Java, but it might take them 3 months to be as fast as an already Java experienced programmer.
And a coder can leave at any time. There is no long termism unfortunately.
So this is the equivalent of not wanting to hire someone who has only been a waiter as barstaff or vice versa, and not wanting to train them, when people are changing job every 6 months.
Google can't afford to be like this, with all their systems no one else uses!
comment 2y ago · link · parent
The hard work of using Firebase’s apis, libraries, reading it’s docs (which are detailed but badly organized) is more than the delta between not needing a backend. And for a non trivial app you will end up using functions: infact if you want a guarantee that your user has a name then you will need to write a function. And that is… a backend, like writing an app.route statement.
comment 2y ago · link · parent
Other than this security vuln, the issues vs. just using postgres are:
* It is more work! Despite being a backend as a service it is much less code to just write a simple API backend for your thing both in time to do it and time to learn how to do it. Think of Firebase as being on the abstraction level of Sinatra or express and you may as well just use those. Things like Firebase and Parse etc. are more complicated. For the same reason it is more complicate to walk to work with just your arms and no legs (even though there are fewer limbs to deal with and no backend!).
* Relational is king. Not being able to do joins really sucks. Yes you need to make async calls in a loop. NoSQL is premature optimisation.
* Lots of Googlization. This means lots of weird, hard to find out clickops configuration steps to get anything working. Probably why this security flaw existed(?).
* Emulator is flakey, so for local dev you need another cloud DB, and yes all that Googlized setup RSI inducing clickops.
* I reckon it is slower than postgres at the scale of starting a project. Traditional architecture are blitz fast on modern hardware and internet. Like playing a 90s game on your laptop.
* Apparently as you scale it gets pretty pricey.
The main thing is: it actually slows you down! The whole premise is this should speed you up.
comment 2y ago · link · parent
1. Set your standards (https://www.youtube.com/watch?v=aUck-umj2WI, yes it is him, but it is good.)
2. If plausible, release something shit / half done. You will feel embarrassed and want to fix it up.
3. Just get started. Do a minute. Soon you will be in work mode, and forcing yourself to no to do it, so you can sleep at an appropriate time!
4. Try to do fun stuff if possible. Going to the gym is not fun, but it feels good after. But if you have a side project, make it a fun one, something you really are in to.
5. Habits are very powerful. Your brush your teeth, right?