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

Analyzing stylistic similarity amongst authors

37 pointsby 11y agomarkallenthornton.com
5 comments
11y agoHN ↗

Very cool. I wonder why the author decided to use igraph within R instead of Python, as he was already using Python for the frequencies.

11y agoHN ↗

Hi - I'm the author. Glad you liked it! I'm afraid I had no particularly good reason for switching to R for the visualization other than that I'd used R for network graphs in the past so I already had code written.

11y agoHN ↗

I can understand that. I find it's easier to use igraph in R, especially if you're going to be doing visualizations. igraph is alright in IPython notebooks, but getting the visualizations to work is a bit of a pain, whereas it works out of the box in RStudio.

I don't even really like igraph for visualizations, though. It's great for graph algorithms like community detection, but for visualizations I'll usually jump into something interactive like visNetwork. Check out this slide, for example: http://nicolewhite.github.io/neo4j-presentations/RNeo4j/Visu...

11y agoHN ↗

Yeah, igraph's visualizations aren't perfect. I've explored using d3 a bit in some of my other work (e.g. http://markallenthornton.com/blog/price-of-flavor/). It's great for interactive graphs, but it starts to tax the browser pretty heavily for larger ones (though perhaps that's just my poor coding). Thanks for the visNetwork suggestion - I'll have to check that out!

11y agoHN ↗

This is very cool work! Some years ago, I was interested in text mining. I ended up playing with latent semantic analysis using Lucene etc. But that was a largely random choice, driven by the availability of open-source software and online discussion.

However, as cool as stylistic analysis is, I'm concerned about implications for online anonymity (which I consider valuable). But maybe the risk is limited by typical text length and false positive rate. I welcome suggestions for further reading.