Hacker Newsnew | past | comments | ask | show | jobs | submit | aksels's commentslogin

Hi HN,

Context: This was the subject of an assignment for a company (tech test).

I created a really (lightweight) version of trello-like board with only web components. It was a fun project to do. I use ReactJS in my day-to-day work and it was really interesting to come back to basics and see that you could build applications from scratch without any framework. Loading speed is amazing, it's like we are forgetting that we can do simple applications without bloated frameworks. In addition, it felt good writing some vanilla js.

https://caniuse.com/#feat=custom-elementsv1

Beware, WebComponents are not supported in every browser

Would be grateful for your feedback.

Many thanks.

(Of course this project has nothing to do with the real Trello, it's only a POC.)


my 2c: The default value for "weight" in onboarding seems to be 120kg. I'm pretty sure you can set it to 75kg[1] to avoid a lot of scrolling in the onboarding.

However good job !

[1] average: https://en.wikipedia.org/wiki/Human_body_weight


Thank you!!!

It's actually set to 120 for both kg and lbs — my bad!


http://getpopfile.org

It seems that https is not supported


That's odd. I'll get that fixed!


From my experience it's quite expensive, at least in GKE. As Kubernetes takes a lot of cpu & memory by itself. I run a pool of one node n1-highcpu-2 (2 vCPUs, 1.8 GB memory) and it costs me about 72 euros per month.

kube-system is taking about 730 mCPU of the node's 2000 mCPU.

The issue is that the kube-system is deployed on each node of the pool so (tell me if I misunderstood/misconfigured something). If you have a pool of 3 nodes which have 1 vCPU each, with kube-system taking approximately 700 mCPU on each you have only 300 * 3 = 900 mCPU allocatable.

If you have any tips on how I could reduce the costs of my personal projects I'm listening !


I just saw a change the other day which makes system pods fit better on nodes with one vCPU. It reduced their numbers by the same factor (i.e. keeping the same proportions). It was meant for GCE and I am not sure if/when it will make it to GKE, but it looks like Google is looking at the tiny node scenario. Also, Tim Hockin led a discussion about something similar at last year's Kubecon.


Here it is. It's in 1.12, actually, not on HEAD as I recalled:

https://github.com/kubernetes/kubernetes/pull/67504

Still not sure if these are the configuration files that GKE uses behind the scenes, but the author is a Google employee.


When creating to disable the cluster, have you tried to disable Kubernetes dashboard and StackDriver monitoring and logging services?

For logging, you could use FluentBit which is more lightweight: https://docs.fluentbit.io/manual/output/stackdriver


As a data point, on a busy GKE production cluster with 12 highcpu-16 nodes we have kube-system pods taking a total of ~700mCPU on all servers combined. I'm not sure how the CPU usage scales, but probably not linearly.

Most of the CPU usage is kube-dns, which I think requires much less CPU if you make few internal network connections.


I've seen a few comments here about k8s using a lot of CPU by itself. Do you known exactly what it does that uses a lot of CPU?


Hi HN,

I'd like to present you one of the project I developed recently.

After the Google Hash Code 2018 Competition, I thought I could create a "result viewer", I'm not really sure how to name it, to train my skills in Go development and because it seemed funny to do it this way.

The scores are the same as the Judge System from Google and the simulation is displayed using a graphic interface which can be disabled.

Everything, including the graphic interface has been developed in Go.

Just wanted to share it here to get some feedback !


The animation is visually interesting, but I don't understand what it represents. I know it is related to a programming competition, but what problem is it trying to solve?


Some context on the competition:

We are given a list of pre-booked rides in a city and a fleet of self-driving vehicles. The objective of the competition is to assign the rides to vehicles, so that riders get to their destinations on time.

I updated the README.md with some illustrations to help you understand this project.

https://github.com/AkselsLedins/google-hashcode-2018-live-si...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: