9 ms·
There's a map for that
- rurounijones 13y agoWhatever you think of Github you gotta admit that they are machines when it comes to adding new features to the site, the pace is fast and steady.
- bitops 13y agoI am curious if anyone has any insight as to what GitHub's strategy is with this move? It seems that they are steadily tracking towards a browser-based cloud IDE. GitHub also seems to be a popular choice for devs hosting their blogs. I wonder if they're hoping to be a more all-round app hosting service?
- gkop 13y agoI wouldn't overthink it, it may have just been for fun, like something that came out of a hackathon or that an intern wanted to do.
- karussell 13y agoOr because of profit ala "powered by mapbox"
- cduser 13y agoI think that's what their move is. Having raised $100 million, they are in a spot where they can aim big.
- philfreo 13y agoI imagine their long term vision would be to allow better collaboration for all types of data-based projects (whether code, or geo data, or books). In the short term, any small project like this that makes GitHub a little cooler is fair game.
- spikels 13y agoI second the call for supporting books. There are already quite a few books being published on GitHub and it seems like an almost natural way to collaboratively write a book that could forever kept up to date. Not sure if anything has been done specifically to support writing a book on GitHub.
- gcr 13y agoI'm a grad student who writes lots of papers in LaTeX with collaborators. We use git most of the time, but git works most painlessly when you tweak it to ignore whitespace and to use word diffs. For example, let's say that my collaborator says "oh, I pushed a new diff" and now I'm curious what he added. Running: git pull && git log -p -w --color-words lets me see exactly which words he added/removed/changed ignoring the fact that he changed all my tabs to spaces in that commit. Also, if I have a conflict, it's also nicer to use a specialized tool to merge than relying on git's linewise merges. I imagine github could incorporate some of these tools too.
- spikels 13y agoThanks for the tip. I'm working on a short non-technical book so I'm hoping to do it in Markdown following the format of The Little MongoDb Book. That book is hosted on GitHub with the Markdown text output to PDF, mobi and ePub. Seems like the simplest way to get to a pretty nice looking book in the major formats. https://github.com/karlseguin/the-little-mongodb-book https://github.com/karlseguin/the-little-mongodb-book
- reledi 13y ago> I imagine github could incorporate some of these tools too. GitHub allows you to ignore whitespace in diffs by appending _?w=1_ to the URL [1]. They should make this more obvious with a button in the diff interface. [1] https://github.com/blog/967-github-secrets https://github.com/blog/967-github-secrets
- callmeed 13y agoThe recent Inc. article [1] about GitHub isn't really deep but the end has some insights: a shift is taking place: "Now we are finding that it's not just about the code; it's about, 'Hey, I want to work on this with you.' That's really eye-opening to us and gets everyone here superexcited. Working with someone else is just an awesome part of being alive. Creating art, creating tools, creating documents, doing homework, anything--it's not limited to programming. I don't see why musicians wouldn't want to work this way, for example." Take that, and now consider how much a forward-thinking city could do with its data as GitHub adds features like this. I don't think it's about being just an IDE/app hosting service ... it's (eventually) about collaboration/control/revisioning beyond purely software projects. [1] http://www.inc.com/magazine/201303/will-bourne/2-reasons-to-keep-an-eye-on-github.html http://www.inc.com/magazine/201303/will-bourne/2-reasons-to-...
- yitchelle 13y agoCan this be a vision that is totally disruptive, not now but but 5 (or 10) years in the future? It looks like GitHub is looking at allowing collaborations between knowledge domains. Within their blog post, it said "People are already using GitHub to store everything from Chicago zipcodes to community radio stations to historic hurricane paths, and we can't wait to see what the community will begin to collaborate on next." So I am guessing that GitHub is putting a few small services that folks could use with the collaborations. Mapping services is one of them, another could be public transport information services. I think it all depends on what kind of data are being held in GitHub. Now, if this collaboration idea is spun off to someone like to DropBox where there are truck loads of data in there, we could see some interesting things.
- fossuser 13y agoThis reminds me of trying to determine the scope of your company. I remember reading somewhere (probably here) that part of the reason the railroads failed to adapt to cars was because they thought of themselves as railroad companies instead of transportation companies. Maybe github is thinking of themselves as a collaborative work company rather than a collaborative coding company and trying to adapt to that.
- EthanHeilman 13y agoGithub is becoming, in addition to a place to share code/data, the commandline program between "cat data |" and someone else's eyes. cat gps_data.txt | github --pretty-maps > the world
- Fomite 13y agoI think its really expanding its collaborative focus as it moves from purely coding to "Projects with code". Code itself is (or should be) inherently readable. A great deal of data that code deals with, like GIS data, isn't.
- philjackson 13y agoI'd love to know where these ideas come from. All the way from the top? Product? Developers with a 20% time window? They've always been innovative and despite size/growth/scale seem to be able to keep that up.
- Oompa 13y agoIt's more organic than you think. Employees want to see something, so they sell others on and work on it themselves if they can. If they can sell others to help, eventually it can ship. If not, then it atrophies and gets killed before it makes it out to the public.
- hughes 13y agoI wouldn't be surprised if the request came from a user. I've seen a couple features get implemented after suggesting them via the contact form.
- holman 13y ago> Developers with a 20% time window? We like to call it 100% time. Work on what you're interested in. In this case, Ben — who handles a lot of our outreach to government agencies — knew that GeoJSON is something that could be a big deal for open data in government, so he built the feature. There's not much more to it than that.
- voltagex_ 13y agoCool. I wonder what the conversion workflow --> GeoJSON is like? KPX and CSV and XLS are common over at data.gov.au / data.act.gov.au
- saraid216 13y agoGeoJSON is an entirely different type of data. "columns" and "rows" aren't a useful way to think about it; you have to talk about points and closed polygons and their associated metadata instead.
- noelwelsh 13y agoI wonder about priorities when I read this. For example, how do I diff two commits via Github? There is a blog post describing this feature: https://github.com/blog/612-introducing-github-compare-view https://github.com/blog/612-introducing-github-compare-view However it seems the UI has changed, and the only way I could find to use it was to manually construct the URL. I'd love for someone to show me some obvious UI I've missed. Diffing is really fundamental for a VCS. I'd much rather Github cleaned up the UI for existing features than added these little flourishes that I can't imagine even 1% of users use.
- cobychapple 13y agoThe main way to get to the compare view is from the branches page: 1. View the branches page: https://github.com/github/markup/branches https://github.com/github/markup/branches 2. Click the "Compare" button next to a branch. 3. On the following page there’s a control at the top where you can change the comparison range to compare any branch, tag, or SHA with any other. Hope that helps!
- NoodleIncident 13y agoWhy not just do that locally? Github lets you see the diff for a single commit on their site. This makes sense, because you can use this information to take action on their site, by either approving or denying the pull request. The only use case for commit-commit diffs that I can think of, though, is if you plan on manually merging them and resolving conflicts, which you cannot do on Github (to my knowledge). There exist many graphical and command-line utilities that you can run on your machine, the same place you will be making those changes. To me, Github's two jobs are to host reposiitories, and to make it easy to find and view the repositories of others. They do both of these jobs very well, and this map plugin makes Github better at the second in at least some cases. Once it comes time to actually start changing things, though, I get off of Github, and work on the local copy I have with the tools on my machine. Replicating this functionality isn't, to me, what Github is for. As an aside, if there is a way to manually construct a url, there's a shortcut to getting Github to add it to the UI. A few months ago, someone made a JavaScript bookmarklet to add a search bar to any repository, since the UI for this functionality was so clunky. Because of its popularity, Github added a proper repository-specific search bar.
- buro9 13y agoI'm increasingly thinking that the biggest competitor we have isn't other forum software (who aren't innovating), but Github. Our startup ( http://microco.sm/ http://microco.sm/ ) is working on improving communities, which most people read as vBulletin, phpBB, Discourse... but my view is simply that if you have a group of people together around some interest (topic, locality, project) that they want to communicate, share, transact at every level. And that, the fragmented experience of going to Google Maps, Facebook Events or Eventbrite, Wikipedia, review sites, eBay, etc... just to bring the last 5% into a community... well that's frustrating and a poor user experience. Instead the first 60-80% of the functionality elsewhere should just be in the tool. Where the community already is. And we're starting with forums and going outward, in every direction (it feels). And here is github, starting with the code, and also heading outward, in every direction. I've a great deal of love for Github (as a dev, how could I not)... so I wish them well. They're solving things from a dev/work perspective, and we're aiming at consumers/users/hobbies/interests... but still, I've no doubt that we've a lot to learn from them, and when we're up to speed perhaps we can teach them a thing or two.
- kondro 13y agoWhilst I have no insider knowledge, I highly doubt GitHub has any desire to expand outside of the development community.
- jmduke 13y agoThey already have expanded outside of the development community. https://github.com/Chicago https://github.com/Chicago
- yellowbkpk 13y agoI suggested the City of Chicago use Github because it is the only place to put open data that both (a) allows contributions back to the dataset (pull requests) and (b) allows for community feedback (issues and comments). It's by no means ideal (the building footprints dataset is hidden behind a 2GB compressed JSON blob) but it's still useful and a step in the right direction. It's still aimed squarely at developers using the data, though. Asking a "normal citizen" to submit a pull request is still a pretty big ask.
- graue 13y agoHmm, on Firefox 23.0a2 I just see a white box with nothing there. Usually this means an addon is interfering somehow. But I turned off AdBlock, Ghostery, HTTPS Everywhere, Flashblock and Greasemonkey, which is basically everything, and reloaded, and still nothing. Anyone else? (Edit: All fixed, thanks Oompa!)
- Oompa 13y agoWoops! Small issue. Should be fixed now :)
- kmfrk 13y agoThe downside of this seems to be that it discourages users from using the superior format TopoJSON by Mike Bostock, as it outputs in plain .json: https://github.com/mbostock/topojson https://github.com/mbostock/topojson.
- buro9 13y agoGeoJSON is a feature of Leaflet: http://leafletjs.com/features.html http://leafletjs.com/features.html Leaflet is the library used by Mapbox. Pretty sure if you add a pull request to Leaflet with code for TopoJSON that Mapbox will get it too and then Github will have it.
- Caged 13y agoWe think TopoJSON is a fantastic format and some of us have usedit in recent projects. For example: https://github.com/caged/portland-census https://github.com/caged/portland-census
- dakimov 13y agoWow. Speaking of Leaflet.js, modern web-technologies are powerful and elegant. And GitHub is becoming a whole universe. What a wonderful service, idea, design, usability! I am really amused.
- state 13y agoI look forward to the day when git is the defacto way to collaborate, and I'm so happy to see that GitHub is leading the way forward. This kind of stuff is great!
- wallio 13y agoCool stuff - had not heard about the 3D rendering linked in the article either. These are not trivial features to implement or maintain and seem to have a somewhat narrow audience. GitHub has such an amazing team and the core functionality seems pretty complete. I wonder if the "ship code" ethic and loose management structure (both of which I think are great) will inevitably lead to a bloated, feature overloaded product eventually. This has happened so very often in the past to others. So far they have been pretty good at closing down unused features.
- kombine 13y agoWell they have a file system(git), now they add ways to interact with data, up until they create a fullblown operating system. Something that Google is already onto with ChromeOS.
- dergachev 13y agoI wish they would just make HTML previews work instead of hardcoding specific use cases with 3d models and geodata. Eg why can't github just let visitors preview this html file: https://gist.github.com/dergachev/5769111#file-index-html https://gist.github.com/dergachev/5769111#file-index-html For now, I have to link bl.ocks.org, which is nice but far from perfect. And check out http://htmlpreview.github.io http://htmlpreview.github.io (I understand that there are security concerns, but I'm sure they can be addressed with an iframe or by clicking an external link)
- jknz 13y agoA terrific feature would be to have the same in gist, embeddable everywhere. Want to show a place or some directions on your website/blog/... ? Just create a gist with geojson format and embed it on your blog, as programming blogs embed code gist right now. Congrats!
- monkmartinez 13y agoThis is really cool! However, I would be remiss to not mention that I would love for Github to focus more on Git. I have been using git for about two years, but I am far, far, far from being a git ninja. I suspect that I am not alone based on what I see at stackoverflow with questions tagged "git." What if they spent their time improving: 1. Github Pulls - Have you seen the hoops one needs to jump through to submit a single-commit pull request? One needs to be extra careful about the workflow. 2. Let me determine the Project/Repo language - How many repos do you have that are labeled Javascript when its really a Python, Ruby or something else Project? Not critical, but seems really silly that I have to wade into the src to determine something like base lang. 3. Make git, itself, more intuitive - Surely if they can add the crazy cool features they've added, making the management of git repos DEAD simple should be a priority. Look at the questions tagged with "git" on stackoverflow and see how many you could devine an answer from using github. 4. Git fast forward - Could github provide an way to see what is going to happen to a repo when issuing git commands? All these cool visualizations online and we have to experiment with git locally seems a bit odd. Free idea; Gitfiddle. See what your crazy ass commands will do to your repo before you spend the next 4 hours figuring out why you didn't want to do that. Ie. Find the merge base between your branch and master: ‘git merge-base master yourbranch’ Assuming you’ve already committed your changes, rebased your commit onto the merge base, then create a new branch: git rebase –onto <basecommit> HEAD~1 HEAD git checkout -b my-new-branch Checkout your ruggedisation branch, and remove the commit you just rebased: ‘git reset –hard HEAD~1′ Merge your new branch back into ruggedisation: ‘git merge my-new-branch’ Checkout master (‘git checkout master’), merge your new branch in (‘git merge my-new-branch’), and check it works when merged, then remove the merge (‘git reset –hard HEAD~1′). Push your new branch (‘git push origin my-new-branch’) and log a pull request. the above from: http://steveko.wordpress.com/2012/02/24/10-things-i-hate-about-git/ http://steveko.wordpress.com/2012/02/24/10-things-i-hate-abo...
- gkop 13y ago> Free idea; Gitfiddle. See what your crazy ass commands will do to your repo before you spend the next 4 hours figuring out why you didn't want to do that. It's really hard to screw things up that badly with git, you can nearly always go back using $ git reflog and $ git reset --hard .
- TeMPOraL 13y agoSince GitHub is starting to feel Emacs-like, why not go fully in this direction? Add a "dotfile" repository for everyone to manage their own client-side JavaScript extensions for Github that would be loaded by default. And then let people collaborate, share and create extensions and "configurations". Want a better map? Fork the official one and modify it. And then let others fork from you.
- cscheid 13y agoThis would make scripting attacks really hard to defend against. They could use something along the lines of Caja, but it's a really hard problem in general (and one they're worrying about, given the gh-pages move to a separate domain)
- mtodd 13y agoYou could achieve something like that using https://github.com/defunkt/dotjs https://github.com/defunkt/dotjs
- kh_hk 13y agoHmm, neat. I've added all the bike sharing networks I can think of to a repo[1], and for all you NY bike sharing lovers, there you go[2]. I don't think I will update it to work in 'real time' because it would not make much sense, but it was fun to play with. [1]: https://github.com/eskerda/cb-geojson/blob/master/networks.geojson https://github.com/eskerda/cb-geojson/blob/master/networks.g... [2]: https://github.com/eskerda/cb-geojson/blob/master/citibikenyc.geojson https://github.com/eskerda/cb-geojson/blob/master/citibikeny...
- kh_hk 13y agoEDIT: nevermind https://github.com/bikesharebot/bikesharestats/blob/master/citibikenyc.geojson https://github.com/bikesharebot/bikesharestats/blob/master/c...
- Oompa 13y agoThat's fucking sick. Nice work man.
- kh_hk 13y agoNice work on pulling this off! One could question, who would want maps on github? Sometimes one cannot know what something can be used to until being able to actually use it, that should be the whole point on technology.
- Oompa 13y agoA lot of folks from the GIS community. As mentioned in the blog post, people will already storing this data on GitHub, now it's simply presented in a nicer fashion :) And as you mentioned, sometimes just providing the tools empowers the community to do to do amazing things.
- saosebastiao 13y agoA little UI feedback if anybody from GitHub is listening: When you click and hold to move the map, and you scroll the mouse all the way off the map, the map acts like you are continuing to hold the mouse button down, even if you let go of the mouse button. When you return the mouse to the map, it acts like the button is still pressed and the map sticks to the pointer...for which you have to click again to get out. This is unexpected behavior, especially if you are trying to scroll through more than one screen with repetitive mouse drags. The map scrolling should maintain the same behavior of the mouse button hold even if you scroll off the map.