Suramya's Blog : Welcome to my crazy life…

October 19, 2023

How to approach a topic to make learning hard things easy?

Filed under: Interesting Sites,My Thoughts,Tech Related — Suramya @ 7:16 PM

Talking about complicated topics is hard. I remember reading somewhere that if you can’t explain what you do in simple enough terms that a grandmother can understand it then you don’t know enough about what you are doing. Unfortunately I can’t find the original quote but if you think about it, it makes sense. People who don’t understand a given topic in depth will revert to using acronyms or jargon to explain what they do. Folks who do understand will be able to explain it using small words and concepts. The best example of this is the Thing Explainer: Complicated Stuff in Simple Words a book by Randall Munroe from the XKCD fame. In the book, things are explained in the style of Up Goer Five, using only drawings and a vocabulary of the 1,000 (or “ten hundred”) most common words. Explore computer buildings (datacenters), the flat rocks we live on (tectonic plates), the things you use to steer a plane (airliner cockpit controls), and the little bags of water you’re made of (cells). My Niece and Nephew love the book and refer to it regularly.

Julia Evans recently gave a talk on Making Hard Things Easy that everyone should listen to or read, since she also gave a transcript. Which was awesome else I would have missed out on this great talk. She talks about how to approach a problem/question/topic to make it easier to understand with examples from her own experience.

Julia is a wiz at making difficult topics seem easy. She publishes Webzines that explain computer topics in easy to understand comic format. I have bought all the ones she has published so far as PDF’s and would recommend you do the same. The site above has samples of her work so do check it out.

– Suramya

October 18, 2023

Doctor Who’s first episode is not a part of the BBC collection

Filed under: My Thoughts — Suramya @ 9:17 PM

Folks who know me (or read my blog) know that I love Doctor Who. I have bought pretty much every New Who book published and most of old Target ones as well. Rest are in the queue to purchase pending funding approval (from the wife 😉 ) This year is the 60th Anniversary of the show and it is supposed to be a big thing with a whole bunch of things planned to celebrate the show.

I recently re-watched the entire New Who (9th Doctor onwards) and I have to say it is a show that just keeps getting better. There have been some ups and downs over the years for example, I really didn’t like the 12th Doctor much. Though the stories he had were quite good the character was not something I liked much, the 13th on the other hand was phenomenal. Personal ranking would be 10th, 4th, 13th, 9th and 11th with the 10th being the best.

To celebrate this occasion BBC was planning on putting the entire backlog of all of the Old episodes going back to the 1st episode broadcast back in 1963 in one location on iPlayer. Unfortunately, thanks to one idiot it looks like the set will have all episodes except the one that started it all: The first-ever story arc and the introduction of William Hartnell’s first Doctor, which will be missing from the set because the son of the original story’s author is having a hissy fit over the casting decision for the 15th Doctor.

Mr Coburn’s son claims that the BBC has been in breach of copyright since his father’s death in 1977. He has demanded that the corporation either stop using the Tardis in the show or pay his family for its every use since then. Stef Coburn claims that upon his father’s death, any informal permission his father gave the BBC to use his work expired and the copyright of all of his ideas passed to his widow, Joan. Earlier this year she passed it on to him.

He said: “It is by no means my wish to deprive legions of Doctor Who fans (of whom I was never one) of any aspect of their favourite children’s programme. The only ends I wish to accomplish, by whatever lawful means present themselves, involve bringing about the public recognition that should by rights always have been his due, of my father James Anthony Coburn’s seminal contribution to Doctor Who, and proper lawful recompense to his surviving estate.”

But if you read through his Twitter feed (I read a few posts) you will see gems like the following:

Regarding the hysterical hatred coming my way from the entitled outraged ‘fans’ of Doctor Who, I should say that, in the event of my death, I have bequeathed ALL my father’s DW related copyrights, to an ENEMY of the BBC, possessing ALL the resources required to act against them.

By that he means Russia. If you want to read the hateful postings of a sad old man who has never accomplished anything in their life and is jealous of their father’s achievements you can go search for his posts on Twitter (I refuse to call it X). He is someone who openly supports Hitler, is a transphobic racist & frothing islamophobe who glorifies Russian violence against Ukraine.

In his own words he wants to destroy Doctor Who because… I don’t know.

Would you plead so with Davros?
Or beg mercy from The Master?
I am ‘The Undoctor’. I have resented the success of Tony’s bastard brainchild, while his REAL children were left bereaved & forgotten, by the BBC, ALL MY LIFE.
If I could ERADICATE DW & the BBC from existence, I would.

In response to someone who asked “What do you actually gain from doing this though?” Stef Coburn replied: “Vengeance.”. Vengeance for what is something I can’t figure out, unless he means having a Black doctor and gay/Trans characters in the show (Which it always had). Basically I think that Stef Coburn couldn’t see the joy folks feel when watching the show and decided to rain on everyone’s parade by being a petulant brat. Or he just saw an opportunity to make money and used this as the perfect time because of all the focus around the 60th anniversary celebrations. Otherwise not many would have realized how a small minded bigot trying to ruin an awesome show.

In the days since his ranting/posts started multiple folks have posted copies of the “Unearthly Child” on Twitter, YouTube and other filesharing systems to get the episode out there.

Hopefully this will get sorted soon and folks will be able to see the episode that started it all.

Source: Slashdot: First ‘Doctor Who’ Writer Honored. His Son Contests BBC’s Rights to ‘Unearthly Child’

– Suramya

October 17, 2023

Best Support response times and quality I have seen is from the WordPress Activitypub team

Filed under: Computer Software,My Thoughts,Tech Related — Suramya @ 10:49 PM

I have been using Open Source since I found out about it back in 1999. At present majority of the software I have running on my system is opensource with a few notable exceptions such as Microsoft Word (Libreoffice still has formatting issues) and CrossOver by Code Weavers (that allows me to run Windows software on Linux) and a few games that I don’t get to play enough. Which means that I have considerable experience with the support offered by the various opensource projects. The support ranges from RTFM, no responses to questions or detailed responses from the team/users.

Out of all the projects that I have reached out for support the most fantastic & the fastest support response has been from Matthias Pfefferle (German Site) from the wordpress-activitypub project. I have raised multiple tickets with the project and have always gotten a quick (Fastest response in 2mins!!!), detailed and helpful response to my questions. For the issues I raised, some of them required a code fix and a fix was released within days. I don’t think I have received such a fantastic response even from sites/projects where I am a paying subscriber.

Anyways, we always post about the bad experiences we have so I think that we should also take time to post about the fantastic experiences and people we interact with because there is way too much negative news out there and these small things can help bring a smile to someones face and make sure they know that their hard work is appreciated.

If you run a WordPress Blog (self-hosted) you should definitely install this plugin and federate your posts to Mastodon (and the rest of the fediverse).

– Suramya

October 16, 2023

Using Android to generate QR codes for VCF files

Filed under: My Thoughts — Suramya @ 4:48 PM

Last week I was trying to find a software/site to generate a QR code that when scanned would download a VCF card on the scanner, the idea being that I would put it on a visiting card and then anyone could scan the card to get the details and save them instead of manually having to type them in.

When I had last tried this a couple of years ago I found a few sites that would do this and since those sites were down I searched for others and while I did find them they all were creating a QR code that had a URL for people to visit and then download the details from there. Basically it meant that if that site ever went down or decided to start charging for this all the visiting cards I had would end up being useless.

I was about to code something to generate this be then I half remembered that Android had the ability to generate QR codes as well. So I checked in my contacts and to my joy I found that Android has the built in ability to generate a QR code for a given contact entry. All I had to do was create an entry with my details and use the system to generate the QR code.

It is interesting that a lot of the functionality that we would get by downloading extra software (both on the phone & computer) is now baked into the OS itself. In a way it is good because I don’t have to download anything when I setup a new system but it does reduce the options available because whatever is the default system available is what people will use. Which is why Microsoft including Internet Explorer in Windows for free was a big issue in the early 2000’s.

That being said, I was happy that I didn’t have to code a QR -> vcf generator because I do have other work I need to look at…

– Suramya

October 12, 2023

Someone got fired for not using Windows because the invasive workplace surveillance tool didn’t work well on Linux

Filed under: Linux/Unix Related,My Thoughts,Tech Related — Suramya @ 9:38 PM

There are a lot of reasons why I recommend people don’t use Windows but there are times when you have to use it because it is required for work, or for other reasons such as compatibility (though CrossOver by Codeweavers is a lifesaver for that). Over at HackerNews, there is a thread about a post over at Reddit (I guess people are still using it…) where a guy is claiming that “I Lost my job because I refused to use Windows, who is at fault?”)

I have been using Windows at work at almost every company I have worked with because that is the default and most corporate apps are designed for and work only with Windows systems. Since I personally prefer using Linux I have asked (and in some cases) gotten a Linux version of the desktop for my use. The main blockers for corporations to use something like CrossOver is the problem of support. If a company is running MS Office on Linux using crossover and they hit an issue, MS can and does blame it on the setup and asks you to revert to a standard setup. I have even heard folks claiming that they (MS) have blamed custom plugins that the company was running for the issues were being highlighted.

All that said and done I don’t think I would ever point blank refuse to use windows when my company asks me to run it and threatens termination if I don’t. Though to be honest I would have also started looking for other opportunities if I was in this persons shoes since as per their post the reason for the demand was that: “A software they use for time tracking didn’t support screenshots on Wayland and I refused to switch to Windows (xorg is just no for me) to support them.”.

Having a program running on my personal machine that constantly takes screenshots and uploads them to a remote server is not something I would agree to do. We don’t know what company they were working for but this kind of invasive surveillance might not be 100% legal in all locations. A company might get away with it on work systems if they have a contract and the user explicitly agrees to it but on a personal machine… If the user forgets it is running and accesses their health record, or bank account or other sensitive data their employer would have a copy of that data. Imagine if they got breached, how much sensitive & personal data might get exposed with this setup.

A lot of work has been put into these surveillance technologies and there is a whole industry around monitoring people at work to ensure they are actually working. In a previous company a team wanted to put software on all office computers that would track the time the person was actually typing/moving the mouse etc and use that to calculate their productivity and then rate them on that. After the system was demoed, I asked how it was accounting for time spent in face to face meetings, design discussions, calls etc that don’t necessarily need a computer, the answer was vague enough that the head of the department remarked that if it was implemented every single member of the management team would be rated as non-productive as a majority of their time was in meetings and discussions etc.

During covid a lot of people were worried that folks working from home would not actually work and started tracking mouse/keyboard activity. So people came up with ingenious solutions to ensure that the mouse was moved and text typed on the office systems. Some was done via software/scripts others used hardware and innovation such as taping the mouse to a desk fan amongst other methods.

This kind of monitoring is being routinely done on employees who don’t have much options and are not able to move easily. The end result is that the company is trying to maximize their profit by nano-managing their employees and using this tech to ensure they squeeze all possible work out of them while paying the minimum amount.

Now coming back to the original question, was it wrong to insist on using Linux when the job requires you to use Windows? If the company was giving me a laptop/computer running windows and I formatted it to run Linux then I would be in the wrong. If I am using my own computer then I can use whatever OS I want as long as the work gets done. However if I am insisting on using Linux on a Work computer when they require windows and even after multiple warnings they don’t switch back to Windows then the company is right to fire them. (Assuming that there are no other issues such as the invasive monitoring we talked about earlier.)

There are multiple people who will find this stance unacceptable but there is a rational behind this that not everyone thinks about. The company might be legally required to keep records/logs of work, mails sent etc and the audit requirements would not be met if a non-compliant system was in use. Similarly the default backup and archiving systems might not work with Linux and cause problems. There are a ton of issues that would need to be worked out before having a mixed use OS landscape and if no other considerations are there then the company can be justified in firing such a person who refuses to use Windows because they don’t like it.

Source: Hacker News: Lost my job because I refused to use Windows, who is at fault?

– Suramya

October 11, 2023

Coin toss is not completely random as per latest study

Filed under: My Thoughts — Suramya @ 5:35 PM

We have always been told that the coin toss is a perfectly random event with a 50% probability of heads vs tails. Turns out that is not exactly true… Researchers at the University of Amsterdam did a study where they tossed coins over 350,000 times to see which side they land on and found that instead of being 50-50 probability there is a 51% chance that the coin would land on the same side they started on. This study has been published in the

Many people have flipped coins but few have stopped to ponder the statistical and physical intricacies of the process. In a preregistered study we collected 350,757 coin flips to test the counterintuitive prediction from a physics model of human coin tossing developed by Persi Diaconis. The model asserts that when people flip an ordinary coin, it tends to land on the same side it started — Diaconis estimated the probability of a same-side outcome to be about 51%. Our data lend strong support to this precise prediction: the coins landed on the same side more often than not, Pr(same side)=0.508, 95% credible interval (CI) [0.506, 0.509], BFsame-side bias=2364. Furthermore, the data revealed considerable between-people variation in the degree of this same-side bias. Our data also confirmed the generic prediction that when people flip an ordinary coin — with the initial side-up randomly determined — it is equally likely to land heads or tails: Pr(heads)=0.500, 95% CI [0.498, 0.502], BFheads-tails bias=0.183. Furthermore, this lack of heads-tails bias does not appear to vary across coins. Our data therefore provide strong evidence that when some (but not all) people flip a fair coin, it tends to land on the same side it started. Our data provide compelling statistical support for Diaconis’ physics model of coin tossing.

This means that we need to change the behavior of systems that depend on the coin toss to account for this slight bias. To give more context and the magnitude of the impact of this bias if it is not addressed the paper calculated the following:

Could future coin tossers use the same-side bias to their advantage? The magnitude of the observed bias can be illustrated using a betting scenario. If you bet a dollar on the outcome of a coin toss (i.e., paying 1 dollar to enter, and winning either 0 or 2 dollars depending on the outcome) and repeat the bet 1,000 times, knowing the starting position of the coin toss would earn you 19 dollars on average. This is more than the casino advantage for 6 deck blackjack against an optimal-strategy player, where the casino would make 5 dollars on a comparable bet, but less than the casino advantage for single-zero roulette, where the casino would make 27 dollars on average. These considerations lead us to suggest that when coin flips are used for high-stakes decision-making, the starting position of the coin is best concealed.

This is a fascinating study that kind of shows that nothing is ever random and that there is some implicit/explicit bias towards a particular outcome. Be it a coin toss or something else. Some people will take this example as more evidence that the universe we are in is actually a simulation, but I don’t agree with that. This is more of at a granular enough level nothing is chaotic/random.

Source: Boingboing: Coin toss not so random after all, says groundbreaking study

– Suramya

October 10, 2023

Sacked employees burn office documents showcasing why access should be removed for terminated employees

Filed under: My Thoughts — Suramya @ 6:40 PM

There is a reason that we tell companies to revoke access as soon as an employee leaves the company especially if they have been fired. If a person has been fired they can try to retaliate against the employer by damaging office systems, equipment, data etc or leak/corrupt data & intellectual property as well.

Which is why once a person leaves the company we should immediately lock them out of the system, change any passwords they had access to, remove their access from entering the facility etc. Some of you might ask if this is really required/needed so here’s the latest example of what can happen if you don’t revoke access. Two employees in Bangalore were fired and they decided to enter the office when no one was present and set valuables in the office on fire. Now obviously they will be caught and punished but that will not bring back the valuables that were burnt and if the company didn’t have a strong backup system (or copies of the stuff that was burnt) then the company can be in real trouble.

When you are let go it is quite natural to be upset and want payback. However, doing something like this is just going to ensure that you never get to work in that industry again. I covered a lot of this in my previous post that talked about not burning bridges by behaving unprofessionally when you leave a company and we can all agree that breaking into the office and setting things on fire is extremely unprofessional. So please don’t do things like this unless you enjoy sitting in jail and look forward to never working again.

– Suramya

October 6, 2023

This is why you should never Throw out old cables

Filed under: Humor,My Thoughts — Suramya @ 6:00 PM

This was posted in our Apartment Complex Whatsapp Group:

Hi anyone got VGA to VGA cable. Need to try something before i buy one. I disposed the one I had, actually my wife made me do it
Hi anyone got VGA to VGA cable. Need to try something before i buy one. I disposed the one I had, actually my wife made me do it

I am going to be using this to justify not emptying the cupboard full of cables and old computer equipment that I have 🙂

– Suramya

October 5, 2023

Please don’t take your date to your office for a romantic night out

Filed under: My Thoughts — Suramya @ 5:16 AM

When folks think about where to take someone out for a date, they usually think about a nice restaurant, movie, show, outing etc. Some more adventurous would go for a hike or outing together. But apparently there is a group of men who think that taking their dates to their office is a good option for a first date. It boggles my mind that anyone would think that. Imagine being so one dimensional that you think taking a date to your office to show off the perks at work is a good idea.


Taking people to work on a date

The above popped up on my feed over at Mastodon and folks are rightly making fun of the folks who do this. What I take away from this is that these folks have almost no existence outside their work and their ‘achievements’ over there. What is especially interesting is that this guy is not the only one taking folks to their office for a date. I actually feel sorry for the folks they are dating because that is the only interesting thing/place these folks know.

Out of curiosity I checked out the posts by @VCBrags over on Twitter (I refuse to call it X) and they are as bad as expected. I especially liked the following:

You have hobbies and interests outside of startups and venture capital?

Redflag 🚩

Being a well rounded human is considered a red flag by these self defined geniuses. So it is a good idea to keep away from them, because they are literally incapable of having thoughts outside of work. I mean I am a workaholic, I love to geek out on things and have spent weeks of my free time writing code for personal projects but that is not all I am capable of. I travel, I write, read books, trek, listen to music, go out with friends and generally have a life.

The problem is that these folks are stuck in a sort of echo chamber with other such folks who encourage and promote such behavior and then they wonder why folks don’t want to date them. Then they blame the other sex for the lack of interest and call themselves ‘incels’ and demand that they be given sex because they deserve it. Basically they do everything other than take a look at themselves and don’t realize that they are absolutely uninteresting because they really don’t have anything to contribute to any conversation that is not related to work (or their very specific niche field of interest).

– Suramya

October 3, 2023

Don’t tell people that ‘You’ are the Documentation

Filed under: My Thoughts — Suramya @ 12:40 AM

In my career I have heard the following way too many times:


Where is the Documentation? I am the documentation.
When asked how to perform a task people will tell you to talk to Person X

Sometimes things are not documented because people are busy, other times they don’t like writing documents, others feel that if they tell folks how to do something they are no longer the critical dependency and thus are in danger of being made redundant etc. Some others get a power boost to their ego when people have to come ask them how to get things done. This is especially true for the old style ‘neck-beard’ ‘gurus’ or the 10x developers.

Personally, I feel that unless I train people to replace me I can’t move up to the next interesting role or get promoted. In one of my previous companies when we would tell my manager that person X is the only one who knows how to do a task and they are working on it she used to respond asking “what if they get hit by a bus tomorrow and can’t come to work for a month. What are you going to do then?”. So We then started documenting everything and cross training on other systems in our department so that we could at least answer basic questions about it. If people were not giving us the information because they wanted to keep it to themselves, we were told to call them up whenever we needed the work done regardless of the time difference. Once folks got woken up at 3am a few times most of them were more than happy to train others. The couple of folks who still didn’t collaborate were warned and then ultimately let go.

I keep a running document of how I do things at work which is shared with others in the team. For personal projects and work I usually end up posting a blog entry about it so that I have a record of how something was configured/setup/fixed.

Moral of the story is that you should document everything, because otherwise 6 months or a year from now you will be looking back at a system wondering why something was done in a particular way. Or trying to figure out how to do something because you didn’t touch it for a while. Also, if things are documented then folks wont be bothering you answer questions about the same things and you can focus on more interesting problems/work.

– Suramya

« Newer PostsOlder Posts »

Powered by WordPress