Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    16comments
  2. San Francisco Onion Futures Company(onionfutures.com ↗)
    51comments
  3. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    5comments
  4. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    367comments
  5. Typesafe-computer-use drives a Mac toward a goal for 1/50th of a cent per step(github.com/awlevin ↗)
    20comments
  6. SDCC – Small Device C Compiler(sourceforge.net ↗)
    15comments
  7. Science Is Open Software(jepedersen.dk ↗)
    25comments
  8. Cloudflare Quick Tunnels(cloudflare.com ↗)
    274comments
  9. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    discuss
  10. NASA-IBM Lunar Foundation open-Source Geospatial AI Model(usra.edu ↗)
    1comments
  11. Saving another 100TB of RAM(cloudflare.com ↗)
    64comments
  12. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    24comments
  13. How to Write with an LLM(sockpuppet.org ↗)
    314comments
  14. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    76comments
  15. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    4comments
  16. Goroutine Leak Profiles(go.dev ↗)
    2comments
  17. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    90comments
  18. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    6comments
  19. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    85comments
  20. OpenJev(openjev.com ↗)
    257comments
  21. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    66comments
  22. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    12comments
  23. The Farnese letter(simonklee.dk ↗)
    6comments
  24. Xcode 27.1 Beta Release Notes(developer.apple.com ↗)
    95comments
  25. Minimal Phone 2(minimalcompany.com ↗)
    210comments
  26. Cyclomatic Complexity in C#(ndepend.com ↗)
    18comments
  27. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    97comments
  28. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    49comments
  29. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    222comments
  30. Alibaba open-sources AI model that can detect cancer and nearly 150 conditions(scmp.com ↗)
    13comments

Documenting your architecture: Wireshark, PlantUML and a REPL to glue them all

309 pointsby 9y agodanlebrero.com
25 comments
9y agoHN ↗

I definitely like the idea of using UML in a territory-to-map direction as opposed to the opposite.

9y agoHN ↗

'do what you document, document what you do' - will take whatever tools are available to help with that!

9y agoHN ↗

This analogy is taken straight out of “the 7 habits”?

9y agoHN ↗

Yes! I remember a long time being nonplussed by the saying "Don't mistake the map for the territory".

I thought who on earth would ever do that! Ridiculous!

But in fact, as I gained experience I found it was the norm, not the exception.

9y agoHN ↗

That reminds me of "UML as sketch" rather than "UML as blueprint" approach:

https://martinfowler.com/bliki/UmlAsSketch.html

However, I tend to find that if I'm drawing sketches I don't need anything as "formal" as UML

[NB I have a long standing loathing of obsessively detailed use of UML, fortunately for me most people seem to have given up on this approach.]

9y agoHN ↗

I like this idea.

I've used a similar method to explore differences between design and implementation for verticals, as those often have stringent requirements on how to process data and what data/algorithms can be used.

9y agoHN ↗

neat solution! but in most systems requests would be coming from all over the place, not a central one (the browser in this example, of all things :)

9y agoHN ↗

Having taken the bait of model driven OO architecture hook line and sinker circa 2000, and having followed the practice religiously to it's natural painful conclusion, it's nice to see someone find a truly novel and useful application for the UML sequence diagram.

It's nice to have an accurate picture of how the system works but it is folly to trust one before the fact.

9y agoHN ↗

I love the description of Wireshark being "venerable". It seems only last week it was called Ethereal and only last month when there was nothing really available to do packet capture and analysis that didn't cost a kidney.

Nowadays the pace of development is breathtaking. Judging by the change log there can be anything up to a few hours between commits:

https://code.wireshark.org/review/gitweb?p=wireshark.git;a=l...

9y agoHN ↗

> It seems only last week it was called Ethereal and only last month when there was nothing really available to do packet capture and analysis that didn't cost a kidney.

Ethereal was released in 1998, and changed the name to wireshark in 2006 or 2007. Doesn't feel like last week to me, but then again different people, so different perceptions.

9y agoHN ↗

Yeah, I've used wireshark for years. But maybe I was late in the game.

9y agoHN ↗

I love that they don't (appear to) use X11 on macOS anymore. What a pain in the butt it was to setup for a while there.

9y agoHN ↗

Old-Age-related Time Dilation aside, it really has been a long time since you needed to pay for packet sniffing. I haven't done so since Microsoft released their internal "Netmon" tool to the outside, I think around 1993.

9y agoHN ↗

There is really a missing piece in FOSS tools - the high level network analyzer focusing on flows, inferring causalities, tracking network identities on different protocol layers.

9y agoHN ↗

PlantUML is one of the best tools I've used for sequence diagrams. Really awesome stuff and there's a fantastic plugin for VSCode that gives you realtime preview.

9y agoHN ↗

So cool. So useful. Thank you Dan Lebrero!

9y agoHN ↗

Good idea. In the finance space, I did something similar to understand FIX message log files; there's a lot of back and forth among algorithmic trading engines, the GUI, and the stock exchange that can be confusing, and some visualization can help give the big picture before one delves into the multi-gigabyte log file.

I remember NewRelic had something similar to reverse-engineer cloud architecture, which I thought was an awesome idea, too, in this age of microservices. There should be a startup around that idea (minus having to use NewRelic) if there isn't one already.

9y agoHN ↗

AppDynamics does as well. It injects a bunch of headers into standard traffic (HTTP, JMS, JDBC) and then correlates it elsewhere.

It's great when it works. (We're 4 months into a support case where Hystrix causes AppD to completely lose it's mind).