HackerTrans
TopNewTrendsCommentsPastAskShowJobs

m110

no profile record

Submissions

Watermill 1.4 Released (Event-Driven Go Library)

threedots.tech
4 points·by m110·há 2 anos·0 comments

[untitled]

1 points·by m110·há 3 anos·0 comments

Show HN: I made a 2D shoot 'em up game with Go, using Entity Component System

github.com
108 points·by m110·há 4 anos·26 comments

comments

m110
·há 2 anos·discuss
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
·há 3 anos·discuss
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
·há 3 anos·discuss
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
·há 3 anos·discuss
Oops, that was a leftover! Thank you :)
m110
·há 3 anos·discuss
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
·há 4 anos·discuss
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
·há 4 anos·discuss
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
·há 4 anos·discuss
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. :)
m110
·há 4 anos·discuss
There are only two levels at the moment, it's still a prototype. :) And missing a "well done!" screen, obviously.
m110
·há 4 anos·discuss
Thanks! The game is not really balanced at this point, it definitely could use some play testing and improvements. :)
m110
·há 4 anos·discuss
Thank you!

Go makes it ridiculously easy:

  GOOS=js GOARCH=wasm go build -o web/game.wasm