Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Laya the open source version of Jev(convaiinnovations.com ↗)
    80comments
  2. What Zig felt like, coming from Rust(besok.github.io ↗)
    45comments
  3. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    8comments
  4. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    372comments
  5. Tin: full-text search for Postgres(planetscale.com ↗)
    3comments
  6. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    166comments
  7. “The Secret Life of Circuits” is here(coredump.cx ↗)
    37comments
  8. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    6comments
  9. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    521comments
  10. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    7comments
  11. San Francisco Onion Futures Company(onionfutures.com ↗)
    94comments
  12. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    121comments
  13. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    174comments
  14. Learning Another Language May Be One of the Best Ways to Keep Your Brain Healthy(theconversation.com ↗)
    12comments
  15. Cloudflare Quick Tunnels(cloudflare.com ↗)
    299comments
  16. How to Write with an LLM(sockpuppet.org ↗)
    358comments
  17. Communication by means of modulated Johnson noise(pnas.org ↗)
    16comments
  18. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    23comments
  19. Saving another 100TB of RAM(cloudflare.com ↗)
    87comments
  20. SDCC – Small Device C Compiler(sourceforge.net ↗)
    22comments
  21. Science Is Open Software(jepedersen.dk ↗)
    47comments
  22. From Stonemasons to Carpenters(thelastsoftwareengineer.substack.com ↗)
    4comments
  23. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    44comments
  24. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    6comments
  25. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    119comments
  26. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    6comments
  27. NASA-IBM Lunar Foundation open-Source Geospatial AI Model(usra.edu ↗)
    5comments
  28. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    115comments
  29. OpenJev(openjev.com ↗)
    276comments
  30. Goroutine Leak Profiles(go.dev ↗)
    6comments

Ask Stack Overflow for Atom

165 pointsby 12y agoatom.io
37 comments
12y agoHN ↗

This might be an interesting idea for a vim plugin too, need to teach myself vim-script first...

12y agoHN ↗

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.

12y agoHN ↗

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!

12y agoHN ↗

Is s/o really for copypasta mining?

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

12y agoHN ↗

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.

12y agoHN ↗

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.

12y agoHN ↗

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.

12y agoHN ↗

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.

12y agoHN ↗

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.

12y agoHN ↗

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.

12y agoHN ↗

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.

12y agoHN ↗

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.

12y agoHN ↗

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.

12y agoHN ↗

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.

12y agoHN ↗

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.

12y agoHN ↗

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.

12y agoHN ↗

I'm used to heavyweight IDEs like Eclipse, so it's pretty snappy by my standards.

12y agoHN ↗

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.

12y agoHN ↗

If you are comfortable building from source it's already out. I've had it installed for a few months now

12y agoHN ↗

Is there a precompiled binary for windows somewhere? Why is it only available for Mac? I think this feature is very useful.

12y agoHN ↗

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.

12y agoHN ↗

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.