4 ms·
It's a PoC for HN related to this submission: https://news.ycombinator.com/item?id=33127285 https://news.ycombinator.com/item?id=33127285 Basically I guessed t
by tomschwiha 4y ago
It's a PoC for HN related to this submission: https://news.ycombinator.com/item?id=33127285 https://news.ycombinator.com/item?id=33127285
Basically I guessed the id of the submission (HN has a global counter for each comment or submission).
- lgreiv 4y agoBack when image boards had their run, using this technique to get posts with „rare“ combinations of digits [1] (e.g. „dubs“) boasting about it in that very post was a popular pastime. Some folks even built serious analytics models around it to achieve a pretty good hit rate. I haven’t been around for about a decade, so I do not know whether it is still a thing. [1] https://knowyourmeme.com/memes/get https://knowyourmeme.com/memes/get
- forgotpwd16 4y ago>Basically I guessed the id of the submission That's... kinda of letdown. Was expecting a more intrigued approach but apparently HN is slow enough for guessing to work.
- tomschwiha 4y agoI 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 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.
- 8n4vidtmkvmk 4y agoyou can reference a YouTube video id in the video itself. that's much harder to do.
- varun_ch 4y agoHere's a short write up about doing this. https://varun.ch/video-id https://varun.ch/video-id :) 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.
- manfre 4y agoThis is one of the reasons I prefer uuids for any public facing IDs.