1st Update of 2022 on HivePizza development work
<p dir="auto">This post gives some visibility into development work done by the HivePizza team. We want to test this new communication channel because code changes or infrastructure upgrades are often not worthy of a whole post on their own. There is often a lot happening behind the scenes that's not readily visible to most of our community. In these posts, we’ll also cover some in-progress research that has not yet manifested in new features or products. Let's go!
<p dir="auto"><img src="https://images.hive.blog/768x0/https://files.peakd.com/file/peakd-hive/hivetrending/23vsLWh6JgRJkJoiop52NCzWdd2afTqCVGo1eFCffrs5NW9iywSqofA4cX6ag23kkB391.png" alt="pizzabanner.png" srcset="https://images.hive.blog/768x0/https://files.peakd.com/file/peakd-hive/hivetrending/23vsLWh6JgRJkJoiop52NCzWdd2afTqCVGo1eFCffrs5NW9iywSqofA4cX6ag23kkB391.png 1x, https://images.hive.blog/1536x0/https://files.peakd.com/file/peakd-hive/hivetrending/23vsLWh6JgRJkJoiop52NCzWdd2afTqCVGo1eFCffrs5NW9iywSqofA4cX6ag23kkB391.png 2x" />
<hr />
<h2>Pizza Staker Discord Role Checker
<p dir="auto">We have a helper script that periodically checks if community members staked or unstaked enough tokens to move between ranks. This script enables the moderator team to celebrate when folks level up, with up to 30 minutes delay.
<p dir="auto">This week we had to update the script because a wallet passed 100,000 staked Pizza tokens for the first time, earning the “Grand Barony” role. This script was future-proofed and now checks for these levels: 100K, 200K, 400K.
<hr />
<h2>HivePizza Discord Roles Overhaul
<p dir="auto">The HivePizza discord server uses a long list of roles for various purposes, such as spam prevention. The list of roles grew to a point where it became difficult to manage. It has been completely overhauled with a beautiful color scheme and dividers that separate roles by category. The new, clean roles make life easier for moderators and community members alike.
<hr />
<h2>Beem Python Library Community Ownership
<p dir="auto">Some HivePizza projects rely heavily on a Python module called <code>beem. Unfortunately, this module is falling behind on maintenance and could have issues with upcoming Hardforks or other API changes. The ideal solution is to migrate to a community-controlled code fork with no single owner.
<p dir="auto"><span>Beem already has an out-of-date community fork in GitLab, which could replace public packages. We recently started discussing with <a href="/@brianoflondon">@brianoflondon and others to determine a path forward. I also reached out to <a href="/@holger80">@holger80, who controls the beem GitHub repo, to see if we can collaborate on a plan to migrate PyPi to the community-controlled fork.
<hr />
<h2>PizzaBot Discord Bot Enhancements
<p dir="auto">This week, our PizzaBot discord helper bot received some upgrades that support HivePizza’s three thriving Splinterlands guilds.
<h3>New Splinterlands utility commands for Pizza guild members:
<ul>
<li><code>!sl brawl timer
<ul>
<li>Displays the time remaining until the next brawl starts.
<li>Or the time remaining until the current brawl ends.
<li><code>!sl brawl status
<ul>
<li>Displays the current brawl status for all PIZZA guilds.
<li>Includes current placement in the brawl, the # of wins, losses, draws, and # of remaining battles.
<li><code>!sl guild power
<ul>
<li>Displays a list of guild members with a high enough rating to advance to a higher league but not enough collection power.
<li>This is meant to help folks share excess collection power so that guildies move up in leagues and earn more rewards.
<hr />
<h2>HTTPS/SSL enabled for dlux.hive.pizza
<p dir="auto">This week we enabled HTTPS encryption for our DLUX API node “dlux.hive.pizza”. So now our API node works with DLUXMonitor, i.e. <a href="https://hiveuprss.github.io/dluxmonitor/?node=https://dlux.hive.pizza" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://hiveuprss.github.io/dluxmonitor/?node=https://dlux.hive.pizza.
<p dir="auto">SSL setup ate a few hours because of installing <code>certbot dependencies. A component called <code>snapd refused to install correctly. We found a workaround by installing certbot via a Python virtual environment. Certbot is configured to request short-lived “Let’s Encrypt” certificates automatically.
<p dir="auto">Disregardfiat found another issue after we finished deploying the new SSL certs. The root cause was an extra DNS record for the domain dlux.hive.pizza. Some browsers were getting lucky and receiving a DNS response where the incorrect server was the first IP address returned. In those cases, the server provided the wrong SSL cert and failed to match <code>dlux.hive.pizza. Interestingly the erroneous DNS configuration was magically working okay with HTTP (clear-text).
<hr />
<h2>Project X - HTTPS and UI Improvements
<p dir="auto">A similar certbot HTTPS setup was implemented for unannounced Project X. Firewall configuration was adjusted to match, and code was updated in various places to start using HTTPS, port 443.
<p dir="auto">Some minor CSS style work made the front-end web app look prettier. In addition, we made progress on a new feature that highlights valid actions on the front-end.
<hr />
<h2>Research In Progress - Discord Slash Commands
<p dir="auto">We started looking into Discord Application Commands (aka Slash Commands) to replace the clunky <code>!COMMAND format. Many Discord bots have already begun moving to the Slash command format. Application Commands improve the user experience because they are more intuitive and don’t pollute the chat like text commands. Over time all of the current PizzaBot Discord bot commands will move to the Slash Command format.
<hr />
<p dir="auto"><span><a href="/@hive.pizza">@Hive.Pizza is set as a 25% beneficiary for this post’s rewards.
<p dir="auto"><a href="https://vote.hive.uno/@pizza.witness" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">vote link]<span>Please consider supporting Hive.Pizza by voting for <a href="/@pizza.witness">@pizza.witness. [
<p dir="auto"><span>Enjoy a premium Discord experience and help on-board New-bees at <a href="https://discord.gg/hivepizza" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://discord.gg/hivepizza
<p dir="auto"><span>Learn more about HivePizza and browse the Pizza shop at <a href="https://hive.pizza" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://hive.pizza
Awesome to see the Pizza token keep on getting updated!
It's amazing someone got to 100k Pizza - One can only dream of getting to there one day.
Thanks for the update
!PIZZA
Thanks for stopping by! There are more great things coming. !PIZZA
That is the great thing about the Pizza Project, a great community that is always improving
Thanks for the kind words!
Wow looking good Professor @hivetrending. You are doing an amazing job behind the scenes. Where would we be if it wasn't for you. Really respect you and hope to learn a lot from you in the future. Keep the momentum coming at !PIZZA
very cool SL commands! this will be very helpful!
That is some fancy work, nice one! !PIZZA
I wanna see the pizzabot like we saw in savvyplayer post. !PIZZA
#pizzaforall
yummy update
!PIZZA
Keep up the great work !PIZZA
PIZZA Holders sent $PIZZA tips in this post's comments:
(2/20)
stickupboys tipped hivetrending (x1)
xykorlz tipped hivetrending (x1)
h3m4n7 tipped hivetrending (x1)
hivetrending tipped silver-edge (x1)
silver-edge tipped hivetrending (x1)
cryptoniusraptor tipped hivetrending (x1)
dlmmqb tipped hivetrending (x1) @cooperclub tipped @hivetrending (x1)
Learn more at https://hive.pizza.
@hivetrending! The Hive.Pizza team manually curated this post.Congratulations @hivetrending! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):
<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@hivetrending/replies.png?202201040238" /><td>You got more than 1000 replies.<br />Your next target is to reach 1250 replies. <p dir="auto"><sub><em>You can view your badges on <a href="https://hivebuzz.me/@hivetrending" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">your board and compare yourself to others in the <a href="https://hivebuzz.me/ranking" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Ranking<br /> <sub><em>If you no longer want to receive notifications, reply to this comment with the word <code>STOP <p dir="auto"><strong><span>Check out the last post from <a href="/@hivebuzz">@hivebuzz: <table><tr><td><a href="/hivebuzz/@hivebuzz/pud-202201-feedback"><img src="https://images.hive.blog/64x128/https://i.imgur.com/xQGM37X.png" /><td><a href="/hivebuzz/@hivebuzz/pud-202201-feedback">Happy New Year - Feedback from the first Hive Power Up Day of 2022<tr><td><a href="/hivebuzz/@hivebuzz/pud-202201"><img src="https://images.hive.blog/64x128/https://i.imgur.com/i4ysvke.png" /><td><a href="/hivebuzz/@hivebuzz/pud-202201">PUD - PUH - PUM - It's all about to Power Up! <h6>Support the HiveBuzz project. <a href="https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22199%22%5D&approve=true" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Vote for <a href="https://peakd.com/me/proposals/199" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">our proposal!nicely done, have a slice of !PIZZA
With the symbolism I have no desire to use the token.