9 ms·
/new convention: think of it as “dotfiles” but “for computers”
- reportgunner 4y agoSo /new is a simple browser bookmark ?
- rektide 4y agoNo. /new is a route on his webserver, which when clicked sends them to a web-based IDE, primed and ready to go with their set of dotfiles & configuration, namely, https://github.com/ghuntley/new https://github.com/ghuntley/new
- reportgunner 4y agoSo how is it different from a browser bookmark that, when clicked sends me to https://github.com/ghuntley/new https://github.com/ghuntley/new ?
- reportgunner 4y agoWell I meant to write https://gitpod.io/#github.com/ghuntley/new https://gitpod.io/#github.com/ghuntley/new
- rektide 4y agoI just told you everything else involved. The url is just an entrypoint into the actual system. We dont judge a whole house by it's front door.
- svnpenn 4y agoSeems like an interesting article, but I really distike some of the website choices here. Why is the first sentence, just the title repeated? Why do you have ads for five other articles mixed in with the content? The article is not that long, so that seems like way overkill.
- ghuntley 4y agoSome good feedback here! > Why is the first sentence, just the title repeated? An artefact of using Ghost defaults; I've moved the excerpt from the main article into the social media cards section to improve readability. > other articles mixed in with the content By referencing the other articles which are relevant to points made within the post becomes shorter. > The article is not that long The post is meant to be short because it's about a simple convention that I've adopted that has helped me. Maybe others will find value in the idea as well.
- apeace 4y agoI see what you’re going for, but I agree the article snippets are a poor design choice. I keep losing context while trying to read the article. The article blocks feel like section breaks, but they’re not. There are already links in the paragraph text, and those links are highlighted a different color. I can click on them to see the other article if I’m interested.
- niek_pas 4y agoI’m inclined to agree. At first, I wasn’t sure if those blocks were ads or other articles on your own website; they interrupt the reading experience in an unpleasant way.
- yesbabyyes 4y agoAnother hopefully helpful piece of feedback: "as per say" is incorrect. The correct spelling is Latin, "per se", meaning "in itself". It also doesn't make sense to preceed it with "as".
- tylersmith 4y agoFWIW I liked the way the other articles were linked. I opened most of them as I was reading and then went back to them after the main article.
- heretogetout 4y agoI'm reading it on a mobile browser and I strongly agree with apeace, the blocks interrupt the flow. Maybe it would be better if the images weren't in each block, or maybe if the images weren't the same size as the image above the article text. All told each block is more than half the height of my screen and each paragraph is a bit less than half the height so it feels like I'm reading the first paragraph of several distinct articles (like an RSS feed?).
- drvdevd 4y agoPretty cool. How is gitpod in Safari on iPadOS? Also are you adding in tailscale so that you can then reach the container from your iPad as well?
- weikju 4y agoPlenty of blog posts on the net talk about it, one of them is even linked to in the article, by the same author ;)
- skybrian 4y agoI guess this makes sense if you already know what Gitpod does? It seems to be some kind of shortcut for opening a terminal in a browser.
- rgoulter 4y agoTraditionally, I'd think of setting up my developer machine as spending a day or so to install all the programs I need to work on whatever projects. Services like GitPod are about serving a development environment remotely. The blogposts discusses dotfiles as a social thing. e.g. you should be able to fork someone's dotfiles repository as a good starting point for your dotfiles. The idea in the blogpost is a suggestion which combines this idea of sharing dotfiles, with the idea of being able to quickly spin up a developer environment.
- capableweb 4y agoBypassing the whole set of issues that "having a development environment remotely" introduced (isn't that just "testing" environment at that point by the way?), dotfiles are inherently personal configuration files, otherwise it's just application configuration, so not dotfiles anymore. Nothing wrong with sharing dotfiles, I do that plenty myself, both sharing and using parts from others, but it's on my own accord and system-wide, not project specific. Project-specific configuration is just that, project-specific configuration, and you would not call it dotfiles anymore.
- woojoo666 4y agoI found a good explanation on stackoverflow [1] by one of the co-founders. It let's you can spin up a newly provisioned dev environment from any github repository, so you can work from any client (like an iPad). Also by defining dev environments in code that can be deployed on-the-fly (aka infrastructure-as-code), that allows you to do things like share the code with others, who can "fork" your dev environment with their own customizations. This seems to be what OP's article is about. [1]: https://stackoverflow.com/a/63595356 https://stackoverflow.com/a/63595356
- deleted 4y ago[deleted]
- cal85 4y agoI’m confused. In what way is this like dotfiles? And how is it “for computers” more than dotfiles are already?
- rob_c 4y agoYou're right to be confused but the author is a certified iOS "developer" don't you know...
- mcv 4y agoYeah, very confusing title. I was wondering if "dotfiles" had a completely different meaning than the obvious one, but his link to it was exactly what I expected. I guess what he means is not so much the dotfiles themselves, but the customization and sharing of them, and not for computers, but for containers, and not dotfiles, but Docker configuration. But other than that I'm sure it's basically the same thing.
- popinman322 4y agoThey're likely referring to "storing your config data in a repo" as "dotfiles" here. It makes sense in that light: where backing up your config data makes life easier for you when you set up a new machine, this makes it easier whenever you'd like to demo new software by creating a mini-VM. This is just expedited sandboxing with web access built in. The two feel complementary; you'd likely still want your dotfiles included in the images you're spinning up.
- rektide 4y agoDotfiles are generally the set of preferences applied. Implicit though is also usually the set of tools installed. Generally I'd say the idea is to make one's environment semi-portable, something you can get, wherever you go. The idea here is to have, rather than a set of configurations you can deploy wherever you go, a factory that produces ready to go computers on demand. This post makes a lot of sense to me, & is a good exploration of what our environments are, & how they might be expanded & better able to serve, especially as we get better containerized systems. This approach is web based, and with nice integration work like Toolbx[1] I expect this sort of primed, ready-to-go, containerized development strategy being more popular. Having everything ready, but having it all still be "cattle" not "pets" allows for a lot more unchecked & wild experimentation during development. [1] https://containertoolbx.org/ https://containertoolbx.org/
- rob_c 4y agoOr, you know. Stop developing on broken by design platforms?
- michaelmior 4y agoWhat platforms are you referring to that are broken by design?
- perryizgr8 4y agoIpad, it is in TFA. Presumably it cannot run arbitrary software.
- michaelmior 4y agoI understand the author mentioned doing software development on an iPad, but it wasn't clear that was what you were referring to. Many (including myself) would disagree that it's broken by design. Depends on your use case.
- encryptluks2 4y agoHere I was hoping this was a new standard for configuring installs using like YAML or something. God, Microsoft, Apple, etc could really benefit from having a standard API for installs.
- Svoka 4y agoWhat is wrong with just adding a bookmark? I don't get it :(
- netsharc 4y ago> By taking lessons learned from the infrastructure-as-code movement and upgrading the dotfiles pattern into full blown Docker images then utilising products such as Gitpod to consume, build and execute the Dockerfile then I no longer need to worry about the security of my endpoint when playing with open-source software created by complete internet randoms. Bingo!
- tpoacher 4y agoNitpick: it's not "per say", it's "per se" (which is latin for the equivalent English phrase 'in [and of] itself').