News for hackers. Stuff that matters.
Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by modin on Sunday December 16, 2018 @04:32PM (#18695387)
You might want to change your mongodb password[1]. One easy way is to do it the same way as how you did it with listening port, e.g. to use environment variables.

[1]: https://github.com/ellailan/ColourMeCards/blob/150b131c6ee04...

Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by liamilan on Sunday December 16, 2018 @05:05PM (#18695547)
Thanks, fixed!!!!

I'm Liam, Ella's brother, I built the server. It was the first time I wrote a node server. It's a rookie mistake...

;(

Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by napsterbr on Sunday December 16, 2018 @06:35PM (#18695944)
That's the best way to learn! Congratulations for shipping the project. Keep them coming up.
Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by liamilan on Sunday December 16, 2018 @05:23PM (#18695628)
We also crashed the server.

Fixed now.

Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by ronilan on Sunday December 16, 2018 @05:26PM (#18695640)
Great learning experience me think ;)
Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by wmichelin on Sunday December 16, 2018 @04:49PM (#18695487)
You should definitely change your password ASAP! Anyone can currently access your database and break stuff :(
Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by cronix on Sunday December 16, 2018 @06:28PM (#18695911)
Cool project! Keep it up ;)

On the website, you might want to add the mouse pointer back when hovering clickable icons. It's not immediately apparent that they are clickable since the cursor remains the regular arrow instead of changing to a pointer.

Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by ronilan on Monday December 17, 2018 @01:02AM (#18697188)
> you might want to add the mouse pointer back when hovering clickable icons.

@cronix thanks. Good observation and interesting point.

The missing "hand" pointer is a side effect of BlockLike. The clickable icons are not image elements wrapped by anchor elements with href. Instead they are Sprites with a click listener attached in JavaScript via their whenClicked method.

My first reaction was to say "yep, let's change the cursor and help the students" and I was thinking I would modify BlockLike so that any clickable entity will have a pointer cursor. Then, after reading around the web [1][2][3] I realized that I shouldn't, as in most cases, the click on the Sprite is an action not a link. Those four icons on the homepage are the exception not the rule.

So, to come around a full circle, changing the mouse pointer to a hand is indeed the developer's responsibility. That being said, this project is both relatively complex and wide in scope with a lot of moving parts, thus it is bound to be rough around the edges. UX, like learning is a never ending job...

[1] https://medium.com/simple-human/buttons-shouldnt-have-a-hand...

[2] https://ux.stackexchange.com/questions/109739/should-anchors...

[3] https://ux.stackexchange.com/questions/36871/whether-to-use-...

Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by ellailan on Sunday December 16, 2018 @04:15PM (#18695281)
My brother was looking at the database, and he saw that people were playing, so if you have any questions, feel free to ask!
Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by yorwba on Sunday December 16, 2018 @04:37PM (#18695415)
Was randomly generating user names a deliberate choice to prevent people from putting messages onto the leaderboard? In any case, it worked. You might want to kick the legit maroon dog off his not-so-legit top spot, though.
Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by ellailan on Sunday December 16, 2018 @05:10PM (#18695571)
It was! We didn't want any inappropriate usernames, so I did it the way an XBOX creates screen names. As for not-so-legit maroon dog, there's a debate in the family about what should be done.
Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by yorwba on Sunday December 16, 2018 @07:14PM (#18696077)
Good thinking. I think it's still possible to add text by faking the score, though. Sending a string literal containing a hexadecimal number that can also be read as a word (like "0xdefaced") one could put a lot of stuff on there, besides the obvious possibilities everyone can write on a calculator display.
Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by jtl999 on Sunday December 16, 2018 @10:50PM (#18696808)
Hello also from BC :)

Interesting project

Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by brian_herman on Sunday December 16, 2018 @04:50PM (#18695493)
Wow amazing I cant wait to see what you come up with next!
Re:Show HN: My 7th Grade Young Entrepreneur Project -- inter... by zckao on Sunday December 16, 2018 @04:21PM (#18695320)
Great job! I'm impressed!