Suramya's Blog : Welcome to my crazy life…

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

November 28, 2022

Internet Archive makes over 500 Palm Pilot apps available online for free

Filed under: Interesting Sites,Tech Related — Suramya @ 5:05 AM

The Palm Pilot was the first ‘smart’ device that I owned, and coincidentally it was the first device that I bought with my own money, so it always has a special place in my heart. I started off with the Palm V and then upgraded to the m505 when it came out. I loved the device and used it almost constantly for a long time. Unfortunately, they made a bunch of bad business decisions and the company collapsed.

Now, the Internet Archive has created an online archive of 565 Palm Pilot apps available to run in your web browser and on touchscreen devices. The apps are not as sophisticated as what you get nowadays but they are a blast of the past and some of them stand up to the passage of time quite well.

Check out the archive at: Software Library: Palm and Palmpilot.
More details on the project: The Internet Archive just put 565 Palm Pilot apps in your web browser

– Suramya

October 5, 2022

3D Scanning was used over 160 years ago to create photosculptures

Filed under: Interesting Sites,My Thoughts,Tech Related — Suramya @ 1:32 PM

When we talk about 3D scanning we all assume it is one of the emerging technologies and with the recent advances it has been growing more and more popular. A usecase that is becoming popular is to scan a sculpture or art installations so that the scans are published online and can be converted to VR or used to 3D print an exact replica. For example, The State Darwin Museum in Europe has been slowly digitizing / 3D scanning its collection. Other museums have been doing the same as well.

But interestingly, this is not a new technology and it was in use over 160 years ago to create what is known as photosculptures. A recent article on Hackaday.com talks about how in the late 19th century (1861) the art of creating realistic, 3-dimensional replicas using a series of 24 photos that were combined to create a 3D image was extremely popular. This process was called photosculpture and was invented by François Willème, a French painter, photographer and sculptor.


Example of a photosculpture created using this technique. (PC: University of Virginia: Department of Art)

He perfected the art of taking photos from 24 camera’s in a circle with the subject standing in the middle, synchronizing them to create a 3D model that could be projected on a screen. Then a pantograph was used to cut the layers of the picture into thin sheets of wood. The artist would then assemble the cuttings to create a rough 3D replica of the object. Once the base was created they would fill in the details using materials such as bronze, plaster of Paris and terra cotta to create a realistic result.


A visual overview of how Photosculptures were created

This whole process was a lot cheaper than having a sculpture created via the normal process and a lot faster so it became quite popular for a while with the public. But with other competitors patenting their own versions and the demand reducing he had to shutdown the studio by late 1868. Check out the following article for more details on the process More than 100 Years before 3D Printers, We had Photosculpture which is quite fascinating.

It made me think that we have this unspoken assumption that the previous generations were not as smart/advanced as we were and only in the modern world we have these amazing breakthroughs that wouldn’t have been possible earlier and then you read about these inventions and techniques that were there hundreds of years ago that does the same thing (albeit a bit more crudely) as our modern cutting edge technologies. There was a lot of scientific advances done historically that were lost due to various reasons and sometimes I dream about how the world would have been if we had not lost the Library of Alexandria or the Nalanda University which were amongst the many institutes destroyed by invaders and their staff & students slaughtered. Imagine how many advances were lost, how much wisdom was lost over the years due to this…

– Suramya

August 30, 2022

Oregon Trail: You can now play the MSDOS version online for free at Archive.org

Filed under: Interesting Sites — Suramya @ 3:37 PM

Oregon Trail is a game that has become a cultural touchstone of the era with the famous “You have died of dysentery” message that most of us got when we played it. There are multiple versions of the game available but the original version from Atari and then the DOS versions are the most popular ones. Archive.org has continued their effort to archive classic games and now has the DOS version of the game available to play online for free. I briefly tried it out using Firefox on Linux and it works great. I did have to consciously decide to stop playing as the game is addictive, So consider yourself forewarned. 🙂


Screenshot from Oregon Trail

The version here is running on FreeDOS so in theory you should be able to download and play it locally but from what I could tell this version is online only. Check it out if you have some free time to kill.

Edit (31st Aug 2022): You can play the 1978 version of Oregon Trail online as well.

– Suramya

August 29, 2022

Can you explain complex ideas using only the top 1k most used English words?

Filed under: Humor,Interesting Sites — Suramya @ 10:27 PM

They say that the best way to gauge if someone understands a topic in depth is to see if they can explain it in language simple enough that a 5 year old can understand. Too many people use acronyms and buzzwords to explain stuff that just confuses people and makes it harder to figure out what people are talking about. There was an old XKCD joke about explaining something using the top 1k most commonly used words in English (See an example about a Rocket below). There is a book about it as well called the ‘Thing Explainer‘ that I had gifted to Vir (my Nephew) a while ago. They both (Vir & Sara) love it and still refer to it quite often.

Theo Sanderson was inspired by the idea and has created a website where you can attempt to explain something with only the top 1000 most commonly used English words.


Up Goer Five

Writing like this actually sounds a lot easier than it is and when I tried it, it took me a few tries to write something that passed the test. Check it out and share your creative writing. 🙂

– Suramya

May 13, 2022

Artist draws 100+ sketches at the same time!

Filed under: Interesting Sites,My Thoughts — Suramya @ 9:14 PM

Art requires skill to be able to do it well. However, when people talk about skilled artists, some of the examples look like the artist took a bunch of paint and threw it at the canvas, but when that painting is displayed in a gallery there will be 100’s of people talking about the energy, passion and whatever else shown in the painting, which is basically paint thrown on the canvas.

Alexis Bantiles on the other hand is simultaneously drawing 100 different sketches at the same time! using a customized pole that holds 30+ colored pens and I have trouble drawing one… I am in awe of the skill, practice and effort required to achieve this.


Drawing 100 different sketches at the same time.

Source: @nowthisnews

– Suramya

May 10, 2022

Using ancient techniques for adding secret images in bronze mirrors to hide images in Liquid Crystal displays

Filed under: Emerging Tech,Interesting Sites,Science Related — Suramya @ 1:28 AM

There are a lot of things that were accomplished by our ancestors that seem like they should be impossible and this is why the theory that aliens were involved in our past to give us a boost is so popular. People don’t realize that just because it wasn’t possible in the western world doesn’t mean that others in the world couldn’t do it. In this post I am going to talk about Chinese/Japanese Magic mirrors that were first created ~200BC but modern science was only able to explain how they work in 2005 when M V Berry published an paper describing the optics of how this would work.

The Magic Mirror is a type of mirror that was popular in ancient china, specially the Han dynasty (206 BC – 24 AD). The specialty of these mirrors is that they were made out of solid bronze with the front side polished brightly so that it can be used as a mirror whereas the back would have a design cast in the metal. When a bright light was reflected by the mirror and shone against a wall the pattern on the back of the mirror would be projected onto the wall.


Example of how the Magic Mirror reflections look (Pic credit: Faena.com)

As you can imagine this is extremely hard to do. Due to trading with the Chinese, folks over in Korea and Japan have also been known to create these mirrors which are known as Makyō (magic mirrors) over there. One difference between Makyō and the Chinese mirror is that a Makyō doesn’t reflect the image on the back on the mirror when light hits it, nor does it have any obvious irregularities on its reflecting surface. But still it creates these fantastical images where nothing should be there. More details on how the mirrors were constructed and the history behind them are available here.

It took western scientists over 2000 years to figure out the science behind these mirrors, kind of.. as evident from the explanation below.

Although the surface of the mirrors is polished and seems completely flat, it has subtle convex and concave curves caused by the designed. Convex curves (outwards) scatter light and darken their areas of reflection. For their part, concave curves focus light and illuminate their areas of reflection. Mirrors are made of forged bronze, and the thickest parts are cooled at a different speed than the thin ones. Since the metal contracts a little as it is cooled, the different ranges of cooling “stress” or slightly deform the metal. The thin areas are also more flexible than the thick parts, so the polishing process, which should smoothen the metal until uniformity is achieved, exaggerates the slight differences in thickness. While we cannot see the pattern on the surface of the mirror, photos very clearly delineate it, so when they are able to bounce off the mirror’s curves, the pattern emerges.

Using the understanding gained from Berry’s paper Felix Hufnagel and his colleagues from the University of Ottawa in Canada to create a modern version of the magic mirror using liquid crystal which is a different state of matter (their molecules are both fluid and arranged in patterns). By applying an electric current to the liquid crystals they were able to tailor the orientation of the molecules which allowed them to create an image which would only show up when a particular combination of current/amplitude was applied. The images created using this technique look clear even when viewed from different angles which can be used to improve projectors for 3D images.

Their paper was published in Optica earlier this month and is an interesting (if confusing read).

Interesting links:
Wikipedia: Chinese Magic Mirror
Secret images hidden in mirrors and windows using liquid crystals

– Suramya

April 15, 2022

Life found a way a lot earlier than when we thought it had

Filed under: Interesting Sites,Science Related — Suramya @ 2:57 AM

According to scientific the current understanding earth formed about 4.54 billion years ago and till now the theory was that life evolved on earth about 3.7bn years ago. This was primarily based on the fact that the oldest reported micro-fossils found dated to 3.46bn and 3.7bn years ago. However recent discoveries in Canada have changed the calculus as they found evidence of microbes thriving near hydrothermal vents on Earth’s surface just 300m years after the planet formed, making them between 3.75bn and 4.28bn years old which makes this by far the oldest micro-fossils ever found.

If confirmed, it would suggest the conditions necessary for the emergence of life are relatively basic. “If life is relatively quick to emerge, given the right conditions, this increases the chance that life exists on other planets,” said Dominic Papineau, of University College London, who led the research. Five years ago, Papineau and colleagues announced they had found microfossils in iron-rich sedimentary rocks from the Nuvvuagittuq supracrustal belt in Quebec, Canada. The team suggested that these tiny filaments, knobs and tubes of an iron oxide called haematite could have been made by bacteria living around hydrothermal vents that used iron-based chemical reactions to obtain their energy.

Scientific dating of the rocks has suggested they are at least 3.75bn years old, and possibly as old as 4.28bn years, the age of the volcanic rocks they are embedded in. Before this, the oldest reported microfossils dated to 3.46bn and 3.7bn years ago, potentially making the Canadian specimens the oldest direct evidence of life on Earth. Now, further analysis of the rock has revealed a much larger and more complex structure — a stem with parallel branches on one side that is nearly a centimetre long — as well as hundreds of distorted spheres, or ellipsoids, alongside the tubes and filaments.

It is a fascinating find because it gives us an idea of how quickly life evolved on Earth which in turn enables us to search for it on other planets both in our own solar-system and the ones we have found around other stars (once we can get to them). Whether the life would have evolved into something akin to Humans or still be in the micro-organism stage is something up in the air. My feel is that we will find evidence for something in the middle of both extremes, but the longer we search the more the possibility of finding intelligent life improves.

Source: Microfossils may be evidence life began very quickly after Earth formed

– Suramya

January 29, 2022

Getting random values from the quantum fluctuations of vacuum using an API

Filed under: Computer Security,Interesting Sites,Tech Related — Suramya @ 10:35 PM

Generating truly random numbers programmatically is something that sounds like it should be simple to do but is in fact quite hard. Most algorithms that generate numbers are in fact pseudo-random numbers, which means that they look random but can be predicted at times. So the ability to generate/get truly random numbers is a big deal. Cloudflare uses a wall to wall setup of Lava Lamps to generate random numbers that are used to encrypt the traffic on their servers. Other organizations have other methods where they measure the atmospheric radiation, sound etc etc.

The ANU QRNG website managed by Australian National University offers true random numbers to anyone on the internet. The random numbers are generated in real-time in the lab by measuring the quantum fluctuations of the vacuum.

They have API access enabled for accessing the numbers and users can download blocks of random numbers as well as a .zip file which is updated periodically.

The vacuum is described very differently in the quantum physics and classical physics. In classical physics, a vacuum is considered as a space that is empty of matter or photons. Quantum physics however says that that same space resembles a sea of virtual particles appearing and disappearing all the time. This is because the vacuum still possesses a zero-point energy. Consequently, the electromagnetic field of the vacuum exhibits random fluctuations in phase and amplitude at all frequencies. By carefully measuring these fluctuations, we are able to generate ultra-high bandwidth random numbers.

This website allows everybody to see, listen or download our quantum random numbers, assess in real time the quality of the numbers generated and learn more about the physics behind it. The technical details on how the random numbers are generated can be found in Appl. Phys. Lett. 98, 231103 (2011) and Phys. Rev. Applied 3, 054004 (2015).

I think this is a cool application and a lot of reputable sites/users are using this for their setup so it seems like a reputable source of random numbers. I would still take these numbers and then use that as the seed in a pseudo-random generator and use that result in your application instead of using the number directly.

– Suramya

June 12, 2021

Linus educates anti-vaxxer on Linux Kernel Mailing list

Filed under: Interesting Sites,My Thoughts,Tech Related — Suramya @ 4:36 AM

There have been times in the past when Linus’s posts on the Linux Kernel mailing list have been less than polite and he was in fact asked to stop abusing colleagues on mailing lists. He then took a break from maintaining the kernel and took empathy training. Since then his responses have been pretty restrained and polite (for the most part). However, a few days ago someone named “Enrico Weigelt” posted a typical anti-vaxxer message on the Linux Kernel Mailing list:

> And I know *a lot* of people who will never take part in this generic
> human experiment that basically creates a new humanoid race (people
> who generate and exhaust the toxic spike proteine, whose gene sequence
> doesn’t look quote natural). I’m one of them, as my whole family.

This was in response to folks asking if the rising number of vaccinated people meant that the “Maintainers / Kernel Summit 2021″ would be an in-person event or if it would remain a virtual one for now. Linus responded to his message with his customary wit and technical response (though not as ‘colorful’ as his past responses).

I love that he started off his response with a blunt statement:

Please keep your insane and technically incorrect anti-vax comments to yourself.

You don’t know what you are talking about, you don’t know what mRNA
is, and you’re spreading idiotic lies. Maybe you do so unwittingly,
because of bad education. Maybe you do so because you’ve talked to
“experts” or watched youtube videos by charlatans that don’t know what
they are talking about.

Then he went on to explain what mRNA does and how it doesn’t stay in your body for more than a couple of days. You can read the full response below. I am posting a copy here so that I can refer people who send me anti-vaxx nonsense to it. Vaccines save lives. That is a fact. The study that links vaccines to autism has been debunked so many times that it is not even funny. But still there are people who fall for the trap. The problem is that the science is complicated enough that people don’t understand it and the denialist’s use simple language that is easy to understand (even though it is wrong). This makes it easy for people to think they understand the science behind it and become rabid anti-vaxxers.

Dealing with conspiracy theorists is difficult and I usually end up ignoring them or yelling at them. The lovely @OkieSpaceQueen has a great thread on talking to conspiracy theorists that I found very useful, along with their earlier thread focusing on how to talk to Flat Earther’s. They are a lot more patient than what I usually am and I am going to try to use the techniques in the thread going forward.

All that being said, I just want to close with a request to get vaccinated as quickly as possible. It can and does save lives.

On Thu, Jun 10, 2021 at 11:08 AM Enrico Weigelt, metux IT consult
wrote:
>
> And I know *a lot* of people who will never take part in this generic
> human experiment that basically creates a new humanoid race (people
> who generate and exhaust the toxic spike proteine, whose gene sequence
> doesn’t look quote natural). I’m one of them, as my whole family.

Please keep your insane and technically incorrect anti-vax comments to yourself.

You don’t know what you are talking about, you don’t know what mRNA
is, and you’re spreading idiotic lies. Maybe you do so unwittingly,
because of bad education. Maybe you do so because you’ve talked to
“experts” or watched youtube videos by charlatans that don’t know what
they are talking about.

But dammit, regardless of where you have gotten your mis-information
from, any Linux kernel discussion list isn’t going to have your
idiotic drivel pass uncontested from me.

Vaccines have saved the lives of literally tens of millions of people.

Just for your edification in case you are actually willing to be
educated: mRNA doesn’t change your genetic sequence in any way. It is
the exact same intermediate – and temporary – kind of material that
your cells generate internally all the time as part of your normal
cell processes, and all that the mRNA vaccines do is to add a dose
their own specialized sequence that then makes your normal cell
machinery generate that spike protein so that your body learns how to
recognize it.

The half-life of mRNA is a few hours. Any injected mRNA will be all
gone from your body in a day or two. It doesn’t change anything
long-term, except for that natural “your body now knows how to
recognize and fight off a new foreign protein” (which then tends to
fade over time too, but lasts a lot longer than a few days). And yes,
while your body learns to fight off that foreign material, you may
feel like shit for a while. That’s normal, and it’s your natural
response to your cells spending resources on learning how to deal with
the new threat.

And of the vaccines, the mRNA ones are the most modern, and the most
targeted – exactly because they do *not* need to have any of the other
genetic material that you traditionally have in a vaccine (ie no need
for basically the whole – if weakened – bacterial or virus genetic
material). So the mRNA vaccines actually have *less* of that foreign
material in them than traditional vaccines do. And a *lot* less than
the very real and actual COVID-19 virus that is spreading in your
neighborhood.

Honestly, anybody who has told you differently, and who has told you
that it changes your genetic material, is simply uneducated. You need
to stop believing the anti-vax lies, and you need to start protecting
your family and the people around you. Get vaccinated.

I think you are in Germany, and COVID-19 numbers are going down. It’s
spreading a lot less these days, largely because people around you
have started getting the vaccine – about half having gotten their
first dose around you, and about a quarter being fully vaccinated. If
you and your family are more protected these days, it’s because of all
those other people who made the right choice, but it’s worth noting
that as you see the disease numbers go down in your neighborhood,
those diminishing numbers are going to predominantly be about people
like you and your family.

So don’t feel all warm and fuzzy about the fact that covid cases have
dropped a lot around you. Yes, all those vaccinated people around you
will protect you too, but if there is another wave, possibly due to a
more transmissible version – you and your family will be at _much_
higher risk than those vaccinated people because of your ignorance and
mis-information.

Get vaccinated. Stop believing the anti-vax lies.

And if you insist on believing in the crazy conspiracy theories, at
least SHUT THE HELL UP about it on Linux kernel discussion lists.

Linus

Original thread Linus’s response on Linux Kernel mailing list to Anti-vaxxer message

– Suramya

« Newer PostsOlder Posts »

Powered by WordPress