Johann Schopplich

614 posts

Johann Schopplich banner
Johann Schopplich

Johann Schopplich

@jschopplich

Developer who cares about aesthetics. @finanzfluss

Germany Katılım Eylül 2020
229 Takip Edilen1.2K Takipçiler
Johann Schopplich
Johann Schopplich@jschopplich·
To celebrate @nitrojsdev v3 beta, nitro-test-utils v1 is here. Testing your server routes should be just as fast as building them. 🧪 Vitest 4 + full config control 🍪 Shared cookies across requests 🔁 Source changes auto-rerun your tests 📦 Zero config
Johann Schopplich tweet media
English
3
9
113
7K
Chris Cook
Chris Cook@zirkelc_·
My brain oscillating between “this is such beautiful API, no LLM would ever come up with something like this” and “all code will be written and read by LLMs anyway so it doesn’t even matter”
Chris Cook@zirkelc_

Chainable async API I always wondered how @DrizzleORM is able to chain async functions like `await delete()` and `await delete().where()` They implement their own custom `Promise` which every database operation extends like `PgDelete` for Postgres delete The chainable functions like `delete()` and `where()` modify some internal state and always return `this` (the promise instance) So when you do `await delete()`, it internally calls the `then()` of the promise which invokes `this.execute()` The actual database operation happens in the `execute` method which is overwritten for each sub-class I think this is really great API design and the idea of implementing `Promise` is brilliant

English
1
0
9
718
Johann Schopplich retweetledi
Mitchell Hashimoto
Mitchell Hashimoto@mitchellh·
AI eliminated the natural barrier to entry that let OSS projects trust by default. People told me to do something rather than just complain. So I did. Introducing Vouch: explicit trust management for open source. Trusted people vouch for others. github.com/mitchellh/vouch The idea is simple: Unvouched users can't contribute to your projects. Very bad users can be explicitly "denounced", effectively blocked. Users are vouched or denounced by contributors via GitHub issue or discussion comments or via the CLI. Integration into GitHub is as simple as adopting the published GitHub actions. Done. Additionally, the system itself is generic to forges and not tied to GitHub in any way. Who and how someone is vouched or denounced is up to the project. I'm not the value police for the world. Decide for yourself what works for your project and your community. All of the data is stored in a single flat text file in your own repository that can be easily parsed by standard POSIX tools or mainstream languages with zero dependencies. My hope is that eventually projects can form a web of trust so that projects with shared values can share their vouch lists with each other (automatically) so vouching or denouncing a person in one project has ripple effects through to other projects. The idea is based on the already successful system used by @badlogicgames in Pi. Thank you Mario. Ghostty will be integrating this imminently.
English
223
362
4K
590K
DidYouKnowGaming
DidYouKnowGaming@didyouknowgamin·
Okay so there are more versions than I realized: PC original, GBA, DS -- and ALSO Sega Saturn and 3DO versions released in Japan (also a PC sequel, Yoot Tower). Many with zero YouTube reviews. Seems like a good opening for a YT series or one big mega-video by the right person.
DidYouKnowGaming tweet mediaDidYouKnowGaming tweet media
DidYouKnowGaming@didyouknowgamin

There is not a single youtube review for The Tower SP. It's the GBA version of SimTower, one of my favorite PC games as a kid. Made by Yoot Saito, the Seaman guy. Really seems like the kinda game that'd have a YouTube footprint, but it just doesn't. Sad!

English
14
54
610
44.9K
Johann Schopplich retweetledi
Luis Batalha
Luis Batalha@luismbat·
I built an iOS shortcut inspired by @waitbutwhy’s life calendar: your entire life as a finite grid of weeks on your lock screen. Since apps can’t update the lock screen, a shortcut runs weekly, fetches the next image from an endpoint, and updates the lock screen automatically.
Luis Batalha tweet media
English
159
127
4K
396.7K
Johann Schopplich
Johann Schopplich@jschopplich·
🧮 New docs page: “TOON vs JSON: Byte-Level Efficiency Model” A simple byte math framework for why TOON is smaller in some structures – and why compact JSON can win in others. Huge thanks to @lafalcemateo for contributing it! toonformat.dev/reference/effi…
Johann Schopplich tweet media
English
3
4
14
816
Johann Schopplich
Johann Schopplich@jschopplich·
@_pi0_ That’s just thoughtful. This will simplify my lazy storage getters and Vitest proxies a lot.
English
0
0
2
149
Pooya Parsa 🦋
Pooya Parsa 🦋@_pi0_·
In the next Nitro v3 release, you can easily unit-test code that depends on the Nitro runtime.
Pooya Parsa 🦋 tweet media
English
5
2
49
2.5K
Johann Schopplich
Johann Schopplich@jschopplich·
It's wild to see how much debate and controversy a text format can spark. I learn by building, and TOON is just an experiment. If it turns out to be useful, people will adopt it. If not, it'll quietly fade away. That's the power of open source.
Johann Schopplich tweet media
English
4
1
25
2K
Johann Schopplich retweetledi
Theo - t3.gg
Theo - t3.gg@theo·
Crazy how much more informed you can be by just reading the README file on the repo. Armin is wrong here, the training data doesn't matter. TOON makes most models more accurate for lookup.
Theo - t3.gg tweet media
Armin Ronacher ⇌@mitsuhiko

AI discourse on Twitter is frustrating. Take this tweet with thousands of views. It claims you should use TOON instead of JSON. But if you actually count tokens, the savings are … barely existing, it's not in the training data, and tabular JSON beats it. x.com/DataChaz/statu…

English
76
19
649
145.4K
Johann Schopplich
Johann Schopplich@jschopplich·
This is exactly the type of use case TOON was designed for – thx for sharing, Jake! Interesting to hear about the drops in token usage and latency with Nova Micro, especially since the model struggled with CSV/XML for your payloads.
Jake Casto@0x15f

Yes I did. I’m using it in production w/ Amazon Nova Micro and it is performing better. We serve a ridiculous amount of ecomm traffic daily and have observed a clear drop in token usage and a decrease in ttfb from bedrock. The model did not perform well with CSVs or XML and did not even handle large compressed JSON well. For this model it is a win across the board

English
1
0
13
1.2K
Johann Schopplich
Johann Schopplich@jschopplich·
@theo Thanks! Looking forward to your perspective on this.
English
0
0
0
265
Theo - t3.gg
Theo - t3.gg@theo·
@jschopplich I’m genuinely very impressed with TOON. Video coming soon 🫡
English
3
0
21
1.5K
Alex
Alex@alexanderOpalic·
Why did they reinvent CSV?
Alex tweet media
English
3
0
2
620
luis.
luis.@disco_lu·
New blend mode option just shipped
luis. tweet media
English
5
0
88
5.7K
Tobias Möritz
Tobias Möritz@tobimori·
@disco_lu i found my new goal: reach a company size were you can justify making your own roast
English
4
0
3
174
Johann Schopplich
Johann Schopplich@jschopplich·
@melqtx Judging from the screenshot alone – absolutely. But TOON represents the same data model as JSON. Its similarity to CSV is intentional – models quickly pick up on the format.
English
1
0
8
545
mel
mel@melqtx·
cs market so bad they had to reinvent json
mel tweet media
English
103
47
1.5K
897.6K