Pinned Tweet
Watch me build.
Watch me fail.
Watch me succeed.
We can take a shot every month, or every other month or even every year with our startups, and make as many mistakes.
But we only have to be right once.
1
104
Day 5 of writing a BitTorrent client from scratch in Golang
After parsing bencoded files, we establish a handshake with the announce url that we got from the bencoded file.
However sending malformed data to it, gives a response: you sent me garbage 🤣
Blunt, but true, love it.
Who wrote these responses? Sounds really official 😁
21
Alex retweeted
Refactoring is the act of changing the structure of code to be more consumable. But consumable by whom? If the audience is humans, we re-factor to human standards. If the audience is agents, we re-factor to agent standards. Those standards are different.
When agents are the audience, I tolerate slightly larger functions, and slightly more comments. This is because agents are more able to deal with larger functions (cyclomatic complexity less than or equal to six). Agents also use comments well. They actually read them. And they maintain them.
These differences are not large, but they are real.
Days 3 and 4 of creating my own BitTorrent client in Go.. without ever knowing go.
This weekend, I was able to make the whole library for parsing bencoded torrent files into raw strings.
Initially I thought about using a pre-written library, but I thought that writing one myself might give me a better practice.
It most certainly did.
Love Go. Have never used pointers before, other modern languages robbed us of it. Pretty powerful stuff.
Here is the repo:
github.com/walkingkindle/had…
Doing this with minimal help of AI outside of search and some guidance, but without AI writing any of the code. Besides some tests.
1
16
Days 1 and 2 of making my own BitTorrent client in Go... without ever touching Go
So as a .NET Developer i got bored and wanted a bit of paradigm shift. I settled on tackling a little bit of Golang to see how it works.
2
23
Although torrenting is generally considered illegal in most countries, there are some others that don't care about piracy. My country is one of those. I owe a lot to pirated books that I couldn't find in my country and that I used to not be able to afford.
1
5
Alex retweeted
I don't give a shit about shipping fast
I ship slow and focus on quality
That's why I've done $6,000,000 of sales






