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...
Identify chemicals with radio frequencies – Nuclear Quadrupole Resonance
Geospatial Deep Learning with TorchGeo
First Draft of a Report on the EDVAC (1945)
Re:Show HN: Spoonie – a Chrome extension to spoonerize any website
on Wednesday July 21, 2021 @04:39PM (#27911846)
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.
Show HN: Spoonie – a Chrome extension to spoonerize any website
The Humane Representation of Thought - Bret Victor (2014) [video]
N-Bref: a neural-based decompiler framework
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.
Show HN: Slowbug – Debug your code in slow-mo
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
Show HN: Pinrecall – a Chrome extension to rediscover your Pinboard bookmarks
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.