Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. I built non-autoregressive decision models with RL a year ago(convaiinnovations.com ↗)
    189comments
  2. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    586comments
  3. Btrfs/ZFS/bcachefs under workloads classic benchmarks skip(bartosz.fenski.pl ↗)
    18comments
  4. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    204comments
  5. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    88comments
  6. Tin: full-text search for Postgres(planetscale.com ↗)
    58comments
  7. Suzanne Ciani's Buchla Cookbook(echo.orpheusinstituut.be ↗)
    2comments
  8. Show HN: CUA-S1 – A System One Model for Computer Use(github.com/trycua ↗)
    discuss
  9. The Secret Life of Circuits(coredump.cx ↗)
    60comments
  10. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    606comments
  11. Supabase (YC S20) Is Hiring for OrioleDB(supabase.link ↗)
    discuss
  12. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    28comments
  13. New evidence for hidden chambers beyond Tutankhamun's tomb(nature.com ↗)
    17comments
  14. Almost Never Use AI to Write Anything Substantive(erichgrunewald.substack.com ↗)
    47comments
  15. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    149comments
  16. San Francisco Onion Futures Company(onionfutures.com ↗)
    136comments
  17. Cloudflare Quick Tunnels(cloudflare.com ↗)
    303comments
  18. How to Write with an LLM(sockpuppet.org ↗)
    367comments
  19. Adventures in Microcontroller Circuit Debugging(bigmessowires.com ↗)
    1comments
  20. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    219comments
  21. What Zig felt like, coming from Rust(besok.github.io ↗)
    158comments
  22. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    52comments
  23. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    30comments
  24. Saving another 100TB of RAM(cloudflare.com ↗)
    97comments
  25. Communication by means of modulated Johnson noise(pnas.org ↗)
    24comments
  26. SDCC – Small Device C Compiler(sourceforge.net ↗)
    28comments
  27. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    125comments
  28. Science Is Open Software(jepedersen.dk ↗)
    64comments
  29. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    133comments
  30. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    22comments

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.