Stamp
Dev tools
project templates
SHOW HN2021
How HN took it
7 positive, 13 neutral or asking, 0 mixed, 14 critical, out of 34 comments about the project. Thread score -0.15.
Idea: 6 for, 12 againstExecution: 0 for, 2 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Readable plain text format that can be edited in a text editor
From 2 comments
The difference is you can directly edit the file in a text editor (possibly even in the github ui) instead of needing to unzip, edit, and rezip. It makes find and replace across…
iudqnolq on HNI see this as a declarative vs imperative approach. The interface is a bit barebones and heavy right now by needing to fire up node and run the functions. But like declarative vs…
anomaloustho on HN
Declarative format could be reimplemented in various languages
From 1 comment
Interesting approach, I like it. I’m bemused to observe that even though you include a section describing alternatives, there are still the usual number of comments saying “why…
LeonB on HN
Objections
Overlaps with tar, zip, shar, and shell scripts
From 3 comments
Cool seems like unix `cat` command with addition of storing the filepath (so maybe like `find`?) While this of course sound like a cool project and my comment might be the most…
sdfhbdf on HNIt's not bashing a tool per se, sorry if you read it as such. I was pointing out that with the abundance of tools we have at our disposal this project sounds to me like a…
sdfhbdf on HNYes I read it and I don't agree with the posted downsides for most of them, since the tool itself seems to share the downsides with the posted pro-cons of other solutions and…
sdfhbdf on HN
Does not handle binary data, encodings, or filename edge cases clearly
From 3 comments
What about files with different encodings? Which of them is used? UTF-8? Same question about line endings And how does it deal with files that have strict whitespace requirements…
sdfhbdf on HNshar is specifically mentioned in the footer, with the drawback that it's really an arbitrary shell scipt. ptar is also mentioned, and seems rather nice. It's also way better…
masklinn on HNMaybe I missed it: What happens to binary data?
grenoire on HN
Solves a problem that is already solved
From 2 comments
This is very much a solved problem. Wierd people can think this is something that the grey beards didn't ever think of between 1970-01-01T00:00:00 and today.
teknopaul on HNI think diff & patch already serve us well for a few decades.
imhoguy on HN
Requests
Add links to alternatives like Cookiecutter, patch and motllo in the README
From 4 comments
Would love to accept a PR adding a link to that. There really should be one. Thanks!
breck on HNI don't think I've seen that! Thanks! Happy to accept a PR with a link to it. The "template package manager" sounds very cool. Perhaps Stamp as a format for the CookieCutter…
breck on HNI would be open to a PR adding a link to a good diff/patch way of doing this.
breck on HNNice! I love the animated demo you have there. I'd be happy to accept a PR adding a link to this.
breck on HN
Base64 or binary support
From 1 comment
Good question. Base64? I forget if I added support for that.
breck on HN
Questions
What happens to binary data and non-UTF8 file names
From 2 comments
Maybe I missed it: What happens to binary data?
grenoire on HNshar is specifically mentioned in the footer, with the drawback that it's really an arbitrary shell scipt. ptar is also mentioned, and seems rather nice. It's also way better…
masklinn on HN
Why use this instead of a shell script or git
From 2 comments
I have a couple questions: Why should I use your tool vs. a one line bash script for creating a directory tree? Why would I keep any file content in the stamp file, in the…
macqm on HNWhy don’t you write it with posix only tools then? It’s a great idea that didn’t exist yet. Who cares how the developer made it? I’m sure if it takes off people will rewrite it…
lsmurray on HN
Alternatives named
tar and zip
From 2 comments
Cool seems like unix `cat` command with addition of storing the filepath (so maybe like `find`?) While this of course sound like a cool project and my comment might be the most…
sdfhbdf on HNIt's not bashing a tool per se, sorry if you read it as such. I was pointing out that with the abundance of tools we have at our disposal this project sounds to me like a…
sdfhbdf on HN
shar shell archives
From 1 comment
It seems very comparable to "shar"...shell archives. https://en.wikipedia.org/wiki/Shar
tyingq on HN
Cookiecutter
From 1 comment
Regarding the project templates, did you look at Cookiecutter [0]? There are over 5k projects that GitHub finds that use it [1]. It solves the “custom utility” problem, since it…
Kwpolska on HN
MIME multipart
From 1 comment
Another alternative for something like this would be MIME multipart/mixed (https://en.wikipedia.org/wiki/MIME#Multipart_messages). That allows a text file to contain several…
adrianmonk on HN
Go txtar
From 1 comment
https://pkg.go.dev/golang.org/x/tools@v0.1.0/txtar could be used for this…
earthboundkid on HN