aliencat
aliencat on Hacker News
Posted by
aliencat on Tuesday May 13, 2025 @07:09PM
from the show-hn dept.
https://dohsimpson.gumroad.com/l/react-pdf-doc
Hi HN,I created this to help people who want to read the React documentation offline, instead of through the React website.The main benefits are:* Completely offline, so you can read anywhere—even on your eReader.* Reads like a book, rather than scraped web pages.* Easy to annotate thanks to the PDF format.* Can be fed to LLMs like NotebookLLM to turn the doc into an interactive guide.
video demo looks awesome, what tool do you use to make it?
Posted by
aliencat on Saturday July 15, 2023 @08:28AM
from the show-hn dept.
https://docker2kube.app.enting.org/
Convert docker compose to Kubernetes
Posted by
aliencat on Saturday July 15, 2023 @07:03AM
from the show-hn dept.
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.
Posted by
aliencat on Tuesday April 25, 2023 @06:40PM
from the show-hn dept.
https://chrome.google.com/webstore/detail/hackernews-summarizer/akfjgjlefkecijfggjekklpfgolgnafl
Hey HN,We have made this free extension to help you skim HN articles at the speed of light! Give it a try and tell us your experience!
Posted by
aliencat on Thursday April 20, 2023 @07:19PM
from the show-hn dept.
https://github.com/dohsimpson/macos-new-file
Hi HN!
One of the feature that is lacking in MacOS Finder is the ability to create a new file in any folder. This repo provides a quick action workflow that adds this functionality to Finder.
unit test definitely a great use of copilot.
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...)
Posted by
aliencat on Tuesday May 07, 2019 @03:49PM
from the show-hn dept.
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
}
Posted by
aliencat on Monday November 05, 2018 @11:48AM
from the show-hn dept.
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.
Posted by
aliencat on Sunday June 24, 2018 @07:54AM
from the show-hn dept.
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?