Software developer. @robertknight2.bsky.social, @robertknight@sigmoid.social OCR and ML in Rust - https://xitter.cf/t.co/ifiV9SvMau

London
Joined October 2011
Robert Knight retweeted
We instituted an official AI Writing Policy at @Clay. Massive thanks to @sophiebits on our engineering team who wrote this. Originally this was just for eng, but other teams found it so helpful we expanded it company-wide. Here are the four guiding principles: 1. You must stand behind every idea and sentence It is your responsibility to make sure that the entire document is representative of your own thoughts before you share it. 2. Writing is thinking Spending time on the writing process teaches you more about your topic. If you circumvent this process, you will walk away with a poorer understanding of the subject matter. 3. More time should be spent writing a document than consuming it If you generate a document from a short prompt then ask your readers to go through the longer output, you are disrespecting their time. They can talk to ChatGPT themselves if they want to. 4. Longer is not better AI makes it easy to generate long docs, and it loves padding them with sentences that say nothing. If you're producing docs from a short prompt, consider just sharing the prompt. You can read (and borrow) the full policy below. Hopefully we all communicate a bit more clearly now :)
180
375
220
4,183
741,018
Robert Knight retweeted
My latest cartoon for @newscientist
16
167
16
722
24,953
Replying to @claudeai
@claudeai I find that a significant proportion of code review comments I leave at work are around issues with documentation (code comments, docstrings, docs) written by Claude, much more so than issues with the code itself.
1
39
I can write my own review skills to help identify these, but I think the issues are general enough that it would be great if this was a focus for upcoming releases.
8
Robert Knight retweeted
My latest books cartoon for @GuardianBooks Many more here: theguardian.com/profile/tom-…
2
102
6
442
11,337
continueFromHereClaude
85
1,319
95
16,198
357,247
Robert Knight retweeted
Bad news -- I'm not going to be with my employer for much longer due to team relocation demands. If anyone has any leads for roles that would allow me to continue my Rust compiler work (in New York City), they'd be greatly appreciated.
2
24
3
113
17,601
I wrote a progress report / retrospective on the RTen machine learning runtime in 2024, looking at the added features and progress towards performance parity with more mature runtimes: robertknight.me.uk/posts/rte…
1
239
RTen v0.14 has been released. It adds examples for Whisper speech recognition and RMBG background removal, plus compatibility with tokenizers exported by the latest version of Hugging Face Transformers - github.com/robertknight/rten…
149
When starring a repo, it would be cool for maintainers if users could provide context on why it is interesting ("I really need a FooBar implementation for my XYZ project")
1
71
The onslaught of unhinged political content in my Twitter feed got a bit much over the weekend. This prompted me to take another look at Bluesky (robertknight2.bsky.social). My first impressions are quite positive.
47
I've been working on safer and more ergonomic slicing APIs for the next rten release using type-level arithmetic. chw_tensor.slice((0, .., 0)) // Statically infers result is 1D nchw_tensor.slice(0) // Statically infers result is 3D
1
149
Additionally there is the possibility to specialize based on the static argument types, making slicing fast enough to use inside operator kernels.
55
I appreciate the Street Fighter analogy at the end.
This is why having AI write code for you sucks. Literally just have the training wheels on forever. Great point by @dhh
1
110
Very easy way to improve the quality of your work: whenever you put up a PR, take a few seconds to skim through it yourself just as a reviewer would (i.e., in the GitHub UI). I find a surprising number of small issues this way that never stand out in the editor.
35
51
20
525
37,079
Robert Knight retweeted
There’s a very high quality conversation happening about uv and its risk/benefits for Python overall happening on Mastodon - I gathered some notes and illustrative quotes here simonwillison.net/2024/Sep/8…
16
36
4
401
43,619
Robert Knight retweeted
Today the 10 millionth person registered for parkrun 🚀 🌳 #loveparkrun
1
29
5
191
15,809
youtube.com/watch?v=wGSSUSea… is a good watch on the basic principles of writing efficient code for modern CPUs. It matches my experience that predictability is the main quality that matters.
92
RTen v0.13 has been released. It adds support for ONNX models with branches (the `If` operator), including encoder-decoder models exported from Hugging Face such as TrOCR - github.com/robertknight/rten…
1
109