Suramya's Blog : Welcome to my crazy life…

October 26, 2023

Its ok to ask questions about basic stuff that ‘everyone’ knows about

Filed under: My Thoughts,Tech Related — Suramya @ 12:12 PM

There is a well known meme where people talk about how the questions they asked were ‘cringe’ and make fun of the questions people ask. One such example is the comic below that showed up in my feed. Here the refrain is that having to read all the questions that someone has posted on Google/ChatGPT about programming is equivalent to Torturing them because of the implication being that the questions were so basic that everyone should know the answer to them. I get that people are trying to be funny but there is a problem with these kinds of posts because it actively discourages people from asking questions, it builds the narrative that people who post ‘stupid’ questions are not smart and their questions are cringe. It actively promotes the imposter syndrome because people start thinking that they don’t know much when they have to search for ‘basic’ stuff.


Let the torture commence. Let’s reveal all the coding related questions you asked on Google and ChatGPT

Instead I prefer the XKCD approach called the 10,000.


In this strip, Randall presents a mathematical argument against the idea of making fun of people for their ignorance.

There are so many things that I know that others don’t, just as there are so many things that you know that I don’t know. This is because each of us has different life experiences/upbringing etc. Expecting everyone to know the same things as you do is super egoistical.

I have been a developer for about 25+ years now and still I look up syntax when I am coding. Knowing the proper syntax for a command doesn’t make you a programmer, knowing what command/logic to use is what makes a programmer. I can always look up the syntax but the basic logic to solve the problem is something that I have to come up with and that is what I usually test when interviewing people. I need people who can solve problems not someone who can regurgitate the syntax for a function in C++/Python.

When I was in high-school (10th Standard) my senior project was to create an address book where we used the locate command quite extensively to make the output pretty (this was in GW-BASIC). So in my preboard exams, during the viva I was asked to give the syntax of the locate command. I always got confused on the parameters for this function and couldn’t remember if it was LOCATE [row][,[col] or LOCATE [col],[row]. I guessed and gave the wrong order so the teacher told me that she doubted that I had coded the program as I didn’t even know the syntax of the command. I responded by telling her that I don’t need to remember the syntax because I can refer to the book when I need to know the syntax but the logic of the program is what I focused on and challenged her to quiz me on that. I remember she was pretty taken aback by this and I did get a good score on the viva but she told me not to be so blunt during the actual board exam viva’s.

I have sat in meetings where people have talked about concepts or used examples I had no clue about and sometimes I would interrupt to ask for clarifications and in other times I would make a note and do lot of research before the next meeting so I understood what we were talking about. I am not saying that people shouldn’t do research or put in effort before asking questions. I am saying that we need to be supportive of new comers into the field who don’t have the experience to know all the things that might be obvious to you. In the past I used to refer folks to the How To Ask Questions The Smart Way by Eric Steven Raymond & Rick Moen when I talked about how to ask questions. However as I have gotten older and more experienced I find that while the FAQ has some good points it is absolutely condescending and not really the right approach to asking questions. So Instead of that I now refer people to Julia Evan’s post on How to ask good questions.


How to ask Good Questions

Teaching people that it is ok to ask questions is an important part of being a mentor and training the next generation.

– Suramya

October 25, 2023

Pepper X crowned the new hottest pepper in the world by Guinness World Records

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

There is a new chili in town that has wrested the crown for the spiciest chili in the world from Carolina Reaper which was the previous record holder. Ed Currie, the creator of Carolina Reaper outdid themselves and after a decade of effort created Pepper X. Pepper X measures an average of 2.693 million Scoville Heat Units whereas the Carolina Reaper averaged ~1.64 million SHUs. Since the Scoville scale is logarithmic that translates to it being three times hotter than a Reaper.

I really really want to try it, but considering that the reaper was almost too spicy for me to eat, not sure if it is a good idea 🙂 When I told Jani about this, she told me that I was crazy to want to eat this and to stay away from her if I am eating the chili.

Although I don’t think I would ever want to eat the chili raw, instead I would make it into a pickle and then eat it just like what I do with the bhut jolokia (Ghost Pepper) which used to be the spiciest chili in the world till 2017 and is now the 4th spiciest chili in the world. Every time anyone I know goes to North East India I ask them to get me some of it which I then send to my mom to make into my favorite pickle. (Indian Pickle not the US Pickle)

I wonder if I can get someone to carry it from the US for me. Not sure that will be allowed because of the bio containment rules. Unless I get it in a dried/powered version which is usually not that good. But lets see…

Source: BBC: Guinness World Records crowns new hottest pepper

– Suramya

October 24, 2023

Blogging Risk vs Reward?

Filed under: My Thoughts — Suramya @ 12:41 PM

There is an ongoing thread on HackerNews talking about why Blogging is not as popular as it used to and asks why people no longer blog for the hell of it. The post itself is interesting but one of the comments on the page caught my eye and prompted this post:

I to some extent agree. A blog can be an attack surface for someone wishing to doxx you, a point of failure for potential employers, or perhaps an opportunity to open yourself up to criticism for the local equivalent of your knitting community when they’re having a purity spiral.

You could, of course, keep to the driest topics, the most tamed opinions, nothing spicier than an animal cracker, but for some this self-censorship of “your most honest, primitive, real thoughts” (to quote Naked Lunch) is tantamount to a sin, just one step up from lying to your diary.

If you are trying to keep it safe, are you truly communicating what is on your mind, or are you pasteurizing your output, homogenizing it, adding a touch of gamma radiation and a run through the freeze-drier, until the final result is palatable pablum, certainly inoffensive and low-residue, but ultimately unworth either consumption or production?

Blogging seems to have shifted on the risk/reward scale and people have responded as such. A pity.

I see that a lot of people agree with this idea that the only way people can blog without being ‘cancelled’ or being called out is to post bland ‘non-controversial’ posts instead of “your most honest, primitive, real thoughts”. In my experience most of the people who are complaining that they can’t write what they want without getting called out or getting into trouble are folks who want to post racist/misogynist/mean posts with impunity and are upset that they are being called out on their posts and are facing the consequence of their actions. In the past week I remember reading about 2 people who got fired because they posted racist crap on the web and got called out for it. These are some of the examples people quote when talking about not being able to post what they think.

Over the past 19 years, I have posted on a lot of topics that can be deemed controversial such as my thoughts on Vaccination, gender equality, race, misogyny etc etc and so far not much splash back has occurred. I have gotten a few folks you have reached out and yelled at me for stuff I posted that they didn’t like but overall that has been rare. (I do have the advantage of being a guy and not someone who is famous so I have managed to avoid the troll farms/targeted harassment campaigns).

I am not saying that I am not careful about what I post online especially when I am being sarcastic or being a smartass, as John Scalzi famously said “Failure mode of Clever is Asshole”, so I try to ensure I stay in the clever part of the equation :). I do run some of my posts past Jani when I think I need a second opinion on how they can be interpreted but that doesn’t mean that I censure what I say. I just ensure that posts come across as clear as possible while remaining non-inflammatory/rude/non-obnoxious. There have been times when I failed in this and there will be times I will fail in the future as well. I just need to ensure that I own up to any mistakes or issues caused by my posts, apologize and ensure that they are not repeated.

What some people call cancel culture, is basically people having to deal with the consequences of their actions and they don’t like that much…

– Suramya

October 23, 2023

HashiCorp CEO attempts to gaslight folks into believing that foundations of Open Source are bad

Filed under: My Thoughts,Tech Related — Suramya @ 10:03 PM

On August 10, 2023, HashiCorp decided to change the license for its products (including Terraform) from the open source under the MPL v2 license to a non-open source BSL v1.1 license, starting from the next (1.6) version. This change was met with widespread vocal opposition from the community and when HashiCorp refused to reconsider, the community decided to take action and forked the last stable version of Terraform into a new solution called OpenTofu (Yes really…) and almost immediately over 100 companies, 10 projects, and 400 individuals pledged their time and resources to keep Terraform open-source and the number is growing fast.

With more and more companies looking at alternatives, The Stack has published an interview with the HashiCorp CEO. I am having a hard time figuring out if this is a Troll piece in line with The Onion or an actual interview, because the quotes in the interview are mind boggling. From the interview:

HashiCorp’s CEO predicted there would be “no more open source companies in Silicon Valley” unless the community rethinks how it protects innovation, as he defended the firm’s license switch at its user conference this month.

Every company I have worked with over the decade has worked with Open Source software and companies and I don’t think a single one would make a statement like what he is claiming.

While open source advocates had slammed the license switch, McJannet described the reaction from its largest customers as “Great. Because you’re a critical partner to us and we need you to be a big, big company.”

Indeed, he claimed that “A lot of the feedback was, ‘we wished you had done that sooner’” – adding that the move had been discussed with the major cloud vendors ahead of the announcement.

“Every vendor over the last three or four years that has reached any modicum of scale has come to the same conclusion,” said McJannet.

Here’s my personal favorite:

He said the Linux Foundation’s adoption of Open Tofu raised serious questions. “What does it say for the future of open source, if foundations will just take it and give it a home. That is tragic for open source innovation. I will tell you, if that were to happen, there’ll be no more open source companies in Silicon Valley.”

Because foundations allow communities to continue with products they love and built even when corporate’s try to lock them in a closed garden, it is apparently a bad thing. Yes, it is a bad thing for folks who want to just take advantage of the community, enshittify the product while making money and ignoring the needs of the community. Open Source allows people to fork the product (which was built with Open Source contributions), keep it free and out of the greedy hands of corporate CEOs. That’s the beauty of Open Source and this article is a poor attempt to gaslight folks into believing that this is a bad thing.

– Suramya

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

« Newer PostsOlder Posts »

Powered by WordPress