If this blog helped you in any way, please donate a dollar here

Saturday, July 27, 2019

The Techgig C Skill Test

I used to consider myself to be pretty good in C, so I decided to try out the world's biggest programming contest platform, TechGiG (Look here: https://www.techgig.com), or so they claim to be. I wonder why I hadn't dabbled in this platform all this years since the platform seems to be existing for quite some time now. I do remember some 5-6 years ago I had dabbled a bit in the website and then stopped, I wonder why, can't really recall.

So I decided to give it a spin. I decided to try out the TechGig Skill test. Here's what I found while attempting the test.

There were 25 questions and I got 6 wrong and 19 correct. I wonder which ones I got wrong. Also considering some multiple choice answers didn't really answer the question. Also, I really wonder what a Java Question was doing in a C Skill test! Take a look:


Being the Java n00b, I might have messed that up. Moving on to one of the brilliant CHTML Questions in recent times.


That's an amazing blend of HTML and C. Amazing HTML coding skills are the feature of the tests in TechGig, since this sort of goof-up is pretty common.

Let's move on to the wrong answers now. I got this wrong apparently:


Well, I do pride myself in such questions, but seems like I have forgotten how printf handles the parse string! Well, what does ideone think?


Dear! O Dear! Ideone might have got it wrong too! Wait, maybe TechGig was wrong? Dare I say that!

Let's move to the next incorrect answer by me. Here we go:


Well, well, well. Seems like I've forgotten the basics of pointers! :( What does ideone think then ?


I think I've caught on by this point. I'm quite a C n00b also. Shall we see the next incorrect answer by me ?


This was quite tricky, so it's possible I might have messed up here. But really ?


By this point I'm convinced that the compiler used by ideone is perhaps broken. Or maybe it's TechGig that sucks?

I'll leave it to you, the reader to figure that out.

Sunday, December 23, 2018

Open numbers in whatsapp without saving as contact

Whatsapp Number Opener

Say you want to make a whatsapp conversation with someone for temporary purposes but in order to do that you need to add that person as a contact first. Now adding someone as a contact is by itself a security risk as you can potentially expose your display picture and status to that person. If this is someone with whom you are involved in a transaction, then you'd not want to save this contact just for one time communication. Well, then what is the solution? How do you text this person without saving their number first?

Sunday, August 5, 2018

Multi-protocol Google Talk, Facebook Messenger on Pidgin with App passwords

With the new control in privacy across the social media websites, multi-protocol chat clients like Pidgin have had some tough times. This post aims to solve the problem with tools from this new era of the privacy conscious Web. For those who are unaware, Pidgin, is a chat client which aggregates most social media protocols like XMPP (Gtalk), Jabber, Facebook, ICQ, IRC, into one compact interface.


We'll go through this blog, the process to add app-passwords in Google and Facebook so that it works with Pidgin.

Google Talk App Password Generation:

Sign in here: https://myaccount.google.com/apppasswords

Step 1, select the app

 

Step 2: Use Other (custom name)


Step 3: Give a name,  I already have pidgin, so used this, for you, use "Pidgin" and click on generate.

Step 4: After generating you will get this window, copy the app password

Step 5: Use the generated password in Pidgin with your Gmail username as usual.

Now for Facebook App password generation.


Step 1: Open facebook settings


Step 2: Go to security and Login


Step 3: Scroll down to App Passwords under Two-factor Authentication and click on generate an App Password



Step 4: Apply similar steps and use a name for this after entering your password for additional authentication, if any.



Step 5: Use the generated password in Facebook app in pidgin.

Enjoy!




Wednesday, May 23, 2018

Clipboard Manager for Windows - Ditto

After my post on Clipboard Management here, which was basically clipboard managers on Linux and Unix-ly operating systems, here's one on Windows.

This cheeky sounding software is named Ditto and is a blessing for all Windows Users.

 Here's a screenshot:


So what this does, is keep track of your last copied items! Works with images as well.

Download ditto from here or from the Ditto Project page: https://ditto-cp.sourceforge.io/

Enjoy!