Hacker News

Java Jar File Viewer

Hacker News - Mon, 04/14/2025 - 3:13pm

Article URL: https://jar-viewer.fly.dev/

Comments URL: https://news.ycombinator.com/item?id=43685012

Points: 1

# Comments: 0

Categories: Hacker News

Ask HN: Slopsquat CVE?

Hacker News - Mon, 04/14/2025 - 2:07pm

This came up on conversation over the weekend and I thought I would reach out here and on social media. There is a theoretical way to weaponize slopsquatting, which is to create many (number to be determined) repositories on Github that use a loadable package that promises one thing but has a back door in it to enable an adversary to take control. By filling a pipeline of repositories, giving them "popularity" with a spambot army, one could "inject" into the CoPilot model that the package with the back door was a valid solution to some common coding "want." If the compromised package "worked" to the extent that it did what it said it does until someone asks it to do something different, it could conceivably migrate into non adversary controlled repositories and from there into the greater network.

So crazy talk or CVE? Hard to tell the difference these days.

Comments URL: https://news.ycombinator.com/item?id=43684332

Points: 1

# Comments: 0

Categories: Hacker News

Why is there no P2P streaming protocol like BitTorrent?

Hacker News - Mon, 04/14/2025 - 2:04pm

I've been wondering if anyone knows why there is no P2P protocol for mass live stream content in decent quality? specifically what are the technical limitations or is it mostly that people don't want to get destroyed by media company lawyers? I've searched around for a while and i cant find anything like that that can handle thousands of people streaming. The closest is probably Webrtc and that looks like it can only handle 500~ peers.

I was thinking most people nowaday have at least 30mbps upload and a 1080p stream only needs ~10mbps and 720p needs ~5ish. Also i think it wouldnt have to be live, people would definitely not mind some amount of lag. I was thinking the big O for packets propagating out in the network should be Log(N) since if a master is sharing the content then is connected to 10 slaves, then those connected to 10 other slaves and so on.

The other limitation I could think of is prioritizing who gets the packets first since there's a lot of people with 1gbs connections or >10mbps connections. Also deprioritizing leechers to keep it from degrading the stream.

Does anyone have knowledge on why it isn't a thing still though? it's super easy to find streams on websites but they're all 360p or barely load. I saw the original creator of bittorrent was creating something like this over 10 years ago and seems to be a dead project. Also this is ignoring the huge time commitment it would take to program something like this. I want to know if this is technically possible to have streams of lets say 100,000 people and why or why not.

Just some thoughts, thanks in advance!

Comments URL: https://news.ycombinator.com/item?id=43684286

Points: 1

# Comments: 1

Categories: Hacker News

Chat Jams

Hacker News - Mon, 04/14/2025 - 2:00pm

Article URL: https://www.chatjams.ai/

Comments URL: https://news.ycombinator.com/item?id=43684242

Points: 1

# Comments: 1

Categories: Hacker News

Pages