HNHacker News
TopNewBestAskShowJobs

rattray

6,554 karma · joined February 25, 2012

member of technical staff, anthropic

views my own (if that), etc.

previous:

- founder, stainless.com

- engineer, stripe

https://linkedin.com/in/alexrattray

submissionscomments
rattray··on OpenAI releases Consistency Model for one-step generation
tl;dr, a faster alternative to diffusion models for image and A/V generation.

Abstract of the paper:

> Diffusion models have made significant breakthroughs in image, audio, and video generation, but they depend on an iterative generation process that causes slow sampling speed and caps their potential for real-time applications. To overcome this limitation, we propose consistency models, a new family of generative models that achieve high sample quality without adversarial training. They support fast one-step generation by design, while still allowing for few-step sampling to trade compute for sample quality. They also support zero-shot data editing, like image inpainting, colorization, and super-resolution, without requiring explicit training on these tasks. Consistency models can be trained either as a way to distill pre-trained diffusion models, or as standalone generative models. Through extensive experiments, we demonstrate that they outperform existing distillation techniques for diffusion models in one- and few-step generation. For example, we achieve the new state-of-the-art FID of 3.55 on CIFAR-10 and 6.20 on ImageNet 64x64 for one-step generation. When trained as standalone generative models, consistency models also outperform single-step, non-adversarial generative models on standard benchmarks like CIFAR-10, ImageNet 64x64 and LSUN 256x256.

https://arxiv.org/abs/2303.01469

rattray··on Dutch journalist who writes critically on China targeted in intimidation scheme
Wow. The article claims 54 centers across 21 countries in 5 continents.

There's nowhere to hide if you're a Chinese dissident, it seems...

rattray··on Ask HN: Who is hiring? (April 2023)
Stainless | Founding Engineer | NYC ONSITE | Full-time Stainless is building the platform for high-quality, easy-to-use APIs.

Our first product is SDKs as a service – you send us your OpenAPI spec, and we generate pacakges in all the major languages and publish them to npm/pypi/etc (think `npm install your-company`). These SDKs are world-class: you get an idiomatic wrapper with autocomplete, types, etc. (I built a version of this at Stripe for their SDKs, and am now building a better version for everyone.)

Next, we want to make it easy to build amazing REST APIs. REST is simple and ubiquitous, but right now it’s also messy, chaotic, and hard to get right. We’re going to build great open-source standards and tooling that bring the benefits of GraphQL (types, field selection/expansion, standards) and gRPC (types, speed, versioning) to REST.

From there, we plan to build out a rich family of developer platform products – everything an API team would need to deliver a terrific DX to their partners and/or customers.

We’re about a year old, under 5 people, have strong revenue, and are selling to companies you interact with every day. We’re backed by Sequoia, a bunch of (ex-)Stripe people, and founders of Next.js, Prisma, and Segment.

As a founding engineer, you’ll get autonomy to build great products, skilled peers, opportunity for tremendous impact, competitive salary, and a very competitive ownership stake.

We’re looking for exceptionally productive, thoughtful, tasteful, and kind people with a passion for making software development better for everyone. Want to build the future of API tooling? Say hi: alex at stainlessapi.com

rattray··on MIT 6.S191: Recurrent Neural Networks, Transformers, and Attention [video]
Are these the sorts of Transformers and "Attention" heads that play a prominent role in LLMs like GPT3 et al? Would this lecture help build a foundational understanding of those technologies?
rattray··on Universal Speech Model
Can you share your prompt?
rattray··on Ken Thompson's 75 year project: A century of popular music in a jukebox [video]
What was the stated reason?
rattray··on GPT-4 Designed a Programming Language
For clarity, was the "it" at hand ChatGPT or GPT-4?
rattray··on Ask HN: What is going on with Charles Schwab? Stock drop near 40% post SVB chaos
My tiny summary:

They have a _ton_ of liquidity (~$100 billion) so "hold to maturity" unrealized losses aren't going to have to be realized - they can just hold them to maturity.

Also, they claim all their fundamentals are strong and improving with booming deposits, strong margins, etc.

What's more, 80% of their deposit base is fully covered by FDIC insurance.

rattray··on ChatGPT's API is so good and cheap, it makes most text generating AI obsolete
How much would that example cost, for a sense of scale?
rattray··on ChatGPT's API is so good and cheap, it makes most text generating AI obsolete
Can you try it on a few and report back? Would be tremendously curious
rattray··on Emergency bridge loan for SVB customers
It was t-bonds of 10y+ maturity
rattray··on Stripe faces $3.5B tax bill as employees' shares expire
> to make sure early employees don't get rich before the IPO

Former stripe employee here. This is not the case - early employees have been able to cash out on favorable (or at least reasonable) terms. Some limits, not perfect, etc, but I don't think that part of the narrative applies in this case.

rattray··on Stripe faces $3.5B tax bill as employees' shares expire
FWIW I joined stripe at around 600 people and almost certainly will prove to have done much better there than at faang financially (and quality of life/work). N=1 but I expect the same is true of most people who've worked there even until recently.
rattray··on Ask HN: Who is hiring? (March 2023)
No, sorry.
rattray··on Ask HN: Who is hiring? (March 2023)
Stainless | Founding Engineer | NYC ONSITE | Full-time

Stainless is building the platform for high-quality, easy-to-use APIs.

Our first product is SDKs as a service – you send us your OpenAPI spec, and we generate pacakges in all the major languages and publish them to npm/pypi/etc (think `npm install your-company`). These SDKs are world-class: you get an idiomatic wrapper with autocomplete, types, etc. (I built a version of this at Stripe for their SDKs, and am now building a better version for everyone.)

Next, we want to make it easy to build amazing REST APIs. REST is simple and ubiquitous, but right now it’s also messy, chaotic, and hard to get right. We’re going to build great open-source standards and tooling that bring the benefits of GraphQL (types, field selection/expansion, standards) and gRPC (types, speed, versioning) to REST.

From there, we plan to build out a rich family of developer platform products – everything an API team would need to deliver a terrific DX to their partners and/or customers.

We’re about a year old, under 5 people, have strong revenue, and are selling to companies you interact with every day. We’re backed by Sequoia, a bunch of (ex-)Stripe people, and founders of Next.js, Prisma, and Segment.

As a founding engineer, you’ll get autonomy to build great products, skilled peers, opportunity for tremendous impact, competitive salary, and a very competitive ownership stake.

We’re looking for exceptionally productive, thoughtful, tasteful, and kind people with a passion for making software development better for everyone. Want to build the future of API tooling? Say hi: alex at stainlessapi.com

rattray··on Using GPT3, Supabase and Pinecone to automate a personalized marketing campaign
What does it look like? I've never heard of either.
rattray··on What's Postgres got to do with AI?
This is about how to build a recommendation engine into postgres by storing embeddings from OpenAI in a table and querying them with pg_vector.
rattray··on I love building a startup in Rust but wouldn't pick it again
This is something I hear a lot from other founders.

Spinup time of new engineers is like 6mo+, some devs who can churn out normal CRUD product work just fine in Rails or React ~never become productive with Rust, and hiring skilled Rust devs is just crazy hard (though maybe now that Blockchain/Solidity things have cooled there may be more supply).

rattray··on The entire prompt of Microsoft Bing Chat?
Wait how do you hit that model??
rattray··on Google and Mozilla are working on iOS browsers that aren't based on WebKit
Thank you!
rattray··on Google and Mozilla are working on iOS browsers that aren't based on WebKit
Stupid question: does JSC have a JIT?
rattray··on Google and Mozilla are working on iOS browsers that aren't based on WebKit
You'd be getting the ability to choose which rendering issues you went to experience for any given website, which is actually quite useful.
rattray··on My Controversial Opinion: Ventura Is Apple’s Worst macOS Yet
Only the first time for each monitor, I believe. It's really fine.
rattray··on The window trick of Las Vegas hotels
Very interesting. Know of any buildings which embody this well?
rattray··on Bike helmets: what the science says about an American safety obsession
How are these pitted against each other??

It's totally possible that a helmet saves your life/head with no cars involved. Happened to me a couple months ago.

Helmets should be required and infrastructure should be great.

rattray··on Ask HN: Is TypeScript worth it?
It's much more like reminding TS developers that Go developers have to use `interface{}` all the time, because some types are actually hard for compilers/typecheckers to deal with.
rattray··on Ask HN: Is TypeScript worth it?
One of the biggest mistakes that I see devs making is caring too much about making TypeScript happy when they know it doesn't really matter.

There are a lot of cases where it's totally reasonable/rational and honestly fairly safe to just throw in a well-scoped "any" cast, a `// @ts-expect-error` comment, etc.

If you know what you're trying to do, and TS isn't understanding, sometimes it's just a lot more expedient to tell it to shut up and listen to you.

Of course, sometimes you're wrong, and you don't want unsafety to leak, so it does require a fair amount of experience and judgement to do responsibly.

rattray··on Apple announces full Swift rewrite of the Foundation framework (2022)
Well that's easy. Swift is:

1. Much more expressive and featureful than Go

2. More concise and modern than C# (debatable maybe?)

3. Less JVM than Kotlin (the apples-to-apples; Java is a much worse language)

4. Way, way faster and more typesafe than Python

5. Better support for parallel execution (and probably fine-tuning other performance knobs) than TypeScript

rattray··on Apple announces full Swift rewrite of the Foundation framework (2022)
Makes sense, thank you for explaining!

Personally I'd love to see a forked flavor of TypeScript with static compilation and multithreading (which implies a lot more immutability, etc). Maybe I should give Swift a try…

rattray··on Apple announces full Swift rewrite of the Foundation framework (2022)
https://youtu.be/bOMQiMxh5Bc?t=430

relevant listen is about 2min long

← PreviousPage 8 of 34Next →