Administrator

[email protected]

Total likes received: 115 | Pubby Cash: 377


Andy Tang is the creator of Gopubby.com who has a passion for programming and everything related to technology and is skilled in many areas of coding including Python, HTML/CSS, Bootstrap, and SQL. He is experienced with many Python modules including Pygame, Flask, BeautifulSoup, and Kivy. He also has a solid knowledge of Windows, Mac, and Linux/Unix operating systems.

Articles Liked by Me: 82

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

COVID-19 Testing in Wastewater - P/A Test Kit in Urgent Need

Categories: Tech | Pubby Cash Received:  10

It has been found that people who are infected with COVID-19 shed the virus in their stool even before they show any symptoms. This generates a necessity of establishing a wastewater surveillance program of testing wastewater periodically and mapping the results to the number of infected people by predictions. I am invited to participate in such a program today for the Borough of Indiana. As the fall semester is approaching, the Borough and the University are worried about the outbreak in a second wave as students are returning to campus from all over the country. In today's Zoom meeting, I proposed to collect time-series of raw wastewater samples from the residence halls and academic buildings, and then to test the presence of the COVID-19 virus in the samples. With sufficient numbers of binary data on presence and absence, an approach of using statistical tools combined with the data on the numbers of people who are using the buildings will be able to give projections on the number of infected people. This sounds promising. However, the problem is how to quickly do the testing with the raw wastewater samples? There is no test kit available so far. According to this EPA webpage, such standard method of concentrating and quantifying SARS-CoV-2 with molecular and live, or infectious, assays in wastewater is still under development. With regard to the non-standard methods, the MedRxiv has this paper, which has not gone through a peer-review process. The method introduced by this paper involved processes of wastewater pasteurization (at 60 deg C for 1-1.5 hrs for virus inactivation), 0.2 um membrane filtration (40 mL filtrate is stored at 4 deg C for further analysis), filtrate centrifugation (precipitated viral particles collected and resuspended), RNA extraction, and then quantitative PCR (qPCR). The process is labor-intensive. For individual's home uses, it is just useful for each individual to know the binary data - presence or absence of virus. Quantitatively giving the copies of RNA segments is not that meaningful for each home, despite that it is indeed important to know the proprietary models (by BioBot Analytics Inc - the affiliation of the paper's authors) of mapping the copies of RNA segments from wastewater samples to the actual number of infected people coupled with confirmed clinical cases as validation data points on the larger scale at the Borough or the University. With that said, qualitative methods for COVID-19 testing in wastewater are highly desirable. If there are any P/A test kits available on the market, I will buy it. ...  Read more

Intel Products and Future

Categories: Tech | Pubby Cash Received:  0

Intel Corp's stock (INTC) logged one of its worst days in 20 years on Friday. A 16.24% decrease in the stock price appeared after the chip giant announced that its next generation of 7nm chips would be delayed by 6 months. In recent years, its competitor Advanced Micro Devices Inc grows very fast and has a very good reputation of making high benchmarked but affordable chips for gaming computers. The AMD Ryzen chip series have more cores and threads to their Intel rivals at the same level, despite that some people believe the Intel chips still excel in the power per chip. As a 20-year Intel chip user, my preference is difficult to be changed. The top-notch chip technology is a highly advanced area and I don't believe other competitors can fully catch up with the chip giant in a short period of time. I tend to believe that despite of a lower benchmarked score, Intel chips are more stable and therefore more suitable for desktop applications. Many softwares are also designed and optimized based on the Intel chips. I had a failing experience of installing MATLAB onto a laptop with an AMD chip around 2009, because the AMD chip at that time was not compatible with MATLAB! Now 10 years have passed. Although the situation might have been changed, the habit stays and it won't be easy for people to change from their comfort zone to risk something uncertain. With that said, my next chip choice would still be Intel, just to be safe. Actually, the 10th generation Intel chips are selling very fast. Best Buy and Amazon are always out of stock on the I9 10900K, and the prices at other places are crazy-high. Those retailers just want to rip off some quick money. This market situation also proves that customers still like Intel and have confidence in Intel. I will keep refreshing this bestbuy page from time to time to sniper an I9-10900K. ...  Read more

The Algorithm to Create a Crossword 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

How to Make Diagonal Words and Making them Backwards 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

1 ... 5 6 7 ... 17

Daily Deals


MECHANICSBURG WEATHER