Better HN
topnewbestaskshowjobs
Log inSign up

tennix

48 karma · joined May 24, 2015 (11y ago) · 19 submissions

Submissions

comment 2y ago · link · parent

I've been a long tmux user, but I've migrated to Kitty only setup. To make my muscle memory feel at home, I configured Kitty with nearly the same keybindings as tmux. Here is my setup https://blog.funcer.xyz/blog/kitty-terminal/

comment 4y ago · link · parent

> This is particularly problematic for hosted Kubernetes services like Google Kubernetes Engine (GKE), which often limit the CPU and memory available to the API server. These services can gracefully scale the API server up when they predict it will require more resources - e.g. when more nodes are created. Unfortunately at the time of writing most don’t factor in more CRDs being created and won’t begin scaling until the API server is repeatedly “OOM killed” (terminated for exceeding its memory budget).

Yeah, that's the limitation of hosted kubernetes services. Internally we used crossplane a lot. Though we haven't reached this limitation yet, we used another approach by deploying a standalone etcd + k8s apiserver as k8s (eks/gke) pods. And register the CRDs into this apiserver. So we can scale the etcd and apiserver easily.

3.

AWS clockbound client and daemon implemented in Rust(github.com ↗)

1 points · by tennix · 5y ago · discuss

4.

Understanding Real-World Concurrency Bugs in Go [pdf](songlh.github.io ↗)

2 points · by tennix · 6y ago · discuss

5.

Building an Automated Testing Framework Based on Chaos Mesh and Argo(pingcap.com ↗)

1 points · by tennix · 6y ago · discuss

6.

TimeChaos enables time to swing freely in containers(pingcap.com ↗)

2 points · by tennix · 6y ago · discuss

7.

Netflix beats growth predictions with 15.77M net new subscribers(techcrunch.com ↗)

7 points · by tennix · 6y ago · discuss

8.

A practical guide to writing technical specs(stackoverflow.blog ↗)

67 points · by tennix · 6y ago · 6 comments

9.

How to double read throughput easily for a NewSQL database(pingcap.com ↗)

2 points · by tennix · 6y ago · discuss

comment 6y ago · link · parent

You can debug such containers by running another debugging container to join their corresponding namespaces. For example the most frequently used namespaces are pid and network, with these two namespaces joined the target container, you can see its pid and binary as well as the network traffic.

For docker and k8s, there are two helpful tools which implement what I said with simple and intuitive UI:

* https://github.com/zeromake/docker-debug

* https://github.com/aylei/kubectl-debug

Edit: Add links for the helper tools.

comment 9y ago · link · parent

If you're familiar with ansible, it'll be quite easy to setup a k8s cluster on bare metal with kubespray. What's more is that it deploys production ready cluster with HA support

12.

Using Idris to develop Android apps(mmhelloworld.github.io ↗)

3 points · by tennix · 9y ago · discuss

comment 9y ago · link · parent

https://github.com/pingcap/tikv stores consensus state in RocksDB. > With the implementation of the Raft consensus algorithm in Rust and consensus state stored in RocksDB, it guarantees data consistency.

comment 10y ago · link · parent

Yeah, you're right. But almost all of the community uses indentation which defined as layout in Haskell2010 Language Report instead of semicolons and curly braces

comment 10y ago · link · parent

Agreed on dependent type, and I also love ML syntax more than haskell(yes I don't like indentation sensitive language). BTW I suggest you give FStar a try, it has dependent type and OCaml/F# like syntax and support theorem proving

comment 10y ago · link · parent

I believe emoji is designed to be expressive, if we need to look it up in a emoji dictionary ,then emoji goes wrong. The fact is that everybody wants to add their favourite emoji, but more emoji added more confusion it will be make. Just imagine we lookup an emoji before we send to others, and the receiver has to look it up in a dictionary to know what the sender want to express. Why not just using the normal words we already know very well

comment 11y ago · link · parent

Here are the source code for the new website, and it is written in guile itself http://git.savannah.gnu.org/cgit/guile/guile-web.git

comment 11y ago · link · parent

I have wrote a playpen-mode for emacs last week with which we can play rust without installing rust and without opening rust playpen in your browser. https://github.com/tennix/playpen-mode