HNHacker News
TopNewBestAskShowJobs

habosa

13,551 karma · joined December 14, 2011

sam [at] habosa [dot] com
submissionscomments
habosa··on We're moving on from Firebase
Re: Extracting a machine-readable CI token

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.

habosa··on Poor writing, not specialized concepts, drives difficulty with legal language
Most lawyers only exist to protect you from other lawyers. The language is all part of that, consciously or not.
habosa··on Weird Al had 100 gigs of RAM
Any computer targeted at business users really needs to start at 16GB minimum. I can't understand why 8GB is still the default base configuration on almost every computer.

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.

habosa··on Germany pushes for ‘pay as you fly’ model
While this seems consumer friendly, I imagine that such a massive negative shift in the cash flow mechanics for airlines would result in them having to raise prices or degrade service.
habosa··on WebKit on GitHub
I've met some very smart and capable programmers who perpetuate this "style". It's so harmful. Comments are good for the writer AND the reader.
habosa··on In search of Britain’s oldest pub
https://en.wikipedia.org/wiki/The_Old_Red_Lion,_Islington

The reason it doesn’t look as old as they say is because it was rebuilt.

habosa··on Stable Diffusion is a big deal
These new models completely changed my mind about how much impact AI will have in my lifetime. They are the most impressive software achievements in decades and anyone who has a “meh” reaction will absolutely end up looking silly.

I’m not optimistic that their impact will be positive though.

habosa··on What would a “good” WebMD look like?
Here in the UK the NHS website has excellent SEO. I land there all the time
habosa··on A Graph-Based Firebase
I used to work on Firebase. I also use Firebase heavily in my work and personal projects.

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.

habosa··on WeWork's former CEO has a new startup, reportedly valued at more than $1B
I really hope this somehow combines crypto and timeshares. Two of the most famous scams of all time ... brought together under Adam Neumann. It will make for a truly hilarious postmortem.
habosa··on How to stay focused while working on your startup and having a 9 to 5
I’ve been working on my “startup” (codeapprove.com) in addition to my full time job and busy social life for about 18 months now (no kids though, before anyone asks).

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.

habosa··on 'Too many employees, but few work': Pichai, Zuckerberg sound the alarm
I love this framing, those percentages match up 100% with what I saw on the inside of a FAANG company.
habosa··on 'Too many employees, but few work': Pichai, Zuckerberg sound the alarm
As many others have said here: 20% of the people at these big companies are not just doing nothing, they are getting in the way and providing negative value to the 80% who come to work to honestly try and get something done. It is bad for the company and the industry to be paying these people high six figures to be useless. It is unpleasant to work with them (if you even notice they're there) because it makes your work seem pointless.

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.

habosa··on Marc Andreessen says he’s for new housing, but records tell a different story
I think most of us had a lot of respect for Marc because of the Netscape days but hopefully we can now all agree that he’s become a total fraud motivated by greed. His whole-hearted embrace of everything crypto despite being obviously smart enough to know most of it was a Ponzi was the last straw for me. He’ll do anything to win the VC game.

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.

habosa··on SF’s Black Market Thrives Off Retail Theft
I lived in SF from 2014 to 2020. Lived in Soma, the Mission, and the Haight. I saw a lot of really sad and disturbing things but I never saw or heard of a whole city block being barricaded by gangs of criminals. Where was that?
habosa··on Having no experience can be better than having the wrong experience
Yes this is true and unfortunate but what is the relevant advice for hiring managers here? Ignore resumes altogether?

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.

habosa··on Job switchers are earning a lot more than those who stay
The worst part is we all know these people and they're almost never the people providing the most value to the company. They're just good at selling themselves. They come in, spend 6 months onboarding, do 18 months of acceptable work (and make sure to use all the benefits, of course) and then they're gone. You'll hear from them on LinkedIn, with some inflated title making 3x what you make and still not being an expert in anything.
habosa··on Job switchers are earning a lot more than those who stay
When people do this effectively they get a title increase with each switch. So even FAANG to FAANG jumps work if you're getting a "free promotion" with every one. I've seen it happen, unfortunately.
habosa··on Hertz paid Accenture $32M for a website that never went live (2019)
I’ve yet to hear of someone paying Accenture to do dev work and having a good experience. I’d be curious if any such story exists.
habosa··on Meta managers are urged to identify, push out low performers
In my experience at a FAANG company it was basically impossible to fire people for low performance. People who did zero valuable work could last for multiple years without having to fool anyone. I’m talking about people that had zero or negative value to their team and 100% of their teammates and management would agree. You’d only get fired if you did something extremely offensive.

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).

habosa··on The Victim Cloud: Gullibility in the golden age of scams
Reading about this problem makes me sick. Scams are harmful far beyond their direct consequences. They tear at the fabric of a society. If we’re always wary of a scam we have to spend so much time and effort defending ourselves in all of our actions. The paranoia is a tax on everyone.

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.

habosa··on Convex vs. Firebase
A few points here:

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.

habosa··on Ask HN: Feel bad about working in crypto, what to do?
Quit.
habosa··on When will Apple ship other M2 Macs?
Sounds like this is just a memory issue which makes sense because it does only happen when I let too much memory pressure / swap build up. I only have 8GB, Apple should have never sold a Pro model with that little RAM.

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.

habosa··on When will Apple ship other M2 Macs?
OT but does anyone else find their M1 Mac to have very bimodal performance? I have an M1 Macbook Pro (2020 model) and in general it's very fast. It's certainly the fastest web-browsing machine I've ever used.

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.

habosa··on I cheated on my Microsoft interview (2019)
When I interviewed at Microsoft the same thing happened. The final interviewer asked me a question I had already solved while studying.

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.

habosa··on Learnings from 5 years of tech startup code audits
I believe they are referring to the fact that most JWT-based auth systems use one-hour token expiry and have no ability to remotely revoke tokens. You can only revoke the user's ability to get the next token. This often leaves a one hour window between when you want the user locked out of your system and when they are practically logged out.

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).

habosa··on Much philanthropy is a routinized exchange between salaried bureaucrats
Don’t let all the shenanigans at the top stop you from doing good. It’s clear that the American system of tax preference for philanthropy is easy to abuse, but while it’s there you might as well use it to help people if you can afford to.

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.

habosa··on How to make video calls almost as good as face-to-face (2020)
This x 100. In the normal office environment audio cues are pretty much the main thing you can't bring home. Just hearing small conversations going on around you and being able to passively process them and jump in and out as necessary is a game changer for collaboration.

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!

habosa··on Why All Cryptocurrency Should Die in a Fire
Unlike with BTC with Monero you can’t tell what I did with the coins in between the two fiat transactions. For most people that’s a very meaningful level of privacy, even if it’s not perfect.
← PreviousPage 12 of 34Next →