Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kozikow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
361.
▲
by
kozikow
10y ago
> Kubernetes does not offer a clean solution for a number of problems you might face, such as stateful applications. petset is a solution for stateful applications [1]. It's still in alpha though. I heard rumours that it will enter
362.
▲
by
kozikow
10y ago
It works ok for me with docker images. It only works for languages storing dependencies in the environment (e.g. python), so it won't work as well for C++. I can download any docker image. Docker image contains all external dependencie
363.
▲
by
kozikow
10y ago
Every SV company have the grandiose "mission" or claims like "we are making world a better place" mentioned in the article. Those claims usually get ignored if they become a minor hindrance for projected profits. If you
364.
▲
by
kozikow
10y ago
For future reference, evil-tabs is just skin over elscreen. I created tmux-like keybindings, leveraging hydra and helm for some commands: https://gist.github.com/kozikow/58b46c45a2c24406dc7cde3f1861... .
365.
▲
by
kozikow
10y ago
> At some point you have drop out of the pseudo Vim world do things the Emacs way, keybindings and all. or many packages there are many "vim-optimized" packages nowadays, e.g. evil-ediff, evil-org or evil-magit. > e.g. I lik
366.
▲
by
kozikow
10y ago
> And macros, now and then, act up. As in, they won't record properly or something. What you may be experiencing is an erroneous action stopping the macro. For example, if you press h at the beginning of the line, macro recording wo
367.
▲
by
kozikow
10y ago
Sorry for edit. I found and installed evil-tabs after replying and it's actually quite good. It meets all the points you raised, and I agree with them - I prefer evil-tabs for that reason. Although I must that admit that evil-tabs only
368.
▲
by
kozikow
10y ago
There is vim-like tabs implementation for evil users: https://github.com/krisajenkins/evil-tabs . I personally use emacs-native way, window-configuration-to-register: https://www.emacswiki.org/emacs
369.
▲
by
kozikow
10y ago
I moved to http://wikemacs.org/wiki/Evil and I am happy with the transition. Spacemacs seems to be a good choice nowadays. Magit and org-mode are worth it.
370.
▲
by
kozikow
10y ago
Petsets ( http://kubernetes.io/docs/user-guide/petset/#what-is-a-pet-s... ) are adressing the problem of storage persistently linked to the container.
371.
▲
by
kozikow
10y ago
> It may just be a couple commands more, but it's unnecessary cognitive load for many app devs. My general approach (not only to interacting with k8s) is to create fabric files with list of commands that makes sense in given place.
372.
▲
by
kozikow
10y ago
> (Kubernetes is not a suitable alternative to Docker Compose, before someone suggests it.) Why not? I have been contemplating this exact thing right before I came to procrastinate on HN. A few of my local development workflows are using
373.
▲
by
kozikow
10y ago
I am curious why petsets were not mentioned? I was planning to move my postgres to petset. Do you do find running master within single pod enough?
374.
▲
by
kozikow
10y ago
Ah. Quite a lot of things you mention are possible by dynamically generating yaml config. I wrote a blog post about using go kubernetes library to generate yaml : https://kozikow.com/2016/09/02/using-go-to-aut
375.
▲
by
kozikow
10y ago
What do you recommend instead of RabbitMq on kubernetes? I use RabbitMq as Celery backend . I should probably switch to redis...
376.
▲
by
kozikow
10y ago
> Right now, the deployment and configuration of an application is supposed to be separated but I feel they need to be just a bit more coupled. You can dynamically configure kubernetes from within the cluster. You can either use client-
377.
▲
by
kozikow
10y ago
I personally recommend client-go, official kubernetes go library. Comments it types made me understand kubernetes concepts much quicker. It's quite small and easily understandable, even without go experience. See my post https:/
378.
▲
by
kozikow
10y ago
> On this day and age many don't want to pay for tools. Main part of pycharm is free and open source: https://blog.jetbrains.com/pycharm/2013/10/pycharm-3-0-commu... . > Sometimes I wonder if Emacs
379.
▲
by
kozikow
10y ago
You can now log to stackdriver and export to BigQuery. No need to handle schema updates.
380.
▲
by
kozikow
10y ago
I had a similar setup at one point, although in python. At some point I wrote a python logger talking to stackdriver http api, although I don't use it now: https://github.com/understandwork/stackdriver_python_logge
381.
▲
by
kozikow
10y ago
Ah, interesting. Tbh I rarely used spreadsheet capabilities and I usually used ob-ipython to load table to pandas in python and after manipulation write it back to org. I mostly use org tables for occasional manual data manipulation. One pr
382.
▲
by
kozikow
10y ago
Although somewhat impressive, majority of us are similarly skilled with our editor/IDE of choice. My Emacs and IntelliJ workflows would probably look similarly advanced to non-programmers. What's more, Emacs have its own spreadshe
383.
▲
by
kozikow
10y ago
You can horribly engineer things, regardless if you use haskell or Java. I've seen Java code like you described, but I've also seen big java projects written in clear, no-nonsense style. For example, look at any open source Java
384.
▲
by
kozikow
10y ago
> But if it's making 300k+ per year In Silicon Valley it's not uncommon to see new grads (not even PhD) getting 200K total first year compensation. I was comparing quantitative finance vs silicon valley as a career for mathemat
385.
▲
by
kozikow
10y ago
I was editing the post while you replied. I realised that my post wasn't conveying any useful point. In general, when many people hear Quant they think about quantitative portfolio manager - this is what I was talking about and where
386.
▲
by
kozikow
10y ago
Only few people in finance really "make it" - and it mostly consists of portfolio managers (quantitative or else). "Superstar economy" analogy discussed in this thread have very strong effect in finance. Luck is also a h
387.
▲
by
kozikow
10y ago
I use literate programming for "research" projects - I use emacs org mode with org babel and ob-ipython. It is useful for that purpose, as I am usually chasing a few options in parallel and results later will need to be presented
388.
▲
by
kozikow
10y ago
This is pretty much what you would end up with when following official google cloud tutorials. Some time ago I started with https://cloud.google.com/python/django/container-engine . I still run django based on this
389.
▲
by
kozikow
10y ago
Sadly, the current situation seems to be optimal for Docker inc, even if it is not optimal for users of Docker. K8s makes docker commoditized. For example, I am running GKE k8s cluster and I only use docker directly to take Dockerfile and p
390.
▲
by
kozikow
10y ago
People on the bazaar who just want to deploy a CRUD web app you mentioned shouldn't be getting into the containers/orchestration in the first place. Just go for some PaaS or rent a server or two, write shell or python scripts to s
More ›