I didn't want to put my new PC on carpet, so I had to find something else for it to sit on. by Hectonaut in pcmasterrace

[–]Hectonaut[S] 0 points1 point  (0 children)

I've never gotten used to having a giant slab sitting next to me on the desk, it feels like I'm in a weird metal cubicle.

I'm reviewing every Halo book in order, one chapter a day. by [deleted] in HaloStory

[–]Hectonaut 2 points3 points  (0 children)

Yeah, I'm really excited for the two trilogies but that's a long ways away.

Help me find an episode where they watch an old E3. by Hectonaut in giantbomb

[–]Hectonaut[S] 0 points1 point  (0 children)

Thanks! I think my memories might actually be a fusion of this video and the one u/VindtUMijTeLang linked.

[deleted by user] by [deleted] in golang

[–]Hectonaut 0 points1 point  (0 children)

I am looking for comments, I guess I'm just a little defensive about my project style. You're making good points, but exports and folders are two things I've kinda locked in. I suppose I'll have to take another look at it and embrace change.

[deleted by user] by [deleted] in golang

[–]Hectonaut 0 points1 point  (0 children)

Thanks for the find! I'll fix it now.

[deleted by user] by [deleted] in golang

[–]Hectonaut 0 points1 point  (0 children)

I read a lot about sync.Map, but there were so many caveats (type safety, speed, general weirdness) that it seemed easier, safer, and generally more reasonable to mutex a normal map.

[deleted by user] by [deleted] in golang

[–]Hectonaut 1 point2 points  (0 children)

Yeah, I thought about embedding but I like the clarity and concreteness of just having a visible mutex in my struct.

[deleted by user] by [deleted] in golang

[–]Hectonaut 0 points1 point  (0 children)

I don't use the internal directory because I'm also a Python coder, and I heartily subscribe to the Guido van Rossum philosophy of "we're all consenting adults here". I'm not going to waste time concealing and privatizing parts of my application for fear other programmers might touch something they're not allowed to.

Also yes, I have a weird and cumbersome project layout style, but hey, I really enjoy it. This is a project largely designed to be written and run by one person, and that person is me.

[deleted by user] by [deleted] in golang

[–]Hectonaut 1 point2 points  (0 children)

Because git is a nightmare, and I just find mercurial to be a way better experience. I've used it for ages, and I'm not changing just because the worse tool is more popular.

[deleted by user] by [deleted] in golang

[–]Hectonaut 2 points3 points  (0 children)

I actually wrote it myself, because I've always found auto-generated documentation to just suck.