Better HN
topnewbestaskshowjobs
Log inSign up

quickthrower2

24,182 karma · joined Jul 22, 2017 (9y ago) · 14,302 submissions

Contact me at altsearch@altmails.com, which gets forwarded to my normal email.

https://hnbadges.netlify.app/?user=quickthrower2

Submissions

comment 2y ago · link · parent

Well done! Someone will use this in prod. Just make sure the defaults are secure :-)

comment 2y ago · link · parent

Where they came from is part of how you decide if they are good. Especially for nuanced knowledge work.

If not, I have a pacemaker I would like to sell you.

comment 2y ago · link · parent

I didn't know this much about filters before.

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

Needs some explaination.

Is this for when you use crypto to pay for something, a smart contract gives you some of the money back? Or is this for fiat payments, and get crypto back (or both)?

Are you doing the whole end-to-end payment handling?

comment 2y ago · link · parent

Continued....

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

I might have been over the top. Unless something illegal is going on, or you are getting harassed, you could say "hey it is day 1, I don't like this, I will set a calendar reminder for 2 weeks to check in again, and assess".

Plan continuation bias is hard to overcome though.

comment 2y ago · link · parent

Ooh, a joy looking at the source.

* htm extension

* all tags in all caps

* for some reason text is justified!

* <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

* Closing tags are for wimps!

comment 2y ago · link · parent

Two years for a company that isn't horrendous to work for. If it is clearly not working out - a no brainer - then just leave. Might be on day 1!

comment 2y ago · link · parent

Single run?

comment 2y ago · link · parent

I'll happily take 6 months pay to knock up a quick node api. :-). Just need to find a beach first.

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

I know I am holding it wrong etc! But I really tried in earnest, as a fanboy of firebase, for quite a long time. The problems I had were with basic things. You have companies, a company can have many users, users might belong to more than one company (hello Slack...) and then there can be relationship between users.

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

And in practice it has a superpower: agility. The pointy haired boss wants your OLTP to be an OLAP, and you can kind of hack it. You want to put the user's birthday on the settings page this quarter? Sure. Even if that is in another table. You can even make it efficient.

comment 2y ago · link · parent

It often just crashed with an error. Now I am a Windows user, so MMMV, and this might be the reason. In some places the behaviour was slightly different and I had to work around that. I don't recall the specifics. And the idea of a test suite that starts the emulator, runs the tests and gives a result, that can reliably run.... well I gave up on that.

comment 2y ago · link · parent

I open way less than 100% of password resets - because some are malicious.

comment 2y ago · link · parent

Really, so this whole thing could be a $9.99 app on my existing phone :-). And if it is that good then I can delete all the other apps.

Ah already have ChatGPT installed, that'll do :-).

comment 2y ago · link · parent

Because there is no skin in the game.

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

.

Edit: might be a one off.

comment 2y ago · link · parent

$5 a month, the only support you get is the ability to cancel :-). However I kind of agree, given that this has sensitive data perhaps, so customers might get annoying about that, charge a bit more.

comment 2y ago · link · parent

I went for blue, thinking it was a game (the blue button might move away). Damn.

comment 2y ago · link · parent

Browser fingerprinting?

comment 2y ago · link · parent

I feel this needs a framework (not a library) to take care of it all. Abstract away the webbyness. Something like Elm, with a type that represents data, and behind the scenes it does all the ServiceWorker and syncing crap for you.

comment 2y ago · link · parent

You need refinement types. Psuedocode:

    timespandays : int, timespandays > 0
your program can then be proven by the compiler not to NaN.

comment 2y ago · link · parent

Not really. You just need to be strategic. $5/m for example would be reasonable for a hosted version of this, maybe add some AI touches for pro users, and then have thousands just expense it as it is well below thresholds, or just pay for it themselves.

comment 2y ago · link · parent

There is no such thing as “relational data” here. There is the data I need to store to implement my app. No matter how I shaped it, it was suboptimal. Where it might shine is a subsystem like chat with just messages. Oh just got a flashback about Firebase rules. That alone is a time sink where you could have got the project done in Rails already :-)

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

Firebase is a shitshow. I say this as someone who really tried to like it and sadly built a project for a client using it.

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

It depends. Sometimes it feels like a pain (which coincides with fewer reps to fatigue etc.). Sometimes I get a buzz. Body isn’t in the same “mood” every time. And I space out sessions.

comment 2y ago · link · parent

These goal escrow sites, like stickK, beeminder are not my thing but glad they help people. Here are some other hacks:

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?

comment 2y ago · link · parent

When the payout is say $100M from trading on the fake news, yes it is.

comment 2y ago · link · parent

All you need is HTTPs and HTML. Maybe RSS.
1
121314
477