Hacker Newsnew | past | comments | ask | show | jobs | submit | johnpolacek's commentslogin

I've been doing the "big ass text file" approach forever. This is a nice alternative that doesn't try to do too much. Enjoying it so far! Going to give this a real go to use it to plan out my next project.


Oh wow, thanks so much! Let me know how it goes, happy to tweak any annoyances.


Cool! Old school no AI just good ol fashioned JS :)


This is great! Pretty similar to what I did in that you have actual links to the articles and even images. If you had a cron script that auto-generated new content every day, I think that would be the only thing that I'm doing that crackernews doesn't yet.

Another interesting choice is you are generating the article content itself. It is wild how you can get it to generate markup on the fly for different styles of posts.

For my project, I'm generating structured JSON with an [OpenAI Function](https://platform.openai.com/docs/api-reference/chat/create#c...) as I found even if you tell it the format you want in the prompt, it sometimes ignores it or doesn't match exactly. Then I'm uploading the JSON and images to S3.

I didn't realize you could get a DALLE image and drop it in your own directory with a oneliner like you have. Very nice!


> If you had a cron script that auto-generated new content every day

Thank you for the feedback! I thought about that initially, but turned out that generated jokes become a bit repetitive after a while and the project actually requires manual curation (for which I don't have the time). Or, it needs some source of "external entropy" which I haven't figured yet.

What is also interesting is the exact ways in which LLM humor becomes repetitive. I believe it could be a subject of study on its own, as it reveals something interesting about how human humor is structured.

P.S. For example, for some reason LLM really love all kinds of jokes about pirates, pizza, cheese and lost socks.


Yeah I found the same regarding repetition. I avoided that by seeding it with new data from NYTimes API each day.


Cool


I wanted to try out building a website that auto-generates its own content. So I did that https://github.com/johnpolacek/notyetnews


Thanks - yeah just having some fun over here!


Oops! Fixed now


Glad you found it useful and thanks for the feedback!


I created this as a tool for playing around with different font and color combinations then generating a theme object that meets the System UI Theme Specification for creating interoperable UI components (see system-ui.com). The idea is that you can quickly experiment, and then if you come up with something you like, you can take those style properties and use them to make your component libraries or with popular projects like Theme UI, Rebass, Primer, Chakra UI, etc.


Nice. Added it to my Chicago Tech Events calendar http://chicagotechevents.com


Just curious, why don't you enforce HTTPS yet?


Why not include the CJUG on the calendar?


Thanks!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: