HN user

yissachar

24 karma
Posts0
Comments13
View on HN
No posts found.

To expand on the sibling comment by nrmitchi, in Kubernetes you don't scale your worker nodes by CPU or memory. Instead you scale your pods by CPU or memory. Running the cluster autoscaler ensures that when you run out of space to schedule a new pod new worker nodes are brought up. It also works the other way; when your nodes are being underutilized for a while, the autoscaler will kill some nodes (and the scheduler will automatically handle placing any pods on those nodes onto other nodes).

Very cool!

On page 17 of the Solar System book I want to rotate the globe but can't manage to do that without also initiating a page flip, which is pretty annoying.

Also, the formula rendering on page 21 is not quite right (Firefox).

I think that non-nullable types by default are one of Dart's biggest missed opportunities, so I'm really hoping that the Dart team ends up adopting this.

This is also a really great example of the DEP system in action. DEPs (Dart Enhancement Proposals) allow anyone to suggest improvements to the Dart platform, and work with the Dart team to determine if it can be accepted and implemented. This means that individual community members can advance the language forward and that's exactly what's happening here. The author of the proposal, Patrice Chalin, is not on the Dart team but that hasn't stopped him from creating an awesome proposal that has earned praise from Dart team members.

Very cool concept!

I spent a while tweaking the code to get more CPU cycles, but after a while tired of mining the asteroids manually, so I just got rid of them:

  ENGINE.Game.spawnAsteroid = function () {}
After that the next logical step was to give myself more ships:
  SHIP_CPU_COST = 0.001;
Of course, it's a lot more interesting (and challenging!) to actually play by the rules.

Regarding targeting the web, you can't do this directly with RoboVM, but you can use GWT to do so. This means that you can target Android, iOS, and web with Java. You would have shared code that all platforms could use, and then build the UIs natively.

This is pretty much the approach that Google use with Inbox, except they used j2objc instead of RoboVM.