Posts

Showing posts from September, 2020

How to connect to your FREE Autonomous Database using Python from Cloud Shell?

Image
  Remember  Todd’s post  about creating your Always Free Autonomous Database? What’s next? How about starting to work with it using  Python  language? In your OCI (Oracle Cloud Infrastructure) web console, click on the Cloud Shell icon in the upper right corner. This opens a Linux shell right inside your browser! The first run might take more than one minute in order to configure it. You’ll have up to 5 GB of storage and numerous tools pre-installed. Cloud Shell open Now the fun part… In order to run a test program that will display the date and time, you’ll need to download and unzip the Autonomous Database wallet. $ oci db autonomous-database generate-wallet --autonomous-database-id ocid1.autonomousdatabase.oc1.eu-frankfurt-1.abtheljtcwfhy5ohok66arn6ngrpqdigvq7bzcpygtfnkbldvgtk4rv3xhtq --file wallet.zip --password My_Strong_Pa55word $ unzip wallet.zip You’ll also need to set up the environment (TNS_ADMIN environment variable) so that the driver can find the connection string stored i

Probability Sampling Methods Explained with Python

Image
  Why do we need Sampling? Sampling is used when we try to draw a conclusion without knowing the population.  Population  refers to the complete collection of observations we want to study, and a  sample  is a subset of the target population. Here’s an example. A Gallup poll¹, conducted between July 15 to 31 last year, found that 42% of Americans approve of the way Donald Trump is handling his job as president. The results were based on telephone interviews of a random sample of ~4500 calls (assuming one adult per call. ~4500 adults), aged 18 and older, living in the U.S. The poll was conducted during a period of controversy over Trump’s social media comments. For this survey, the population is ALL the U.S citizens aged 18 and older, and the sample is 4500 adults. If sampling is done wrong, it will lead to biases that affect the accuracy of your research/survey results. To avoid selection biases, we have to carefully choose a subset of a population   that can be representative of the g

Flutter Reference

  Layouts Flutter Layout Cheat Sheet  -  https://medium.com/flutter-community/flutter-layout-cheat-sheet-5363348d037e Flutter Layouts Walkthrough: Row, Column, Stack, Expanded, Padding  -  https://www.youtube.com/watch?v=RJEnTRBxaSg Building Layouts  - https://flutter.dev/docs/development/ui/layout/tutorial Ux challenge on grid  -  https://lh3.googleusercontent.com/-MYvBdXoTTyQ/XnH8Eoc9M_I/AAAAAAAAAbw/xsp2g1hbYTgm8Vt5fLtCIzgXP-kf5p_mgCK8BGAsYHg/s0/2020-03-18.png ux challenge on grid  -  https://lh3.googleusercontent.com/-Jr5npcZQku8/XnH7kjprZ1I/AAAAAAAAAbo/MneYnj7a03o0d1Y0z3_kgbil8u5wvxFDQCK8BGAsYHg/s0/2020-03-18.png ux challenge on slider  -  https://lh3.googleusercontent.com/-5yWQf8ReaD0/XoyA2EXAmEI/AAAAAAAAA04/yV9s1ZHvYa8CDLIwhd00_UKn5QYGtQJTgCK8BGAsYHg/s0/2020-04-07.png Fetching data from internet https://flutter.dev/docs/cookbook/networking/fetch-data Sending Data to the server https://flutter.dev/docs/cookbook/networking/send-data Forms https://flutter.dev/docs/cookbook/forms/val