Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Self-parking car using genetic algorithm (2021) (trekhleb.dev)
    3comments
  2. When did Google get so weird? (sancho.bearblog.dev)
    423comments
  3. Ember-1 (fireworks.ai)
    182comments
  4. Alan Kay's answer to “Did the ENIAC have a BIOS”? (quora.com)
    28comments
  5. Lunar Terminator Paradox (secretsauce.net)
    28comments
  6. The state of SIMD in Rust in 2026 (shnatsel.github.io)
    19comments
  7. There is more to code review than (automatable) detection (adaptivecapacitylabs.com)
    30comments
  8. Show HN: Lofi Cities – Pixel-art city nights with browser-generated lofi (loficities.com)
    77comments
  9. Don't couple your Go code to GitHub (iain.rocks)
    77comments
  10. Self-Hosting on the Dark Web (alvarezrosa.com)
    22comments
  11. What I did at Recurse Center (thill.me)
    18comments
  12. Guitar amp and effects pedal built on the Waveshare ESP32-S3-Touch-AMOLED-2.06 (github.com/dashersw)
    —discuss
  13. Imp is a full port of DSPy to the BEAM (github.com/deepfates)
    5comments
  14. Oral history of John Chowning, inventor of FM synthesis [video] (youtube.com)
    10comments
  15. In an $80 motel room, a discovery to shed light on the origins of life (nytimes.com)
    81comments
  16. Replacing the old battery on rechargeable bike lights (jvns.ca)
    73comments
  17. Previously unheard recordings of John Coltrane, captured by Frank Tiberi (jazzwise.com)
    19comments
  18. Have an LLC (zachholman.com)
    21comments
  19. Writing Efficient C++ Code (2013) (asawicki.info)
    82comments
  20. Research finds 485 chemicals in US pesticide products linked to breast cancer (theguardian.com)
    —discuss
  21. A New Experiment Meta-Strategy (chillphysicsenjoyer.substack.com)
    —discuss
  22. My Recent Woodworking Projects (notoriousbfg.com)
    14comments
  23. Flip Fluid on Flip Dots (mitxela.com)
    24comments
  24. Fragment of oldest known peace treaty found in Turkey (livescience.com)
    8comments
  25. Fakecloud: Local AWS cloud emulator for integration tests (fakecloud.dev)
    60comments
  26. The Cartesian Hand: In-Hand Manipulation with All-Linear Fingers (generalroboticslab.com)
    10comments
  27. S3 Is the Future, S3 Is the Past (btrblocks.com)
    44comments
  28. Video CDs Break Windows Explorer (clydesnotes.blogspot.com)
    36comments
  29. Every Household in This Rural Town Receives $10k If a Data Center Gets Built (wsj.com)
    5comments
  30. Faster prompt lookup drafting in llama.cpp (jadidbourbaki.github.io)
    11comments

Google suggest vi for Emacs and Emacs for vi

244 pointsby 5y agogoogle.com
81 comments
5y agoHN ↗

"Did you mean: vi"

That sounds like a "passive aggressive" post from /g/ haha!

There's also this https://twitter.com/xkcd/status/1333622758052388864/photo/1

Someone from google said search is just a kind of AI. I think some other people like to say AI is just a random number generator that's good at convincing people there's some intelligence.

5y agoHN ↗

There's something AI-like going on, it just happens to be significantly dumber than the old thing:

My "favorite" type of search problem is when I as a developer search for Angular mat-table and it shows me tables with mattresses on: Clearly something is going on in there but it is dumber than most dogs and to make matters worse - less obedient too (For 10 years Google couldn't get itself to accept when I asked for verbatim results, they just had to insert some absolutely irrelevant pages into the the top 10 results every time to waste my time. Now I have changed my defaults, DDG fails just as badly on this, but trying in Google is faster from DDG than the other way around and also it feels good.)

5y agoHN ↗

That's hilarious ! Reminds me of the « french military victories » query that suggested « french military defeats » (which, as a Frenchman myself, pissed me off in a funny way :p)

5y agoHN ↗

It's also funny how the way you recount the story is the way most people remember it. It is, in fact, not what happened!

What really happened was that someone created a web page that resembled the Google results – and included that suggestion. They managed to get that page to become the number one hit for the search term "french military victories". The idea was then that if someone hit "I'm feeling lucky", it would seem like Google suggested "french military defeats".

The page is still up, although the Google-like appearance is no longer very up to date: https://www.albinoblacksheep.com/text/victories.html

5y agoHN ↗

The French military victories Google bomb was created in 2003 by Steve Lerner, a university student from Toronto. Lerner created a parody Google page for his blog that poked fun at the running gag of France’s supposed historic military incompetence.

5y agoHN ↗

Lerner is a fairly common German/Jewish last name

5y agoHN ↗

Supposed?

The white flag was literally the national standard of France for a while.

https://en.wikipedia.org/wiki/White_flag#Ancien_R%C3%A9gime_...

France's second-greatest or third-greatest national hero literally sacrificed all the women and children to save himself (and failed to save himself, at that):

https://en.wikipedia.org/wiki/Battle_of_Alesia#Siege

Not to mention France's betrayal of Poland at the start of WWII (there was a mutual defense pact, which France satisificed trying to not annoy Germany):

https://en.wikipedia.org/wiki/World_War_II#War_breaks_out_in...

Failing to face Germany together, France then promptly got conquered itself, providing scant resistance even when attacked. It then collaborated with the Nazis.

Then there are the English raiding parties into France. Remember the Black Prince? Heh. France was way bigger, but way cowardlier. The "flower of European chivalry" was killed altogether by a bunch of poor peasants from England because it turned out the French knights had zero discipline.

The only time when France had its military act together was during the time of Napoleon. Otherwise, it had a modest success by bullying technologically-inferior places during the age of colonialism.

After two millennia of this sort of crap...

5y agoHN ↗

Some AI just want to watch the world burn.

5y agoHN ↗

No. A paperclip maximizer wants to make paperclips.

5y agoHN ↗

I knew about paperclip maximizers but had never seen this game. I just spent about 3 hours playing it. It was fun.

5y agoHN ↗

Clearly the issue is it should suggest vi for emacs and vi for vi :)

5y agoHN ↗

I'm still using classic vim. Should I move over?

5y agoHN ↗

I don't use it that often (I just open up another terminal), but you can also use ^Z to put vi in the background. It would be more useful if I didn't always forget and open up a new vi which would refuse to write to the file :)

5y agoHN ↗

I honestly do both. When I'm running something I want the output from (some to yank), I'll run in a buffer.

If doing file manipulation, CLI, etc. etc. I'll ctrl-z out.

I do the opposite of you pretty often too, always trying to `fg` a non-existent vim

5y agoHN ↗

Hmmm. I hadn't thought about being able to yank output from a command... That's a really good point. (Honestly I would probably use 'xsel -bi' and ':r !xsel -bo', but that's pretty ugly.)

5y agoHN ↗

Serious question: why not just open another terminal?

5y agoHN ↗

The integration is nice, it behaves as a normal buffer. So you can use all the standard modes and motions, splits, copy output to another buffer easier etc.

5y agoHN ↗

But modern terminals can do all that, with an editing mode that is tailored to terminal use rather than editing text.

Sorry I just don't understand why I'd want to use a text editor as my command line.

5y agoHN ↗

They can't though, a modern terminal cannot behave as a vim buffer. You can't have 25% of your terminal as a shell and the other 75% vim, they can't split like that. I'm not aware of any terminal that allows integration with vim registers or use vim motions.

5y agoHN ↗

You can use it as a normal buffer. Run command, switch to visual, go copy and paste. Way nicer than `:r !command`.

5y agoHN ↗

Not really. vi doesn’t have some very basic motions that are supported by (n)vim out of the box.

5y agoHN ↗

Absolutely not. Nor should anyone nod towards the bastard child of the two called spacemacs ... Emacs FTW :)

5y agoHN ↗

Of course not, because they nod towards SpaceVim

5y agoHN ↗

I guess this is manually set by some employee, but I wonder if such links might have been also created automatically for some topics.

5y agoHN ↗

Cheeky, google. What's next, type Windows and you suggest Linux?

5y agoHN ↗

Search: install windows 10

Did you mean: install gentoo

5y agoHN ↗

No, it's obviously Arch.

Gentoo users are busy doing other things and don't have time to push it into everybody.

5y agoHN ↗

I didn't want to put it that explicitly...

5y agoHN ↗

Also "erlich blachman" and "erlich bachman"

5y agoHN ↗

It works for me on Safari/iPhone perhaps it’s to do with the size of the window

5y agoHN ↗

Heh I saw this the other day and just assumed that easter egg had always been there.

5y agoHN ↗

I thought this was going to be a link to a technical article suggesting the merge of vim and emacs... Vimacs.

5y agoHN ↗

Search for "Star Trek"

Google: Did you mean "Star Wars"?

5y agoHN ↗

In the same vein, Wikipedia will disambiguate "The one with the whales" to Star Trek IV: The Voyage Home.

5y agoHN ↗

I miss the days when Google used to be whimsical and weird.

5y agoHN ↗

The Google organization is clearly sensitive to the role of online services play in promoting divisiveness, and doing something about it.

5y agoHN ↗

When I type "string", it returns commercials for g-string models. I love it because it makes me realize I'm living in in a small bubble.

5y agoHN ↗

If you think that's something try googling c-strings (not at work)

5y agoHN ↗

I got all the search results I expected: handling of strings in C, and a tiny bit of C++ thrown in. What do you get?

5y agoHN ↗

Haha! People accidentally leaking their porn search habits always makes for great internet humour.

I, too, get C-lang strings for "c strings" (with or without quotes) and C++, Java, the STRING bio database for just "string" or "strings".

5y agoHN ↗

I assure you it doesn't line up with my porn search habits. It came up one day when searching and now it doesn't seem to come up (unless I click on image search), who knows how googles algorithm works?

5y agoHN ↗

Try working with a library that prefixes all of its class definitions with T and defines its own string class. That was the day that I learned on a work computer that a TString may refer to a type of underwear and not just a library class.

5y agoHN ↗

ha; this says more about your search history than you think :-)

I get results for Java, Molecular Biology, String Instrument repair shops & a video by Shawn Mendes - Strings.

5y agoHN ↗

I get balls of literal string. I must not live a very exciting life :(

5y agoHN ↗

A friend was seeking information about StripX, a product for stripping insulation from wires. I heard him say, "Note to self - do not type 'strip x' into Google in a family environment."

5y agoHN ↗

I liked how if you go to vi the page has the following:

Did you mean emacs

A top ad placement for VI(trademarked) Vodafone and Idea which are now trademarked together! So exciting.

A top stories link - Vi (Vodafone) launches Rs 948 family postpaid plan with unlimited benefits: Check details The Indian Express·14 hours ago View all

Which is really great that I can keep up on all the news about Vodafone.

questions people ask about Vi, half of which are about editor and other half not.

at 100% zoom on my mac air I get half of the questions interestingly enough before I have to scroll down.

Wikipedia page about the editor

So I have to scroll down to see the first relevant hit, now of course it makes total sense that vi has other hits, also because in Danish it means we, but the dumb joke on the top makes it sort of silly, especially if I just followed from emacs to vi, because in that case I would think - huh, a vote for ranking results for text editor +10.

Maybe I'm just easily irritated right now.

5y agoHN ↗

Wikipedia page about the editor

So I have to scroll down to see the first relevant hit

FWIW this is the top result on DuckDuckGo and Searx, and on the latter most of the first screenful of results are about the editor (all if you count https://vi-editor.com/). Interestingly the first screenful of searx results all come from DDG (the next has many from reddit), but the pages are definitely different.

Edit: and on Startpage! So apparently your results may just be the result of Google trying to create a personalized filter bubble for you.

5y agoHN ↗

In US, behind a pi-hole, all results on the first page except one are directly vi-related. Not sure if this might have something to do with the fact that I've been searching spacemacs keybindings nonstop in the past 2 weeks.

5y agoHN ↗

This definitely has something to do with your (or my!) search bubble because the top link for `vi` for me is https://en.wikipedia.org/wiki/Vi, followed by "Basic vi Commands - Colorado State University" and "How to Use the vi Editor - University of Washington" (vim.org is the 4th link)

5y agoHN ↗

I don't normally use Google.

I search for 'vi' and all of my links are about the editor.

You experience is clearly customized for you.

This is why I don't normally use Google.

5y agoHN ↗

why is it whenever google customizes something for me they do such a bad job at it! what's wrong with me! /teary teen voice

5y agoHN ↗

I have to turn adblock off to see many of these. Strange.

5y agoHN ↗

"I love emacs. Extremely powerful. Just lacks a decent editor"