Live data from Hacker News

A minimalistic site to vent and see others doing the same in realtime

ventscape.life

111–120 of 148 posts

Re: A minimalistic site to vent and see others doing the same in realtime

#112
post #90
post #38

You're warned: const messageText = inputTextBox.value.replace(/ ]+(>|$)/g, ""); var $newdiv = $(' ' + messageText + ' ').css({ 'opacity': '0.95' });

That's terrible. OP should take the site down and fix those issues.

Yeah, go ahead and down vote without explaining yourself. It's so educational!

Re: A minimalistic site to vent and see others doing the same in realtime

#113

I've been wanting to do a tech trash talk site for a while. Sometimes I've got nothing but hate and vitriol for something and it'd be great to have a designated anonymous space where people can brood and lament. You can do things like sort by most capital letters and profanity density or incoherency and spelling errors. Now that I actually typed this out, it sounds really easy to code.

Blind is like that, if you haven't seen it already. It's customary apparently to list your TC (total compensation) in every post you make.

Re: A minimalistic site to vent and see others doing the same in realtime

#114

Looks like you can query the database directly via their REST API: https://api.ventspace.life/api/v1/ventpost?sort=id,desc&size...

Most of my requests are failing with

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.ventspace.life/api/v1/ventpost. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

Re: A minimalistic site to vent and see others doing the same in realtime

#115
post #100

Earlier quoted context omitted.

Ok interesting idea. My one fret here would be that it would decrease interactivity on the site. Sometimes people send messages in response to each other, right? But nonetheless I'll experiment with increasing the refresh rate and maybe strike a nicer balance

I agree with you. Realtime is the key intrigue after the site itself, people will go off it when they realise it's not live.

second this, I managed a brief conversation with someone when trying this out and it was great, a few other messages seemed to chime in as well. perf/eff can be improved as mentioned above but would lose the fun, imo

Re: A minimalistic site to vent and see others doing the same in realtime

#117
post #38

You're warned: const messageText = inputTextBox.value.replace(/ ]+(>|$)/g, ""); var $newdiv = $(' ' + messageText + ' ').css({ 'opacity': '0.95' });

Holy hell, OP. What prevents me from just calling "postMessage" directly myself, which does nothing to prevent the "sanitation" that the replace function call there is supposed to do? Please sanitize messages on the server instead.

The fact that it's also called when its added to the stack for display. OP should definitely still sanitize on the server, but it's not as bad as it sounds at first glance.

As an exercise I'd love it someone actually posted a payload to exploit that regex.

Re: A minimalistic site to vent and see others doing the same in realtime

#119

This is great. It fills the same role as Twitter, but people's posts disappear after a few seconds, making it better than Twitter. I'm serious here. Twitter's a cesspool filled with people venting about random crap. So is Ventscape. We all need to vent sometimes, there's nothing inherently wrong with that. But the problem with Twitter is that it preserves and amplifies your venting until the end of time, which is the…

It's mined by the same agencies that monitor everything. So your venting is deleted for yourself, but preserved eternally for the people with power over you. I rather like it.

The majority of individuals are at danger of their old tweets being brought to light years later by other people not three letter agencies. If you remove the ability for people to go back 5 years looking for dirt on someone they dislike you prevent a lot of the drama that drives twitter.

Re: A minimalistic site to vent and see others doing the same in realtime

#120

Looks like you can query the database directly via their REST API: https://api.ventspace.life/api/v1/ventpost?sort=id,desc&size...

Most of my requests are failing with Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.ventspace.life/api/v1/ventpost . (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

Me too :( Seems to be broken now!
Post reply on HN