LewisCTech Profile Banner
Lewis Campbell Profile
Lewis Campbell

@LewisCTech

Followers
3K
Following
27K
Media
984
Statuses
16K

Hire: https://t.co/Z4IO3Iqi5G Blog: https://t.co/BHO4oi3DYT I do advanced testing & legacy systems. Interested in distributed systems and databases.

New Zealand
Joined November 2022
Don't wanna be here? Send us removal request.
@LewisCTech
Lewis Campbell
5 hours
https://t.co/1m1vOuuv91 Early days yet, but I finally solved the issue of how to represent the userspace memory buffer that the kernel also rights into, which confused the hell out of me last year.
Tweet card summary image
github.com
experimenting with rust async and io_uring. Contribute to LAC-Tech/ring development by creating an account on GitHub.
0
0
2
@LewisCTech
Lewis Campbell
8 hours
On the off chance the X algorith annoints this post, my answers to "Y NOT USE ANOTHER LIB LOL": - no libc - no std - no cutesy java builder pattern bullshit
1
0
9
@LewisCTech
Lewis Campbell
8 hours
It's year later and I'm working on a rust io_uring library again - and wow everything is so much clearer to me now. I understand the Zig code better, I understand Rust better, and I understand Linux better. (writing this before I implement the tests and they crash my machine)
@LewisCTech
Lewis Campbell
11 months
If you've ever thought to yourself: "you know what I need to see? an amateur systems programmer trying to write an io_uring library while barely being able to comprehend the man pages", then you're in luck because I'm about to start streaming.
4
1
24
@LewisCTech
Lewis Campbell
1 day
Rust really is fantastic if you ignore about 30% of the language and 90% of the popular crates.
28
4
223
@LewisCTech
Lewis Campbell
2 days
It would be NZ software engineering coded but they don't make enough money usually, and have to be content with copying what google does + 100s of micro services for their startup with 2 whale customers.
1
0
3
@LewisCTech
Lewis Campbell
2 days
Australian software engineering coded
@gothburz
Peter Girnus 🦅
2 days
The company hired me to lead their "Agile Transformation." I don't know what Agile means. Nobody does. That's why it works. I make $425,000 a year. To move sticky notes. From left to right. On a board. The board is digital now. The sticky notes cost $80,000 in Jira licenses.
1
0
9
@LewisCTech
Lewis Campbell
3 days
There is basically no digital note taking system in existence that is as ergonomic as just writing things with different coloured pens. No way I could recreate this in html/css, or typst, or anything else.
1
0
12
@LewisCTech
Lewis Campbell
3 days
Why does Zig use vtables everywhere instead of generic (comptime) parameters? Ie, std.mem.Allocator. My suspicion is that they are Go and C people, and find the concept of constraining types at compile time like in Ocaml, Rust, Haskell, C# etc etc alien and bewildering.
12
0
81
@LewisCTech
Lewis Campbell
4 days
I asked a paid LLM model: "can you think of a better name than add_buff in src/linux.zig? relevant man page is io_uring_buf_ring_add, to save you trawling through zig docs/source" After 45 seconds, and paragraphs of thoughts, it recommended "addBuffer"
1
0
6
@LewisCTech
Lewis Campbell
4 days
The more I reflect on my recent agentic coding adventures, the more I realise I would have been better off printing a hard copy of the relevant man pages and reading them for an hour rather than consulting the stochastic oracle. Still see a lot of value in AI code review though.
3
1
18
@LewisCTech
Lewis Campbell
5 days
Actually, maybe I am an artisanal craftsman. I feel completely alienated from the code when a machine writes it. Like I'm doing legacy software work.
0
0
10
@LewisCTech
Lewis Campbell
5 days
I don't like AI writing code for me. It's not just that I'm an ArTiSaNaL sOfTwArE cRaFtSmAn, it's that the act of actually editing it builds a mental model. I lose my connection to it. I very much like it for making suggestions and reading it though. A great rubber duck.
3
1
14
@LewisCTech
Lewis Campbell
5 days
@grok is this true???
1
0
0
@LewisCTech
Lewis Campbell
5 days
Once people thought there was a bubble, they were wrong. This means that no bubble will ever pop ever again.
1
0
3
@martyrmade
Martyr Made
6 days
Imagine if Trump went on TV and bragged that he was shaping US foreign policy to suit Russian purposes in order to earn the $250 million given to him by a prominent Russian-American dual citizen.
176
2K
13K
@LewisCTech
Lewis Campbell
6 days
Hmmm I notice it's enjoyable when I know what change I wanna make roughly but I am feeling very lazy or inbetween coffees.
0
0
2
@LewisCTech
Lewis Campbell
6 days
I am definitely faster at coding at the agent. But it does let me do other things. This is also a small code base. i wonder if it becomes more time efficient over a larger one or not.
1
0
3
@LewisCTech
Lewis Campbell
6 days
I'm enjoying agentic coding. I wonder how much of it is a novelty, like when I first started copy pasting code into chatbot interface LLMs too much. regardless, an agent thingee that runs in the terminal and reads your code for you is a better way to interact with LLM
6
0
8