Live data from Hacker News

Are 14 people really looking at that product? (2020)

blog.devgenius.io

21–30 of 183 posts

Re: Are 14 people really looking at that product? (2020)

#21
Bit of a meta comment but:

I love the author's rewriting of javascript into "human-readable" code[1], while retaining the same visual style as code written in an editor.

It feels like an excellent way of representing what is inside the programmer's mind when writing the code, and I will probably try to replicate it next time I coach a new student.

[1] https://miro.medium.com/max/700/1*aXnY3j41mO3AShqSGiYgBA.png

Re: Are 14 people really looking at that product? (2020)

#24
post #2

As shop owner that switches to Woo I dig into many plugins the last year and only find a very few of those attention and countdown plugins that are kinda honest. - The majority of 'users currently see this project' are looking a few hours back instead of being 100% fake. All of them allow faking the numbers somehow tho. There are plenty of 100% fake ones out there too tho. - 'xxx just bought' things are usually real…

> In the end I wrote many of that stuff my own with real data

If you implemented the "looking at" functionality, are you keeping a connection open to the client (say, via WS) to determine if they are still looking as in keeping the tab open (or opencv with camera access to see that they are "actually" looking hehe), or are you just looking a few minutes back instead of hours?

How would one honestly implement this feature anyway?

Re: Are 14 people really looking at that product? (2020)

#25

Bit of a meta comment but: I love the author's rewriting of javascript into "human-readable" code[1], while retaining the same visual style as code written in an editor. It feels like an excellent way of representing what is inside the programmer's mind when writing the code, and I will probably try to replicate it next time I coach a new student. [1] https://miro.medium.com/max/700/1*aXnY3j41mO3AShqSGiYgBA.png

Not sure if I'm the only one, but I start writing code like this quite often.

At first it's "comment only" to describe what I'm trying to achieve and then I'm adding functional code in/around it. I find that really helpful, although some might say there's some "comment bloat" in the end, as I often keep the comments, too.

Re: Are 14 people really looking at that product? (2020)

#26
It is like all those ".io" games (ex: https://agar.io/).

You are supposed to play online against other players, but many of these games put you against bots instead. This is evident when you lose internet and the game still runs. The original idea was to first populate the game with bots and progressively replace them with real players as the game become more popular, then developers realized that if they could get away with bots, they didn't need multiplayer at all, just the illusion of it.

Side note: AFAIK, agar.io is real multiplayer, being one of the most popular game of its kind certainly helps. Of course, like in almost all online games, there are still player-run bots, but at least, it is not just JS code running on your machine.

Re: Are 14 people really looking at that product? (2020)

#27
post #3

Is the idea that multiple people are looking at a product supposed to inspire me to purchase it? I really struggle to understand the logic.

I was in a meeting where the sales logic was explained as "social proof". People would choose a busy restaurant over a quiet one. Similarly they would choose a popular product over an unpopular one.

Re: Are 14 people really looking at that product? (2020)

#28
The first time we booked a place on Booking.com, we were anxious the entire afternoon. Not sure if things have changed, but at that time they made it feel like a racing game, flashy countdowns, everything but THAT place sold out in the area, OTHER PEOPLE WERE LOOKING AT IT, several email notifications in the span of hours because we haven't decided yet, and now it might be TOO LATE if we refresh the page.

I wouldn't want to shop on that site ever again, they have no respect for their users.

Re: Are 14 people really looking at that product? (2020)

#29

Bit of a meta comment but: I love the author's rewriting of javascript into "human-readable" code[1], while retaining the same visual style as code written in an editor. It feels like an excellent way of representing what is inside the programmer's mind when writing the code, and I will probably try to replicate it next time I coach a new student. [1] https://miro.medium.com/max/700/1*aXnY3j41mO3AShqSGiYgBA.png

Not sure if I'm the only one, but I start writing code like this quite often. At first it's "comment only" to describe what I'm trying to achieve and then I'm adding functional code in/around it. I find that really helpful, although some might say there's some "comment bloat" in the end, as I often keep the comments, too.

I usually do something like that when working with someone, though I write "real" code but using variables and functions that we don't yet have, so that we can agree on the structure of the code.
Post reply on HN