HN user

avidal

166 karma

Engineering Manager, Cloudflare Workers <username@cloudflare>

[ my public key: https://keybase.io/avidal; my proof: https://keybase.io/avidal/sigs/eH4F9s6bs5IV9v3xotoLm0vvdiJYswPHYde1bSpgHuo ]

Posts0
Comments33
View on HN
No posts found.

Very cool. I've been using worktrees a lot recently at work, mostly reworking tools or CI jobs that try to manage branches into just using a worktree and cleaning up after yourself.

It's made a big difference in readability and cleanliness. I'll often use, eg, `mktemp -d` with a template argument that's relevant to the usage, then use the base name of the temporary directory as the worktree branch, followed by `git fetch <remote> <remote-branch>:<worktree-branch>`.

I've been thinking about using worktrees more for my general development, since I'm frequently working across multiple branches.

Kenton's House 3 years ago

I regret not finding an opportunity to check the old place out on one of my many visits to the SF office, but it's awesome to see that the new place is finally coming to a close.

Didn't realize it had been so long, but I suppose I left Cloudflare like 3.5 years ago and I know it was a bit of a pain in the ass just trying to buy the property here in Austin in the first place.

vscode.dev is still for local development, not remote. It uses browser filesystem APIs to access your local filesystem. Whereas code-server runs on the remote and exposes a web server for you to connect to which serves up the filesystem on the remote.

This was an incredible resource back when CBVs were first introduced. While I tended to prefer function-based views (when I was still heavily using Django), this page was the first one I opened when I knew I was going to be using a CBV.

Thanks to the authors/maintainers!

These things are very cool. I buy wood from a local wood yard every year or two (I don't use much here in Texas, but we do love our firepit and fireplace when it's cool enough), but the splits I get are often too large to easily burn. I'll often buy a bag of kindling when I pickup fire wood, but the kindling doesn't last long.

The main reason I didn't get a kindling cracker is because I don't have a stable base to mount it, although I suppose I could manufacture one next to the wood rack. I did, however, get a hydraulic wood splitter[1] which at least helps split some of the really large logs into something more manageable. It's pretty simple to use and very effective, even on the very knotty and hard oak wood out here.

[1] https://www.harborfreight.com/lawn-garden/outdoor-power-tool...

I've been at Cloudflare just over a year now, and if there's one message that's been drilled into my head it's Trust. We understand that we're in the position that we're in largely due to trust. I like to believe that even if our CEO is a secret lizard person you'd get whistleblowers coming out of the woodwork if we tried to exploit our users.

It's something we're iterating on, and the results are so far looking promising; but there are a few scenarios in which they may not work (yet). If you reach out to your SE they should be able to get into specifics.

Cloudflare has a transparency report[0], updated twice a year.

In the transparency report there's a warrant canary:

  Some things we have never done
  Cloudflare has never turned over our SSL keys or our customers' SSL keys to anyone.
  Cloudflare has never installed any law enforcement software or equipment anywhere on our network.
  Cloudflare has never terminated a customer or taken down content due to political pressure.
  Cloudflare has never provided any law enforcement organization a feed of our customers' content transiting our network.
[0] https://www.cloudflare.com/transparency/

I personally use XXX all the time; but I tend to use it in places where perhaps ATTN or NOTE would be more explicit.

It may be simply an artifact of other code in the past; when I switched to vim ~10 years ago I noticed XXX was specifically highlighted along with FIXME and TODO and so I used it as a third option: here's something that doesn't need to be fixed, isn't really a todo, but you should read and understand.

Interestingly, I just did a quick check in vim to see which prefixes were highlighted and ATTN / HACK were not, but the usual suspects (BUG, FIXME, TODO, NOTE, XXX) were. I should probably use NOTE in most places that I currently use XXX...

Django 1.7 RC1 12 years ago

Where do you see that @transaction.atomic is deprecated? It's not in the release notes[1] and if I recall correctly, was only introduced in 1.6 as a means to come up with a consistent API for nested transactions and savepoints. Are you implying that it's deprecated as a decorator? Even if that's the case, I still can't find a source.

[1] https://docs.djangoproject.com/en/dev/releases/1.7/