News for hackers. Stuff that matters.
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by docker_up on Sunday March 17, 2019 @12:43PM (#19414893)
I love Kanye West. I think you need brazen, arrogant fearless artists that think and say preposterous things in order to move the thinking of a society for the better or for the worse. He has a dozen songs that I simply love that are older but still on my playlists, and I love that he immerses himself in creativity.

Sure, he can be a colossal ass sometimes, but I still think he's an important part of our societal ecosystem. We need people like him in our pop culture just like we need Stephen Hawking, Maya Angelou, Muhammed Ali, etc.

Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by pkaler on Sunday March 17, 2019 @02:15PM (#19415390)
I fire up either Kanye West or Jay-Z whenever I have that feeling in the pit of my stomach before doing a difficult thing. Sometimes you just need a little bit of brazen, bombast to get started.

Added to my .zshrc:

  curl -s 'https://api.kanye.rest' | jq '.quote'
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by stochastic_monk on Sunday March 17, 2019 @01:01PM (#19414977)
I think it’s less that our society needs him than that he is the unavoidable product of today’s society.

Hari Seldon would have foreseen him.

Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by Waterluvian on Sunday March 17, 2019 @02:54PM (#19415665)
I think I agree but in a slightly different way. I see people like Kanye as the random noise added to a function to avoid getting stuck in a valley.

He just kind of vomits thoughts into the world and some of them get you thinking.

Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by tomc1985 on Sunday March 17, 2019 @02:00PM (#19415318)
It makes me sad that so many people let his ego run rampant. If anyone is in need of ego death it is him
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by fineIllregister on Sunday March 17, 2019 @03:36PM (#19416005)
If you listen to Kanye's music, he is highly self-critical and introspective at many times. I think this is a type of fearlessness, specifically the ability to be so publicly vulnerable (though I don't know if that's what GP had in mind).

Kanye's public image is reflective more of the pressures of his industry and how our celebrity culture depicts famous artists. However I think it goes beyond that to broader social and economic factors. Consider how many conversations there are on HN about dealing with imposter syndrome; if you compare Kanye's media portrayal and his music, I think there are strong parallels many people here could identify with.

Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by imperialdrive on Sunday March 17, 2019 @03:56PM (#19416154)
I suppose that works, except then you could say the same thing about the US president. They are friends too no?
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by beardog on Sunday March 17, 2019 @12:51PM (#19414930)
Remember when someone created a joke kanye cryptocurrency and then his lawyers threatened to sue?

https://en.wikipedia.org/wiki/Coinye

Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by ajzbc on Sunday March 17, 2019 @01:03PM (#19414988)
Hopefully he never finds this :)
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by bencollier49 on Sunday March 17, 2019 @01:54PM (#19415275)
Excellent. I guess I ought to use this post to plug the Command Riker as a Service (CRaaS?) which I put together a while back, which operates in a similar vein.

http://www.bencollier.info/fun/programming/python/2016/01/09...

I suppose someone should put together a directory of these things at some point. Give it twenty years and we'll have a full universe of personality imprints (a la the McCoy Pauley) talking to each other over REST.

Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by mitchtbaum on Sunday March 17, 2019 @01:55PM (#19415285)
"Don't HATEOAS the player. HATEOAS the game."

- Kanye dot REST

Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by sergiotapia on Sunday March 17, 2019 @01:37PM (#19415184)
This is awesome now I can build my Kanye as a Service company and pursue my seed round. Thank you.
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by ajzbc on Sunday March 17, 2019 @01:42PM (#19415212)
KaaS
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by WrtCdEvrydy on Sunday March 17, 2019 @01:47PM (#19415234)
KaaS is powered by the latest AI on modern blockchains in multi-cloud environments.. we're going to change the world.
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by cestith on Sunday March 17, 2019 @05:24PM (#19416721)
Imma let you finish, but first I need to tell you about this other blockchain.
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by ajzbc on Sunday March 17, 2019 @01:50PM (#19415255)
Haha I think Kanye would approve
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by chiefalchemist on Sunday March 17, 2019 @02:13PM (#19415381)
(Potential copyright issue aside) It should do loops of KW beats as well.

Talib Kweli's "Get By" for example.

https://www.youtube.com/watch?v=UVtpXvzzXiA

Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by christianjung on Sunday March 17, 2019 @12:46PM (#19414906)
Just curious, how are you providing the free api? R you eating the cost?
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by dessant on Sunday March 17, 2019 @12:53PM (#19414939)
The site appears to be hosted by GitHub, and the API is served by Heroku, which has a free tier with a soft bandwidth limit of 2TB/month.
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by ajzbc on Sunday March 17, 2019 @01:00PM (#19414967)
Hosting the site cost nothing. Using $7/mo Heroku server for API with HTTPS and custom domain. Firebase can quickly start to cost money. Domain around $32/year. So it definitely does cost money to run, but not much at all.
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by dessant on Sunday March 17, 2019 @01:21PM (#19415086)
If you want to reduce your costs, you can have HTTPS with a custom domain on a free Heroku app by using Cloudflare. Why are you using Firebase to serve quotes? I imagine the dataset could number just a couple thousand quotes max, which is fine to serve from memory after loading from a file at startup.

Or if you're using Firebase as a convenient interface for adding new quotes, the app could update its internal cache of quotes once a day, without having to pay Firebase for each API call.

Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by ajzbc on Sunday March 17, 2019 @01:29PM (#19415132)
Yeah, I realized that after it started getting a lot of traffic. The problem is I kinda just made this for fun and have no idea what I am doing. Do you want to contribute? https://github.com/ajzbc/kanye.rest
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by ajzbc on Sunday March 17, 2019 @12:49PM (#19414917)
Yeah... I have a small codefund ad on the site, but that doesn't do much because this product is an API. I have a support link, but I don't expect anyone to donate for something they will likely never use seriously.
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by tomc1985 on Sunday March 17, 2019 @02:02PM (#19415324)
Why all this infra to draw random lines from a text file?
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by ajzbc on Sunday March 17, 2019 @02:07PM (#19415353)
Using Firebase to more easily add quotes. However, I did not anticipate this much traffic. As another user pointed out, I am probably going to need to cache the quotes to prevent an enormous amount of reads to the database. Feel free to contribute if you have good ideas :) https://github.com/ajzbc/kanye.rest
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by tomc1985 on Sunday March 17, 2019 @03:00PM (#19415715)
Honestly a four-line PHP script that reads a text file or calls `fortune` is probably going to be way more efficient
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by dewey on Sunday March 17, 2019 @02:07PM (#19415358)
Fun? It's probably not OPs next serious SaaS startup.
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by tomc1985 on Sunday March 17, 2019 @03:02PM (#19415732)
Then don't show it off on HN :/
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by dewey on Sunday March 17, 2019 @03:11PM (#19415797)
https://news.ycombinator.com/showhn.html

> Show HN is for something you've made that other people can play with. HN users can try it out, give you feedback, and ask questions in the thread.

> A Show HN needn't be complicated or look slick. The community is comfortable with work that's at an early stage.

Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by chiefalchemist on Sunday March 17, 2019 @02:14PM (#19415385)
Elon Rust can't be that far behind.
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by evanscottgray on Sunday March 17, 2019 @03:17PM (#19415863)
I love this. Thank you :)
Re:Show HN: Kanye.rest – A Free REST API for Random Kanye We... by ajzbc on Sunday March 17, 2019 @03:28PM (#19415944)
Of course!