HNHacker News
TopNewBestAskShowJobs

avidal

166 karma · joined May 15, 2010

Engineering Manager, Cloudflare Workers <username@cloudflare>

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

submissionscomments
avidal··on Wtm (Worktree Manager): A simpler way to work with Git Worktrees
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.

avidal··on Kenton's House
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.

avidal··on Reliability: It’s not great
From context, I'm assuming Microsoft / Amazon / Google, referring to Azure / AWS / Google Cloud respectively.
avidal··on Common Microservices Misconceptions
Heya Dave! I see your name pop up every once in awhile in various places. We first connected on that MUD many many years ago if you don't recall.
avidal··on Lapce – Fast open-source code editor
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.
avidal··on Dango Views Cheatsheets
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!

avidal··on Cloudflare announced four major new features that could disrupt industries
Cf has really mature trust and safety as well as security teams and tools. I've no doubt they've taken bad actors into account considering all of the other offerings they have that have also attracted bad actors.
avidal··on Ask HN: Favorite purchases of last two years?
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...

avidal··on Cloudflare Workers Announces Broad Language Support
As far as "vote rings" are concerned, the CTO (and others) would emphatically remind people not to upvote to ensure we didn't end up getting flagged.
avidal··on Show HN: Catj – A new way to display JSON files
Have you seen gron[0]? It's similar: flattens JSON documents to make them easily greppable. But it also can revert (ie, ungron) so you can pipe json to gron, grep -v to remove some data, then ungron to get it back to json.

[0] https://github.com/tomnomnom/gron

avidal··on Google’s outage meant some Nest users couldn’t unlock doors or use the AC
The tweet is misleading. He mounted his TV on top of his thermostat[0]; and I'm sure he knew full-well that it meant he wouldn't be able to change the temperature without the app.

[0] https://twitter.com/jDantastic/status/1135313567346036741

avidal··on Google’s outage meant some Nest users couldn’t unlock doors or use the AC
They do. You can turn them. Turns out this individual decided to mount his TV over his Nest[0]. So changing the temperature without the app requires removing the TV.

[0] https://twitter.com/jDantastic/status/1135313567346036741

avidal··on Cloudflare Workers
We're excited about it also :)
avidal··on Cloudflare Workers
While we haven't relaxed the 1MB restriction, we have made some changes to the way we compress and distribute your code to the edge. I'd encourage you to try again, and our new CLI[0] handles the webpacking for you.

[0] https://workers.cloudflare.com/docs/quickstart/cli-setup/

avidal··on Cloudflare Raises $150M and Adds to Board of Directors
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.
avidal··on Hexyl: A command-line hex viewer
Looks like the screenshots on Github are outdated. I just ran it locally and it does print out offsets in a new left-most column.

edit: Added in this commit: https://github.com/sharkdp/hexyl/commit/91a119f4537f746045c8...

avidal··on Dear customers of Cloudflare: an appeal regarding Tor
There's a pretty good write up on how it works here: https://blog.cloudflare.com/cloudflare-supports-privacy-pass...
avidal··on Ask HN: Have you shipped anything serious with a “serverless” architecture?
I'm curious on what's missing from Cloudflare Workers to allow you to remove the API Gateway usage. We're actively looking for more advanced use cases so we can make sure we prioritize upcoming features. Reply here or send me an email at <username> at cloudflare.com.
avidal··on Run JavaScript on Cloudflare with Workers
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.
avidal··on CloudFlair: Bypassing CloudFlare using Internet-wide scan data
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/
avidal··on The origins of XXX as FIXME
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...

avidal··on PostgreSQL 9.5: UPSERT, Row Level Security, and Big Data
Yep. Been a long requested feature. One of the reasons why the post states: "This feature also removes the last significant barrier to migrating legacy MySQL applications to PostgreSQL."
avidal··on Vim After 11 Years (2013)
Source?
avidal··on ESnext – Tomorrow’s JavaScript syntax today
That's what I want to know. There are dozens of es6 transpilers.
avidal··on Why I took on building a better way to frame any poster, print or photo
Same on OSX, Chrome.
avidal··on Django 1.7 RC1
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/

avidal··on Knod – A Tiny HTTP server for your current directory with writes
So, you can only bind to '0.0.0.0'? Which means, by default, you're opening up read/write to the specified directory without permissions, to the entire world?

Maybe the default should be 127.0.0.1; and if the user specifies 0.0.0.0 then it comes with a big fat warning?

avidal··on The Mozilla Developer Network has a New Face
Seems to me it's actually writing to the database twice for each page view; once to update the render_started_at property on #845, and once again on #881.
avidal··on Docker - the Linux container runtime
github: avidal
avidal··on Show HN: Streem.io - Media Center on the Cloud
The homepage mentions you can use your account here to stream content to any device, including consoles. How does that work? Can we connect to it as a network file server?
Page 1 of 2Next →