https://news.ycombinator.com/item?id=33130986 # Hacker News new | past | comments | ask | show | jobs | login submit Self Referencing HN Submission (news.ycombinator.com) 31 points by tomschwiha 13 hours ago | hide | past | favorite | 9 comments [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [add comment] jez 5 hours ago | next [-] See also this HN post from 2012: https://news.ycombinator.com/item?id=3742902 * "Show HN: This up votes itself" (At the time, this was either the most or second-most upvoted post ever, and stayed that way for a long time.) reply capableweb 6 hours ago | prev | next [-] Had the same idea yesterday (see my failed attempts at https:// news.ycombinator.com/submitted?id=capableweb, unable to delete them after a few tries) but both the website + API were too slow * to update for me to be able to guess the right idea. When the website showed that one ID existed, there were already multiple ones created afterwards... Any clues to how you did this? reply tomschwiha 5 hours ago | parent | next [-] I was basically just checking the latest ids (you can estimate it based on the /newest submissions and then increase until you hit the "No such item."-response. [s] In my case I guess I was lucky that there was not much traffic. However I was on mobile when I started observing the ids but finally switched to PC as I felt on PC I can react much quicker. reply forgotpwd16 8 hours ago | prev [-] * What's this wizardry? reply tomschwiha 7 hours ago | parent [-] It's a PoC for HN related to this submission: https:// news.ycombinator.com/item?id=33127285 [s] Basically I guessed the id of the submission (HN has a global counter for each comment or submission). reply forgotpwd16 6 hours ago | root | parent [-] >Basically I guessed the id of the submission [s] That's... kinda of letdown. Was expecting a more intrigued approach but apparently HN is slow enough for guessing to work. reply tomschwiha 5 hours ago | root | parent | next [-] I actually was first thinking about writing a small script to check if an ID is in use and then auto create a submission.. however I first checked how often the ids actually change.. and [s] in the moment I checked it was about one new comment/submission every 30 seconds. I guess an timezone advantage .. when there is more traffic I guess the automation would win. reply 8n4vidtmkvmk 3 hours ago | root | parent | prev [-] [s] you can reference a YouTube video id in the video itself. that's much harder to do. reply varun_ch 1 hour ago | root | parent [-] Here's a short write up about doing this. https://varun.ch/ video-id :) [s] It works because there are two requests associated with creating a YouTube video. First, the metadata is sent (file size, video title, etc.) and it returns a video ID. Then the actual video content is sent. I cancelled the upload request and replaced the video with a new one I rendered quickly. reply * Applications are open for YC Winter 2023 Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact Search: [ ]