Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    280comments
  2. Science Is Open Software(jepedersen.dk ↗)
    6comments
  3. SDCC – Small Device C Compiler(sourceforge.net ↗)
    discuss
  4. Cloudflare Quick Tunnels(cloudflare.com ↗)
    258comments
  5. Saving another 100TB of RAM(cloudflare.com ↗)
    49comments
  6. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    1comments
  7. How to Write with an LLM(sockpuppet.org ↗)
    282comments
  8. Xcode 27.1 Beta Release Notes(developer.apple.com ↗)
    70comments
  9. The Farnese letter(simonklee.dk ↗)
    5comments
  10. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    58comments
  11. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    78comments
  12. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    66comments
  13. Show HN: LiveWorld – Every 24/7 YouTube live camera on one globe(liveworld.info ↗)
    14comments
  14. OpenJev(openjev.com ↗)
    248comments
  15. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    12comments
  16. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    61comments
  17. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    196comments
  18. LispBM is a concurrent Lisp for microcontrollers with message passing(lispbm.com ↗)
    1comments
  19. Cyclomatic Complexity in C#(ndepend.com ↗)
    15comments
  20. Minimal Phone 2(minimalcompany.com ↗)
    189comments
  21. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    32comments
  22. Two parallel neural ectoderm progenitors contribute to the developing brain(newscientist.com ↗)
    59comments
  23. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    93comments
  24. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    46comments
  25. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    209comments
  26. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    20comments
  27. Alibaba open-sources AI model that can detect cancer and nearly 150 conditions(scmp.com ↗)
    6comments
  28. Gemini hacked three companies in first known breakout by Google's AI(reuters.com ↗)
    8comments
  29. Column built an issuer processor from scratch(column.com ↗)
    6comments
  30. A search-and-inference database from scratch in pure Zig(antfly.io ↗)
    16comments

Show HN: Extension to highlight and tag users on Hacker News

70 pointsby 8y agogithub.com
38 comments
8y agoHN ↗

Very cool! I think it's especially great that this is a browser plugin instead of a separate website. It's great when developers make things as easy as possible on users. Nice job, I'll be giving it a try!

8y agoHN ↗

Agree! I am an app developer, and I like to think about how to make app developers jobs (and onboarding) easier, and the next thing I will write on that vein I think, already decided with the idea and design mostly formulated, will be a Chrome extension (for Pivotal Tracker users that also connect Bitbucket to a CI, to aid in merge request management)

This example is great, as it is open source and supports Firefox too. Maybe I'll do both browsers as well! This HN friends extension does most if not all of the primitive things that I will need to do, so I'm being sincere and I think it's a great publish.

8y agoHN ↗

Luckily, both Chrome and Firefox use the webextensions API, so supporting both is pretty simple.

8y agoHN ↗

Love it. Thanks. Even better if tag is visible btw.

8y agoHN ↗

Also I would personally prefer for the "tag" box to have a save button next to it. It wasn't clear to me whether it autosaves or if I was supposed to type the name before clicking "add friend". Could just be me though, but I would like this feature. Added this issue so that if people agree or disagree, they can vote on it through thumbs up/down in the Github interface: https://github.com/veggiedefender/hn-friends/issues/1

8y agoHN ↗

Funny, I just made something like this today (but more primitive), mostly so that I won't miss Walter Bright's comments.

    // ==UserScript==
    // @name     Hacker News VIP highlighter
    // @version  1
    // @grant    none
    // @match    https://news.ycombinator.com/*
    // ==/UserScript==

    function highlightVIPs() {
      'use strict';

      const VIPs = [
        "WalterBright"
      ];

      const userTags = Array.from(document.getElementsByClassName("hnuser"));

      userTags.forEach(tag => {
        const username = tag.href.split("=")[1];
        if (VIPs.includes(username)) {
          tag.style.fontWeight = 'bold';
        }
      });
    }

    highlightVIPs();

(I'm not much of a JavaScript programmer, but it seems to work.)

8y agoHN ↗

Probably won't see much speedup with one VIP? b^)

8y agoHN ↗

I currently have nine usernames in the array (removed all except Walter from the comment for brevity and privacy), but it's still a pretty small `n`. I don't know at what `n` the set becomes faster than the array, but I haven't noticed any performance impact from the script, and I can't be bothered even googling how to profile it in the browser.

8y agoHN ↗

To be fair, Walter is a pretty solid choice. He's a successful businessman and extremely technically smart. There are quite a handful of similar people on here, who are very successful and intelligent and whose comments are always well thought out and insightful. (I want to be one of them one day but my career is just budding, so only time will tell.)

It almost makes me think HN should have a related feature, where people can universally stand out, separate from the leaderboard (link at the bottom). But knowing HN's philosophy, I know this would be against the spirit of the humble-meritocracy they're trying to build, and would do more harm than good.

In fact, I even wonder if this HN-Friends extension is going to have an adverse affect on its users. Right now the usernames are (probably intentionally) understated, to draw more attention to the content than the author. If we notice the person, we already have a bias not only toward their comment, but to read their comment before anyone else's. This goes against the meritocracy that I love about HN. But I also wonder how many thread discussion I had where I missed the context of who is talking, and the direction could have gone so much differently because of it.

And even more importantly, I love and encourage this kind of innovation, and don't in any way want to discourage you or anyone from making clever things like this!

8y agoHN ↗

It's always fun to read a great comment and only then notice that it was Walter Bright who wrote it (and it often is).

8y agoHN ↗

What exactly is the b^) face? Smily staring cyclops? If it's an emotion, it escapes me.

8y agoHN ↗

Looks like a side profile, with glasses

8y agoHN ↗

That seems possible. I'm not so up on my smileys as I might be.

8y agoHN ↗

My right eye is missing and I wear an eyepatch.

8y agoHN ↗

His solution is fine -- the asymptotic complexity in this case doesn't matter since N is bounded and small.

8y agoHN ↗

Hashing sets add a large fixed cost that dominates for small n. IIRC the rule of thumb is that arrays are better up til around a dozen or two.

8y agoHN ↗

Would be neat if you could tag people with different colors, to indicate like/dislike, or to indicate the primary topic that you have encountered them talking about in the past.

8y agoHN ↗

I would think that would be generally harmful for the point of thoughtful discussion as you are essentially labeling a person from the get-go with a certain bias.

8y agoHN ↗

Works well when the labeled person writes thoughtful comments.

8y agoHN ↗

I think it could actually have the opposite effect — that someone you've tagged at one point as someone you disagree with later posts something that you agree with (or vice versa).

8y agoHN ↗

More pessimistically, it could make you disagree posts because they're made by someone you disagree with.

8y agoHN ↗

I'd like an extension to remove usernames entirely. I would rather my opinions about commentary be less biased, not more.

8y agoHN ↗

in that case, just add .hnuser to your ad-blocking rules.

8y agoHN ↗

You'd probably want them hashed instead (maybe with a salt based on toplevel thread ID) - while you may prefer to not know who are you reading, you probably want to know whether a series of comments are written by the same person.

8y agoHN ↗

This is super! I was able to understand how to use it right away, installed and upvoted. I don't know how much I will use it, but I have often noticed the same insightful people popping up in discussions I am interested in, and so I will get some value out of it, and I guess I love the logo, too.

8y agoHN ↗

Seems useful, does anyone know of a similar thing for Safari or as a userscript that works in Tampermonkey (across all browsers) or Stylish?

8y agoHN ↗

With Stylish or similar, you can do the username highlight like so:

a.hnuser[href*="id=dewey"] { background-color: orange !important; color: white !important; }

8y agoHN ↗

this is just like reddit RES that's pretty cool

I was meaning to write my own userscript / chrome extension to show a button if there's a reddit-thread with same URL trending in hackernews, so you can click and go to those comments. It would say how many comments there are, and pull up the one with the most upvotes/comments within a 6 month timespan.

Haven't gotten around to it yet unless someone else wants to make it

I made one for my favorite notetaking app though, that I use fairly often. I made a write up of things I learned to write it

http://vincentmtang.com/2018/06/29/adventures-in-writing-a-t...

8y agoHN ↗

I have noticed that sites like reddit and HN feel implicitly anonymous. it'd be interesting to see how this helps reduce some of that. I've been trying my own ways of improving how I interact with people on reddit, maybe I'll try this.