Better HN
topnewbestaskshowjobs
Log inSign up

forgotmypw17

6,577 karma · joined May 7, 2020 (6y ago) · 3,403 submissions

writing tools for collaborating with ai

https://railspike.dev/

https://zenmemes.com/

Submissions

comment 2w ago · link · parent

I recommend iterating on your prompts.

Prod your agent first until it can explain back to you what's wrong with the tests.

Then ask your agent to write a better prompt for writing tests (and save it to an .md file)

Then reference that .md file and iterate on the tests again. It may take a couple of tries, but I've had good results with this strategy.

Ended up with a whole prompting framework.

comment 2w ago · link · parent

So just to make sure I understand this correctly, if you follow all the above precautions, another browser extension could still nab your data?

comment 2w ago · link · parent

My intuition was yes, but research says otherwise. They have had their own vulnerabilities. Basically, anywhere anything interacts with site code, there's potential for vulnerabilities. It might be better, but the extensions still read HTML from the page, and... guess what can happen then?

comment 2w ago · link · parent

>The {mode: "open"} argument gives the page a way to break the encapsulation of your shadow DOM. If you don't want to give the page this ability, pass {mode: "closed"} instead, and then shadowRoot returns null.

>However, you should not consider this a strong security mechanism, because there are ways it can be evaded, for example by browser extensions running in the page. It's more of an indication that the page should not access the internals of your shadow DOM tree.

https://developer.mozilla.org/en-US/docs/Web/API/Web_compone...

This presentation talks about using window.find() and other methods:

https://speakerdeck.com/masatokinugawa/shadow-dom-and-securi...

comment 2w ago · link · parent

Thank you, I corrected my comment.

comment 2w ago · link · parent

Yes, with caveats. They could have UI that the websites couldn't access, but the fact that they interacted with website content could still expose them to attacks.

comment 2w ago · link · parent

Shadow DOM is not a security boundary, and can be bypassed.

comment 2w ago · link · parent

XUL extensions basically have full access to the entire browser's UI and internals, which allows for some very powerful extensions.

If this sounds appealing to you, you may be happy to know that XUL lives on as Unified XUL Platform (UXP) and is still supported by currently maintained browsers.

UXP: https://repo.palemoon.org/MoonchildProductions/UXP

Pale Moon: https://www.palemoon.org/

Basilisk: https://www.basilisk-browser.org/faq.html

SeaMonkey: https://www.seamonkey-project.org/

comment 2w ago · link · parent

For those checking (I still had the vulnerable version), you should be at these versions or higher:

uBlock Origin: 1.75.4

uBO Lite: 2026.1110.1816

10.

Show HN: What ZenMemes does that other spaces don't(zenmemes.com ↗)

1 points · by forgotmypw17 · 3w ago · discuss

comment 4w ago · link · parent

Yes, it's satire. There should be a button in the bottom left corner to make it all go away.

12.

Show HN: We made a new theme to increase engagement on our website(zenmemes.com ↗)

5 points · by forgotmypw17 · 4w ago · 4 comments

comment 1mo ago · link · parent

I think the moat is taste and polish. You can practically one-shot the first 80%, but the other 20% can take a long time, and the last 1% can be even longer.

If you want the basics, sure. If you want a well-polished app with no sharp edges, I think we're still not there yet.

comment 1mo ago · link · parent

>It's sort of weird in a world that has moved to an DevOps-style ethos for most development.

The world at large makes all sorts of trends, and that by itself doesn't make them smart. As a developer, you are likely to have blind spots when it comes to quality and reliability as a result of having written the code. Even a team of developers cross-testing each other's code will not have the same ability to find flaws (before they embarrass you in front of the customer/client/user) as a dedicated tester whose job it is solely to find new (and old) ways to break things (and document them.)

DevOps is a completely different thing (though they work together with testers.)

It is only weird to have dedicated QA on your team if you don't give a fuck about releasing shit with bugs in it for the user to bump into.

comment 1mo ago · link · parent

Any

comment 1mo ago · link · parent

Working pretty well for me.

comment 1mo ago · link · parent

Ah, I noticed this yesterday, figured it was just me.

comment 1mo ago · link · parent

While we're here, does anyone know a screen recording application that automatically takes into account display changes, audio device changes, camera resets, etc.?

I'm making do with OBS, but I lose more video to "plugged in external monitor and forgot to update OBS config" than I actually record.

comment 1mo ago · link · parent

Must be the first thing I've ever read on lesswrong in its entirety, let alone in one sitting.

Most similar thing I can think of is "The Metamorphosis of Prime Intellect". Metamorphosis of Prime Intellect is way better and more comprehensive, imo.

comment 1mo ago · link · parent

This is already a product: https://www.tasksmind.com/

(Disclosure: Not mine, but a friend's.)

comment 1mo ago · link · parent

Agree, we use OpenPGP.js in our web projects. It's great for combining it with server-side GnuPG.

It used to be more of a concern without TLS, but now it's reasonably secure to use.

We use it for the user sessions, allowing the client to own their session and identity.

The browser generates the keypair and signs each post and login challenge, so the private key never leaves the client. The server only stores the public key (as a plaintext file in git) and verifies signatures with GnuPG, which means there's no password hash in the database to leak, and the identity is just a fingerprint anyone can audit. Using two independent implementations (OpenPGP.js on the client, GnuPG on the server) is a nice bonus.

comment 1mo ago · link · parent

I have preferred not using a framework for a while, pre-LLM, because frameworks would introduce many new failure modes into my codebase, including: - bloat and assumptions I didn't ask for - constraints that I otherwise wouldn't encounter - failure modes related to the framework making breaking changes in updates

However, this basically meant implementing my own framework in a project. Which was fine.

I have now, over time, constructed a framework for agentic coding, because I found myself using the same prompting patterns...

comment 1mo ago · link · parent

OkCupid did it back in the day...

24.

Show HN: Railspike, a coding agent prompting system I've been using for 2 years(railspike.dev ↗)

2 points · by forgotmypw17 · 1mo ago · discuss

comment 1mo ago · link · parent

https://archive.is/msDIE

26.

Show HN: I build a newsreader-like alternative interface for my website(qdb.us ↗)

4 points · by forgotmypw17 · 2mo ago · discuss

comment 2mo ago · link · parent

Would you feel the same thing about "the need to mention it specifically" if they had mentioned their boyfriend?

Your phrasing reminded me of what casual mentions of a same-sex partners used to elicit, when heteronormativity was more prevalent.

comment 2mo ago · link · parent

Having done this for multiple sites, there's still a lot of friction and gotchas in the setup process, and it's also not guaranteed to not break/rot (e.g. have to renew the domain.)

You didn't use the word "just", but I still want to link this article:

https://alistapart.com/blog/post/the-most-dangerous-word-in-...

comment 2mo ago · link · parent

The biggest costs are not the money, but the work and cognitive load of the thousand cuts it takes to not only bring all of this up, but keep it running, not to mention migrating the content.

However/also, "only" $12 to some is a considerable amount of money to others.

12345
114