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 ↗)
    75comments
  2. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    41comments
  3. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    42comments
  4. San Francisco Onion Futures Company(onionfutures.com ↗)
    62comments
  5. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    404comments
  6. Apple M6 Pro Achieves the Highest Single-Core CPU Score in Geekbench 7(geekbench.com ↗)
    15comments
  7. Typesafe-computer-use drives a Mac toward a goal for 1/50th of a cent per step(github.com/awlevin ↗)
    43comments
  8. Cloudflare Quick Tunnels(cloudflare.com ↗)
    278comments
  9. SDCC – Small Device C Compiler(sourceforge.net ↗)
    17comments
  10. Science Is Open Software(jepedersen.dk ↗)
    36comments
  11. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    12comments
  12. How to Write with an LLM(sockpuppet.org ↗)
    324comments
  13. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    31comments
  14. Saving another 100TB of RAM(cloudflare.com ↗)
    70comments
  15. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    5comments
  16. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    85comments
  17. NASA-IBM Lunar Foundation open-Source Geospatial AI Model(usra.edu ↗)
    2comments
  18. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    104comments
  19. OpenJev(openjev.com ↗)
    262comments
  20. Goroutine Leak Profiles(go.dev ↗)
    2comments
  21. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    88comments
  22. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    69comments
  23. Minimal Phone 2(minimalcompany.com ↗)
    220comments
  24. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    12comments
  25. Veronese's Dogs(publicdomainreview.org ↗)
    discuss
  26. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    61comments
  27. Suppress vulnerabilities applying Kubernetes context to scans(github.com/alegrey91 ↗)
    1comments
  28. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    98comments
  29. Cyclomatic Complexity in C#(ndepend.com ↗)
    19comments
  30. Stepfun Step 5 Preview (LLM): On AA Pareto frontier(artificialanalysis.ai ↗)
    2comments

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).