News for hackers. Stuff that matters.

srimukh

Re:Show HN: HN comments sidebar bookmarklet on Sunday June 25, 2023 @03:43AM (#36465861)
I took the advice and updated the code to generate DOM nodes instead of setting HTML directly - it should decrease the risk of XSS
Re:Show HN: HN comments sidebar bookmarklet on Saturday June 24, 2023 @07:14PM (#36463557)
Thanks! For now, I added a warning under the gist. Not that this is an excuse, but I put this together in about 30 minutes using GPT-4 for fun without much consideration about robustness or security. I will maybe try to rewrite it when I find time.
Re:Show HN: HN comments sidebar bookmarklet on Saturday June 24, 2023 @06:50PM (#36463360)
Thank you for spotting this! I updated the code to escape some special characters.

For people reading this, the parent comment is referring to this line[1] from a previous revision of the gist.

[1]: https://gist.github.com/postmalloc/e2602752d46c5b9dee2446235...

Re:Show HN: HN comments sidebar bookmarklet on Saturday June 24, 2023 @05:26PM (#36462787)
Thanks! That’s even better — although I think you’d need to create an extension out of this to be able to do that.

Ask HN: How do you feel about AI-generated writing?

I wanted to get your perspective on AI-generated writing. If I were to come across a blog post here that I found interesting but later discovered that it was generated by AI, I would feel a bit off about it.However, if the post contained all the valid and relevant points, does it really matter if it was written by a machine or a human? Is the authenticity of human writing always necessary, or...

( Read More... | no comments | on HN )
I honestly did not know spoonerisms were a speech impediment. In fact, I only learnt of them recently when I discovered Nacker Hews[1] here on HN, and thought it was quite humorous. I am sorry to have hurt you in any way. I should definitely research more next time.

[1] http://www.nackerhews.com/

Re:Ask HN: What are you working on? on Friday January 15, 2021 @10:09AM (#25791793)
Made a VS Code extension called Slowbug that lets you debug the code by running it slowly.

https://github.com/postmalloc/slowbug

Re:Craft – A fresh take on documents on Friday December 25, 2020 @01:24AM (#25534686)
The interface reminds me of Andy Matuschak's notes https://notes.andymatuschak.org/About_these_notes
Re:Politics Is the Mind-Killer (2007) on Saturday July 25, 2020 @02:14PM (#23951258)
I'm guessing this post is making rounds because George Hotz asked people to read it on one of his Twitch streams yesterday.