Member

[email protected]

Total likes received: 98 | Pubby Cash: 932


Articles Liked by Me: 87

Why Should Zoos be Banned

Categories: General | Pubby Cash Received:  0

At the point when you voyage into a zoo, the animals look like joy. They have heaps of room to speed around and play, isn't that so? In any case, it is more similar to a prison of creatures. Creatures should stay in the wild, not to be kept in bondage. At the point when a creature is in bondage, many give indications of zoochosis, a mental issue saw in zoo pacing, bar gnawing, and over the top conduct. Also, zoos don't have satisfactory assets to appropriately bolster the animals all alone. Examination shows that polar bears in captivity have up to eighteen thousand times more constrained space inside zoos than they do in nature. There are significantly more reasons that can be given to show that zoos ought to be prohibited, however, that would take too long to even consider writing. Consequently, I will end this article with a couple of more words. Zoos might be a good time for you, yet they are dreadful for the animals....  Read more

The Algorithm to Create a Cross Word Game Using Python

Categories: Tech | Pubby Cash Received:  0

Do you know the algorithm to make a crossword puzzle using Python? If you do not know how, then you should read this article because it will teach you how. We will make two arrays one of them has the correct answers while the other one has the letter O to replace the words. Here is the code. added_words_count = 0# make a variable equal to zero def add_word(word,arr): #this function adds the horizontal words to the cross word     global added_words_count#global that variable that was made     row=random.choice(lst)#take a random row to put the word in     lst.remove(row)# remove it so it does not repeat     col=random.randint(0,15-len(word))# choose a random column to put the word in     addhword = True#set this variable to true for adding horizontal words     count = 0#set count to zero     rand_num = random.randint(0,1)# randomly choosing 1 or 0 to decide if the word goes from right to left or left to right.     if rand_num == 0:if the random number is zero         word1 = word[::-1]# make it backwards     else: # if the random number is not zero         word1 = word# keep it the same     for i in range(0,len(word1)):# print i         arr[row,col+i]=lett2num[word1[i]]     added_words_count += 1 #add one to the added_words_count variable     print('added horizontal')# print added horizontal to know how many words you added were horizontal def add_word1(word,arr):# this function is for adding vertical words     global added_words_count# global the added_words_count variable     addvword = True# set adding vertical words to true     rand_num = random.randint(0,1)# randomly choosing 1 or 0 to decide if the word goes from right to left or left to right.     if rand_num == 0:if the random number is zero         word1 = word[::-1]# make it backwards     else: # if the random number is not zero         word1 = word# keep it the same     def adding_v_word():# make another function for adding         completely_empty = True# set the completely empty variable to true         col=random.choice(lst)# lst.remove(col)         row=random.randint(0,15-len(word))# choose a random row to put the word in         ready = False# set the variable ready to false         for i in range(0,len(word1)):print i             if arr[row+i,col] != 0:# if it is not equal to zero                 completely_empty = False# the completely empty variable is equal to false                 addvword = False# also, adding a vertical word would be false                 # if the letter in this square is the same as the one we're adding                 if arr[row+i,col] == lett2num[word1[i]]:# if it is equal                     addvword = True# adding vertical word is true                     ready = True# also ready is true                 else:if that is not true                     addvword = False # both are false                     ready = False                     break # use break method         return row, col, ready, completely_empty# return the variables     while True:# while that is true         row, col, ready, completely_empty = adding_v_word()# those variables equal adding_v_word()         if ready or completely_empty:# if ready or completely_true are true             for i in range(0,len(word1)):# print i                 arr[row+i,col]=lett2num[word1[i]]             print('just added another vertical') # print this so you know when you added a vertical word             added_words_count += 1             break def display_arr(arr):# this function is for displaying the array     for row in range(0,15):# for the row in the range of 0 to 15         line=""# set line to an empty string         for col in range(0,15):# for the column in the range of 0 to 15             line = line + num2lett[(arr[row,col])] + " "# set line to line plus the num2lett plus an empty string         print(line)# print line     print()# print...  Read more

Grammarly

Categories: Tech | Pubby Cash Received:  0

It is in every case hard to peruse your composition and check your punctuation to ensure it is great, yet imagine a scenario in which there was an instrument that could check it for you. On the off chance that you think that it is difficult to check your language, at that point you ought to get Grammarly. This free extension can change your writing in a squint of an eye. You essentially paste your writing in the blank, and in no time flat, it discloses to all of you the blunders in your composition. There are four kinds of errors that it outlines for you. These four kinds are correctness, clarity, engagement, and delivery. Correctness improves spelling, grammar, and punctuation. Clarity helps make your writing easier to understand. Engagement helps make your writing more interesting and effective. Finally, delivery helps make the right impression on your reader. In addition to the fact that it tells you about blunders, yet you can see an overall score on your presentation. At the point when you click on the overall score, you will have the option to see your assertion check, meaningfulness, and jargon. Word check incorporates characters, words, sentences, understanding time, and talking time. Readability incorporates word length and sentence length. At last, vocabulary incorporates unique words and rare words. Since the time I began utilizing Grammarly, my language structure has shown signs of improvement than previously. That is all you have to know about Grammarly....  Read more

Machine Learning in a Nutshell

Categories: Tech | Pubby Cash Received:  0

Have you used Siri, Alexa, or any other chatbot? I'm sure you have. Now many people wonder how on earth could a person inside that phone talk to you whenever you want. First of all, there's no person. It's all artificial intelligence. What's artificial intelligence, you ask? It's intelligence demonstrated by machines, unlike the knowledge displayed by humans and animals. The bot in your phone is demonstrating intelligence by communicating with you (picking up and understanding what you tell it). Some people don't stop there. How can a non-living "thing" be able to speak and understand? That all comes down to the art of coding. Which kind of coding? Machine learning is where you should look. It's the process of machine learning (basically how to train your "bot"). First, there is data collection. Your machine learning model will need lots of data to train it. Think of it like this: how would you learn a new language? You would learn each word, one by one until you know the entire language, right? The same goes for training your machine learning model. You feed it thousands (even millions) of samples so it can get a deeper understanding. However, there is one little note: don't feed it all of the data. People recommend using 80% of the data for training and the remaining 20% for testing. It's because when you're testing the data, you want to see how accurate the model is at predicting the values for the data. If the model has already seen the entire data set, then it will get 100% every time. (It's kind of like cheating in a sense) The second step is to choose the model. This step can get tricky, but you can also be creative. A machine learning model is a file that was trained to recognize certain types of patterns. You train a model over a set of data, providing it an algorithm that it can use to reason over and learn from those data. One of the most common models out there is the linear regression model. A linear regression model will draw a line given your data and predict the relationship between two variables or factors. The factor that is being predicted (the factor that the equation solves for) is called the dependent variable. (Just a quick note: if you like machine learning, then you must be into a lot of math!) Anyways, the third step is to evaluate the model. It's when the test data you set aside, in the beginning, will be used. Now you will see how accurate your model is. In most cases, the more you train your model, the more accurate it will be. If your model is performing at where you want it to be, it is time to use that model in your projects. Let's say you wanted to understand the relationship between drug dosage and blood pressure of patients. Here, you would collect samples of drug dosage and blood pressure and train your linear regression model....  Read more

Kinect Games for the Xbox 360

Categories: Tech | Pubby Cash Received:  0

Do you like to play video games, but you realize that you don't get enough exercise. Well, Kinect games for the Xbox 360 is the right thing for you. Kinect games are video games, but instead of using a controller, you use your body to play. You can jump, kick, slide, and more to play the game it is fun and it also gets you into good shape. It will now mention a few Kinect games that I would recommend. The first one is Kinect Sports. This game features six different sports to play. The six sports are soccer, bowling, track and field, boxing, volleyball, and ping pong. Kinect Sports is fun because you can play with multiple people. The maximum amount of people that can play is four. You can play with someone against the computer or go head to head against someone. This is why Kinect Sports is a game that I would recommend. The second game that I would recommend is Kinect Adventures. This game features five modes of gameplay. These five are 20,000 Leaks, River Rush, Rally Ball, Reflex Ridge, and Space Pop. This game requires running jumping and dodging. I like this game because there is a lot of action and you can play with more than one person. All in all, Kinect games for the Xbox 360 are really fun and I recommend you to get it. ...  Read more

1 ... 3 4 5 ... 18

Daily Deals


MECHANICSBURG WEATHER