84 Followers
·
Follow

The Why, the How, and the What

“If you think you understand quantum mechanics, you don’t understand quantum mechanics.” — Richard Feynman (1918–1988)
“If you think you understand quantum mechanics, you don’t understand quantum mechanics.” — Richard Feynman (1918–1988)
“If you think you understand quantum mechanics,
you don’t understand quantum mechanics.” — Richard Feynman (1918–1988)

As Richard Feynman said, no one really understands quantum mechanics. I have done a lot of research work for writing this article, and I hope it could give you a head start to explore the amazing quantum world. But if you find it hard to understand, well, that is normal. I also found quantum theory weird and hard to believe.

What makes quantum computers different from classical computers?

You may have heard that quantum computers are fast. Yes, they are fast. Months ago, Google’s quantum computer has proven that it can solve certain types of problems 1.5 billion times faster than the top supercomputer on Earth. But the interesting thing about quantum computers is that they are not just fast. They behave the same way as described in quantum theory that you will see below and that makes it fundamentally different than a classical computer. …


Yeah, it’s free, only if you can use it

Image for post
Image for post

At first, Oracle Cloud Free Tier seems to be slightly better than other competitors. They let you use 2 VMs of 1/8th of OCPU, 1 GB memory and 50 GB HDD each. This is VM.Standard.E2.1.Micro instance and is supposed to be free forever.

So I created a trial account, input my credit card information, and went straight to create a new VM.

Out of host capacity

This was what I got when I clicked the “Create” button. I tried again for a hundred times, same result.

The next thing I tried was to ask for support from Oracle. My Oracle Support seemed to be the one I needed. But no, there is nothing about “Out of host capacity”. …


Code smells that are considered fatal during coding interviews

I will not write any more bad code
I will not write any more bad code
I will not write any more bad code

Every programming language has one or more coding style guidelines. All developers know that but some of them don’t care. They practice bad programming habits for years without realizing the importance of the issues they caused.

As one of the hiring managers at Zuhlke Hong Kong, I’ve seen a lot of code smells during coding interviews. Here are the top 16 bad coding practices organized into 6 categories: coding style, dirty code, testing, error handling, code complexity, and optimization.

The first 8 code smells are covered in Part 1 and the rest in Part 2.

Error handling

Murphy’s law states that,

Anything that can go wrong will go…

About

Alan Tai

Making things happen, making things right, because it matters | https://alantai.dev

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store