HN user

aliencat

158 karma
Posts25
Comments46
View on HN
dohsimpson.gumroad.com 1y ago

Show HN: React Docs as Offline EBooks

aliencat
1pts0
docker2kube.app.enting.org 3y ago

Show HN: Docker 2 Kubernetes

aliencat
9pts4
news.ycombinator.com 3y ago

.

aliencat
3pts2
chrome.google.com 3y ago

Show HN: HN Summarizer

aliencat
7pts1
github.com 3y ago

Show HN: Create new files in macOS Finder

aliencat
3pts1
github.com 7y ago

Show HN: Bud – Command Runner inspired by Make

aliencat
5pts4
github.com 7y ago

Show HN: RabbitHole – YAML Configured SSH Tunnels

aliencat
1pts0
github.com 8y ago

Show HN: Kubernetes Documentation in PDF format

aliencat
1pts0
news.ycombinator.com 8y ago

Ask HN: How to start working as a contractor?

aliencat
119pts77
news.ycombinator.com 8y ago

Ask HN: What is something that you wish you don't have to do in your job?

aliencat
2pts1
news.ycombinator.com 8y ago

Ask HN: Hacker News private RSS feed?

aliencat
2pts0
docs.google.com 8y ago

Show HN: Canadian DevOps Jobs List

aliencat
3pts1
chillbeats.live 8y ago

Show HN: Chillbeats.live – minimal chill music player

aliencat
3pts2
github.com 8y ago

Show HN: Terraform-doc.pdf

aliencat
1pts0
news.ycombinator.com 8y ago

Ask HN: If you had a month of free time, what would you do?

aliencat
48pts67
news.ycombinator.com 8y ago

Ask HN: Would you pay for one-to-one Vim coaching?

aliencat
1pts4
news.ycombinator.com 8y ago

Ask HN: Is it right to give 1 month notice for switching to remote position?

aliencat
8pts10
news.ycombinator.com 8y ago

Ask HN: Browser Session Record and Replay

aliencat
4pts1
github.com 8y ago

Show HN: ZenTracker – CLI RescueTime alternative

aliencat
1pts0
github.com 8y ago

Show HN: ZenTracker – Automatic Time Tracker for Mac

aliencat
1pts0
news.ycombinator.com 9y ago

Ask HN: Pomodoro Timer gadget?

aliencat
6pts3
github.com 10y ago

Show HN: Vim MacroEditor

aliencat
2pts1
news.ycombinator.com 10y ago

Ask HN: How to read faster

aliencat
33pts49
news.ycombinator.com 10y ago

Ask HN: Good ideas for naming functions

aliencat
1pts1
news.ycombinator.com 11y ago

Ask HN: How to just be a back end developer?

aliencat
8pts8

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.

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.

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?

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.

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
}

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.