Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
colinmcd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
colinmcd
1y ago
Author here. I wrote a fairly detailed writeup here[0] for those who are interested in the reasons for this approach. Ultimately you're right that npm doesn't work well to manage the situation Zod finds itself in. But Zod is subje
32.
▲
An experiment in fixed-term open-source patronage
(zod.dev)
3 points
by
colinmcd
2y ago
|
0 comments
33.
▲
by
colinmcd
3y ago
Hopefully our careers in software work out because we will not be successful as actors. Actually Ashcon will be fine.
34.
▲
by
colinmcd
3y ago
We are releasing a proper announcement later! This video was scheduled to premiere at 10am but due to some last minute bugs (and Murphy's Law) the build didn't finish in time. We decided not to delay the premiere because it was al
35.
▲
by
colinmcd
3y ago
This video is definitely corny. (I'm in it.) This is intended as an extremely accessible introduction to Bun, definitely not targeted at the HN crowd. I think we really just wanted to make something with some production value to reflec
36.
▲
by
colinmcd
3y ago
Colin here, I work on Bun. Bun 1.0 is actually still compiling but we decided not to delay the premiere of this announcement video since it was already on calendars. We'll be publishing a full announcement post later today that's
37.
▲
by
colinmcd
3y ago
Something like typebox (that's designed to map one-to-one onto JSON Schema) may be better if codegen is a priority.
38.
▲
by
colinmcd
3y ago
This is mentioned under "Limitations" > The result of the macro must be serializable! > Functions and instances of most classes (except those mentioned above) are not serializable.
39.
▲
Language Embedded Radiance Fields
(lerf.io)
7 points
by
colinmcd
4y ago
|
0 comments
40.
▲
Bun v0.4
(bun.sh)
2 points
by
colinmcd
4y ago
|
0 comments
41.
▲
by
colinmcd
4y ago
Perhaps this one? https://jvns.ca/blog/2019/10/03/sql-queries-don-t-start-with...
42.
▲
by
colinmcd
4y ago
We already have a Go driver as well[0] and you can get pretty far by executing queries over HTTP[1] though that's not as capable as a full client. As you said, the roadmap needs some freshening up. [0] https://github.com
43.
▲
by
colinmcd
4y ago
We're still working out the kinks, but some form of this will definitely be possible. You can already hack this by defining access policies and writing an EdgeQL proxy server that authenticates incoming requests, sets the appropriate g
44.
▲
by
colinmcd
4y ago
EdgeDB is a long-term effort for a DB/query language that's as intuitive as possible for the greatest number of people. The early adopters are primarily those who are frustrated by ORMs and/or SQL, as you'd expect. But
45.
▲
Show HN: TypeScript query builder with full type inference
(edgedb.com)
4 points
by
colinmcd
4y ago
|
0 comments
46.
▲
Designing the ultimate TypeScript query builder
(edgedb.com)
5 points
by
colinmcd
4y ago
|
0 comments
47.
▲
Designing the ultimate TypeScript query builder
(edgedb.com)
1 points
by
colinmcd
4y ago
|
0 comments
48.
▲
by
colinmcd
4y ago
I think that's a good characterization!
49.
▲
by
colinmcd
4y ago
TypeScript's type system is unsound in a mathematical sense: https://effectivetypescript.com/2021/05/06/unsoundness/ Though this has little bearing on practicality which is probably why the original
50.
▲
by
colinmcd
4y ago
Basically tRPC lets you define a router containing all your endpoints in a single structure. Then you can import the type definition of your router and make typed API calls without needing to wire everything together with types.
51.
▲
by
colinmcd
4y ago
Exactly. But with faster iteration speed, more type inference, less overhead, and a TypeScript-native DX.
52.
▲
by
colinmcd
4y ago
I wrote the initial proof of concept for tRPC a little over a year ago (though I'm no longer involved in the project). Seems like there's some confusion about how this works. A more complete description is available here[0] below
53.
▲
Sharding our test suite for 10x faster runs on GitHub Actions
(edgedb.com)
4 points
by
colinmcd
4y ago
|
0 comments
54.
▲
by
colinmcd
4y ago
Seems like a lot of similar ideas! Database-first, typesafety, code generation. Though ultimately SQL has some core incompatibilies with object-orintation, and the active record pattern has some fundamental issues that Neward touches on in
55.
▲
Everyone is wrong about ORMs
(edgedb.com)
6 points
by
colinmcd
4y ago
|
4 comments
56.
▲
A solution to the SQL vs. ORM dilemma
(edgedb.com)
2 points
by
colinmcd
4y ago
|
0 comments
57.
▲
Why ORMs are slow – and getting slower
(edgedb.com)
9 points
by
colinmcd
5y ago
|
0 comments
58.
▲
by
colinmcd
5y ago
Author here - happy to answer questions about our methodology with IMDBench [0]. Definitely encourage everyone to try running the suite locally too. [1] [0] https://github.com/edgedb/imdbench [1] https://git
59.
▲
How slow are ORMs, really?
(edgedb.com)
3 points
by
colinmcd
5y ago
|
1 comments
60.
▲
Show HN: IMDBench – Benchmarking ORMs with realistic queries
(github.com)
4 points
by
colinmcd
5y ago
|
0 comments
More ›