[ Politics ] Open Question : Do you think Andrew Cuomo has done a terrible job handling the coronavirus pandemic?
The person responsible for the spread of the corona virus is the Chinese leader. The other heads of government who have infected the citizens of their country are only partially responsible for the spread of the corona virus.
The pandemic worsened when 1 infected person returned home or to another country. Maybe there was more than one infected person visiting other countries well, which made it worse.
At the moment ……. it could be a popular choice ……….. because Cuomo acts 100x more presidential than Trump.
But on the street it says …… Biden is hellishly keen on choosing a female vice president ……. and I had a bad feeling, I know what his choice will be.
This woman will come to the presidency in one way or another, hell or flood … or the corona virus.
The situation in California is 1,800 cases and is going very well. This was a state where experts said over 20 million could be infected.
Quarantines obviously work. Should Trump declare martial law and order a 30-45-day military quarantine across the country to smooth the curve
Didn't Obama give everyone $ 400 in his tax return when there was a recession? This is nothing new. Whenever there is a recession, the government gives people money to boost the economy. The hope is that people will buy things instead of saving them.
I have several katana swords in view.
[Politics] Open question: Andrew Gillum was found in a hotel room with male prostitutes and crystal meth handed over. Are the Democrats still drooling over this man?
Vietnam? Yang? Name of the Vuenam? This country is called "Maya" and not "America". "America" was thought by an Italian mapper. Notice what the Italian country is called "Italy".
Pizzaro's old "pizza face" has only a few Mayans, which history calls the important ones. You see, your "North America" is actually "Maya" and we are "Mayan".
You were unlucky.
In this photo of Prince Andrew, Duke of York (taken with a Kodak disposable camera):
We see that it is taken with a flash (provided that bright light on the window is a reflection of the flash).
But when rays of light come straight from the camera, why are there black shadows behind the girl in the middle (Virginia Roberts Guiffre) and the woman on the right (Ghislaine Maxwell). It looks like the light source is coming from the left to create these shadows. Why are not these shadows filled with lightning? See how the flash has had time to get to the window and back to the camera?
How would such shadows arise?
Maybe you should put that on a shirt and wear it on the day of remembrance?
What exactly makes you a hero or a patriot? YOU served in the military? So did Timothy McVeigh and Michael Flynn and a few?
Other people … who cares?
Real heroes have bone spores!
USA 🇺🇸 USA 🇺🇸 USA 🇺🇸
Coursera has a course for the beginning of machine learning and the code is written in octave. This is the beginning of a solution for the third week exercises, but written in Python. Instead of a terminal app, I also try to learn Pyside2. The actual functionality of the program may seem silly, but I hope some of the things I learn in it translate to other real world problems. My code has two files so far.
import tensorflow.keras.datasets.mnist as mnist import numpy as np class DigitData(object): def __init__(self): # load the data from data sets (x_train, self.y_train), (self.x_test, self.y_test) = mnist.load_data() # reshape x to flatten from 28 x 28 matrix to a single # row for each example row, column, z_column = x_train.shape self.x_train = np.reshape(x_train, (row, column * z_column)) def example(self, index, train=True): if train: sel_ex = self.x_train(index, :) else: sel_ex = self.x_test(index, :) return np.reshape(sel_ex, (28, 28)) def label(self, index, train=True): if train: return self.y_train(index) else: return self.y_test(index)
import sys import numpy as np from PySide2.QtWidgets import (QLabel, QApplication, QVBoxLayout, QDialog, QHBoxLayout, QScrollArea, QWidget, QProgressBar, QPushButton) from PySide2.QtGui import QImage, QPixmap, qRgb from PySide2.QtCore import Qt, Signal from DigitData import DigitData class DigitLabel(QLabel): def __init__(self, digit_matrix): super(DigitLabel, self).__init__() self.img = QImage(int(28), int(28), QImage.Format(24)) self.img.fill(125) self.setPixmap(QPixmap(self.img)) square = np.reshape(digit_matrix, (28, 28)) # TODO: save pixel data in QImage as true grayscale 8 bit # TODO: place data into QImage without loop # TODO: deal with the j and i flipping fix for i in range(28): for j in range(28): pass pixel_intensity = square(j, i) color = qRgb(pixel_intensity, pixel_intensity, pixel_intensity) self.img.setPixel(i, j, color) self.setPixmap(QPixmap(self.img)) class DigitTable(QWidget): looped = Signal(int) def __init__(self): super(DigitTable, self).__init__() self.load_flag = None def loadDigits(self, digit_data): # show some data hor_layout = QHBoxLayout() for j in range(10): vert_layout = QVBoxLayout() for i in range(600): app.instance().processEvents() if self.load_flag == "quit": return 0 DigitLabel(digit_data.example(i+(j*600))) vert_layout.addWidget(DigitLabel(digit_data.example(i+(j*600)))) self.looped.emit(i+(j*600)) hor_layout.addLayout(vert_layout) # Set dialog layout if self.load_flag is None: self.setLayout(hor_layout) return 1 class DigitDialog(QDialog): def __init__(self, parent=None): super(DigitDialog, self).__init__(parent) # load data self.data = DigitData() v_layout = QVBoxLayout() self.bar = QProgressBar() self.button = QPushButton("View Digits") self.button.clicked.connect(self.load_digits) v_layout.addWidget(self.button) v_layout.addWidget(self.bar) self.setLayout(v_layout) self.setFixedWidth(400) # vars used in loading digits self.scroll = None self.dt = None def load_digits(self): # setup the button to stop the load if desired self.button.setText("Quit Loading") self.button.clicked.disconnect() self.button.clicked.connect(self.quit_load) # load the digits self.scroll = QScrollArea() self.scroll.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOn) self.scroll.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) self.scroll.setWidgetResizable(False) self.dt = DigitTable() self.dt.looped.connect(self.bar.setValue) self.bar.setMinimum(0) self.bar.setMaximum(6000) success = self.dt.loadDigits(self.data) if success: # load was not interrupted self.scroll.setWidget(self.dt) self.scroll.setFixedHeight(400) self.layout().addWidget(self.scroll) # setup button to remove digits self.button.setText("Hide Digits") self.button.clicked.disconnect() self.button.clicked.connect(self.hide_digits) self.bar.setValue(0) else: # set up button to view digits # load was interrupted self.dt.hide() self.dt.deleteLater() self.button.setText("View Digits") self.button.clicked.disconnect() self.button.clicked.connect(self.load_digits) self.bar.setValue(0) def hide_digits(self): # destroy the scrolling widget self.scroll.hide() self.scroll.deleteLater() # set up button to view digits self.button.setText("View Digits") self.button.clicked.disconnect() self.button.clicked.connect(self.load_digits) # set Dialog back to original size self.adjustSize() def quit_load(self): self.dt.load_flag = "quit" if __name__ == '__main__': # Create the Qt Application app = QApplication(sys.argv) # Create and show the form dialog = DigitDialog() dialog.show() # Run the main Qt loop sys.exit(app.exec_())