Don’t do that! Firebase CI tokens are not a good way to authorize with Firebase anymore. Use a GCP Service Account which you can scope very precisely and remotely adjust permissions / track usage.
13,551 karma · joined December 14, 2011
Don’t do that! Firebase CI tokens are not a good way to authorize with Firebase anymore. Use a GCP Service Account which you can scope very precisely and remotely adjust permissions / track usage.
My company made the mistake of ordering 8GB M1 MacBook Pros for everyone. After all ... they say "Pro", right? Truly the worst computer I've ever used, all because of memory management (and M1s unique memory-sharing architecture).
Even simple tasks like opening a new tab or switching windows showed serious lag. I could not run my local dev server and listen to music at the same time.
We eventually just said "screw it" and bought all new 16GB MacBook Airs. 1000x better.
The reason it doesn’t look as old as they say is because it was rebuilt.
I’m not optimistic that their impact will be positive though.
I am normally quite skeptical of “Firebase but X” projects because they often seem to be running head first into the issues that the Firebase team so skillfully avoided.
This isn’t one of those projects. The author of this essay clearly gets what you need to actually build a backend for a modern app that’s also simple enough to get started with. I’m very excited about this project.
Finding time to build the thing hasn’t been all that hard. A few hours a week is actually a lot if you’ve already pre-solved some problems in your mind during downtime and you’re really just cranking out work with few blockers.
The hard part is customers. Acquiring them and keeping them can’t really be scheduled. This requires random bursts of time and energy when you least expect it that can be pretty incompatible with a normal job. Maybe if you’re really good at marketing and UX you can find ways to passively get self-service customers but most people who can build software lack those skills. And still, someone has to do customer support.
So I ended up with the classic hacker’s folly: a great product with few users. Oh well, I love building it.
If you asked the employees who the 20% were, I bet there would be consensus. They could be found and removed easily. It would also include plenty of managers and directors, it's not just leaf nodes who can be useless.
But the big tech companies are absolutely terrified of being seen as talent-hostile by firing low performers. So instead they will "turn up the heat" and hope the problem solves itself. They will complain that their employees aren't working hard enough without giving them any reasons to work harder or removing any obstacles in their way. As leaders they should be ashamed for not owning and fixing this problem.
At this point when I see that a company got Andreesen Horowitz money I think about it as one step above SoftBank money in terms of negative signals.
I worked at a FAANG company for a long time and now work at a startup. In general I have no desire to replicate their hiring but I would still consider the FAANG engineer resume line as a very strong positive signal.
I’m not trying to be elitist. I know that the best engineers I’ve ever met would not be recognizable by a simple resume screen. But even at a startup we get hundreds of resumes per open position, we do need some filtering criteria.
In general every HN discussion around hiring seems to go in the same circle. Absolutely nobody is happy with the status quo but also nobody has a working solution they can share that’s not riddled with personal biases.
I don’t want to work in a hostile environment with constant purges but I do think it would be healthy if more people in big tech companies got let go for being bad at their jobs. People making 300-500K doing next to nothing isn’t good for anyone (except them).
It’s also sad how many people are willing to participate directly in these scams. The person calling and pretending to be “Miss Barbara” was not committing some targeted crime of passion. She was going to work every day and calmly stealing from trusting strangers. Someone who can do that day in and day out is seriously sick.
1) That’s a JOIN and Firestore is not unique among NoSQL databases for being bad at it.
2) That’s the code you’d use in a web browser to load Firestore data. That code also handles all of the API and Authentication code you’d normally put in front of another DB. It’s serverless. So that is a fully functional snippet, your SQL example needs an API layer and frontend deserialization code.
3) It does not make a new HTTP connection per request. It uses a long-lived gRPC connection.
Still, I feel like the failure mode for low memory is different on M1. This isn’t my first underpowered machine but it’s definitely the one that stutters the hardest.
But when I overload it (dev servers running, Google Meet, Notion / Slack all up) it goes full spinning-beach-ball and sometimes takes minutes to recover. It seems like in particular it's much too eager to give 100% of all cores to something like "npm build" and doesn't leave enough power behind to run the UI. For example it's really common for my music to skip/jump when my code compiles, which is not something I'd expect on any modern computer.
My Intel MacBooks before this and my Windows laptop never have these kinds of issues. They definitely got very slow at times, but never totally locked up.
I told him I had already seen the question before and knew the answer. He said that’s fine and just had me show him the solution.
We used the extra time to just chat about my interests and side projects and I got the offer anyway.
So it doesn’t matter, you didn’t “cheat” any more than I did.
The only way I know of to implement instant revocation in a system like this is to keep a blocklist of users/tokens that is constantly checked, which can be slow and removes some of the benefits of JWTs in the first place (that they carry all the auth information you need).
If your company matches donations, take them up on that. That means for $1 pre-tax (~$0.60 out of your pocket) you can give $2.00 to an organization that could use the money. That’s almost 3.5x force multiplication.
Also I promise it will feel good, and if you choose a local organization that doesn’t have mega donors (not that the big ones are all bad) they will truly notice your help.
I have tried to build an "audio office" product based on low-latency spatial audio over the web but it's way too far outside my expertise. Glad to see that someone else is on it!