Sharing a tool that I wrote to convert docker-compose file to kubernetes deployment YAML: https://docker2kube.app.enting.org/
Hope it helps someone!
HN user
Sharing a tool that I wrote to convert docker-compose file to kubernetes deployment YAML: https://docker2kube.app.enting.org/
Hope it helps someone!
video demo looks awesome, what tool do you use to make it?
Thanks! Best of luck! Looks like a solid product
It seems that the 140x lower storage cost comes from: 1. S3 (OO) vs EBS (ES): about 5x 2. No indexing: About 10x ? 3. No data duplication (due to using S3 I assume) in HA deployment: 3x
Is my math right? Or do you use something different for compression?
2 Orders of magnitude of storage saving is pretty impressive.
unit test definitely a great use of copilot.
I also recommended vimium-c (https://github.com/gdh1995/vimium-c). It's like vimium on steroid: with a bunch of additional useful features.
One problem with Tauri is that it doesn't bundle Node runtime, meaning that you can't take advantage of the npm packages that works outside of a browser environment. It does allow you to use Rust packages, but that's another story than Javascript.
Haven't written on paper for a long time, almost forgotten how good it feels to write on one.
After work I prep for dinner, keep working on my projects, and then drive 5 min west to the beach right before sunset and sit in the back of my car writing in my notebook. This is my favorite time of the whole day, a solid 30 min break where I don't look at my phone or any screen
Sounds like a wonderful time for unwinding. What would you be writing in those time?
How easy is it to create a kubernetes cluster between local and cloud? Was thinking about doing this but was puzzled by how to bridge the network.
Very interesting idea! I think I've heard something like this before on giving reward randomly yielding to addictive behaviours, like gambling. Do you have any recommended reference on this idea?
Karabiner is incredible for making keyboard shortcut to do some pretty complicated task. Obsidian, what a note-taking app! Makes Evernote looks like a dinasour. Vim (and NeoVim), you learn it once and use it for everything.
You can also acomplish this with shell:
export BUCKET=____; aws s3 ls "$BUCKET" | tail -n+2 | awk '{print $4}' | while read k; do aws s3 cp "s3://$BUCKET/$k" -; done
No need for the sarcasm, it's open source, you don't have to use it. But to answer your question, you can't do `./my-script foo`, because you can't call a function directly as argument.
If you also want auto-completion, you bascially re-implemented Bud.
Your statements are correct, but they are workarounds, and doesn't cover all the use cases. And they usually requires a StackOverflow search. For the above 2 reasons, I consider them to be limitations.
1. Problem is You have to explicit define a number of arguments and they have to be named. Consider the situation where you want to call an arbitary number of arguments, can't do that. (ref: https://stackoverflow.com/questions/2214575/passing-argument...)
2. You cannot reference the target in the body of another target. (ref: https://stackoverflow.com/questions/3267145/makefile-execute...) Consider below:
.PHONY: a b
a:
echo A
b:
echo B
a # can't do this
echo B
3. .PHONY should be the default when you don't use file target, which is often the case for most non-C project.With Bud, bash script become your Makefile and bash functions become your Make target. You can have arbitary numbers of arguments, you can reference other targets since they are just functions, and you don't need to explicitly add your target to .PHONY.
There are other reasons you want to move away from Make. For example:
* Defining variable in your target body requires workaround (ref: https://stackoverflow.com/questions/1909188/define-make-vari...)
This one is pretty useful!
Open current OSX Finder directory in Terminal:
cdf () {
target=`osascript -e 'tell application "Finder" to if (count of Finder windows) > 0 then get POSIX path of (target of front Finder window as text)'`
if [ "$target" != "" ]
then
cd "$target"
pwd
else
echo 'No Finder window found' >&2
fi
}stickK app is very useful for breaking bad... habit. You put money on the stake to follow through.
I would say that in terms of efficiency, Vim is >= Sublime. I have yet to see anyone using a GUI text editor beat the text editing speed of Vim. Plus, you are at full productivity when working with terminal. Think about how easy it is to ssh to a server and edit files with Vim.
Autoscaler(https://github.com/kubernetes/autoscaler/tree/master/cluster...) is a good option too. Works incredibly well at automatically adding/removing nodes based on workload.
Sweeeee! :)
Do you have flexible time? Like being your own boss kind of deal?
Hi sampl, thanks for taking the time to comment! I have less than 5 years of experience, but apparently the company is in need of contractors so they offered me the job without hesitation. I am wondering if there is anything I should consider before taking the job.
Hi wolco, the contract is 6 month. I am definitely thinking about incorporating immediately. But I am wondering what kind of expenses can I declare as a IT person? Can you elaborate on that?
The flexible hour and no much supervision sounds excellent! Does that mean you can come to work late or leave work early as long as you work for 8 hours a day?
That is a lot of information! Thanks for sharing! :)
Thanks for the detailed writeup! I will send you an email :)
Epic domain name!
Well put. I realized that when my boss compared me to a pigeon taking a shit on the company when I am quitting. Clearly, all the "I want my employee to be happy here" talk is just BS and only fools geeks that are naive enough to believe it and actually work their ass off.
This is a daily updated DevOps Job list that is scraped from Indeed CA. Dear HN users, tell me what you think? Do you find it useful?
Chillbeats.live is a web page that simply starts playing when you enter. It uses icecast and liquidsoap to build an audio stream.
Music credit goes to: [Le Tournedisque](https://soundcloud.com/letournedisque) Photo credit goes to: [Alphacolor 13](https://unsplash.com/@duck58cth) on Unsplash
Unfortunately Office for Mac does not support this, just find out...