News for hackers. Stuff that matters.
Re:Ask Stack Overflow for Atom by rjzzleep on Monday June 23, 2014 @10:06AM (#7931986)
i guess the vim, sublime, etc people that don't know it yet are gonna be happy, because it means that they'll find out about howdoi now:

https://github.com/gleitz/howdoi

    pip install howdoi
vim plugin: https://github.com/laurentgoudet/vim-howdoi

one of the emacs plugins: https://github.com/atykhonov/emacs-howdoi

one of the sublime plugins: https://github.com/azac/sublime-howdoi-direct-paste

Re:Ask Stack Overflow for Atom by Chris911 on Monday June 23, 2014 @11:33AM (#7932483)
howdoi uses Google to find results on Stack Overflow while I used the Stack Exchange API for this package. I'm a bit disappointed with the results returned by the API both sorted by relevance and by votes. Down the road I'd like to merge the results from Google and the API to get the best set of answers.
Re:Ask Stack Overflow for Atom by fidlefodl on Monday June 23, 2014 @11:40AM (#7932520)
Love the links, ty!
Re:Ask Stack Overflow for Atom by thegeomaster on Monday June 23, 2014 @10:10AM (#7932009)
I think this is less useful than it looks like.

When editing code, I'm not browsing StackOverflow or switching to StackOverflow so much that the actual Alt+Tab-ing to the browser window is the bottleneck. And when I do Alt+Tab to the browser window, I usually search Google for what I want to achieve, and yes, most of the times I end up on StackOverflow, but sometimes other sites, most notably Wikipedia, can help me better. Periods when I'm on StackOverflow are more of a small research session within a development session. Quick look-ups constitute a smaller fraction of my Google searches, especially when I work in an environment/language I have grokked.

Pasting from the answers I see even less useful. What was the last time you actually pasted verbatim a code snippet from a StackOverflow answer? In 95% of the cases, I read the answer to get an idea and then implement it appropriately in my code. Such copy/paste solutions are most often just hackjobs full of kludges that are worth marginally more than a pile of dog shit.

Re:Ask Stack Overflow for Atom by Achshar on Monday June 23, 2014 @11:14AM (#7932373)
> I'm not browsing StackOverflow or switching to StackOverflow so much that the actual Alt+Tab-ing to the browser window is the bottleneck.

Ever used multiple monitors? I used to have the exact same issue but multiple monitors save so much minimize maximize time.

Re:Ask Stack Overflow for Atom by thegeomaster on Monday June 23, 2014 @11:28AM (#7932452)
Perhaps my wording wasn't clear enough—I was actually saying that minimize-maximize time wasn't a bottleneck in my case because I don't switch so much.

But I agree with you, multiple monitors would help tremendously. Even more so when doing some web development work, when changes can be immediately previewed.

Re:Ask Stack Overflow for Atom by nmjohn on Monday June 23, 2014 @03:18PM (#7933919)
It depends what language I'm working with. Is it one I've used for years? My questions tend to be much more abstract and structure oriented, and I rarely copy anything verbatim.

However if it is something I have less experience with, or just starting to learn, most of my queries I am concerned with the exact details and end up copying verbatim more frequently.

Re:Ask Stack Overflow for Atom by Dolimiter on Monday June 23, 2014 @10:13AM (#7932027)
Genuine question.

Are people actually using Atom in production projects? I found it unusably slow because it's browser-based; a generation behind Sublime Text in speed.

Re:Ask Stack Overflow for Atom by evilduck on Tuesday June 24, 2014 @12:18AM (#7936171)
I use it pretty interchangeably with ST3 since most of the keybindings are the same. For Rails, JS and general web work, it's pretty nice. The Atom Linter plugin is nicer than at the Sublime linters I've tried. I've been on it from day one and have encountered a number of bugs, but I do prefer its settings pane and ability to reskin the entire ui easily, the ability to quickly tweak themes and plugins with just html, css and JS and the fairly quick pace of development. I like that they're curating an official package manager with an update UI and an official repo instead of it being 3rd party bolted on functionality. Remapping keys is easier and profiling a slow/problem plugin is doable without resorting to trial and error.

I do wish there was a good way to resize split panes though. And the file size limit sucks when wanting to view logs. Their vim mode is still not emersive (my only comparison are evil-mode, which does a damn fine job, and ST Vintage mode, which is... ok).

It's still new, I'm willing to forgive growing pains and I think it could easily overtake ST eventually, given that it's fully open source, is making faster progress, is free, and offers a whole lot of feature parity. Speed has never really been a problem for me and my codebases, but i can imagine that the web stack its built on could be a source of problems in some scenarios.

Re:Ask Stack Overflow for Atom by oleyb on Monday June 23, 2014 @11:35AM (#7932488)
I used it a month or two ago and found it unusably slow but recently gave it another shot after they released an update and now it's pretty much on par with Sublime on my system. It might be worth you giving it another go.
Re:Ask Stack Overflow for Atom by jbrooksuk on Monday June 23, 2014 @10:21AM (#7932071)
I set myself a target to use it for a day, but it slowed me down far too much and I ditched it within three hours. I'm going to try again when there is more stability and speed.
Re:Ask Stack Overflow for Atom by BinaryIdiot on Monday June 23, 2014 @10:29AM (#7932109)
I am. I was heavily using Sublime but switched over for a trial period to see if I liked it. Overall I'm quite happy with it; it's incredibly snappy for me (almost as snappy as Sublime) but it's start-up time is a bit slower.

So for now I'll probably keep using it but on some larger files it can become slower much quicker than Sublime or others. Fortunately I practically never work with large files so it's not that big of a deal.

Re:Ask Stack Overflow for Atom by ulisesrmzroche on Monday June 23, 2014 @11:27AM (#7932444)
I switched to Sublime from Vim because it looked prettier, but Atom looks better out the box. Also, Sublime barely moves on my 09 tiny macbook air, while Atom performs well.

On the 2014 iMac, slowdowns on big files I barely noticed, what I don't like is that if you have the editor open forever, it starts moaning like a dying whale, regardless of the beefiness of your rig.

Re:Ask Stack Overflow for Atom by mbillie1 on Monday June 23, 2014 @12:04PM (#7932670)
>I switched to Sublime from Vim because it looked prettier

I find this to be a very curious reason to switch from Vim... were you a very experienced Vim user? Ever give MacVim a shot for the different color schemes? Don't get me wrong, I like my editor to look nice also, but Sublime isn't exactly a prettier version of Vim - they have very different strengths and weaknesses.

Re:Ask Stack Overflow for Atom by ulisesrmzroche on Wednesday June 25, 2014 @12:08AM (#7942190)
Yeah, about 5 years or so. I'm using the vim plugins for both atom and sublime. I liked the minimap, and the default font. More importantly, it was hard for teamates to get used to when doing pair programming.

Also, it's not really that different, save for the modal editing stuff. Anything else there is either a plugin, or a clone, or better stuff.

Re:Ask Stack Overflow for Atom by JoelHobson on Monday June 23, 2014 @10:42PM (#7935942)
I'm used to heavyweight IDEs like Eclipse, so it's pretty snappy by my standards.
Re:Ask Stack Overflow for Atom by dgabriel on Monday June 23, 2014 @10:00AM (#7931944)
This is really neat, and it will probably be very useful to some people, but it sets off some very loud warning bells in my head. Is s/o really for copypasta mining? Sometimes, I guess... but still.
Re:Ask Stack Overflow for Atom by Timmmmmm on Monday June 23, 2014 @11:05AM (#7932324)
I agree. I mean, I can see it being useful for things that you "know" how to do but just forgot the syntax... But the chances that a random javascript snippet on SO are right seems pretty damn low to me!
Re:Ask Stack Overflow for Atom by notJim on Monday June 23, 2014 @01:43PM (#7933267)
> Is s/o really for copypasta mining?

Based on the questions there, it's primarily for that.

Re:Ask Stack Overflow for Atom by jpollock on Monday June 23, 2014 @12:18PM (#7932749)
Watch out for the license. The source appears to be licensed under CC-BY-SA, which at the very least requires attribution, and might be GPL3-style viral.

http://meta.stackexchange.com/questions/12527/do-i-have-to-w... http://blog.stackoverflow.com/2009/06/attribution-required/ http://creativecommons.org/licenses/by-sa/2.5/

Re:Ask Stack Overflow for Atom by mariusmg on Monday June 23, 2014 @10:47AM (#7932214)
Re:Ask Stack Overflow for Atom by shekhar101 on Monday June 23, 2014 @11:56AM (#7932622)
This is neat. I use a similar tool on VS 2013 [0]. MS launched it very recently. It's called Bing code search. Pretty nifty, Although it's lot advanced but I hope tools like this grow to be better and comparable to this one. Anyone using vs 2013, do check this out.

[0] http://visualstudiogallery.msdn.microsoft.com/a1166718-a2d9-...

Re:Ask Stack Overflow for Atom by fermiz on Monday June 23, 2014 @01:00PM (#7933023)
Personally, I am shocked that everyone applaudes such a thing on HackerNews. Is that what programming means nowadays ? Copy-pasting random code snippets from StackOverflow, gluing them with other code snippets found elsewhere and hoping that it compiles. Anyway, OP seems to have done a good job; he has identified what modern programming means and provided an excellent tool to increase today programmers productivity. Excellent ... and hopeless.
Re:Ask Stack Overflow for Atom by CmonDev on Monday June 23, 2014 @11:58AM (#7932632)
Re:Ask Stack Overflow for Atom by drtse4 on Monday June 23, 2014 @09:56AM (#7931922)
Copy-Paste, evolved.
Re:Ask Stack Overflow for Atom by surganov on Monday June 23, 2014 @11:33AM (#7932477)
Dash App also have an offline Stack Overflow access (20gb): http://blog.kapeli.com/offline-stack-overflow (great for developing on the airplane)
Re:Ask Stack Overflow for Atom by aniketpant on Monday June 23, 2014 @10:54PM (#7935985)
I see it is a pretty useless package because switching to Stack Overflow once in a while isn't a big productivity hit for me. I would prefer not having anything except my project code on my window.
Re:Ask Stack Overflow for Atom by vxNsr on Monday June 23, 2014 @02:31PM (#7933562)
seems to be done atm.

here's a cached version: http://webcache.googleusercontent.com/search?q=cache:https:/...

Re:Ask Stack Overflow for Atom by hemmer on Monday June 23, 2014 @09:59AM (#7931938)
This might be an interesting idea for a vim plugin too, need to teach myself vim-script first...
Re:Ask Stack Overflow for Atom by pizza on Monday June 23, 2014 @11:07PM (#7936010)
plagiarism y/n?
Re:Ask Stack Overflow for Atom by notastartup on Monday June 23, 2014 @10:38AM (#7932167)
Is there a precompiled binary for windows somewhere? Why is it only available for Mac? I think this feature is very useful.
Re:Ask Stack Overflow for Atom by Notre1 on Monday June 23, 2014 @10:47AM (#7932212)
You can install it via Chocolatey. If you already have Chocolatey installed, then just run:

  C:\> cinst Atom
http://chocolatey.org/packages/Atom
Re:Ask Stack Overflow for Atom by notastartup on Monday June 23, 2014 @12:23PM (#7932774)
that is super nice.
Re:Ask Stack Overflow for Atom by someguy1233 on Monday June 23, 2014 @10:52AM (#7932240)
You can use my builds, http://atom.someguy123.com

They're well tested by a lot of people, and I offer both stable and unstable releases

Re:Ask Stack Overflow for Atom by mrwnmonm on Monday June 23, 2014 @10:22AM (#7932072)
github, we want atom on linux
Re:Ask Stack Overflow for Atom by reubensutton on Monday June 23, 2014 @10:28AM (#7932103)
You can compile it for Linux now that it is open-source, I believe people have made binaries too, e.g: http://www.webupd8.org/2014/05/install-atom-text-editor-in-u...
Re:Ask Stack Overflow for Atom by andyhmltn on Monday June 23, 2014 @11:09AM (#7932344)
If you are comfortable building from source it's already out. I've had it installed for a few months now