HN user

wjagodfrey

26 karma
Posts2
Comments13
View on HN

Built online browser based games for a while, built a few small game engines. Even an isomorphic one before that was a thing.

Point is, I've been there where it mattered and websockets were always slow.

Friend of mine built this on uWebSockets this year:

http://wilds.io

Have rarely been so impressed with a new library.

In regards to your last comment, abstraction is a good thing but there's a conversation to be had around quality of abstraction. Good abstraction doesn't age, or at least ages very slowly. Lack of abstraction in languages leads to innovation and iteration, that then leads to good abstraction. We are general too quick to assume that a new thing is good abstraction. Better, in some cases, to leave abstraction discovery in userland, as good abstraction is rare. The cost of poor abstraction within a language is API and cultural lockin, when better solutions are found.

Right. Seriously Gozur, what experience are you going on? Listen to yourself man. "I don't think women get harassed for being women." That's utter bullshit. They do get harassed for it. Their gender. Nothing more. I've worked in the industry for over a decade, and women are never treated equally. They are never well represented. They are always judged more harshly than men are.

No matter what your age, you need an education.

A good practice is to seek out incomprehensible pieces of code and figure them out so you can perfectly describe how they work.

I don't do it as much as I should, but it's the best way of learning about a language.

Hi guys,

So last week my company switched to Slack and I was immediately interested in building bots. I thought the idea of building a game bot that used emojis was pretty cool. After a handful of hours and a really fun time learning about slack, here he is.

Let me know how it goes if you try him out.

Edit: I realise I haven't added many pictures. Let me fix that..

Edit 2: Fixed.

Thanks! So there's not really physics as such. The face is made up of layers that move based on the mouse position.

Each layer has a distance it's allowed to travel away from its center point, and it gets the distance of the mouse from the center of the page, and then moves the layer by the proportionate amount of its allowed travel distance. It uses easing to make it feel more natural. I hope that makes sense.

There's more going on here, but that's the gist of it. If you're curious check out the code on [git](https://github.com/wilfredjamesgodfrey/hector).