Sign in

Establishment Challenger. Love to put groundless assumption, not always though.

Back in 2016, I broke up with my then-girlfriend, facing a new yet scary dream of becoming a professor in the sports science field.

I thought it was a brave decision because as heart-breaking as it was, I believed that it would lead both of us where we had been…


Every decision we make results in something — whether it is positive or negative.

As we grow and time goes by, what we commonly refer to as “the learning effect” takes root somewhere in our subconsciousness and we get to see the principles(or fundamentals) of things thanks to our pattern…


In this post, I’ll be talking about some basic yet useful functions and techniques.

  1. Sequential-data-related techniques.
  • slicing techniques are quite useful as it allows you to literally slice sequential data into however smaller pieces.
>>>a = [1,2,3,4,5,6,7,8,9,10]
>>>a[0::2]
[1,3,5,7,9]
  • reverse
>>>a = [1,2,3,4,5,6,7,8,9,10]>>>a[::-1]
[10,9,8,7,6,5,4,3,2,1]
>>>a[::-2]
[10,8,6,4,2]
>>>list(reversed(a))
[10, 9, 8…

Python provides a different class for each potential error. The following is its format.

try:
<Code that may cause an error>
except "type_of_error", as error_variable , :
<Code that will follow when errors occur>

else:
<Code that will be executed when there is…

In this post, I’ll be talking about types of Error and how we handle them in Python.

But, Before we go further, why do we need exception handling in the first place? The following is a real-life example.

Suppose there was an automobile company, ‘A’ and they had a department…


IO module(python)

Well, some of my friends already know that I’ve drifted into IT world although I just started taking a baby step.

The camp began in the middle of last month. So fast forward a couple of weeks, what I have to say after scratching the surface a little…


Q1. Have you even gone on a diet? If you did, for what purpose? Was it effective?

As some of you may have already known, I used to be morbidly obese. I reckon I was quite conscious about it, judging by my then-self fiddling with my shirt and so on.


We all need a space in which we can relax. Yes, it is just a cliche — there is no denying it. But, relax from what? Well, one may think that we need to take some time away from something stressful like work, confrontation, argument and so forth. Whatever it…


Q. which is blamed for IRUDA’s inappropriate word usages and expressions? Its developers? Users? IRUDA itself?

It is indeed a tricky yet interesting question. I don’t necessarily think things without empathy could be the ones I consider trustworthy. IRUDA may have been intelligent and said like a human. However, it was just collecting information and pinpointing the right moment where they can use the collected information regardless of its appropriateness. For anyone who’s learned computer science would know the definition of information. Information is something that is retrievable, and processable. So among those considered as information are images, strings, video and integer, float, you name it but not emotions. They can’t tell the subtle nuances, and beauty of considerations for others. Therefore, in whatever ways, developers should have known how to prevent those indecent words spoken by IRUDA.


AI technology has promised to bring tremendous benefits to society. What we should remember regardless is what it essentially means. A stands for artificial, and I is for intelligence. …

Migo

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