Readit News logoReadit News
m110 commented on Ask HN: How does programming affect your emotional state?    · Posted by u/djacobs7
m110 · 8 months ago
I noticed this frustration gets worse with a long feedback loop.

I recently reworked a CI pipeline over two weeks, and it was a nightmare to make tiny changes, push it, and wait 5-10 minutes to see another error because of a YAML typo.

If possible, I try to shorten this feedback loop early.

Another option is picking something radically different to work on for a while, if possible.

m110 commented on Looking for elegant code bases written in Golang    · Posted by u/suhasval
m110 · 2 years ago
Take a look at: https://github.com/ThreeDotsLabs/wild-workouts-go-ddd-exampl...

(I’m one of the authors.)

This project shows how to apply more complex patterns popular in business applications while staying true to the Go ideas, and not copying them blindly from Java.

In the Go community, you’ll often hear people say „just keep things simple” beats all patterns and is all you need. This may be true if you write a CLI tool or a small library, but if you have a team maintaining a big application, some patterns are super helpful.

m110 commented on Making games in Go for absolute beginners   threedots.tech/post/makin... · Posted by u/ingve
Kiro · 2 years ago
This is great. I feel it's missing something about delta time though.
m110 · 2 years ago
Thanks! I had a paragraph about delta time but since Ebitengine works based on the TPS, I eventually decided to drop it to not make it confusing.

Here's a good summary, I think I'll link it in my post: https://ebitencookbook.vercel.app/blog/2022/04/16/TPS

m110 commented on Making games in Go for absolute beginners   threedots.tech/post/makin... · Posted by u/ingve
kubanczyk · 2 years ago
Based on ebitengine.

To fix: a hanging sentence "Here’s how an example Sprite component can look like"

m110 · 2 years ago
Oops, that was a leftover! Thank you :)
m110 commented on Ask HN: Who is hiring? (October 2023)    · Posted by u/whoishiring
m110 · 2 years ago
GetHarley | REMOTE | Europe | Senior Backend Engineer - Senior Frontend Engineer - Senior Data Engineer | Full-Time

At GetHarley (https://www.getharley.com/) we build the first platform that combines technology, clinicians, knowledge and medical-grade products. We deliver personalised skincare plans which empower our patients to look and feel their best selves.

- Secured series B this year and are now looking for product-minded engineers to help us scale further

- You'll be joining a small product engineering team (6 people) where you will have a real impact

- Looking for people who own their work end-to-end and prefer being close to the product discussions

- The tech stack is Go and React (details in the links below)

Senior Backend Engineer: https://boards.eu.greenhouse.io/getharley/jobs/4209229101

Senior Frontend Engineer: https://boards.eu.greenhouse.io/getharley/jobs/4209222101

Senior Data Engineer: https://boards.eu.greenhouse.io/getharley/jobs/4222751101

m110 commented on Show HN: I made a 2D shoot 'em up game with Go, using Entity Component System   github.com/m110/airplanes... · Posted by u/m110
johnfn · 3 years ago
Very cool stuff! I had a lot of fun getting all the powerups and becoming massively overpowered. :)

How was using Go targeting wasm (I presume)? I'm personally concerned about compilation times being super long, but I guess I've never tried...

m110 · 3 years ago
Glad to hear that! :D

As mentioned in the other comment, the heavy lifting is done by Ebitengine: https://ebitengine.org/en/documents/webassembly.html

Go supports compiling to wasm, and it's as simple as:

  GOOS=js GOARCH=wasm go build -o web/game.wasm
It takes just a few seconds for this project. :)

m110 commented on Show HN: I made a 2D shoot 'em up game with Go, using Entity Component System   github.com/m110/airplanes... · Posted by u/m110
smcl · 3 years ago
Nice work! Must have been fun to make :)
m110 · 3 years ago
It really was! There's something about moving sprites on screen that's super satisfying compared to using a big game engine. I definitely recommend trying out Ebitengine. :)
m110 commented on Show HN: I made a 2D shoot 'em up game with Go, using Entity Component System   github.com/m110/airplanes... · Posted by u/m110
dvh · 3 years ago
IMO you chose wrong tech for the job. It is very simple 2D game yet it starts 5s on my desktop and 20s on my phone. If I would to make a simple game and even simplest program starts 20s I would stop right there and choose different technology.

You probably did it to try Go, wasm and ECS and I understand that, but if you to make a game seriously, you should have stopped much earlier. In the early stage of the game development you should made 5-10 prototypes using different tech/frameworks and use the best one. I seriously don't see Go+wasm+ESC being the best one for this kind of game.

How can you not go insane if you have to wait 20s for every page refresh.

m110 · 3 years ago
It's not a "serious" project. I chose Go specifically because I like the language (and Ebitengine is super fun to work with) and I like the idea behind ECS. I made games with Unity before, which you could consider a "serious" engine, but the fun of development is nowhere near what I experienced here.

Thinking about what would be the most efficient engine for the game would kill all the fun for me and the project wouldn't exist. :)

u/m110

KarmaCake day200November 16, 2015View Original