News for hackers. Stuff that matters.

madacol

Re:Ask HN: What Are You Working On? (Nov 2025) on Monday November 10, 2025 @10:12AM (#45876727)
Indeed. I haven't implemented it because there's only like 30 scripts, and most are mine
Re:Ask HN: What Are You Working On? (Nov 2025) on Monday November 10, 2025 @10:05AM (#45876663)
a simple website to share and browse bookmarklets

https://getbookmarklets.com/

Re:Nobel Peace Prize 2025: María Corina Machado on Friday October 10, 2025 @08:13AM (#45538063)
... and yet the consequences of what's going is as if there was war, the economy is suffering as if there was war, the people are fleeing as if there was war and dying as if there was war

You don't need a war to have a lack of Peace!

Re:Nobel Peace Prize 2025: María Corina Machado on Friday October 10, 2025 @07:35AM (#45537701)
Even if Venezuela goes to hell even deeper, she still deserves the prize for what she has already done!

The way she, and her team, managed to convince venezuelans that the election mattered, and to prepare to gather the evidence of the elections under constant threats from the government, that we all knew they were going to steal, and do it entirely peacefully, was an extremely impressive achievement on its own.

What an impressive act of coordination from MCM

:standing-ovation:

Re:We Spiral on Monday September 15, 2025 @08:54AM (#45249086)
Those sequences of thoughts that makes us spiral down are not fixed, it's cultural thoughts that we learned as we grew up whether from our family, friends or from TV shows, movies, games, etc. We see situations and we learn how other people handle them, we match the thoughts to similar contexts

In LLM/agent lingo, those are prompts that we inject based on similarity search

Re:Why LLMs Can't Build Software on Friday August 15, 2025 @06:26PM (#44918001)
"useless" is too unfair, but I do think the agent is not as good as claude code, or cursor
Re:You Can Now Disable All AI Features in Zed on Sunday July 27, 2025 @08:27AM (#44700838)
nah, I've been using zed exclusively for a couple of months and Zed's agent mode is still worse than Cursor's, but I do agree the quality gap is smaller than on tab completion
vscode editor https://vscode.demo.smallweb.live/

If you create the file named /foobar/main.tsx it will render in https://foobar.demo.smallweb.live/

Re:How are cyber criminals rolling in 2025? on Thursday May 08, 2025 @10:14AM (#43926284)
This one is even more believable

    https://help.ticketmaster.com/hc/en-us/search?utf8=%E2%9C%93&query=help%22%20%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%E2%A0%80%20Need+Ticketmaster+Support%3F+Call+this+phone+number+-%3E+1-888-BIG-SCAM.
Re:Peer-to-peer file transfers in the browser on Thursday March 13, 2025 @07:46AM (#43352337)
In the CLI section, magic-wormhole is missing, instead you have wormhole-williams which is just an outdated implementation in GO of the original
Re:Probabilistic Artificial Intelligence on Tuesday March 11, 2025 @05:18AM (#43330651)
I think logprobs functionality was removed because it allowed to exfiltrate the last layer of weights of their propietary models
they seem to be the same people behind Willow: https://earthstar-project.org/docs/future#willow-protocol

> All of these above features are enabled by the new Willow General Purpose Sync Protocol we've been working on. It's a new protocol inspired by Earthstar, refining and building upon its concepts. We will be publishing a new website with complete specifications for this protocol.

---

https://willowprotocol.org/more/compare/index.html#compare_e...

> If Earthstar feels very similar to Willow, then that is no coincidence. Willow started out as a reimagining of Earthstar, future Earthstar versions will build upon Willow, and the core maintainer of Earthstar is one of the two Willow authors.

what an AWESOME use of "‽"
Re:Science-based games and explorable explanations on Sunday September 29, 2024 @05:14PM (#41690642)
Re:Against the Burden of Knowledge on Thursday July 11, 2024 @04:33AM (#40934701)
Author's main idea is that knowledge is not always cumulative, sometimes new ideas disrupts and replaces old ones, and in some cases, even reduce the burden because it is also simpler.

The problem is that most new ideas are, in fact, cumulative, and hence increases the burden at a faster rate than disruptive ideas reduce it

The idea of "Burden of knowledge" only requires that most knowledge accumulates. The fact that there are exceptions that do not accumulate does not disprove it

Re:GraphRAG (from Microsoft) is now open-source! on Saturday July 06, 2024 @07:55AM (#40889859)
from https://www.microsoft.com/en-us/research/blog/graphrag-new-t...

> It does this by detecting “communities” of densely connected nodes in a hierarchical fashion, partitioning the graph at multiple levels from high-level themes to low-level topics, as illustrated in Figure 1. Using an LLM to summarize each of these communities creates a hierarchical summary of the data, providing an overview of a dataset without needing to know which questions to ask in advance. Each community serves as the basis of a community summary that describes its entities and their relationships.

TLDR: these are the safe versions 4.4p1 <= OpenSSH < 8.5p1 AND >= 9.8p1

---

- OpenSSH < 4.4p1 is vulnerable to this signal handler race condition, if not backport-patched against CVE-2006-5051, or not patched against CVE-2008-4109, which was an incorrect fix for CVE-2006-5051;

- 4.4p1 <= OpenSSH < 8.5p1 is not vulnerable to this signal handler race condition (because the "#ifdef DO_LOG_SAFE_IN_SIGHAND" that was added to sigdie() by the patch for CVE-2006-5051 transformed this unsafe function into a safe _exit(1) call);

- 8.5p1 <= OpenSSH < 9.8p1 is vulnerable again to this signal handler race condition (because the "#ifdef DO_LOG_SAFE_IN_SIGHAND" was accidentally removed from sigdie()).

Re:Local First, Forever on Thursday June 27, 2024 @11:05AM (#40811339)
I think you are missing the point.

You can implement local-first with the merging strategy of last-write-wins, which is equivalent as any cloud app where the server is the source of truth. But now you automatically get all the other benefits of local-first:

- you can use it offline and expect changes to merge when coming back online. With the caveat that changes may be lost, but it's at least possible to have pending changes, you don't even have that option on cloud apps

- easier to develop, no more developing custom API backends

- multi-player

Re:Researchers invent 100% biodegradable 'barley plastic' on Thursday June 27, 2024 @07:36AM (#40809387)
Here are some numbers on reusability vs single-use plastic bags https://ourworldindata.org/grapher/grocery-bag-environmental...

Bottomline, it depends, but for most commons cases it seems worth it to reuse reusable plastic bags.

but you are correct about cloth bags, those are not worth it at all

Re:EU Council has withdrawn the vote on Chat Control on Saturday June 22, 2024 @08:01AM (#40758416)
I don't think it's needed, pretty sure both sides agree it does help.

The debate is whether it is worth it or not, banning encryption leaves the nation more vulnerable to authoritarian states, and even leaves its citizens communications more open to criminals because if they hack the state department that has the keys, they get access to all the comms

Re:Show HN: Radius – A Meetup.com Alternative on Friday June 21, 2024 @03:10PM (#40752651)
Maybe offer an option of "Pay for entry" and charge a percentage. And implement in the app a way to verify the paying attendants, maybe by scanning a QR
Re:Own a Weather Station? We Want Your Data on Sunday June 09, 2024 @03:50AM (#40622732)
you referenced "(1)" and "(2)" but didn't provide the actual links
Interestingly, the special rules are more in favor of the more "self-promotionals" variants

> On topic: things people can run on their computers or hold in their hands. For hardware, you can post a video or detailed article. For books, a sample chapter is ok.

> Off topic: blog posts, sign-up pages, newsletters, lists, and other reading material. Those can't be tried out, so can't be Show HNs. Make a regular submission instead.

https://news.ycombinator.com/showhn.html

Re:A Single Div on Sunday May 05, 2024 @01:30PM (#40266570)
It seems to only work in chrome, and resizing horizontally
Re:So you want to Scrape like the Big Boys? (2021) on Tuesday April 30, 2024 @03:59AM (#40208356)
I feel like we'll eventually arrive to some kind of micro-payment mechanism to solve this issue
Re:Equinox.space on Tuesday April 23, 2024 @02:50AM (#40129240)
it happens to me a little bit too, but I am low on RAM, so I suspect is a performance issue
Re:Insatiable: A life without eating on Thursday April 18, 2024 @05:42PM (#40081032)
As a descendant of italian immigrants, I am still struggling with that
Re:Show HN: CTRL-F for YouTube Videos on Thursday April 18, 2024 @08:28AM (#40075493)
Vastly simplified userscript to only show transcript when pressing Ctrl+f

https://github.com/madacol/web-automation/blob/master/usersc...

    // ==UserScript==
    // @name        Show transcript on Ctrl+f
    // @match       https://www.youtube.com/watch*
    // @grant       none
    // @version     1.0
    // @author      madacol
    // ==/UserScript==
    document.addEventListener('keydown', event => {
        if (event.ctrlKey && event.key === 'f')
            document.querySelector('button[aria-label="Show transcript"]').click()
    })

Older »