News for hackers. Stuff that matters.
Re:Show HN: Turn your website console into a chat that conne... by deepstack on Tuesday October 20, 2020 @07:27AM (#24836136)
Please do some unicode sanitising on user input. so we don't get

Ě̼͔̠͈̯̲̪̻̦͔ͯ̎̿̊̂̈́̃̈́̓̇̾̏̉ͅͅ ̜̤̜̱̪̥̟͎͖̘͖̫ͭ̇́̀͒͗̋ͧ̊ͨB̙̰͕̠̺͈̭̦͈̺̫̖̘̥̝̞̗͋̌̓̊͊ͦ͋ͫͅI̞̻̻̘̭̗͎̻̟͍͔̦͎̠͇̤̜͔ͣ͛̈́̾́̈G̟͇̻̩͍̹͓͖̥͈̮͍̾ͫ̌ͬͬ̓̇ͭͅ ̮̯̙̩͎̓ͣ̔͂̏ͩ̓ͅB͈͈̫͖̰͉̠̟̲͎͌̐̉ͥ̓̅ͣ͊̅̆ͫ͗A̠̦͓̮̦͎̥͎͎̼͍̜̪͇̙̦͍ͫͫ̾ͩ̋ͦ̐ͩ͌̇̓̀̋͋ͣ̉͊L͓̳̦̟̓̿ͯ̀ͫ͗̓̊͊ͭͭ͛ͦ̀̐̚L̞̝̳̯̘͓̞̝͇̯͔̮͓͋̊̾̇͂̊̏͒̉̄̔̊S̥͎̝̟̩͎̜̦̼̫̭̯̿͋͛ͬ́̚.͔͚͕̥̬̰̺̹̞̹͕̖̜̬̼̺͖͛ͫ̇̌̓̍̃ͣ͒́͂̑ͫ ̘̪̹̼̟̪̘͍͍̖̠̭̘̣̅̂ͧͤ̑I̭̱̙͇͍͚̯̖̫̰̩͔͔̱̓ͣ̀͆͒͒ͭ̊ ̣̰͔̘̳̲͖̫̲̩̔ͩͣ̑̓̈̇̐ͫͥ̑̈͂͗͌̌̎͗̽H͍̜̠͙̗̭̖͔̝̰͋ͭ̐͆́ͣA͎̤̯̖̞̲͉͕̫̻̼͙̼͕̎̈ͫ͑ͫ̏̏V̮͓̲͚̗̯̗̞̪͈̮ͪ̒̅ͤ͆ͧ̅̒̉̇ͣ̔ͧ͒̍ͩͅE͉̠͖ͫ̀ͦ̎̌ͤ͗ͭͣ̒͑͑̚ ̹̞̻̜̯̫̲̥͈̹̺͖͈̤̺͎͗̒ͯͮ̃͗̋̒ͭͯ̈́̈́ͧ̓ͨ̃̿B̙͕̞͎̝̱̝͎̦̂̈́ͪ͂͌̚ͅͅÎ̥̜̟̪̝̝̘̪̫̫̪̫̩͖͚̑̈́ͪ́̔͛͊G̲̳̬͛͐͊̚ ̙̺̬̖̦͉͙͉̰̲ͣ͂̀ͮB͕̙̩͖̗̼̼̜̝̩͕̲̹̗̰͆̉̎̊͆ͥ̊̿ͭ̓̃͐̑ͅͅÄ̰̩͕̲̝͕̱̬̼̳͕͉̣́̌̔͐͗ͫ͛̅L̻̣̳̖̒ͬ̄̂̋̑̇ͩ͊L̖̟̙͙̪̱͕̱̝͈͔̺͒̌̏͆̍̂͌̅̃ͩ̏͆͒̃̔ͭŜ͖̦̙̱̙̘̜̝̑ͥ̔̑ͯͨ.͓̠͕͔̹̬̬͋̋̈́̄̓̈́ͧͦ̎͐̃ͨ̆͛̚̚ ͕̝̭̬̉̆͋͆̋͂ͬͦ̚ 3console-chat-min.js:1 thename @www.consolechat.

Re:Show HN: Turn your website console into a chat that conne... by kevincox on Tuesday October 20, 2020 @08:58AM (#24836757)
Why? If this is the worst thing that people are posting in your chat you should consider yourself lucky.
Re:Show HN: Turn your website console into a chat that conne... by michaelmior on Tuesday October 20, 2020 @08:31AM (#24836507)
Not the OP, but any suggestions on libraries/algorithms for doing so? Seems like if you want to support a wide range of languages, you have to be careful how you do this.
Re:Show HN: Turn your website console into a chat that conne... by ihmissuti on Tuesday October 20, 2020 @03:12AM (#24834627)
WOW !! Consolechat creator here. This thing started as a joke and honestly I didn’t expect this much traffic. Our servers can't no longer keep up with it: D

Thanks for trying this out and for all the feedback! A more stable release will follow later.

Re:Show HN: Turn your website console into a chat that conne... by kiwicopple on Tuesday October 20, 2020 @05:27AM (#24835385)
Shameless plug: i'm the cofounder of Supabase (https://supabase.io an open source Firebase alternative). I'd be happy to help you convert this over to if you want to avoid the servers altogether. We have realtime+auth built in, so it's great for chat apps.
Re:Show HN: Turn your website console into a chat that conne... by thomasfromcdnjs on Tuesday October 20, 2020 @05:37AM (#24835440)
I think it has heaps of potential.

Make it like IRC, I'd often pop open my console just to have some dev chats.

=====

I've been throwing my open source projects API requirements on Firebase Functions these days.

It just works, has no down time and relatively cheap.

Re:Show HN: Turn your website console into a chat that conne... by cbluth on Tuesday October 20, 2020 @04:55AM (#24835208)
congrats, its awesome! maybe a way to federate between other known-working sites would be a fun idea
Re:Show HN: Turn your website console into a chat that conne... by growt on Tuesday October 20, 2020 @02:55AM (#24834568)
For me it's all blocked because of CORS
Re:Show HN: Turn your website console into a chat that conne... by progman32 on Tuesday October 20, 2020 @03:21AM (#24834679)
Same until I allowed its heroku backend in umatrix.
Re:Show HN: Turn your website console into a chat that conne... by drorwolmer on Tuesday October 20, 2020 @06:26AM (#24835763)
+1
Re:Show HN: Turn your website console into a chat that conne... by jlis on Tuesday October 20, 2020 @05:22AM (#24835359)
Same here
Re:Show HN: Turn your website console into a chat that conne... by Icyphox on Tuesday October 20, 2020 @02:58AM (#24834577)
same
Re:Show HN: Turn your website console into a chat that conne... by kxrm on Tuesday October 20, 2020 @04:36AM (#24835096)
Cool project, I keep getting booted but seems like it would be a fun little toy for a secret dev community or an interesting way to converse with your more tech oriented users who would like to report bugs.

Would love IRC like capabilities as well.

Re:Show HN: Turn your website console into a chat that conne... by Jugurtha on Tuesday October 20, 2020 @05:46AM (#24835502)
A friend introduced me to Grepolis. I started playing and liked the game but I did not want to spend my time playing the game, so I wanted to write some code to play on my behalf and I would get human satisfaction from my code playing the game by proxy.

I started looking into the requests/responses, and I found something cool in the HTTP response headers that was something along the lines of "If you are reading this, please consider applying to work at our company".

One other instance of this is a company here that posted an opening for software developers. The page was blank, so naturally I opened the console to see what's wrong. There were comments in the page that said "Congratulations, you passed the first step. To get the link of the page, please decode this message in Morse and send us the code you used to do that". I didn't write any code because I was familiar with Morse code, so I got the link directly.

I was contacted by their CTO shortly after. I had already been hired in the meantime (by another CTO at another company and they knew each other apparently). I told him I found it pretty cool and interesting. He said that very few people found the link and applied.

These things can be fun.

Re:Show HN: Turn your website console into a chat that conne... by alufers on Tuesday October 20, 2020 @09:38AM (#24837131)
This reminds me of the time when I wrote a web crawler which saved all unique HTTP headers along with their values. Turns out that those `X-We-Are-Hiring` headers are not so uncommon. I also found a misspelled content security header on some poor Brazilian Bank's website.
Re:Show HN: Turn your website console into a chat that conne... by KhoomeiK on Tuesday October 20, 2020 @01:57AM (#24834317)
Was awesome until the loop spam began. I think your server just crashed too. Never thought I'd say this, but please add rate limiting. :)
Re:Show HN: Turn your website console into a chat that conne... by nextaccountic on Tuesday October 20, 2020 @03:16AM (#24834651)
if you want to stress test a service, post it to HN
Re:Show HN: Turn your website console into a chat that conne... by alex51 on Tuesday October 20, 2020 @01:58AM (#24834320)
Yeah that escalated quickly
Re:Show HN: Turn your website console into a chat that conne... by ihmissuti on Thursday October 29, 2020 @04:19PM (#24935253)
To make it more fun, we added a bunch of new features to ConsoleChat. Users can now eg. create and join channels, see who users are online etc. All the current commands are on the website (consolechat.io)

It would also be cool to hear what other features people would like to have in this kind of service.

Re:Show HN: Turn your website console into a chat that conne... by gkoberger on Tuesday October 20, 2020 @01:25AM (#24834170)
This is so utterly useless... but I love it! Really great work building something silly :)
Re:Show HN: Turn your website console into a chat that conne... by 3131s on Tuesday October 20, 2020 @02:23AM (#24834433)
I think it has a lot of potential.

It would be really useful if this could group messages by the canonical URL from where the message was sent and then be logged elsewhere. Especially if it could be extended to annotate or refer to parts of the page, so that with some further tooling you could view the log and click through directly to a particular part of site in a development environment.

Re:Show HN: Turn your website console into a chat that conne... by radicalriddler on Tuesday October 20, 2020 @01:48AM (#24834269)
It didn't take long for the ASCII porn to start. But otherwise, a fun couple of minutes.
Re:Show HN: Turn your website console into a chat that conne... by gen_greyface on Tuesday October 20, 2020 @01:51AM (#24834286)
that wasn't me, ;-)
Re:Show HN: Turn your website console into a chat that conne... by gen_greyface on Tuesday October 20, 2020 @02:09AM (#24834375)
i noticed a bug, maybe because of spamming, my name was being associated with some message i didn't send
Re:Show HN: Turn your website console into a chat that conne... by 4lejandrito on Tuesday October 20, 2020 @01:52AM (#24834289)
This is so cool. I might consider connecting this to a Telegram bot and adding it to my personal site just in case someone opens the console one day and wants to chat with me.
Re:Show HN: Turn your website console into a chat that conne... by nsomaru on Tuesday October 20, 2020 @01:57AM (#24834314)
I’m not sure if you’re being serious or not :D
Re:Show HN: Turn your website console into a chat that conne... by 4lejandrito on Tuesday October 20, 2020 @06:33AM (#24835803)
I am! I don't think I'll ever have the time, but it would be very cool.
Re:Show HN: Turn your website console into a chat that conne... by nutinatree on Friday October 23, 2020 @03:48AM (#24866996)
Nice idea. I like it. I think it could be especially helpful on open source projects. Especially ones that have a lot of developers contributing.

Also, there's a typo in the text on your webpage: analtyics

Good luck!

Re:Show HN: Turn your website console into a chat that conne... by joshxyz on Tuesday October 20, 2020 @06:12AM (#24835681)
setInterval(() => consolechat.say('penis'), 1000)
Re:Show HN: Turn your website console into a chat that conne... by goku99 on Tuesday October 20, 2020 @07:46AM (#24836236)
THiS is sO aWeSoMe! But it blocked - CORS. I just tried if loop works. I guess it did get me kicked.
Re:Show HN: Turn your website console into a chat that conne... by progman32 on Tuesday October 20, 2020 @01:59AM (#24834322)
Folks already abusing setInterval for political flaimbait, I see :)
Re:Show HN: Turn your website console into a chat that conne... by hypervisorxxx on Tuesday October 20, 2020 @07:27PM (#24843338)
Relaychat has been around for alot longer.
Re:Show HN: Turn your website console into a chat that conne... by quickthrower2 on Tuesday October 20, 2020 @02:22AM (#24834430)
It's 506ing for me now.
Re:Show HN: Turn your website console into a chat that conne... by peterpost2 on Tuesday October 20, 2020 @02:17AM (#24834405)
very cool
Re:Show HN: Turn your website console into a chat that conne... by alex51 on Tuesday October 20, 2020 @01:26AM (#24834172)
haha very cool!
Re:Show HN: Turn your website console into a chat that conne... by ewrwer324234 on Tuesday October 20, 2020 @12:50AM (#24834024)
cool
Re:Show HN: Turn your website console into a chat that conne... by ronyfadel on Tuesday October 20, 2020 @04:17AM (#24835004)
How is a broken product (per the creator's confession) still being upvoted?
Re:Show HN: Turn your website console into a chat that conne... by kalimatas on Tuesday October 20, 2020 @05:17AM (#24835337)
The project was done for fun to satisfy curiosity, I believe. I can appreciate it even if it isn't a perfect "product".
Re:Show HN: Turn your website console into a chat that conne... by ronyfadel on Tuesday October 20, 2020 @07:25AM (#24836129)
It's not usable or even demo-able, I'm candidly wondering what people are upvoting.
Re:Show HN: Turn your website console into a chat that conne... by RONROC on Tuesday October 20, 2020 @09:10AM (#24836849)
Because (per the creator) a more stable release will follow.

If people are interested (the people who are upvoting), they can provide suggestions/feedback and possibly get involved with the project in some capacity.

Im candidly wondering how hard it is to understand this foreign concept.

Re:Show HN: Turn your website console into a chat that conne... by justusthane on Tuesday October 20, 2020 @11:21AM (#24838375)
Because it's fun and original. And it's usable for me at the moment.