andrewallbright

Joined 4 years ago

Karma
260
Submissions
50
Member since
Mar 14
View on Hacker News

Recent submissions

Comment · 3 years ago
Something I've realized after using chatGPT since the preview released is that I am still responsible for knowing what the possibility space is for what I want to do.

This helps in two ways. First, it helps me formulate my requests of ChatGPT. Second, it helps me discover incorrect output which I can then either fix myself or make a subsequent request of chatGPT.

I consider ChatGPT an extremely eager junior dev who makes mistakes by moving too quick in this slice of time. (Im sure it'll get much better very, very soon).

Comment · 3 years ago
ChatGPT is now helping me learn terraform ^^;;

What a time to be alive.

Comment · 4 years ago
So... what advise is there for technology comfortable people who want to mitigate the effects of data leaks like these? It seems like data provided is will be exposed eventually and company size doesn't seem correlate with data safety.

For example should people be advised to rotate phone numbers every N amount of time?

Comment · 4 years ago
Good tip -- engineers are like Jurassic Park because they always find a way.

Will you evaluate this tool to see if it affords a nicer workflow for you?

Comment · 4 years ago
Full disclosure: I'm just a hobbyist game dev with experience with arduino, and volunteering at my local robotics competition.

I would recommend getting into arduino. It's fun to buy little components, build little circuits, and see how your ability to program can have a physical manifestation.

As for programming concepts -- yes kinematics and inverse kinematics will allow you to move robotic limbs to certain points in real space.

And you'll find yourself wanting a larger conceptual framework to put those technical bits. That's where things like finite state machines, hierarchical finite state machines, behavior trees, and/or goal oriented action planners may come in handy. This grouping of concepts is often called "ai programming" but whatever you decide to call it, they're algorithms to decide what to do at any given slice of time.

Obviously follow your own path in this subject; follow the bits that resonate with you.

Comment · 4 years ago
Something I've wanted was a way of setting up any computer I touch to have what I want/expect it to have so I can start working in a dev environment.

I dev on windows, osx, and Ubuntu.

So far I've written a go CLI that is able to bootstrap some stuff for a fresh computer, and tell me what I'm missing.

Comment · 4 years ago
For me, it was "Behavior Trees in Robotics and AI: an introduction"

What conceptually helped me out was the idea that behavior trees (BTs) are hierarchical finite state machines (HFSMs). I read that and thought "woah!"

I've been fascinated by behavior trees ever since I learned that they were a big thing in Halo. It's charming to me to think that video games are able to help out in robotics, as the book pontificates on briefly.

Comment · 4 years ago
I've spent some time testing and thinking about testing. I think the universal guidance that should be followed is this...

Do whatever you need/want to that makes your software successful. The rules are meant to be broken if it means you shipping.

Comment · 4 years ago
I was thinking about getting a part time job at a coffee bar for the weekends (mostly for fun). I'm a little glad I didn't pursue this because I'd hate to lose my primary job as an engineer just because I wanted to sling some espresso again. I doubt that would happen because...

It's a much different scenario than what is usually talked about with these stories (2x full time vs full time + part time). Still, I wonder if there is (or soon will be) someone who has a part time job and will get fired for it?

Again, I doubt it because I don't think people looking into the scenario would think that's the right outcome. But you never really know I suppose!

Comment · 4 years ago
Any advice for others going through this phase of their life? I have a terrible feeling this will be me; when I think of having a child I do think about it as if I will only be living for someone else (which is fine) but I have ambitions I want to materialize.

How has living a post child life given you more insight into your pre child thoughts?

Comment · 4 years ago
That's good; you get more of a frame budget that way. I saw 90 and even 144 as target frames to avoid VR sickness. It's good to know 72 frames can work too.
Comment · 4 years ago
As a hobbyist game dev one thing I've (recently) learned is that optimizing performance is paramount in video games. Running at 60 FPS you have a budget of 16 ms per frame (VR requires 90 FPS minimum else risk VR sickness; ~11ms per frame). Any scripts and anything you want on screen needs to fit in that amount of time. It's a big exercise in smoke and mirrors.

I'd love to know what optimization techniques are used so that those precious CPU/GPU cycles can go to those good looking things.

Side note: being absolutely forced to optimize the heck out of games as an essential practice gives me a much greater sense of performance characteristics in my "real" job and also in leetcode.

Comment · 4 years ago
The unnerving thing about this post is just how I could very realistically find myself in similar shoes. I do many things and bet on my ability to learn as I go. Sometimes it does take some extra hours. Time is finite.

Why bravery to say "I don't know; I could probably find out but I cannot."

Comment · 4 years ago
Writing automated tests for video games. Why is it interesting to me?

I started to teach myself unity in December 2021. I've personally experienced benefits to writing automated tests and using CICD; therefore, I thought it would be fun to learn about writing tests for a 3D based software. It will be different from the web/CLI based stuff I usually write.

So, it turns out that the video game community (or at least the online circles I frequent) are extremely against the idea of writing automated testing for various reasons. This translates into there effectively being a non-existent pedagogy around teaching how to write tests for 3D based software. Content is scarce, and the content you do find is produced by people who obviously don't write automated tests. So, for me I've hit the books to arbitrage & translate techniques and philosophies into this "untapped" domain.

It's interesting because I've figured out tips & tricks that I'd consider low hanging fruit... For example, if you place a "test" camera in the test case, you can actually see what's going on in the test when it's executed. Or how important it is to clean up every created game object in your test after each test; if done right, you can keep your SUT at origin (0,0,0). Or the importance of "test prefabs" who are effectively mocks of other "real" prefabs...

One innovation that I would like to use/build that I truly consider (((revolutionary))) is this: I want the test cases I write to also automatically (or when tagged with a certain C# attribute) generate the same game objects in a "exploratory(manual) test scene." I think this innovation is the "killer app" that will completely and totally sell the value proposition of automated tests to those opposed. If you decide to build this, please also publish it on openupm and reach out to me.

I have plenty of other thoughts and ideas on this space. I love talking about automated testing; it feels like a very futuristic programmer practice. I hope this post demonstrates why this work and space is so interesting.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton