Jordan Eldredge

11.5K posts

Jordan Eldredge banner
Jordan Eldredge

Jordan Eldredge

@captbaritone

Engineer on https://t.co/QiOUlsuxx3 at Meta | Made https://t.co/8VIAEx96JA | Hacking on GraphQL Server for TypeScript https://t.co/LqoKq8RQt4

Bay Area 가입일 Nisan 2007
2.6K 팔로잉3.5K 팔로워
고정된 트윗
Jordan Eldredge
Jordan Eldredge@captbaritone·
Finally ready to share the Winamp Skin Museum skins.webamp.org Infinite scroll through 65k Winamp skins with instant search and in-browser interactive preview
English
141
2.2K
5.3K
0
Jordan Eldredge
Jordan Eldredge@captbaritone·
@varoonkodithala I have a _very_ over-engineered implementation of FTS. You can find it here if you're looking for inspiration: github.com/captbaritone/j… Search DSL is parsed to an AST and then a compiler-like recursive emitter that dynamically constructs SQL.
English
1
0
0
81
Varoon Kodithala
Varoon Kodithala@varoonkodithala·
got bored of idling during winter break so decided to ship some changes to my portfolio :) some highlights: > integrations with notion (my CMS) and strava for run data > minimal TUI for navigation this is a WIP - would love any feedback!
Varoon Kodithala tweet media
English
4
0
19
515
Jordan Eldredge
Jordan Eldredge@captbaritone·
@varoonkodithala 3. I still periodically sync the markdown content to my repo as a durable backup incase I lose access to Notion.
English
1
0
1
53
Jordan Eldredge
Jordan Eldredge@captbaritone·
@varoonkodithala 2. Instead of caching, I have an explicit reindex task (triggered via api) that writes markdown to SQLite (ignoring posts that have not changed since last index) and then rendering is dynamic from sqlite. (e.g. SQLite is the cache) This allows me to implement search with fts5
English
1
0
2
70
Gabriel Nordeborn
Gabriel Nordeborn@___zth___·
@captbaritone This still forces you to handle unknown/future members, so it's still completely safe. It's more like a lint that helps client developers evolve the code as the schema evolves
English
1
0
1
62
Gabriel Nordeborn
Gabriel Nordeborn@___zth___·
Been a while since I posted about RescriptRelay, but it's alive and well! Just shipped v4.0.0, which is the first version to fully embrace the upcoming ReScript v12 release. Also has an interesting feature, the `@ exhaustive` directive. Put that on any union/interface selection to have the Relay compiler force you to select all available members. Useful for having the compiler help you make sure you cover all cases of important stuff in the schema.
English
1
3
16
762
Jordan Eldredge 리트윗함
kepano
kepano@kepano·
somehow @captbaritone revived this Winamp 5 skin I made 21 years ago
English
16
23
664
47.9K
Jordan Eldredge
Jordan Eldredge@captbaritone·
@pyrons_ For tracing, how much per-field configuration are you doing?
English
1
0
0
27
Jordan Eldredge
Jordan Eldredge@captbaritone·
@pyrons_ For error types we have support for TypeScript generics which let you trivially define your own error union in TypeScript. However we don't have anything that will let you coerce thrown errors to the error type... 🤔#example-1-result-type" target="_blank" rel="nofollow noopener">grats.capt.dev/docs/guides/ge…
English
1
0
1
39
Jordan Eldredge
Jordan Eldredge@captbaritone·
Got a perf benchmark and profiling working for Grats. Next release should be about 25% faster for large schemas!
English
1
0
1
543
Jordan Eldredge
Jordan Eldredge@captbaritone·
@pyrons_ Depends on the type of plugin. Could you give me a few examples of plugins that feel most important to you?
English
1
0
0
25
Andy Wang
Andy Wang@pyrons_·
@captbaritone would it be possible to have a plugin system similar to pothos
English
1
0
1
28
Jordan Eldredge
Jordan Eldredge@captbaritone·
React server components are great if your backend is Node and your rendering for the web. But what about native? Grats is great for this: Define your data using models for RSC, then simply annotate those same models and your native clients can consume the same data via GraphQL.
English
0
0
2
669
Jordan Eldredge 리트윗함
GraphQL
GraphQL@GraphQL·
🌟 Shoutout to @captbaritone, Relay maintainer and nullability champion! From shaping the “true nullability schema” to sharing critical insights, your impact on GraphQL is huge 🙌 #GraphQLStar
GraphQL tweet media
English
0
2
6
2.5K
Jordan Eldredge 리트윗함
Christoph Nakazawa
Christoph Nakazawa@cnakazawa·
I built "go-to-definition" for GraphQL Pothos, @nkzw/pothos-locate. `cmd+click` on anything in a client GraphQL query to take you directly to the backend implementation of the resolver.
English
1
3
20
2.7K
Jordan Eldredge
Jordan Eldredge@captbaritone·
@tmikov The sandbox can be appealing for running untrusted code (assuming that code is, or can be compiled to Wasm). But I have to imagine that's a VERY niche use case. I do make use of it, but more as an excuse to write a compiler than anything else: jordaneldredge.com/blog/speeding-…
English
1
0
4
391
Tzvetan Mikov
Tzvetan Mikov@tmikov·
What is the point of Wasm in React Native, if you can just use the original native code that was compiled to Wasm to begin with? Wasm is slower than native. I have seen differences close to an order of magnitude even in the major engines. Is the sandboxing appealing?
English
7
2
39
5.8K
Jordan Eldredge 리트윗함
Relay
Relay@RelayFramework·
We’ve just released version 18.2.0 of Relay. This version includes compiler-driven codemods and expanded support for at-catch. github.com/facebook/relay…
English
0
6
35
1.9K