Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
obi1kenobi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
obi1kenobi
4y ago
Right now, to be perfectly honest, it doesn't yet. This is by design: the purely integrations-oriented side is a crowded space, and I'm not ready to jump in there yet. Stay tuned :) The focus instead has been in a place where it&#
92.
▲
by
obi1kenobi
4y ago
Good question! I've spent some time looking at Calcite and similar systems. My hope is that it isn't an "either-or" but an "and". I also believe that Calcite is primarily database-oriented, as are most similar
93.
▲
by
obi1kenobi
4y ago
FWIW, I've genuinely spent time trying to use it, and I've never managed to run any non-trivial query on it without having it time out. SPARQL is very expressive, but its implementations seem impossible to optimize and as a resu
94.
▲
by
obi1kenobi
4y ago
Thanks for the detailed feedback, I appreciate it! I plan on writing more about all the topics you mentioned, and add docs for writing adapters and queries. I was planning on doing a "Show HN" when more of that was in place, but I
95.
▲
by
obi1kenobi
4y ago
It is! But it has Python and JS bindings, and the web playground uses Trustfall compiled to WASM: https://play.predr.ag/
96.
▲
by
obi1kenobi
4y ago
The syntax is reminiscent to GraphQL, but semantically it's a lot more expressive and not compatible. It's much closer to SQL in expressive power, actually: left joins, recursion, arbitrary filters, aggregation, etc. -- none of th
97.
▲
by
obi1kenobi
4y ago
No, it isn't: it's neither about websites nor GraphQL. The query language is substantially more powerful than GraphQL, much closer to SQL. And the idea is unifying and querying any kind of data, not just websites but also databa
98.
▲
by
obi1kenobi
4y ago
Trustfall author here, pleasantly surprised to find this posted! The goal of Trustfall is to be the LLVM of data sources. GraphQL, OpenAPI, JSON (with JSON schema or not), SQL, RDF/SPARQL -- and none of them can natively talk to each o
99.
▲
Speeding up Rust semver-checking by over 2000x
(predr.ag)
5 points
by
obi1kenobi
4y ago
|
0 comments
100.
▲
Some Rust breaking changes do not require a major version
(predr.ag)
4 points
by
obi1kenobi
4y ago
|
0 comments
101.
▲
by
obi1kenobi
4y ago
For an alternative, GraphQL-like take on a related problem ("efficiently query any combination of data sources, from APIs to DBs to raw files"), check out the Trustfall language mentioned in the sibling comment: https://
102.
▲
by
obi1kenobi
4y ago
Try it with a query that has 40 joins with multiple joins to the same table from different places, and let me know if you still think it's easy :) At work I've seen SQL queries that are thousands of lines long that would make that
103.
▲
by
obi1kenobi
4y ago
SQL really sucks. In general I'm not a fan of SQL-like syntax since it makes queries with lots of joins really difficult to read -- it's hard to keep track which value came from where. GraphQL has some neat ideas and I really love
104.
▲
by
obi1kenobi
4y ago
As another learning resource, check out my Compiler Adventures blog series where we implement an optimizing compiler from scratch in Rust. Every episode in the series describes and implements a new optimization, like no-op elimination (ep.
105.
▲
by
obi1kenobi
4y ago
As always, please put self-care first. But if you ever end up developing a course or workshop on compiler design, I'll be the first person to sign up. Your blog both inspired me to go into my current line of work and taught me so many
106.
▲
by
obi1kenobi
4y ago
This repo is great! Always nice to see an end-to-end compiler example for a real programming language. Unfortunately, real programming languages are very complex, so writing compilers often gets bogged down in complexity, edge cases, and &q
107.
▲
by
obi1kenobi
4y ago
(Post author here.) Agreed with the parent comment. To restate the same thing in another way in the hope of avoiding confusion: It isn't a bug in the compiler if the compiler is non-deterministic in the presence of UB. Such behavior do
108.
▲
by
obi1kenobi
4y ago
Fortunately, this post includes a link to an excellent 45min talk on undefined behavior which does go into a fair bit of the detail you were looking for. I encourage you to click it -- it's right in the post's introduction. The pu
109.
▲
by
obi1kenobi
4y ago
Post author here, and yes this ^ is precisely what it's intended to mean. There are also other more exotic flavors of behavior, and the post isn't about those either. I tried to cover as much ground in the post as possible, but th
110.
▲
by
obi1kenobi
4y ago
Post author here. I'm very curious about the screen reader idea. If you or someone else is able to confirm what a good screen reader might do currently / what it might do with an empty list element, I'll happily update the po
111.
▲
by
obi1kenobi
4y ago
That's why I said "falls under the hat of" :) I promise the talk is relevant. `-fwrapv` is an attempt toward doing such a thing for signed integer overflow specifically. I bet it's a pain to maintain because it significa
112.
▲
by
obi1kenobi
4y ago
Suggestions like this are unfortunately quite infeasible (they fall under the hat of "define all the behaviors"), and the talk I linked in the post goes into why: https://www.youtube.com/watch?v=yG1OZ69H_-o (I
113.
▲
by
obi1kenobi
4y ago
The UBSan+ASan combo is great! Rust's miri is another good one. This post is already fairly long (~10min read) and I didn't want to make it any longer. It's also already getting flamed in predictable ways ("nonsense! UB
114.
▲
by
obi1kenobi
4y ago
Folks interested in this might also enjoy my hands-on blog series about compiler optimizations: https://predr.ag/blog/compiler-adventures-part1-no-op-instru... It shows the process of building an optimizing compiler fo
115.
▲
by
obi1kenobi
4y ago
Needs a (2020) since that's when it was last updated. Originally posted in 2017 and updated in 2019 and 2020.
116.
▲
Kerbal Space Program 2 entering Early Access on February 24th 2023
(twitter.com)
5 points
by
obi1kenobi
4y ago
|
0 comments
117.
▲
by
obi1kenobi
4y ago
Miro is a collaborative online whiteboard tool. ClickUp is entering that market with their new product, ClickUp Whiteboards. Quoted from the second tweet in the Twitter thread: https://twitter.com/glance_fyi/status/
118.
▲
by
obi1kenobi
4y ago
When you say "searches" are you referring to regular web search (e.g. Google) or something more specialized? Just wondering if there's a good way to programmatically search "old" records like these.
119.
▲
ClickUp is A/B testing the same headline that Miro is using
(twitter.com)
2 points
by
obi1kenobi
4y ago
|
3 comments
120.
▲
Ken Thompson really did launch his "trusting trust" trojan attack in real life
(niconiconi.neocities.org)
634 points
by
obi1kenobi
4y ago
|
295 comments
More ›