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 ↗)
    303comments
  2. Science Is Open Software(jepedersen.dk ↗)
    10comments
  3. SDCC – Small Device C Compiler(sourceforge.net ↗)
    2comments
  4. Cloudflare Quick Tunnels(cloudflare.com ↗)
    259comments
  5. Saving another 100TB of RAM(cloudflare.com ↗)
    55comments
  6. How to Write with an LLM(sockpuppet.org ↗)
    289comments
  7. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    8comments
  8. Xcode 27.1 Beta Release Notes(developer.apple.com ↗)
    74comments
  9. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    62comments
  10. The Farnese letter(simonklee.dk ↗)
    5comments
  11. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    61comments
  12. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    79comments
  13. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    73comments
  14. OpenJev(openjev.com ↗)
    249comments
  15. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    12comments
  16. Show HN: LiveWorld – Every 24/7 YouTube live camera on one globe(liveworld.info ↗)
    22comments
  17. Goroutine Leak Profiles(go.dev ↗)
    discuss
  18. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    199comments
  19. Cyclomatic Complexity in C#(ndepend.com ↗)
    15comments
  20. Gemini hacked three companies in first known breakout by Google's AI(reuters.com ↗)
    27comments
  21. Minimal Phone 2(minimalcompany.com ↗)
    194comments
  22. LispBM is a concurrent Lisp for microcontrollers with message passing(lispbm.com ↗)
    1comments
  23. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    36comments
  24. Alibaba open-sources AI model that can detect cancer and nearly 150 conditions(scmp.com ↗)
    7comments
  25. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    210comments
  26. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    94comments
  27. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    49comments
  28. Two parallel neural ectoderm progenitors contribute to the developing brain(newscientist.com ↗)
    60comments
  29. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    20comments
  30. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    153comments

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