Testing, it seem the comparing cryptographic hashes of the badges array, serialized as a JSON file, do not provide as much consistency as comparing an array stored in the DB with a recently generated array using the PHP function array_diff_assoc():
So, tomorrow I will refine the alert code to also use array_diff_assoc() .
Currently am comparing a generated hash with a stored hash as a cookie. This works well, but it could be even better, so I'm going to do both (I think), compare the hashes and also compare the badge arrays. Still testing ...
Also, I'm going to stop posting in the Underground and move this thread to the main forums.
Today I mapped out the new badging system using FA icons, Beta 1 in no particular order except a 6 x 8 grid:
https://www.unix.com/members/1-albums215-picture991.png
The prototype HTML code for this layout:
<style>
.fa-badge-grid {
font-size: 1.5em;
}
.row {
... (38 Replies)
Dear All,
Here is the current status of the badging system:
The Beta 1 phase of the new badging system is close to completion.
42 prototype badges have been "allocated"
6 prototype badge slots are held in reserve
The "alert you have new badges" prototype is running and is currently... (4 Replies)
I have moved the bug badge out of reserve and into the main stream. Basically, I will assign a color level like the others, based on who has made a good actionable bug report for UNIX.COM. "Good" means screenshots, links, and even details from web dev tools our the HTML source code. So far,... (0 Replies)