Elder Moderator

[email protected]

Total likes received: 4 | Pubby Cash: 132


Articles Liked by Me: 4

Well

Categories: General | Pubby Cash Received:  0

I forgot this existed and it seems like a lot of other people have too...  Read more

Bose wired headphones vs. Sony wireless headphones

Categories: Tech | Pubby Cash Received:  0

These two headphones are both very well designed and built. However, there are both advantages and disadvantages when choosing either one. The Bose wired headphones are the more comfortable one, with soft leather to cover around your ears. It also comes with a noise reduction technology to block outside noise. My only complaint is that it's wired, but other than that, this headset is amazing at doing its job. Sony wireless headphones are also very fancy but in different ways. On the headset, there is a USB-C connector and an audio jack is conveniently included for quick wireless to wired transfer. My complaints with these headphones are that it does not completely cover my ears, so I would consider them on-ear headphones, which are way less comfortable than over-ear headphones. The material used to make this headset is this type of hard, rough plastic, which I don't like. If you want comfort, get the Bose and if you want convenience, get the Bose. Both are worth your money....  Read more

Discord Bot

Categories: Tech | Pubby Cash Received:  0

Discord is an American proprietary freeware instant messaging and VoIP application and digital distribution platform designed for creating communities ranging from gamers to education and businesses. Discord specializes in text, image, video and audio communication between users in a chat channel. Discord lets you set up a chat room it refers to as a server, to which you can invite people. When you invite someone to the server, they get a link that lets them join it, where they can either text or voice chat with other people using that server. One of the most unique features of Discord is the ability to implement bots in the server, making it more fun for the group and easier for moderation.

These bots are AIs that can perform a number of useful automated tasks on your server, such as welcoming new members, deleting inappropriate messages, and banning misbehaving members. You can program them to add games, videos, music, and other content to your server. Discord bots totally bring more life to the server and holds the group together as a whole. Of course there are already numerous bots out there already, but it's always best to create one ourselves.

We will be using Python to build a basic Discord bot. Install the appropriate packages on your machine first. Then create an app on the Discord Developers website. Inside your app, create a bot and add that to your server. (That's the bot you will control using the Python code.) So far, you've created a bot, but it doesn't know anything yet. You can find many tutorials for a simple communication bot. Here is an example:

import discord
client = discord.Client()
@client.event
async def on_message(message):
    if message.content.find("!hello") != -1:
        await message.channel.send("Hi") # If the user says !hello we will send back hi
client.run(token)


Now that it's working great, it is time to deploy the bot. There are many options out there. You could deploy it yourself (by just running it on your computer). I like to use Heroku. Start by creating a new app on Heroku. Change the buildpack to Python in the settings panel. Now you have to make a 'requirements.txt' file with all the necessary packages for Heroku to install along with a 'Procfile', which includes the instructions to run the bot. Make sure that both of these files are in the same directory as the bot script. Now you have to upload everything to GitHub. Finally, in the Heroku app, choose run from GitHub in the Deploy tab and you're good to go!

...  Read more

Our Poor Bunny Passed Away

Categories: General | Pubby Cash Received:  0

So sad our "small bunny" just passed away today. She was the last bunny we have. We call her "small bunny" because she was the smaller one when we brought her home together with her sibling "big bunny" on December 11, 2018. At that time, she was around 3 months old, and her sibling "big bunny" was around 6 months old. I got them at $6 each from bidding at the farmers' market in Lancaster PA, saving these two littles from being sent to the slaughterhouse. We did a lot of restructuring of our basement to build them a nice home. Their potty training was effective after half a year, and the cleaning work was easy on bi-weekly basis. They are our most closest family members in the animal category in our home besides two aquatic turtles, two parakeets, and one hamster. They can respond to our simple directions such as "jump up" and "jump down" to and from our laps, and quickly greet us begging for food whenever we walk downstairs. Today when we walked downstairs cleaning the cage, the "small bunny" did not greet us, she hided herself in a weird spot - a gap between the cage and the wall with no exit and barely no movement room. I did not know how she got into there. I could tell she was quite sleepy, because her eyes were closed and she barely moved. After cleaning her cage, I held her belly with both hands and carefully took her out from that awkward hiding spot. To my surprise, her body temperature was quite high. I had a sense of her normal body temperature when I held her in the past, definitely was not as high as that. Obviously, she was sick, struggling against a fever. But what caused the fever? She lived indoors all the time, and was unlikely to touch undesirable transmissible bacteria and viruses. Food was the only cause as I could think of. She was given a large watermelon peel and several small tomatoes in addition to regular main food of timothy hays. Her body weight was quite okay, with no symptom of decreasing as her sibling - "big bunny" did, who passed away on January 30, 2020 at an age of approximately 20 months old with an obvious symptom of losing weight. And she was quite energetic, with the ability of jumping up easily, unlike her sibling who lost the ability of jumping several weeks before she died. My diagnosis of her death reason was the uterine cancer, which limited her peeing ability when given too many fruits. As I was holding her body after she died, I could feel her stomach was quite full, and there was liquid on the floor coming out from her mouth at the scene of her death. Our bunnies were not spayed, and the unspayed/unneutered rabbits in the wild can live 1-2 years, while spayed/neutered rabbits can have a life span of...  Read more

1

Daily Deals


MECHANICSBURG WEATHER