What went wrong with our education system

How bad can education be? It shouldn’t be bad, or it’s not even supposed to be! But here we are… Quite heartbroken, and restricted because there is no other option out there but educate ourselves in the tiring, coercing manner they teach us. Mugging stuff up on the last day of the exam, not only because it doesn’t make any sense to you but also because the exam is the only time we are going to require it. Mug and vomit. That’s our routine 4 times each semester, for every subject and that’s repeated for 8 semesters in total. What a dumb shit thing we have had to go through. I’ve just cleared engineering, and what can I say, the most pathetic experience of my life was in these 4 years. What the hell did I learn in these 4 years anyway? Well, one thing I did learn, and that was how flawed our education system really is. It’s not flawed in a certain number of places or anything like that. It is a 100% wrong! I am emotionally vested in myself, and the education that I get, and the training that I get which I can use once I start my real job. But honestly, after receiving the kind of dull, lacking creativity, lacking enthusiasm kind of education I (or we all) have had to endure, I can say one thing: a serious change is required in our educational system. Also, our lecturers need to be better equipped with the right knowledge to guide us, pave the way for us to race across the sea of knowledge so we could grasp all we can. All they did was give silly excuses like “Students aren’t interested”, “Need to get approval from Principal”, etc. BULLSHIT! I say. If you really want to get something done, you would go out of your way to get it done, come what may. As a student, I don’t have time to entertain my professor’s excuses about lack of interest. Great teachers can gather a crowd of students out of their own interest. Our teachers forget that not only do they work for us, but also that they need to work for the future of our world and our country. Without passion, teaching is a very useless profession and my request to all teachers who lack it is to go find a different profession rather than expose to the students how boring the subject is. Good people, engineers or any other grad for that matter can be made if the people at the top most level are good. In the case of education systems, the Principal, and of course the teachers. We need teachers who can bring out the creativity in them and show us the joys of the subject. Students will then realize the possibilities that can come from learning the subject. For some, it will act as a way to retain information, for they can remember the creative act better than say, reading a textbook for instance.

As a kid, I was taught that all of us are special. Yes, each and every one of us, whether adult or child. We were born with a purpose in our lives. God simply does not roll dice! As humans, we are the chosen ones. But to learn, and experience the fact, you need a kind of education which nourishes your senses to a world with endless possibilities, where you can become whatever you desire, pursue your interests to the fullest and to give back to the society as much as you can. Someone needs to instill or invoke the untapped fire of creativity in us. Creativity. It’s really such a magical thing. Gives me immense joy creating things, whether the world knows about them is another thing altogether but I enjoy creating things. I believe my early days in school helped me out immensely. I realize this now, after looking at India through the scope of my college. From an early age onwards, I have been encouraged to open my eyes and fling my arms to the world. There’s everything out there. So much happiness. Something that I deeply feel that I need to share with the rest of the world.

Haikyuu!!: Karasuno Koukou vs. Shiratorizawa Gakuen Koukou

Probably not worth writing a review for, because it was too dull for me. Lost interest in the series, because I guess that I finally realized how repetitive it had become, and it was a complete turn off for me. Not the OP however!! The OP was probably the only reason for me to watch the show.

After 2 brilliant seasons of ‘dandiya’, I was anticipating that the third one might score once again in the creativity department. How wrong I was. There’s practically no reason for anyone (especially if you enjoyed the first 2 seasons) to watch this. Okay, here comes a spoiler: Karasuno wins. Happy now? I am surprised, that although I enjoyed the first 2 seasons so much because of the new combos and strategies that both teams were coming up with to defeat one another at all costs. Season 3 offered nothing new, no new combos or anything, just that the man of the match this time was Tsukishima. Just imagine how boring it must have been it was only 10 epis long but it made me feel way more bored than the previous other seasons. To be honest, the previous 2 seasons were not boring at all!!

And surprise, surprise! It is in the top 10 on MAL. Which just goes to show (in my case) that the popular choice of the public and my choice intersect at around 80%. Meaning, I do not agree with the popular choice of around 20% of anime.

I think that after this, I have lost the Haikyuu!! fever. But I shall come back to listen to the OP since, in all three seasons the OPs have blown my mind and I listen to them even today!!

 

Using doAsyncResult in Anko

I was stuck on this for a little while since it wasn’t updated in the documentation and also since I am still a newbie at Kotlin 😉

Some of the description has been already added in the code, as you can see. Let me explain the premise of this solution in any case. The problem arose because I had to perform a network task in the onCreate method and as you know we can’t normally perform a network task in the uiThread. Luckily, Anko provides an elegant solution to this without having the need to implement an AsyncTask interface. doAsync runs whatever task you give it but does not return anything. However, although doAsyncResult is similar to doAsync it can additionally return an object.

A Merry Christmas to you!

Manga Review: Bleach

Before I begin describing Bleach, I should make it clear that Bleach is quite an underrated production (my guess is because of the anime which forked from the original story) since the Manga on the whole was pretty exciting. I can sense the reason for the hype for Bleach, but trust me… The hype would have been more if maybe the anime reproduction was a little better.

So what comes to mind when someone says Bleach? Detergent, eh? (Just kidding, even if you were thinking of it) Well, to a person like me who analyses anime (and stories as such) it didn’t feel as though the flagship victory of Bleach belonged to either Zanpaktous, or Bankais but instead the main glory of Bleach were its characters! (You probably think that I say this for every review, um yeah, you are sort of right). But it’s true. Really. I do mean what I say, that the most important point going for Bleach is really its characters.

Did you notice how new characters were introduced with the beginning of a sub arc (within an arc. To be quite fair here, Bleach can only be said to have 3 arcs). Hiyori, Risa, Keisei, Shinji and later Nel, Dondochakka, Pesche, etc. you realize that these characters played a huge role in those arcs and even got mixed up in on the action in subsequent arcs. It was quite masterful of Kubo to juggle the personalities of as many characters and choreograph some great conversation between them to build their roles in the story and build the story at the same time. Pretty cool, huh! Every single character who plays some part (even a small one) has been fleshed out pretty well if you ask me. And it is the conversation between them that are so lively and comical that it makes you feel as though Bleach is not just some Shounen-action dance, but a well nurtured baby of Kubo Tite.

Speaking of arcs, there are only 3 as I have mentioned before. First is the best in my opinion. Second is the shortest, but has the least amount of character development (a.k.a my satisfaction level), and the third is neither the longest nor the best out of the three, and it’s not the worst either… Better to be on one side rather than in the middle, anyway that doesn’t even make sense. But the first arc (Aizen arc, even the name of this arc is a spoiler darn it!) captures the true colours of what Bleach can offer you. Sucks right? The first is the best and you just have to read 250~ more chapters after it just to finish the manga. Don’t fret, it’s not bad as I make it sound. On the contrary, it is… wait for it… Boring! The last two arcs really lack what the first arc had in abundance, comic relief. Although, the amount of fighting that takes place in the final two arcs in 250~ chapters is almost about equal to the amount of fighting that takes place in the first 400~ chapters (first arc). Just imagine, you have to go through hours of text about two men provoking and taunting each other and talking about how great they are (and in the end both sides are beaten up pretty badly). So you know now what you are up against.

Well, look here now. On the bright-side I will make a prediction based on the fact that although I haven’t watched the anime and I have no details at all about where it forks away from the Manga that the manga is definitely better than its anime counterpart. Let me explain to you why this fact seems so apparent to me. Because of the ratings of Bleach on MAL. Wait a second. It seems like the manga has got an even worse rank than the anime (x3 times bad). I might be wrong here. But that shouldn’t be a problem, you can both watch and read it if you like and decide for yourself 🙂

The only other problem that I noticed was the way the manga was the drawing of the fights was quite unintelligible. I mean honestly, I gave up trying to decipher what was going on in the picture. Like dude! If you are going to make a manga that’s mostly about fighting, at least make sure that you can draw the fights properly! Pah! That was the most annoying part. But I got used to it after a while. Also, it seemed as though the final arc ended a bit abruptly. I thought it would go on for at least 25 more chapters… Well, whatever, never mind.

As the conclusion, I would say that if you ain’t got time, read the first arc and then jump to the last chapter. If you think about it, the number of character additions keeps on reducing as the number of arcs increases. Members of Xucution in the 2nd arc (that’s around 6 I suppose) and the 5 members of the Zero division in the 3rd. In other words, Bleach loses what it had going for it in the first arc. Just look how many characters were introduced there (well of course it was the first arc, but even then. Characters being the charm of Bleach it would seem that it became a little rusty as the story went forward). Trust me, that might just as well be the best advice of the day given to you.

Switching over from http to https

Hip hip hurray! I recently made the switch using a popular and open source service known as Let’s Encrypt. Its service provides an SSL layer over the connection so that information sent to the server will not be understandable by the attacker even if they listen on the network. Well, to be honest I’ve been wanting to do this for a long time, but I did not know about this free service before! It works really well and a couple of tutorials helped me set up my Nginx WordPress installation for https.

So yeah, those lines above did it for me. But before you add them to your Nginx configuration file, follow the steps given on the Let’s Encrypt site. You need to start by installing certbot on your system, then create certificates and keys. Since these certificates expire after 90 days, you also need to renew them periodically. But rest assured, the setup was easier than I had expected, you should certainly give it a try. Not to mention that it’s free 🙂

Haikyuu!! Season 2

This review had been pending for several months now, I watched Haikyuu!! S2 before my finals, and then my vacations had a lot of hustling, but now as I can sit on my swiveling computer chair and relax it might be a good time to pen down my thoughts on this anime.

Haikyuu!! is clearly a unique anime, because there’s no anime that’s as good as this! S1 was a smash-hit already, then the creators had to come up with the second season, which was a continuation of the first and when I thought S1 was as good as it gets, S2 surpassed my expectations! You might have guessed, it has become my favorite sports anime series.

So this time, I.G decided to spice things up by changing the mostly male demographic by adding one more female. Hurrah for the improv. But in any case, not like there were hints of romance. OK, maybe yes. Wait, lemme think… What?! No! You call that romance!

So yeah, Haikyuu!! S2 mostly has romance in it, more than volleyball. Yachi-san becomes Hinata’s love of life, he quits volleyball, gets married to her, and THE END!

Watch the anime, if you haven’t yet 😉

Creating a Bootable USB

Recently, I had the need to create a bootable USB to install the new LTS version of Ubuntu on my laptop. I stumbled upon a tool called Rufus which did the trick very well.

But there were several problems along the way, most because there weren’t clear instructions on all the sites that I visited in order to learn how to create a bootable USB.

The first thing that you have to do is download the tool, whichever OS you are on. Run it, and browse for the disk image. Select the GPT partition style in the dropdown menu, and now the most important part:

Set Create bootable disk using to DD tools!

I was stuck here because I was using ISO image instead. When I tried booting my USB on startup I got a “Missing operating system” message. I got the same message even when I created the bootable USB using the tool provided by Ubuntu!

How the LinkedList class in Java works

I will explain how to perform operations like add, push, pop, poll, etc on LinkedList and what they mean. At first, it may seem a bit confusing, but I hope this article resolves a few conflicts.

A simple LinkedList of Strings declaration and definition looks like this:

There are several ways to add new elements to a LinkedList, but they mean and do different things. I will show you how each function works one by one.

add

One of the first methods you might encounter to add an element to a LinkedList is add. You can make use of add function in this manner:

Now let’s try to do the same with push!

push

We can conclude from this that add puts the element at the first position and then moves on to further positions. push on the other hand inserts elements quite like a stack. The element that is inserted first is the last when we traverse the linked list.

Let’s look at ways to fetch elements from the LinkedList. For this, we need to assume that the linked list already has some elements. Assume that for the subsequent examples, the LinkedList contains elements added using the add method like above.

pop

Just a reminder that elements are added in the same fashion as in add.

Since pop and poll are nearly the same (poll returns null when the list is empty whereas pop throws an exception) I will not discuss poll.

pollFirst

Just a reminder that elements are added in the same fashion as in add.

As can be seen, pollFirst and pop function produce similar output.

pollLast

Just a reminder that elements are added in the same fashion as in add.

And finally, pollLast!

Why people play MOBA

Usually, a lot of things in life are based on actions and consequences. When you act on something you can somewhat (if not fully) expect what the consequences will be. This theory has way too many variables in games like LoL where prediction on whether you will be the victor or loser depends on a multitude of configurations, players, their states of mind, their alertness, knowledge of the game, reflexes just to name a few. Non-scientifically you could even say these games are equivalent to gambling! That’s how unpredictable they are.

Victory depends not only on you but also on how your team plays, but at the same time without you your team will lose. It depends on the enemy team as well, and each and every player contributes to their team’s fate.

“Mayhaps this is a game of luck, like battleship”, you might say, but think about the hours of practice and the experience people have gained in order to control the turn of events in the game! It’s like reliving a war every time. There’s a Japanese saying which goes like, “A war is won before it is fought”. Mayhaps wars are inevitable, and mayhaps people are forced to join it even if it’s against their will. Mayhaps even the above quote is more intuitive than it seems.

But we don’t know unless we play :3

The confusing yet awesome behaviour of the DatagramSocket class

One of the recent projects that I am doing involves using UDP datagrams for communication. The DatagramSocket class in Java enables me to use that feature. At first, I wasn’t aware of all the features of the class, but as I started coding and explored different methods of using that package, several more things became clear to me. Well, firstly the documentation and tutorials that I looked up to understand how to use the class gave me a very minimalistic approach to using it. So, let me clarify how this class manages the network and how you can use this.

Let’s start with the constructor. For a minimalist working server, you must provide a port (otherwise packets might not get delivered to you). Basically, the DatagramSocket class takes care of listening to a port and sending data from that same port (if needed). It does not automatically send ACKs when a packet arrives. It listens, halts the process till data arrives.

A client on the other hand does not require a port to be specified in the constructor for minimalist working. Why? Because we are assuming that the client is not listening for any data (for the time being). It only sends the provided data to a specific port specified by an InetAddress. Now there is an important thing to understand about all this. If a port is not specified by the client, it randomly chooses one. Not specifying a port does not mean that a port is not required by the client to send the data! When the DatagramPacket arrives at the server’s end, the server can find out from the packet several things like the InetAddress of the source and the port through which the packet was sent. This allows the server to send data to that source through it’s address and on the port that it’s using.

The conclusion that can be drawn from these facts is pretty cool. A thread that’s listening on a port can receive packets from multiple sources, and in the same way a thread that’s sending packets can send them to different hosts!

UPDATE:
The real important thing to remember is that you cannot use the same socket simultaneously for sending and listening. If a socket is listening on a certain port, you need to either make it stop listening and send your packet away or you need to open another socket to do so.

Of course, it is not possible to listen on multiple threads using just one socket. For this reason, one of a good architecture designing techniques for such a mechanism is as follows:

  • Listen on one socket
  • Send packets using another socket