10 ms·
80x40
- informatimago 11y agoI was about to clone it and push a patch. But then, I realized how complex the procedure was going to be: 1- clone the repo on github 2- clone the clone locally 3- patch the file 4- commit (with a meaningful commit message) 5- push the patch to the clone on github 6- go to the github web to post a pull request. Plus, that would leave a trace on my github account (I assume that I could: 7- delete my github clone. but only after the pull request is acted upon (which even if automatic is bound to take some time during which this github activity could be seen). The lesson here is that providing small patches is too costly.
- stevenhuang 11y agoIf anyone hasn't seen this yet, checkout https://github.com/github/hub https://github.com/github/hub to do everything you'd do at Github on the command line (pull requests, forks etc). I use it and it's awesome!
- panic 11y agoThe GitHub pull request model is absurdly complex for drive-by changes. I wish there were a way to just send a patch.
- estsauver 11y agoThe edit button lets you change it easily
- deleted 11y ago[deleted]
- panic 11y agoObviously this doesn't apply here, but how does that work with changes across multiple files? Even one-off changes sometimes need to touch different parts of the codebase. The ideal workflow for me would be: 1. Clone the repo locally (not making a public fork that requires cleanup). 2. Make changes and commit them (not making a branch that requires cleanup). 3. Send the patch (or patches) for review. 4. If the patch is reviewed, it's either automatically landed or a project committer applies it and commits it. Either way, there's nothing else I have to do at this point besides deleting my local clone. I can see how the GitHub model works for people who contribute to the same projects frequently, but there's too much stuff you have to do (forking, cloning, branching) and then un-do if you're making a drive-by change and don't want the project to clutter up your profile.
- morgante 11y agoWhy are you fixating on this notion of cleanup? There's no need to "clean up" your public repos. Even if you're making complex changes, I think GitHub is much easier to work with than the classic "patch" emails. I frequently will randomly fork a project that I'm using and submit a minor pull request when I wouldn't hunt down their source control system, clone it locally, make changes, find their preferred email/patch system, look up the commands to create a patch file, and email the patch. GitHub is drop dead simple: 1. Click fork. 2. Edit your fork online or clone locally, committing changes. 3. Click the "pull request" button. Just because a model is new doesn't mean it's worse.
- oneeyedpigeon 11y agoIf you view the file on github.com, you should see an edit button, which - I believe - makes the whole process a lot simpler.
- watson 11y agoYou don't need to actively clone a repo to make a change. You just click "Edit" on the file you wan't to change and it'll do the heavy lifting for you. True, you still have to make a commit message and click submit on the pull request, but the cloning/forking is taken care of behind the scene
- jwilk 11y agohttps://github.com/sociomantic/git-hub https://github.com/sociomantic/git-hub to the rescue!
- wetmore 11y agoHe should set up a script to take a screenshot of it with each commit as well and make an animated gif.
- wulczer 11y agoSince all of the previous states are there in the repo history, you can make that gif yourself at any moment!
- raghava 11y agofor c in `git log --oneline --reverse | awk '{print $1}'` do clear; echo "$c"; git --no-pager show $c:README; sleep 1; done is what one could use on a terminal
- oneeyedpigeon 11y agoYou can remove the pipe to awk by replacing: --oneline with --pretty=format:"%h"
- rootlocus 11y agoYou would get penises every two frames. Depending on the speed of the GIF, the result would be flickering penises...
- joshguthrie 11y agoJust like Fight Club then
- TallGuyShort 11y agoNever have I seen an HN comment that would be this weird when taken out of context.
- brettlangdon 11y agohttps://gist.github.com/brettlangdon/4e9f58dabfbfcb263dc2 https://gist.github.com/brettlangdon/4e9f58dabfbfcb263dc2
- broodbucket 11y agoI think it'd be a lot more interesting if there was a limit to how many characters could change per pull request. It could still be botted, but there'd be more interesting art than at present where people are resetting it constantly instead of several people building something "interesting". Fun concept regardless.
- Roodgorf 11y agoThat sounds cool, but I wonder if there would be a problem if the repo hit anything close to a critical mass where several people were editing forked repos at once and submitting pull requests. I imagine it would be pretty frustrating to go through the process and make some changes only to find out that your original revision is now too outdated for the bot to merge.
- userbinator 11y agoThe question whose answer I didn't see in the "Why" section is "Why 80x40?" 80x25, 80x50, and 80x43 seem obvious to me, but 80x40 feels odd... Maybe I'm just old and everyone uses 80x40 terminals now?
- guessbest 11y agoI'm not old, and I thought it would be a funny sized punch card. Also, his ASCII art doesn't have rounded corners like the standard IBM cards dating back to 1964.
- efaref 11y agoI thought punchcards were 80x1. This is a stack of 40 cards.
- jlebrech 11y agoso you can display in terminal of course. motd?
- rootlocus 11y agoMaybe because it fits inside the README area on github?
- PhasmaFelis 11y agoBased on the link, I'm guessing "because it's roughly square in GitHub's monospace font."
- slazaro 11y agoOF COURSE in its current state is a bunch of penises...
- rootlocus 11y agoOF COURSE it's scripted so that it's almost always in that state.
- trymas 11y agoAs I expected, it didn't take long for picture to become a bunch of dicks. https://github.com/art-dot-git/80x40/commit/4f511b050a949bfc7a5be6daf29d3570affb5f8a https://github.com/art-dot-git/80x40/commit/4f511b050a949bfc...
- toxik 11y agoIt's even scripted!
- trymas 11y agoYeah, later I've seen, that this always overrides other changes. What if there will be bunch of bots drawing penises over each other penises perpetually?
- TazeTSchnitzel 11y agoIt is, but apparently something broke and the bot isn't getting through now. Nor am I, but I got in one last commit before they did, somehow (their pull request was made earlier, and yet?) Which means that it's now just this, and has been for 10 minutes: https://github.com/art-dot-git/80x40/commit/675cb618fb6221d278b4b7b746cead784961ede3 https://github.com/art-dot-git/80x40/commit/675cb618fb6221d2...
- jlebrech 11y agosudo curl https://github.com/art-dot-git/80x40/blob/master/README https://github.com/art-dot-git/80x40/blob/master/README > /etc/motd
- raimue 11y agoThis won't work. You only elevate the privileges of the curl process, while the redirected output was opened by your shell beforehand. curl https://github.com/art-dot-git/80x40/blob/master/README | sudo tee /etc/motd >/dev/null
- jwilk 11y agoYou didn't actually try it, did you? :> It should be: sudo curl -L https://github.com/art-dot-git/80x40/raw/master/README https://github.com/art-dot-git/80x40/raw/master/README -o /etc/motd
- jlebrech 11y agoyeah I wouldn't run that, the content of that url looks nasty. any chance it could buffer override the motd command?
- steeef 11y agoHere's yet another way: sudo bash -c 'curl https://github.com/art-dot-git/80x40/blob/master/README > /etc/motd'
- Thiz 11y agoInteresting. Put it sideways, allow to save many frames and then play ASCII movies. That may start a new fad. The internet is all about fads.
- debacle 11y agoThis would be a far more interesting experiment if users could only modify a small subset of the characters per commit (a bit like GitHub Plays ASCII Art).
- Tepix 11y agoNo Unicode, no graphical characters for ASCII art. Sad.
- teach 11y agoMaybe I'm just old, but I don't think of "ASCII art" and "graphical characters" as belonging together. Traditionally, ASCII art is limited to ASCII 32-126 plus tabs.
- wisienkas 11y agoAn Interesting approach would be to use it as a GIF or video by using some distance formular to sort all the changes in the least changing way.
- vkjv 11y agoIt would be a nice feature to reject any PRs that are over a certain # of characters diff. That way it becomes more collaborative instead of wholesale replacement.
- tlrobinson 11y agoAlong the lines of TwitchInstallsArchLinux, GitHubDrawsAPicture
- deleted 11y ago[deleted]