Writing A Book Is Hard

Getting to Know IntelliJ IDEA book cover

Hey Helen, I know you were disappointed you missed out on a chance to contribute to 97 Things Every Java Programmer Should Know, do you want to write a book with me?

Trisha Gee, Spring 2020

That's how it started.

It's that easy.

[Maniacal laughter in the background]

I have long wanted to write a book. It didn't really matter what type of book (novel, technical) or on which topic (I have opinions on everything). I wanted My Name On The Front Of A Book. I wanted to be An Author. I knew Helen also wanted to be An Author, and that by working together we could keep each other accountable and actually do this.

Continue reading "Writing A Book Is Hard"

What’s Next for Trisha?

Right. It's about time I started looking for my next job/gig/source-of-income. I'll be honest, 9 months of sabbatical has not been as restful as I had hoped, but apparently writing two books and taking on the ownership of a restaurant are not restful activities. Who knew?

Anyway this blog post is because it's too hard to explain in 140 characters (OK fine 280, but I'm old school) what I'm looking for. There are three main paths I'm exploring:

  1. Developer Advocacy
  2. Engineering
  3. Consulting & Training
Continue reading "What’s Next for Trisha?"

It’s not you, it’s them

I believe in asking for help, for being vulnerable about the things we don't know, especially if we've been in industry a long time. We can't possibly know it all, and it's important to normalise that.

So I wrote a blog post about the thing I was struggling with. Yes, it also had the lovely positive of asking The Internet to solve my problem.

Shocked I was, shocked (no, I was not) to receive responses suggesting that perhaps I was a bit rubbish as a developer.

Continue reading "It’s not you, it’s them"

“Simple” Network Connections with Java – a problem

I've been playing with NIO for network stuff to see if/how I want to update the code for Head First Java 3rd Edition. The original code used Sockets and Readers/Writers, and I thought there must be a more "modern" way to do this so I've tried updating it a few different ways. I got it working using SocketChannel and ByteBuffer (eventually!), but the ByteBuffer stuff is just too fiddly to use to teach people basic network IO in Java. After turning to Twitter for the answers (Twitter Driven Development) I had what looked like a promising hybrid approach.

However, I've run into a problem with using the Channels factory methods to provide this nice bridge between NIO (SocketChannels) and classic streaming IO.

I'm posting the code here because you can't post source code this long on Twitter! Maybe someone can help me.

Continue reading "“Simple” Network Connections with Java – a problem"

2020

Sad

OK so here we go, my almost-regular annual roundup. Of 2020. Deep breath.

Right so first things first, obviously 2020 SUCKED. For everyone. Anything I say that's negative is not meant to be "oh poor me I had it worse than anyone" and anything positive is all about focusing on the positives, I hope I don't make anyone feel weird about good shit happening in a horrible year.

So caveats and disclaimers up-front:

  • None of my close circle of friends or family died or was hospitalised with Covid. Yes, friends of friends, family of friends, and some people in my much wider circle of acquaintances and friends. I consider myself extremely lucky.
  • I also got very lucky with how old my kids currently are - old enough to be fairly independent (compared to a baby), young enough that school is not mandatory for them.
  • I'm also very fortunate in my working situation. I've been working remotely for 8 years already, and my company is a) extremely caring about its employees and b) in a financial situation to be able to support them.

How to start?

Continue reading "2020"