Suramya's Blog : Welcome to my crazy life…

April 19, 2023

Finally a useful AI Implementation: Making spoken dialog easier to hear in movies and shows

Filed under: Emerging Tech,News/Articles,Tech Related — Suramya @ 6:37 PM

Finally, an AI usecase that is actually useful. There are a ton of use cases where AI seems to be shoehorned in for no reason, but this recent announcement from Amazon about Dialogue Boost which is a new function from that lets you increase the volume of dialogue relative to background music and effects to a consistent volume so you can actually hear the dialog without nearly shattering the eardrums when a sudden explosion happens.
It is something that is still in the testing phase and is only released on some of their products so far. But I am looking forward to it being in general availability.

Dialogue Boost works by analyzing the original audio in a movie or series and identifying points where dialogue may be hard to hear above background music and effects, at which point speech patterns are isolated and audio is enhanced to make the dialogue clearer. The AI targets spoken dialogue rather than a typical speaker or home theater set up that only amplifies the center channel of audio. It’s something that exists on high-end theater set-ups and certain smart TVs, but Amazon is the first streamer to roll out such a feature.

I have gotten used to having subtitles on when I watch something because that ensures that I don’t miss out on any dialogs due to the background music/sounds in the show/movie. This looks like it will alleviate that requirement. I think I will still end up keeping the subtitles on but this will certainly help.

Source: Amazon’s New Tool Adjusts Sound So You Can Actually Understand Movie and TV Dialogue
Announcement: Prime Video launches a new accessibility feature that makes it easier to hear dialogue in your favorite movies and series

– Suramya

April 14, 2023

My app that autoposts to Twitter has been suspended from accessing the Twitter API

Filed under: My Thoughts,Tech Related,Website Updates — Suramya @ 5:44 PM

Yesterday I got an email from Twitter stating the following:

Hello,

This is a notice that your app – Suramya’s Blog – has been suspended from accessing the Twitter API.

Please visit developer.twitter.com to sign up to our new Free, Basic or Enterprise access tiers.

More information can be found on our developer community forums.
Regards,
Twitter Developer Platform

The email actually looks like a really bad phishing email as it has no formatting, doesn’t give any links etc and is just a plain auto-generated email. I almost deleted it as spam but then realized that it could be a notification sent because they are forcing folks to use the new plans. Today I logged in to the Developer account and I was expecting to have an option to select one of the tiers, click save (pay if I was insane and decided to pay) and would be done with it. But that is not the case. I was greeted with the following banner when I logged in:


This App has violated Twitter Rules and policies. As a result, it can no longer be accessed. For assistance, submit a support ticket.

It looks like they couldn’t figure out how to temp block users who need to select a tier before being allowed to continue so they decided to suspend the app instead using the same process as what they would do if the app was suspended for ‘violations of Twitter Rules and policies’. Which is quite amusing because the app been used 12 times in the last 2 months to autopost links to my posts here when I create them. I did use the same app for testing a Twitter export script that I wrote a few months ago but haven’t run it in a while, either.

There is no way for me to edit/choose a tier for my app and I have no interest is spending the time to create another app just to post something on Twitter which will get about 2-10 view on an average. (Usually on the lower end of the scale). This was pretty much the last remaining vestige of my posting on Twitter and I am fine with it not working anymore.. I rather spend that time doing something more productive like watching paint dry.

– Suramya

April 4, 2023

Mastodon is so much better than Twitter, except for its search capabilities

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

Twitter has been slowing becoming less and less useful for getting updates from people you follow. Even my ‘Following’ tab is now showing entries from people I don’t follow and not all posts from the folks I follow show up on their either. Don’t even get me started about the ‘For You’ section which is full of nonsense that I am not really interested in. I have mostly switched over to Mastodon for updates and I see way better engagement over there. My blog auto-posts to both Mastodon and Twitter (along with LinkedIn and Facebook), on Twitter I have 84 followers and 11 followers on Mastodon (I only started posting there in 2023). My Tweets usually get between 2-10 views each and maybe 1 tweet out of 50 will get a response or like. The same post on Mastodon gets a lot more engagement, there have been posts which have had 8-10 replies and multiple likes.

However, that being said one thing that Twitter has which is missing from Mastodon is the ability to search. Earlier today I saw an article on how Twitter seems to have blocked users from authenticating to other services using their SSO offerings. I wanted to learn more about it and tried searching for it on Mastodon, and didn’t get any results (I then tried searching using a hashtag but no luck there as well). So I switched to Twitter and did a search there and immediately I got a lot of results that gave more information on the topic. I am sure that this event is being discussed in Mastodon but it is almost impossible to find because of the way the search is designed.

There is an opt-in project that allows people to opt-in to their setup to allow them to index your toots but because of the ‘amazing’ search in Mastodon, I can’t find the link to the project. 🙁 There are people working on this problem but a extremely vocal minority is hellbent against allowing people to search on Mastodon because they don’t want it. To be fair there are a lot of technical challenges in indexing all the toots across all the instances but it is not an insurmountable problem. It just needs people to look into the problem and others to let them work on the solution.

– Suramya

April 3, 2023

ISRO successfully completes the landing experiment of the Reusable Launch Vehicle-Technology Demonstration

Filed under: Astronomy / Space — Suramya @ 2:07 PM

ISRO (Indian Space Research Organisation) has been quite active in the past few years and has been making significant progress in its mandate to power the next generation of Indian Space capabilities. On Sunday ISRO successfully completed the landing experiment of the Reusable Launch Vehicle-Technology Demonstration (RLV-TD) which is a key part of ISRO’s goal to create a reusable low cost two-stage orbital launch vehicle.

“The RLV took off at 7:10 a.m. by a Chinook helicopter of the IAF as an underslung load and flew at a height of 4.5 km. Once the predetermined pillbox parameters were attained, based on the RLV’s Mission Management and Computer command, the RLV has released mid-air, at a down range of 4.6 km,” ISRO said.

The autonomous landing was carried out under the exact conditions of a Space Re-entry vehicle’s landing —high speed, unmanned, precise landing from the same return path— as if the vehicle arrives from space. Landing parameters such as Ground relative velocity, the sink rate of Landing Gears, and precise body rates, as might be experienced by an orbital re-entry space vehicle in its return path, were achieved. The RLV LEX demanded several state-of-the-art technologies including accurate Navigation hardware and software, Pseudolite system, Ka-band Radar Altimeter, NavIC receiver, indigenous Landing Gear, Aerofoil honey-comb fins and brake parachute system.

In a first in the world, a winged body has been carried to an altitude of 4.5 km by a helicopter and released for carrying out an autonomous landing on a runway. RLV is essentially a space plane with a low lift to drag ratio requiring an approach at high glide angles that necessitated a landing at high velocities of 350 kmph. LEX utilized several indigenous systems. Localized Navigation systems based on pseudolite systems, instrumentation, and sensor systems, etc. were developed by ISRO. Digital Elevation Model (DEM) of the landing site with a Ka-band Radar Altimeter provided accurate altitude information. Extensive wind tunnel tests and CFD simulations enabled aerodynamic characterization of RLV prior to the flight. Adaptation of contemporary technologies developed for RLV LEX turns other operational launch vehicles of ISRO more cost-effective.

Keep in mind that this was a Technology Demonstration test, or what we call Proof of Concept (PoC) in Software Development. Now that we have successfully shown that the technology works as expected, they can start scaling it up, add more functionality/redundancy etc to productionalize it and make it ready for the live test a couple of years down the line.

Looking forward to more such positive news from ISRO going forward.

Source: ISRO successfully conducts the Reusable Launch Vehicle Autonomous Landing Mission

– Suramya

March 18, 2023

Scientists create a working supersolid in the lab

Filed under: Emerging Tech,My Thoughts — Suramya @ 11:34 PM

It seems that every year we learn more about the universe that makes the basic physics that we learned in school inaccurate or rather puts a lot of caveats in to the theories. Originally we had 3 states of matter: Solid, liquid and gas. Then came things like superfluids, Bose–Einstein condensates, quantum spin liquid, supercritical fluid, quark–gluon plasma, Rydberg polaron, and so many more weird possibilities. Last week, scientists from Innsbruck University in Austria have managed to create a new state of matter in 2D called Supersolids. Till now the researchers had only been able to create a 1D (a few molecules long) chain of SuperSolids but using cutting edge research they were able to create a 2D ‘paper’ of supersolid.

If you are like me, by now you will be wondering what on earth is a supersolid… Basically it is a state of matter that incorporates two different states of matter at the same time i.e. it is a solid as well as a superfluid at the same time. This gives it the ability to be a solid and still flow like a liquid without any friction at the same time. If that sounds confusing it is so because we are talking about Quantum effects which seem to exist in a state of constant contradiction and confusion (At least for me, when I try to understand them).

“To picture a supersolid, consider an ice cube immersed in liquid water, with frictionless flow of the water through the cube,” wrote Bruno Labruthe-Tolra, a physicist at Sorbonne Paris North University.

So, to create a supersolid, you first trap some atoms, then cool them, then play with their interactions. “If you tune those correctly, and you tune the shape of the trap correctly, you can get a supersolid,” says Norcia, the lead author.

Using this method, in 2019, researchers began to create a basic, one-dimensional supersolid: essentially, a thin supersolid tube in a straight line.

That’s what Norcia and his colleagues at Innsbruck University and the Austrian Academy of Sciences have now done. By tinkering with the device they used to trap atoms and the process they used to condense the atoms, they were able to extend their supersolid from one dimension into two: from a tiny tube into a small sheet.

There are a lot of interesting usecases for this technology when it matures, we could use it for lubrication in industrial machinery, create frictionless surfaces for tests. It could even be used in vacuum as is for various usecases. But that is still quite a way off because the work to go from 2D to 3D has just started and is still in the pre-research stage. However, while that is going on we do have a superSolid paper available for study while will give us more insight into this fascinating new substance.

The research has been published in Nature: Supersolids go two-dimensional

Source: Popsci.com: We finally have a working supersolid. Here’s why that matters.

– Suramya

March 12, 2023

Researchers create mini-robot that can navigate inside blood vessels and perform surgery autonomously

Filed under: Emerging Tech,Tech Related — Suramya @ 11:13 PM

Performing surgery is a delicate task and at times it is almost impossible to reach the area we want to operate at without having to cut through other important tissues. This is even more apparent when we talk about surgery inside a blood vessel or artery, which could be the key to removing an obstruction or stitch a wound etc. Till now we didn’t have the ability to release an autonomous robot inside a blood vessel that could navigate to the correct location, perform the programmed actions (or allow the doctor to manually take over) and return.

This was only possible in the realm of Science Fiction but thanks to the efforts of Researchers at South Korea’s Hanyang University this is now actually possible in the real world. They have successfully demonstrated that their I-RAMAN (robotically assisted magnetic navigation system for endovascular intervention) robot can travel autonomously to a superficial femoral artery in a pig, deliver contrast dye, and return safely to the extraction point. Their results and paper was published on 9th Feb in IEEE Robotics and Automation Letters: Separable and Recombinable Magnetic Robot for Robotic Endovascular Intervention.

This study presents a separable and recombinable magnetic robot (SRMR) to deliver and retrieve an untethered magnetic robot (UMR) to a target vascular lesion safely and effectively for robotic endovascular intervention. The SRMR comprises a delivery catheter and UMR connected to the end of the delivery catheter by a connecting section. An external magnetic field (EMF) interacts with the permanent magnet of the UMR; it can effectively generate magnetic torque and steer the delivery catheter to reach a target lesion. Furthermore, the rotating EMF allows the UMR of the SRMR to separate from the delivery catheter and perform the tunneling task. After completing the tunneling task, the UMR can be safely recombined with the delivery catheter in the vasculature via a simultaneous application of the EMF and suction force to the delivery catheter. The SRMR functions of steering, separation, movement, tunneling, drug delivery, and recombination are validated in a mimetic vascular model with a pseudo blood clot. Finally, the SRMR is successfully validated in an in vivo experiment of a mini pig’s superficial femoral artery for contrast delivery, separation, movement, and recombination.

This is a fantastic achievement, and although there is a lot of work still left to be done before this can be deployed for actual human use we are still a step closer to truly universal repair bots. Imagine an accident victim who is bleeding internally, the doctor deploys these robots to restitch the blood vessels to stop the internal bleeding and within minutes the bleeding is stopped and the doctor can start the post-op work. I can imagine these being sold as part of the standard medkits in the future (way in the future) where you have a few pre-programmed options available and depending on the situation a person can select the correct option to deploy.

However, all is not rosy (as always). If these go into active use and become common enough to be deployed in med-kits then we would need systems to prevent these bots from being repurposed. For example, instead of being programmed to stitch blood vessels the bots are programmed to cause more damage and start internal bleeding. There are so many other scenarios where this could be misused so we would need to think of all the cases, mitigate the risk and only then deploy them into the world.

That being said, I am still excited to see the possibilities this opens up.

Source: ACM Tech News Newsletter.

– Suramya

March 11, 2023

Thoughts about a list explaining how Linux users are characterized by these properties

Filed under: Linux/Unix Related,My Thoughts — Suramya @ 10:44 PM

It is always amusing to me when I read these lists that claim to characterize people, in this case while I was researching about companies acquired by Microsoft I ended up at Rational Wiki: OS Wars section where there is a section that claims that “Linux users are characterized by the following properties: I found it amusing so I am going to list them out here with my comments and thoughts about each of them.

An unhealthy desire to recompile the kernel at every opportunity.

[ST] Compiling a kernel was something that we had to do in Linux back in early 2000’s, but even then I never really had to compile the kernel to get things to work. I did do it to understand the process, but was never forced to do so. In fact I can’t remember the last time I had to compile the kernel on my system.

A disdain for newcomers who don’t know how to recompile the kernel.
Constantly rebuilding their machines because a kernel recompile failed.

[ST] Since I never had to compile it, I don’t expect others to do so. If you want to do it then its your prerogative but I don’t care one way or another.

Thinking those who don’t compile on their own computers or don’t use shell scripts and terminals on a daily basis are not real Linux users.

[ST] Unfortunately, there are idiots who think this, and attempt to gatekeep others and put them down just because they don’t use the ‘proper tools’/command line etc. I did write about this earlier: Stop hating on people because they don’t use the same tools as you because everyone has a different way of working and what works for you might not work for them and vice-versa. For example, I really dislike video tutorials and prefer text but I know plenty of folks who like video because it shows them what to do instead of having them imagine it. There is no one true way…

Constantly having incidents reported for not being in the sudoers file, but not being sure who they’re being reported to.

[ST] I don’t have incidents being reported constantly but did have to look up where the incidents are reported, which as expected was in the log files that an admin/root can audit.

Believing vowels are over rated, especially when it comes to naming important programs you expect to use every day.

[ST] Nope. I like my program names to be descriptive and really dislike SMS talk.

Cursing at Mac users for the number of shiny devices they can connect their computers to.

[ST] Again a nope. I can connect more things to my Linux machine and have them work off the bat than I could on a Mac. Sure some of the software is more polished on a Mac but from a connectivity perspective my Linux machine can connect to pretty much anything (sometimes a bit of tinkering might be required).

Either cursing that they need root, or cursing because they ran something as root that they really shouldn’t have.

[ST] Had this issue only when I was first starting out. After a little while things become automatic, if I run a root command as a non-root user, I just have to prepend sudo to it (or copy it to the root terminal). Accidentally running a command as root on the other hand is a much bigger issue. Haven’t done it in a while now but it is something to be careful of. I set the prompt to let me know what machine I am connected to and as what user so it makes it easier to spot if you are in the wrong window.

Believing a windowing system is a very clever way of having lots of command lines on screen at the same time. Like screen only less clever.

[ST] I really don’t get people who think like this and unfortunately there are folks who are like this. They think they are cleverer than everyone else and love putting others down.

Arguing with each other over which distribution to use.
Arguing with BSD users over their OS of choice.

[ST] This is a fight that I still see every once in a while but things have calmed down quite a bit from the earlier days where a question about which is the best distribution would ignite a flame war.

Arguing over whether to use a GUI or command line.

A lot of people think that using a command line makes you superior to other users, I think that you should use whatever works best for you at that point in time for the task you are doing. For example, if I am editing a video or sorting images I will prefer to use a GUI but for other tasks I prefer using the commandline. At the end of the day the idea is to get the work done, not argue about what is the best interface to do the work in.

Arguing about whether Emacs or vi is better. (Obviously vi is way better. No question. Unless you’re Richard Stallman or another member of the Church of Emacs.)

[ST] I prefer vi because it is installed by default on all Linux systems so if I ever have to recover from a crashed system I have an editor that I can use to edit files. Emacs is fine but I prefer vi / Notepad++ / kwrite for general editing.

Arguing about which language is the best for writing scripts (essentially the modern-day equivalent of the Tcl Wars between Tcl and GNU Guile’s implementation of Scheme).

[ST] I have no idea about the TCL wars and don’t really care what language you use for writing scripts. I have written scripts in Bash, Perl and Python for the automation and scripting I had to do and the language was chosen based on 1) What I was trying to do and how complicated the logic was 2) If I was trying to learn a new language the script was written in that language.

Complaining that we’re calling it Linux and not GNU/Linux.
Interjecting for a moment to explain why it’s actually GNU/Linux
Complaining that we’re calling it Open Source and not Free Software.

[ST] Complaining about the fact that someone calls it Linux and not GNU/Linux is just annoying and doesn’t make you look knowledgeable it makes you annoying. Technically they are correct but Linux is the expected usage and no, I am not about to start calling it GNU Linux just because some idiot thinks I should do so.

Constantly complaining about virtually all sorts of random, obscure problems such as their computer randomly shutting itself off at 9 pm on Mondays.

[ST] This is not just Linux users, any person who is a power user will face these kinds of issues and will ask around on how to fix them. General users will just get the helpdesk to come fix their systems for them.

Complaining that this list is not indexed from 0.

No, I don’t number my lists from 0. Just because Arrays are indexed from 0 doesn’t mean that I have to number everything starting from 0. However, I do prefer that the ground floor (1st floor in the US) be called the 0th Floor (or G Floor) instead of 1st floor like they do in the US because that’s how they do it in the rest of the world.

Believing that time started on January 1970.

🙂 No comments 🙂

Being able to understand this list.

Ha ha… I think any person actively working with computers like a sysadmin/programmer would understand this list.

I think the list should be updated but it did make me smile so I guess that is a win 🙂

– Suramya

March 8, 2023

Be Kind Buddy – A Website for translating rude messages to polite ones

Filed under: Interesting Sites — Suramya @ 2:11 PM

There are times when you really want to rant at a person when they are being absolutely dense, however doing so is not professional and not really recommended. There are studies that found that bosses that scream, curse or rant at their reportees / counterparts are not really liked and their attrition rate is a lot higher.

As always someone out there decided that this is a problem that can be solved by technology and created a website: bekindbuddy.com that takes any text with curses/sarcasm etc and converts it to a more polite version stating the same thing. I tried it out a few times and the results do make sense but at times read like bland corporate speak.

Some of the examples I tried and the responses I got:

Prompt: You need to get your head examined and stop suggesting such stupid ideas
Response: It’s important to consider other perspectives and ideas. Perhaps we can explore some alternative solutions together.

Prompt: Why don’t you do your job and send me the documents that I requested last week you lazy ass
Response: Hello, I hope you are doing well. Can you please send me the documents that I requested last week? Thank you.

You can try using it for your communication but my recommendation would be to take the text given to get an idea of how things could be phrased better and then write your own message. This way you avoid you message sounding like an auto generated message/bland corporate non-speak message.

– Suramya

March 7, 2023

What not to do when laying off people

Filed under: My Thoughts — Suramya @ 11:59 PM

Elon Musk drama seems to be almost impossible to avoid now since he has taken over Twitter, if it is not one thing it is another. Personally I feel that he has bought Twitter and can do whatever he wants with it whether the rest of us like it or not. He has been firing people pretty much since he took over, last week was the most recent batch where ~200 folks were laid off.

What is interesting and super unprofessional is that it looks like the folks who were laid off didn’t get an official notice that they have been terminated, instead their access just stopped working one day. Haraldur Thorleifsson, who was a senior director at Twitter was one of the folks impacted by this, so they reached out to HR at Twitter who didn’t (or maybe couldn’t) answer the simple question “Please confirm if I am an employee or not?”. After 9 days of getting nowhere, he posted a public thread on Twitter tagging Musk asking if he was laid off.

Dear @elonmusk

9 days ago the access to my work computer was cut, along with about 200 other Twitter employees.

However your head of HR is not able to confirm if I am an employee or not. You’ve not answered my emails.

Maybe if enough people retweet you’ll answer me here?

Elon was as ‘classy’ as ever and with jokes, silly emojies and then publicly mocked their disability, insinuated that they exaggerated their disability and saying they “did no actual work.”.

It is his right to fire people, but there is a right way and a wrong way to do it and this is definitely the latter. When Vinit was running his own company and had to lay off people because of funding issues, he did it in a fantastic way (See below) and I have seen other folks do the same thing.

Four years after he started Buildkar.com, a website for construction materials, Vinit Bhansali realised with horror that he had lay off eight employees. “It’s hard to tell your team you have to let them go. So, I reached out to everyone I knew — old friends from school, investors, acquaintances in the startup space — to find them jobs. Even VCs who had chosen not to invest in my company helped out and shared the resumes with startups in their portfolio,” he says. Eventually all eight were placed.

I have been part of companies that laid off employees and it was a painful experience even for those of us who weren’t laid off. All of us leveraged our connections to connect the folks impacted with teams that were hiring, a quick search on Mastodon/Twitter will get you links and posts from folks who don’t even know the folks impacted reaching out to help in anyway they can. That is humanity, that is how a person should behave.

This way of firing where a person doesn’t even know for sure they are fired or not is the worst way to fire someone, ghosting an employee is not a mature/professional way to do this. Imagine the stress an employee goes through if they are not able to log in even once due to a mistyped password or other technical issues. Then you have the uncertainty of not knowing if you are still employed and can afford to pay rent, buy groceries etc. For Musk its all a big joke because he never had to deal with not being able to afford food or have to worry about the rent being late but for most of the others people in his company they do have to worry about this along with a whole other set of responsibilities.


Have I been laid off?

The worst part is that a lot of people don’t see anything wrong with this. They still think he is the greatest thing to happen for mankind where in reality he is just another narcissistic billionaire who has gone back on pretty much every promise he ever made.

– Suramya

March 6, 2023

Twitter is down… Again!

Filed under: Computer Related,Humor — Suramya @ 11:07 PM

Twitter downtimes are becoming more and more common, and even though I don’t spend that much time on Twitter anymore (Mastodon is so much better and more fun) this was too good to ignore.
If you visit Twitter.com (or any url on twitter) right now instead of the content you get an API error message stating that “Your current API plan does not include access to this endpoint, please see https://developer.twitter.com/en/docs/twitter-api for more information”.


Current API plan does not include access to this endpoint

Looks like the team managed to nuke their own connections to the API while attempting to restricting some API calls to paid customers only. Although this is an error that should have been caught in UAT or QA testing. I mean that is the basic 1st thing to check to see if all services are working after a major change like this one. But it looks like it was pushed to prod directly without validation.

I guess firing a majority of your teams with almost no notice or Knowledge Transfer sessions is a bad move and makes it harder to keep your site up and running. Who knew?

– Suramya

« Newer PostsOlder Posts »

Powered by WordPress