HN user

peterhunt

3,738 karma

CEO at Dagster Labs

Previously: Twitter, ceo/co-founder of Smyte.com. Instagram, React.js, Facebook

@floydophone on twitter

Posts57
Comments484
View on HN
astryx.atmeta.com 28d ago

Astryx – open-source design system customizable and agent ready

peterhunt
12pts2
old.reddit.com 1y ago

Pathfinding in Battle Aces

peterhunt
2pts0
dagster.io 2y ago

The Rise of "Medium Code"

peterhunt
1pts0
www.thisiscolossal.com 2y ago

A 19th Century Telephone Network Covered Stockholm in Thousands of Phone Lines

peterhunt
2pts0
www.summarize.tech 3y ago

Show HN: Summarize.tech: YouTube summarizer powered by the new ChatGPT API

peterhunt
31pts6
stkbailey.substack.com 3y ago

Elitism as the mid-career growth engine

peterhunt
170pts108
dagster.io 3y ago

Build a GitHub Support Bot with GPT3, LangChain, and Python

peterhunt
2pts0
dagster.io 3y ago

Build a GitHub Support Bot with GPT3, LangChain, and Python

peterhunt
4pts0
www.summarize.tech 3y ago

Show HN: GPT-3 powered video summarization

peterhunt
8pts2
hintjens.com 3y ago

A Protocol for Dying

peterhunt
2pts0
twitter.com 3y ago

Show HN: We Built Vercel for Data Engineers

peterhunt
17pts1
www.surfrider.org 4y ago

Twenty Years in and We’ve Stopped Poseidon

peterhunt
2pts0
github.com 4y ago

Show HN: Manage Your Configuration with SQLite

peterhunt
1pts0
github.com 4y ago

Dead ends of information technology

peterhunt
46pts70
www.telegraph.co.uk 4y ago

Facebook whistleblower warns ‘dangerous’ encryption will aid espionage

peterhunt
4pts4
threads.js.org 5y ago

Web worker meets worker threads – threads.js

peterhunt
91pts16
twitter.com 7y ago

FB's Engineering Culture

peterhunt
3pts0
blog.erratasec.com 8y ago

“Security problems are primarily just bugs”

peterhunt
119pts95
www.facebook.com 10y ago

React Native for Windows/XBox

peterhunt
3pts1
daslab.seas.harvard.edu 10y ago

The RUM conjecture

peterhunt
2pts0
blog.burntsushi.net 10y ago

Syntax extensions and regular expressions for Rust (2014)

peterhunt
41pts3
medium.com 10y ago

Welcome to the Future of Web Application Delivery

peterhunt
3pts0
voice.kadira.io 10y ago

Meteor meets GraphQL

peterhunt
112pts11
techcrunch.com 11y ago

Smyte (YC W15) Launches to Fight Online Fraud

peterhunt
65pts10
github.com 11y ago

Facebook moving from esprima-fb to babel

peterhunt
5pts0
github.com 11y ago

React Native is now open source

peterhunt
1039pts287
sitr.us 11y ago

Flow is the JavaScript type checker I have been waiting for

peterhunt
11pts2
conf.reactjs.com 11y ago

React.js Conf

peterhunt
43pts13
facebook.github.io 11y ago

JSX: XML-like syntax extension to ECMAScript – Draft specification

peterhunt
76pts43
instagram-engineering.tumblr.com 11y ago

The Technology Behind Hyperlapse from Instagram

peterhunt
167pts48

Just do it in person. The voter fills out the ballot in front of the buyer, seals and signs the envelope, and hands it to the buyer in exchange for cash. The buyer then puts it in the mail on the voter’s behalf.

The voter could go to a polling place afterwards and attempt to cast a provisional ballot but my understanding is that this is difficult, varies significantly state to state, and in many cases is not possible given that mail in ballots are detached from the voter identity ahead of Election Day in many states.

The same could be said of mail in paper ballots too, which have seen widespread adoption in the United States starting in 2020, so I don’t think this should be a knock against this system.

There's clearly something else going on here because I am having trouble following this argument.

You pretty clearly laid out what you meant by server rendered in your original comment:

Were I forced to write a website today, it’d still end up looking similar to a traditional Django server-side rendering system with pages, and deep links, and all that.

Nowhere did I advocate leaping to SPAs for no reason. I simply made the case - and stand by it - that building with the same set of technologies client and server side leads to more flexibility and less code.

Re: the comment about booting the app, I think that is one of the strongest arguments in favor of server rendered apps, which is why I qualified my comment to "interactions", which happen after the page loads.

I lived through the server-rendering-only days of the original Hotmail client, and the php-plus-jquery spaghetti era. They were terrible for developers and terrible for users. Going backwards would be a huge mistake.

Calling this argument a strawman is pretty dismissive and is not a technical arugment. There are lots of client side interactions that do not need to be blocked on data from the server. Popup menus, modals, collapsible lists, rich text editing etc.

Also think about what actually has to happen when you interact with a server rendered app vs a client rendered app. Once the client app is booted you don't have to pay network latency, html parsing, FOUC etc on every interaction as you would with a server rendered app.

The main benefit is the flexibility to seamlessly move this logic from server to client and vice versa without rewriting all of your code.

Purely server rendered apps tend to have much slower interactions and exhibit weird behaviors so it is valuable to be able to do some stuff on the client.

Dagster Labs | Software Engineers, Product Managers, Designers | SF, Minneapolis, NYC or Remote | Full-time | Open-source

Dagster is the data orchestration platform built for productivity. Data engineers all around the world, in every industry, use Dagster to build scalable and maintainable data applications like ETL pipelines, ML training pipelines, data integrations and similar systems.

Data applications are the true core of AI and ML training systems, and our goal is to make Dagster the de facto standard for structuring these systems.

We’re an early stage, well-funded startup team with a proven track record of shipping open source software with global adoption. We put a premium on respectful, clear, and complete communication, and we expect each other to be creative, curious, effective, and empathetic.

More info: https://www.dagster.io/careers

I worked with these guys a long time ago at FB.

Their founder and CEO created The Algorithm at Instagram. Rest of the team is super strong too. Makes a lot of sense for OpenAI to acquire a team at the intersection of AI and consumer products.

Thanks for the kind words. I built it on a few cross-country plane rides and now I mostly just leave it alone. The infrastructure and tooling we have these days is so incredible.

Sure. The old one just splits the transcript into 5 minute chunks and summarizes those. The reason this sucks is because each 5 minute chunk could contain multiple topics, or the same topic could be repeated across multiple chunks.

This dumb technique is actually pretty useful for a lot of people though, and has the advantages of being super easy to parallelize and requiring only 1 pass through the data.

The more advanced technique does a pass through large chunks of the transcript to create lists of chapters in each chunk. Then it combines them to a single canonical chapter list with timestamps (it usually takes a few tries for the model to get it right). Then it does a second pass through the transcript, summarizing the content for each chapter.

The end result is a lot more useful, but is way slower and more expensive.

I built summarize.tech

Yes it's a great idea and I have a version that is basically a convolution over the transcript. It works much better than the current version - it can automatically create cohesive chapters and summaries of those chapters - however, it consumes an order of magnitude more ChatGPT API calls making it uneconomical (for now!)

I work on Dagster but I'm not the author.

Dagster is OSS and most folks do local development on their laptop which is quite fast. The speedups in this post are for production deployments (i.e. landing a commit in your master branch) and for branch deployments (the deployments that run on every pull request).

I’m talking about the ones sold in the United States in the last few years. Mine is a Carrier manufactured in 2022

It is coordinated. In many states there are huge incentives [1] to disconnect your existing home from (and not connect new construction to) the natural gas infrastructure.

This is great for the climate but air source heat pump technology simply doesn't work well in cold climates. Most heat pumps in the United States have 100% efficiency down to about 20 degrees F. Below that they "lose efficiency."

What most people don't realize is that "lose efficiency" = blows cool or cold air. So if you live somewhere that routinely gets that low you are likely either going to be really cold, or have to engage aux heat (often natgas or oil-based heating or electric resistance heating).

Additionally, even when operating at 100% efficiency they don't blow air as hot as traditional heating sources. So if you have a poorly insulated room, large space, or even just an unusually cold day, it will often have a hard time keeping up.

I have found that I only use my air source heat pump a little bit during the fall in New England, and I have to run aux heat throughout basically all of winter. Talking to my friends in the region who have heat pumps, they all have similar experiences.

I think we are all very eager to get off of fossil fuels but the technology just isn't there yet, and I am concerned that most people installing heat pumps today don't know the risks associated with them in extreme weather events. If your heat pump can't keep up and you didn't install aux heating you can't live in your house, your pipes will freeze, and you will generally have a bad time. If you did install and use aux heating, you may be surprised at how expensive and inefficient resistive electric heating is as it may need to run all the time.

[1] Massachusetts will pay you $10k to install air source heat pumps and disconnect from natural gas https://www.masssave.com/en/residential/rebates-and-incentiv...

I am against constrained DSLs in general unless it buys you something. In the general case, with a DSL you sacrifice expressivity in order to gain security guarantees or improved performance. In this case you are sacrificing expressivity to gain performance but I don't think the performance gains are meaningful enough to be worth sacrificing all of that expressivity. So to answer your question, I am generally opposed to constrained templating DSLs for web frontend applications overall.

The main divide I've observed is whether you are encouraged to use JavaScript's built-in control flow and code reuse mechanisms or a less expressive DSL.

Hooks are pretty sweet but I think they should have launched with higher order hooks that used the same lifecycle as original React. That way you wouldn't need to think too hard about things like object identity (which I think is the state management issue you're getting at -- it wasn't a huge issue in the pre hook days)

I think there are two things that are interesting about your point of view.

First, I think a mistake the react team made was not exerting more control over the ecosystem. I think a lot of questionable content marketing pieces ended up as “best practices” which we are still unwinding as a community.

Second, I totally buy the idea that there are multiple personas and that different tools speak to different personas. The sustained popularity of constrained dsls among subsets of the frontend community speaks to this.

I'm quoted in this blog post so I figured I'd respond. I'm a former member of the React team but I haven't worked on it in a long time.

Largely I agree with everything in this article on a factual basis but I disagree on the framing of the trade-offs. Two points in particular:

1. Before open sourcing React we extensively measured performance on real world applications like mobile search and desktop ads management flows. While there are pathological cases where you can notice the overhead of the virtual DOM diff it's pretty rare that it meaningfully affects the user experience in practice, especially when compared to the overhead of downloading static resources like JS and rendering antipatterns like layout thrash. And in the situations where it is noticeable there are escape hatches to fix it (as mentioned in the article).

2. I disagree with the last sentence strongly. I would argue that Svelte makes huge sacrifices in expressive power, tooling and predictability in order to gain performance that is often not noticeable or is easily achieved with React's memoization features. React was always about enabling front-end engineers to take advantage of software engineering best practices so they could level up velocity and quality. I think Svelte's use of a constrained custom DSL is a big step backwards in that respect so while I appreciate the engineering behind it, it's not a technology I am interested in using.

Even though I disagree on these points I think it is a well-written article and is a pretty fair criticism of React outside of those two points, and I could see reasonable people disagreeing on these trade-offs.

IMO it’s two things.

1. REST positioned itself in opposition to RPC. The concept of RPC is a negative one in many engineers’ minds.

2. JSON-RPC isn’t that much better than passing your own JSON formatted messages over HTTP. So I don’t think it gets you too much incremental value these days.

With that said I love JSON-RPC and tend to reach for it pretty often for prototypes or greenfield projects.